AM-DIMPO: Action-Masked Diffusion-Implicit Policy Optimization for On-Ramp Merging Under Dense Traffic
Open Access
- 9 April 2026
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 16 (8) , 3687
Abstract
Highway ramp merging requires autonomous vehicles to make safe and efficient decisions in dense mixed traffic, where strong vehicle interactions and rapidly changing acceptable gaps make the task particularly challenging. Existing reinforcement learning methods are often unimodal and overly conservative, while diffusion-based policies, despite their ability to generate multimodal actions, usually suffer from high inference latency and safety risks caused by unconstrained sampling. To address these issues, this paper proposes AM-DIMPO, an action-mask-guided safe diffusion-implicit policy optimization framework for ramp-merging tasks. The proposed method combines DDIM-based implicit sampling with a state-dependent continuous action mask to improve multimodal action generation efficiency while enhancing action feasibility. In addition, the mask correction signal is incorporated into policy learning to encourage the policy to generate actions closer to the safe feasible region. Experiments are conducted in a Gym-based ramp-merging simulator under both light-traffic and dense-traffic scenarios, where the proposed method is compared with classical reinforcement learning baselines, diffusion reinforcement learning baselines, and a safety-aware PPO baseline. The results show that, in dense traffic, AM-DIMPO achieves a merging success rate of 97.3%, an average speed of 16.27 m/s, and an inference latency of 68 ms; in light traffic, the success rate reaches 98.1%. Moreover, the proposed method maintains robust performance under the tested noisy-observation and reduced-visibility settings. Overall, AM-DIMPO achieves a favorable balance among empirical safety, traffic efficiency, robustness, and real-time inference performance in dense highway ramp-merging tasks.Keywords
Funding Information
- Beijing Municipal Commission of Education (KM202411417006)
- Beijing Union University (ZK20202509)
- National Natural Science Foundation of China (L247007))
This publication has 17 references indexed in Scilit:
- Freeway merging trajectory prediction for automated vehicles using naturalistic driving dataInternational Journal of Transportation Science and Technology, 2025
- What drives road rage? A systematic review on the psychological correlates of aggressive driving behaviorJournal of Safety Research, 2025
- DiffusionDrive: Truncated Diffusion Model for End-to-End Autonomous Driving2025
- Review of driver behaviour modelling for highway on‐ramp mergingIET Intelligent Transport Systems, 2024
- The unmanned vehicle on-ramp merging model based on AM-MAPPO algorithmScientific Reports, 2024
- Trajectory Prediction with Observations of Variable-Length for Motion Planning in Highway Merging Scenarios2023
- Reinforcement Learning with Probabilistically Safe Control Barrier Functions for Ramp Merging2023
- Safety impacts of geometric design on freeway segments with closely spaced entrance and exit rampsAccident Analysis & Prevention, 2021
- Trajectory Prediction with Latent Belief Energy-Based Model2021
- Increasing the capacity of an isolated merge by metering its on-rampTransportation Research Part B: Methodological, 2005