Deep Multi-agent Reinforcement Learning for Highway On-Ramp Merging in Mixed Traffic
Dong Chen, Mohammad Hajidavalloo, Zhaojian Li, Kaian Chen, Yongqiang Wang, Longsheng Jiang, Yue Wang
TL;DR
The paper tackles traffic throughput and safety in highway on-ramp merging under mixed traffic by casting the problem as a decentralized MARL task. It introduces a scalable MA2C-based framework with action masking, local rewards, and curriculum learning, augmented by a priority-based safety supervisor that predicts HDV motions and enforces safe actions. The approach is validated in a gym-like simulator across varying densities and extended to multiple through-lanes, consistently outperforming MPC and other MARL baselines in collision reduction and throughput. The work contributes a practical, open-source platform and demonstrates that safety-guided exploration and local credit assignment substantially improve learning efficiency and traffic performance in mixed-traffic merging.
Abstract
On-ramp merging is a challenging task for autonomous vehicles (AVs), especially in mixed traffic where AVs coexist with human-driven vehicles (HDVs). In this paper, we formulate the mixed-traffic highway on-ramp merging problem as a multi-agent reinforcement learning (MARL) problem, where the AVs (on both merge lane and through lane) collaboratively learn a policy to adapt to HDVs to maximize the traffic throughput. We develop an efficient and scalable MARL framework that can be used in dynamic traffic where the communication topology could be time-varying. Parameter sharing and local rewards are exploited to foster inter-agent cooperation while achieving great scalability. An action masking scheme is employed to improve learning efficiency by filtering out invalid/unsafe actions at each step. In addition, a novel priority-based safety supervisor is developed to significantly reduce collision rate and greatly expedite the training process. A gym-like simulation environment is developed and open-sourced with three different levels of traffic densities. We exploit curriculum learning to efficiently learn harder tasks from trained models under simpler settings. Comprehensive experimental results show the proposed MARL framework consistently outperforms several state-of-the-art benchmarks.
