Social Coordination and Altruism in Autonomous Driving

Behrad Toghi, Rodolfo Valiente, Dorsa Sadigh, Ramtin Pedarsani, Yaser P. Fallah

TL;DR

This paper introduces a multi-agent reinforcement learning (MARL) framework that embeds altruism into autonomous vehicles (AVs) navigating mixed-autonomy traffic. By mathematically modeling Social Value Orientation (SVO), the authors enable AVs to implicitly learn human driving behaviors and coordinate with each other to facilitate safe, efficient highway merging without explicit vehicle-to-human communication. The key takeaway is that a calibrated level of vehicle altruism actually improves overall traffic throughput and safety for everyone on the road.

What Problem Does This Paper Address?

As autonomous vehicles (AVs) become more common, they must share the road with human drivers in "mixed-autonomy" environments. Current AV planning algorithms typically focus on egoistic objectives—maximizing the vehicle's own speed, safety, and fuel efficiency. However, when every vehicle acts purely selfishly, competitive scenarios like highway merging become highly inefficient and dangerous bottlenecks.

While centralized control can coordinate purely autonomous fleets, it fails when human-driven vehicles (HVs) are present because humans cannot explicitly communicate their intentions via Vehicle-to-Vehicle (V2V) networks. Existing social navigation methods try to predict human behavior using hand-coded or isolated models, but these models often fail to capture how humans adapt their driving around AVs. This paper addresses the challenge of generating safe, cooperative multi-agent maneuvers in mixed traffic without relying on explicit human behavioral models or explicit coordination protocols.

Fig. 1: (a) AV-HV interaction to benefit another HV: Altruistic agents have the opportunity to form alliances and guide the behavior of HVs in order to improve the traffic flow and avoid hazardous situations. AV1 & AV2 can build a formation to slow down HV2 and open up a pathway for HV1, enabling it to trust the AVs, change lanes, and navigate towards the exit ramp. (b) AV-AV interaction to benefit another HV: HV1 is intended to merge into the highway. Egoistic AVs ignore the merging vehicle and do not open up space for it which can potentially lead to hazardous scenarios, whereas if they show sympathy for the merging HV, they can compromise on their own interest in order to create a safe path for HV1 to merge into the highway. (c) AV-AV interaction to benefit another AV: AV1 attempts to exit the highway. If AV2-AV5 act egoistically, AV1 might miss the exit and not be able to follow its planned mission. However, if AV2-AV5 take into account the interest of AV1 and act altruistically, they can open up space in the platoon, by AV2 & AV3 decelerating and AV4 & AV5 accelerating, to enable a safe exit for AV1.

Methods

The authors formalize maneuver planning in mixed-autonomy traffic as a Partially-Observable Stochastic Game (POSG). To solve it, they design a Multi-Agent Reinforcement Learning (MARL) framework featuring several novel components:

  1. Quantifying Altruism via Social Value Orientation (SVO): Borrowing from social psychology, the reward function uses an SVO angular preference ($\phi$) to weight an agent's own reward against the rewards of surrounding vehicles.
  2. Disentangling Sympathy and Cooperation: The total utility function splits altruism into two distinct components: cooperation (altruism toward fellow AVs) and sympathy (altruism toward HVs). This allows the system to handle the inherent ambiguity and selfishness of human drivers differently than known AV allies.
  3. Semi-Sequential Training and Policy Dissemination: Concurrent training in MARL often suffers from non-stationarity (the environment changes as other agents learn). The authors mitigate this by freezing the policy weights of all other agents while one agent trains for a set number of iterations, then disseminating the updated weights across the fleet.
  4. Spatially Prioritized Experience Replay: Standard experience replays sample data based on temporal recency or reward errors. Because critical merging interactions happen briefly, the authors prioritize samples based on their spatial proximity to the highway merging point, drastically improving sample efficiency.
  5. Convex Optimization for SVO: Instead of guessing the right amount of altruism, the authors formulate finding the optimal SVO angle ($\phi^*$) as a convex optimization problem that balances minimizing crashes and minimizing failed merges.

Datasets

The paper does not use a static, real-world dataset. Instead, the authors modified an OpenAI Gym environment to build a custom 2D micro-traffic simulator representing a highway merging bottleneck.

  • AV Agents: Controlled by the proposed Deep Q-Network (DQN) architecture.
  • Human Drivers (HVs): Mimicked using well-established microscopic traffic models: the Intelligent Driver Model (IDM) for longitudinal acceleration and the Minimizing Overall Braking Induced by Lane Changes (MOBIL) strategy for lateral movements. The human SVO parameters were sampled from empirical human behavioral data.

Key Insights and Ideas

  • The Sweet Spot of Selfishness: Being completely selfless ($\phi = 90^\circ$) is just as sub-optimal as being completely selfish ($\phi = 0^\circ$). The convex optimization reveals an optimal intermediate SVO angle ($\phi^*$) where AVs care enough about others to prevent gridlock but remain assertive enough to maintain traffic flow.
  • Guiding the Human: Altruistic AVs learn to act as "traffic guides." For instance, an AV will intentionally slow down and switch lanes to create a safe gap for a merging human driver, implicitly controlling the behavior of the uncoordinated human.
  • Local Sacrifice, Global Gain: While an altruistic AV compromises its immediate individual reward (e.g., by braking or changing lanes), this localized sacrifice prevents cascading bottlenecks, ultimately increasing the average distance traveled by all vehicles in the system.

Key Results

The authors evaluated their framework against egoistic baselines across 2,000 randomized test episodes:

  • Drastic Crash Reduction: In the Sympathetic-Cooperative setting (HV+SC), the percentage of episodes containing a crash dropped to 12.8%, compared to 74.2% in the purely egoistic setting (HV+E).
  • Higher Merging Success: Failed merges plummeted from 73.2% (egoistic) to just 12.2% (sympathetic-cooperative).
  • Improved Traffic Flow: Despite altruistic AVs slowing down to let vehicles in, the overall average distance traveled by the entire platoon increased from 268.5 meters (single-agent baseline) to 334.4 meters (multi-agent cooperative framework).

Limitations and Future Work

  • Simplified Human Models: The simulation relies on IDM and MOBIL to represent human drivers. While standard in traffic engineering, these models are relatively conservative and may not capture the full, unpredictable spectrum of real-world human driving styles.
  • Perfect Communication Assumption: The framework assumes ideal V2V communication between AVs to share local observations. Future work needs to evaluate how the system handles communication delays, packet drops, or sensor noise.
  • Neural Architecture Scaling: The current implementation uses simple Multi-Layer Perceptrons (MLPs). The authors note that integrating spatial-temporal architectures like Convolutional (CNN) or Recurrent (RNN/LSTM) networks could capture traffic dynamics more effectively.

Summary updated

BibTeX
@article{toghi2022social,
  author = {Behrad Toghi and Rodolfo Valiente and Dorsa Sadigh and Ramtin Pedarsani and Yaser P. Fallah},
  title = {{Social Coordination and Altruism in Autonomous Driving}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2022},
  doi = {10.1109/tits.2022.3207872},
}
Figure