A Collaborative Safety Shield for Safe and Efficient CAV Lane Changes in Congested On-Ramp Merging

Bharathkumar Hegde, Melanie Bouroche
2/10/2026
cs.ROcs.AIcs.MA

Official code: hkbharath/MARL-MASS (5 stars, MIT, last commit 2026-01-29).

Abstract

Lane changing in dense traffic is a significant challenge for Connected and Autonomous Vehicles (CAVs). Existing lane change controllers primarily either ensure safety or collaboratively improve traffic efficiency, but do not consider these conflicting objectives together. To address this, we propose the Multi-Agent Safety Shield (MASS), designed using Control Barrier Functions (CBFs) to enable safe and collaborative lane changes. The MASS enables collaboration by capturing multi-agent interactions among CAVs through interaction topologies constructed as a graph using a simple algorithm. Further, a state-of-the-art Multi-Agent Reinforcement Learning (MARL) lane change controller is extended by integrating MASS to ensure safety and defining a customised reward function to prioritise efficiency improvements. As a result, we propose a lane change controller, known as MARL-MASS, and evaluate it in a congested on-ramp merging simulation. The results demonstrate that MASS enables collaborative lane changes with safety guarantees by strictly respecting the safety constraints. Moreover, the proposed custom reward function improves the stability of MARL policies trained with a safety shield. Overall, by encouraging the exploration of a collaborative lane change policy while respecting safety constraints, MARL-MASS effectively balances the trade-off between ensuring safety and improving traffic efficiency in congested traffic. The code for MARL-MASS is available with an open-source licence at https://github.com/hkbharath/MARL-MASS

View on arXivView PDF

Code Implementations(1)

MIT

Multi-Agent Safety Shield (MASS) and Hybrid Safety Shield (HSS) designed using Control Barrier Functions (CBFs) to mitigate congested traffic while ensuring safety of MARL lane change controllers

50Shell, PythonApr 30, 20258 months agoMIT

Similar Papers

Cite this paper

@article{hegde2026collaborative,
  title  = {A Collaborative Safety Shield for Safe and Efficient CAV Lane Changes in Congested On-Ramp Merging},
  author = {Bharathkumar Hegde and Melanie Bouroche},
  year   = {2026},
  eprint = {2602.10007},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.10007v1}
}

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/2602.10007.svg)](https://codeofpaper.com/paper/2602.10007)

Discussion