Deep Multi-agent Reinforcement Learning for Highway On-Ramp Merging in Mixed Traffic

Dong Chen, Mohammad Hajidavalloo, Zhaojian Li, Kaian Chen, Yongqiang Wang +2 more
5/12/2021
264 citations
eess.SY
rl

Official code: Farama-Foundation/HighwayEnv (3,342 stars, Python, MIT, last commit 2026-04-07). 1 more implementation below.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
Farama-Foundation/HighwayEnvOfficial3,342PythonMIT2026-04-07
DongChen06/MARL_CAVsOfficial348Python–2024-10-11
MIT

A minimalist environment for decision-making in autonomous driving

3,342906Python, Jupyter NotebookNov 15, 20177 months agoMIT
autonomous-drivinggym-environmentreinforcement-learning

MARL for Autonomous Vehicles

34861PythonApr 1, 20212 years ago

Similar Papers

Cite this paper

@article{chen2021deep,
  title  = {Deep Multi-agent Reinforcement Learning for Highway On-Ramp Merging in Mixed Traffic},
  author = {Dong Chen and Mohammad Hajidavalloo and Zhaojian Li and Kaian Chen and Yongqiang Wang and Longsheng Jiang and Yue Wang},
  year   = {2021},
  eprint = {2105.05701},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.05701}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.05701.svg)](https://codeofpaper.com/paper/2105.05701)

Discussion