← Latest papers
🤖 AI

Emotion in an active inference model of human driving

This paper proposes an expanded active inference framework for human driving that integrates continuous affective states (valence and arousal) conditioned on both current and predicted future outcomes, demonstrating that the resulting emotion signals align with reported affective patterns in interactive driving scenarios.

Original authors: Julian F. Schumann, Johan Engström, Ran Wei, Jens Kober, Martijn Wisse, Arkady Zgonnikov

Published 2026-08-11
📖 4 min read☕ Coffee break read

Original authors: Julian F. Schumann, Johan Engström, Ran Wei, Jens Kober, Martijn Wisse, Arkady Zgonnikov

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are driving down a highway, and suddenly, the car in front of you swerves without signaling. Your heart races, your stomach drops, and you might even feel a flash of anger. But have you ever wondered why your brain reacts that way? Scientists who study how machines and brains make decisions have a theory called "active inference." Think of it like a super-smart detective inside your head that is constantly guessing what will happen next. It tries to predict the future to avoid being surprised. If the world matches its predictions, it feels calm. If the world throws a curveball, the detective gets confused and tries to figure out what's going on. For a long time, these detective models were great at explaining how we steer or brake, but they were missing a crucial piece of the puzzle: feelings. They didn't know how to calculate "anger" or "relief." This matters because if we want to build self-driving cars that can safely share the road with humans, those cars need to understand not just the physics of a crash, but the emotional rollercoaster that leads up to it.

In this paper, a team of researchers decided to teach their driving detective how to feel. They took an existing model that already knew how to drive a car using active inference and gave it a new set of "emotional glasses." These glasses let the model see the world through two specific lenses: valence (how good or bad a situation feels) and arousal (how alert or panicked it feels). Instead of just looking at the car right in front of it, the model started looking ahead, predicting what might happen in the next few seconds. They tested this new, emotional driver in two tricky situations: one where a car on the opposite side of the road suddenly cut across their path, and another where a car at an intersection ignored a "yield" sign.

The results were surprisingly human-like. When the other driver followed the rules, the model stayed calm and relaxed, with its "arousal" level staying low. But when the other driver broke the rules—like swerving into the lane or ignoring a stop sign—the model's emotions spiked. Its "arousal" went up, simulating that feeling of being on high alert, and its "valence" turned negative, mimicking the feeling of anger or frustration. The model didn't just react to the immediate danger; it reacted to the surprise of the bad behavior. For instance, in the intersection scenario, when the other car kept coming despite the rules, the model's "anger" grew until it decided to brake hard to avoid a crash. Interestingly, the model showed that if a crash became unavoidable, its "arousal" actually dropped because the uncertainty was gone—it knew exactly what was going to happen, even if it was bad. This suggests that the model successfully captured the link between breaking traffic norms and feeling negative emotions.

The researchers found that by looking at the difference between what the driver expected to happen and what actually happened (or what was likely to happen), they could generate these emotional signals. They discovered that the model's "anger" was directly tied to the other driver violating social norms, just like a real human driver would feel. However, the authors are careful to note that this is all happening inside a computer simulation. They haven't tested this on real people yet, so while the results look very promising and match what we know about human psychology, they are still just a very sophisticated guess based on math. The model also has a blind spot: it doesn't yet understand how emotions might change the driver's behavior (like how anger might make a driver take more risks). But as a first step, this work suggests that we can build self-driving cars that don't just calculate physics, but also understand the emotional stakes of the road, potentially making them better partners for human drivers.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →