NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Decision-Making under On-Ramp merge Scenarios by Distributional Soft Actor-Critic Algorithm

Yiting Kong, Yang Guan, Jingliang Duan, Shengbo Eben Li, Qi Sun, Bingbing NiearXiv 2021

Abstract

Autonomous highway on-ramp merging presents a significant challenge due to the high-speed, dynamic, and stochastic nature of traffic. This paper introduces the Shielded Distributional Soft Actor-Critic (SDSAC) framework, which integrates distributional reinforcement learning with a real-time safety shield. By combining offline safety-aware policy training with online barrier-function-based corrections, the proposed method achieves high merge success rates while drastically reducing collision risks compared to standard reinforcement learning approaches.

Introduction

Merging into high-speed highway traffic from an on-ramp is a critical task for automated driving systems. It requires a delicate balance between efficiency and safety. Rule-based methods often result in overly conservative behavior, potentially causing rear-end collisions or merge failures. Conversely, standard reinforcement learning (RL) methods, which learn through trial and error, can be dangerously aggressive in safety-critical scenarios. Furthermore, typical RL focuses on expected returns, often neglecting the risks associated with rare but catastrophic "corner cases." To address these issues, we present SDSAC, a framework designed for safe and efficient decision-making in on-ramp merging.

Methodology

The SDSAC framework consists of two main pillars: offline training and online correction.

The SDSAC framework architecture, illustrating the interaction between offline training (policy evaluation and improvement) and online correction (safety shield).

Offline Training (The "Brain")

The "brain" of the system utilizes Distributional RL. Instead of predicting a single expected reward, the agent learns a distribution of possible returns, allowing it to better account for uncertainty and avoid overestimating the value of risky actions. The reward function is explicitly safety-aware, penalizing proximity to other vehicles during simulation to guide the policy toward inherently safer behavior before deployment.

Online Correction (The "Shield")

A "safety shield" acts as a real-time regulator. When the trained policy proposes an action, the shield verifies it against safety constraints, such as minimum distance to other vehicles or road boundaries. If an action is deemed unsafe, a Quadratic Programming (QP) solver identifies the nearest safe alternative. To prevent "myopic" failures where no safe action exists in the immediate future, Control Barrier Functions (CBFs) are employed to ensure long-term safety.

Safety Shield Dynamics

The safety shield's behavior is governed by a parameter $\lambda$, which regulates the strictness of the barrier function.

The influence of the $\lambda$ parameter on the upper bound of the barrier function $h(s_{t+i})$, demonstrating how it controls the conservativeness of the safety shield.

As shown in the figure, a smaller $\lambda$ results in more conservative constraints. This provides engineers with a tunable "knob" to balance safety and efficiency without the need for retraining the entire neural network.

Experimental Setup

The model was evaluated using the SUMO (Simulation of Urban MObility) package. The test scenario involved a 320-meter mainline highway with a 100-meter on-ramp. Traffic included various vehicle types with differing levels of cooperation (cooperative vs. adversarial). Performance was assessed over 10,000 trials across varying traffic densities to ensure statistical significance.

Key Results

SDSAC demonstrated superior performance compared to standard Distributional Soft Actor-Critic (DSAC) baselines:

  • Safety: SDSAC reduced collision rates to as low as 0.11% (roughly 3 collisions per million kilometers), whereas baseline DSAC without safety measures had a failure rate of 22.38%.
  • Success Rate: The framework achieved a ~94.5% success rate, significantly higher than the baseline DSAC with safety rewards (86.65%).
  • Efficiency: Despite the added safety constraints, the vehicle maintained efficient speeds and successfully completed merges within the limited acceleration lane, proving that safety does not have to come at the cost of operational "freezing."

Conclusion

The SDSAC framework effectively bridges the gap between high-performance learning and safety-critical execution. While the results in simulation are promising, future work will address the sim-to-real gap, including sensor noise and occlusions, and explore multi-agent coordination for even smoother traffic integration.

Summary updated

BibTeX
@misc{kong2021decision,
  author = {Yiting Kong and Yang Guan and Jingliang Duan and Shengbo Eben Li and Qi Sun and Bingbing Nie},
  title = {{Decision-Making under On-Ramp merge Scenarios by Distributional Soft Actor-Critic Algorithm}},
  year = {2021},
  eprint = {2103.04535},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.04535},
}
Figure