Introduction
Merging into dense traffic is a significant challenge for autonomous vehicles (AVs). Traditional planning algorithms often prove too conservative, waiting for gaps that never materialize in congested environments. In reality, merging requires "negotiation"—nudging forward and gauging the reactions of other drivers. While Reinforcement Learning (RL) offers a path to learning complex strategies, it typically suffers from overfitting to specific training "bots" and struggles with sparse rewards in dense scenarios.
The Iterative Reasoning Curriculum
To address these challenges, this research introduces an Iterative Reasoning Curriculum based on the level-$k$ cognitive hierarchy model. This framework categorizes drivers by their reasoning depth:
- Level-0: Simple, reactive drivers following hand-engineered rules (e.g., Intelligent Driver Model). They do not account for the intentions of others.
- Level-1: Agents that optimize behavior assuming others are Level-0.
- Level-$n$: Agents that reason about the reasoning of others (e.g., Level-2 assumes a mix of Level-0 and Level-1).
The proposed curriculum builds a ladder of sophistication, training agents in sequence. Crucially, the curriculum alternates between merging tasks (odd levels) and lane-keeping tasks (even levels). This co-evolutionary approach ensures that as the merging agent improves, the surrounding traffic it interacts with also becomes more sophisticated.
Technical Implementation
The system utilizes Dueling Double Deep Q-Learning (DQN) with prioritized experience replay. To ensure safety, the action space is "safe by design": the RL agent selects high-level goals (e.g., target speed, lane changes), while a low-level longitudinal controller handles the physics to prevent basic collisions. The state is processed via a convolutional neural network (CNN) that observes the eight nearest vehicles, ensuring the agent treats all surrounding cars with consistent logic.
Key Insights
- Robustness through Diversity: Training against a population of agents with varying reasoning levels (0 to $k-1$) exposes the RL agent to a wide range of stochastic behaviors, preventing it from exploiting specific bot weaknesses.
- Task Alternation: By alternating between merging and lane-keeping, the curriculum ensures that "mergers" and "lane-keepers" evolve together, creating a more realistic and challenging environment.
- Diminishing Returns of Reasoning: Performance gains were found to marginalize beyond Level-3. This observation aligns with behavioral economics, which suggests human drivers rarely reason beyond level 2 or 3.
Key Results
The iterative approach demonstrated significant improvements over standard RL and rule-based systems. Level-3 and Level-5 agents achieved success rates exceeding 90%, maintaining stability even when encountering "unseen" behaviors from higher-level agents.
In contrast, standard RL (Level-1) performance dropped significantly when the intelligence of other drivers varied. Furthermore, traditional rule-based models like MOBIL often timed out in dense traffic due to excessive timidity, whereas the iterative agents learned to successfully negotiate merges.
Limitations and Future Directions
While highly effective, the policies still exhibited a residual collision rate of 2-4%, suggesting the need for a dedicated emergency braking "safety layer" for real-world use. Future work will aim to bridge the "sim-to-real" gap by incorporating sensor noise and more complex vehicle dynamics, and potentially integrating these learned policies with Model Predictive Control (MPC) for stricter safety guarantees.
Summary updated