SRL-MPC: Shape-Aware Reinforcement Learned Model Predictive Control

Ruihua Han, Rui Gao, Zhe Liu, Xinyi Wang, Chang Chen, Shuai Wang, Qi Hao, Jia Pan, Hengshuang ZhaoNeurIPS 2026

TL;DR

Navigating a crowded room of differently shaped moving objects is effortless for humans, yet notoriously difficult for robots—which usually simplify everyone into uniform circles or freeze up when things get tight. SRL-MPC solves this by pairing a physics-based trajectory optimizer with a reinforcement learning "co-pilot" that tweaks the optimizer's priorities on the fly. The result is a controller that explicitly respects complex 2D geometries and achieves a 92% navigation success rate in dense crowds where existing methods nearly completely fail.

What Problem Does This Paper Address?

Picture trying to maneuver a rectangular delivery cart through a bustling train station filled with round pillars, L-shaped luggage, and unpredictable pedestrians. In robotics, this is shape-aware crowd navigation, and existing tools force an uncomfortable compromise.

Traditional optimization methods—like Model Predictive Control (MPC), which plans a short horizon of future moves like a chess player—can account for exact polygonal shapes. However, the math scales poorly as objects gain more edges, and these solvers rely on fixed, hand-tuned weights (like how aggressively to hug a path versus how wide a safety berth to leave). Tune it for open hallways, and it crashes in a crowd; tune it for crowds, and it freezes in deadlock ("timeouts"). Conversely, end-to-end Reinforcement Learning (RL) adapts fluidly to crowds, but lacks hard geometric guarantees and struggles to generalize when body shapes or crowd densities change.

Methods

Instead of letting a neural network drive the robot directly, the authors keep a structured MPC solver at the wheel and use RL solely to tune its knobs in real time.

Figure 1: Overview of SRL-MPC. Key components: 1. A shape-aware HOCBF condition is formulated based on GSFs and works as a residual penalty in the optimization to improve safety; 2. the reinforcement learned policy adapts MPC parameters based on neighboring GSFs to handle dense scenarios.
  1. Fixed-Size Shape Encoding (GSFs): Rather than writing math constraints for every single edge of neighboring polygons, the authors use support functions and the open-source GEOS geometry library to extract Geometric Separation Features (GSFs): simply the minimum distance and unit direction vector between the robot and its closest $K$ neighbors over the prediction horizon. Whether a neighbor is a triangle or a decagon, its feature size stays constant.
  2. Trend-Aware Safety Penalties (HOCBF): Using these GSFs, the authors formulate degree-2 High-Order Control Barrier Function (HOCBF) constraints. To prevent the solver from throwing up its hands when a crowd gets too tight (infeasibility), they decompose the problem: first updating the GSFs geometrically, then applying the HOCBF condition as a soft residual penalty inside a convex local MPC solver.
  3. RL Parameter Adaptation: A neural policy trained via Proximal Policy Optimization (PPO) reads a compact 3-channel grid of neighbor GSFs alongside the robot's current speed and settings, and outputs smooth, bounded adjustments to three MPC parameters: path-tracking weight ($w_p$), control-effort weight ($w_u$), and safety margin ($d_{\text{safe}}$).
Figure 2: Neural network architecture. The GSFs are encoded by CNNs and then concatenated with the self-observation to form a fused feature, which is shared by the actor and critic.

Datasets

Rather than static offline datasets, the authors use IR-SIM, a dynamic multi-robot simulator, to generate randomized procedural environments:

  • Training: 15 differential-drive robots in a $10\text{ m} \times 10\text{ m}$ arena with randomly sampled start/goal pairs and random convex polygon footprints. Crucially, arrived robots park at their goals, turning into static obstacles that clutter the map.
  • Evaluation: Tested with held-out random seeds across crowd densities of 10, 15, 20, and 25 robots, plus five zero-shot out-of-distribution (OOD) scenarios: cross corridors, nonconvex-union shapes, circular exchanges, through-traffic, and heterogeneous robot dynamics.

Key Insights and Ideas

  • Look at collision trends, not just distances: Replacing the degree-2 HOCBF penalty with a standard static distance penalty caused collisions in 25-robot crowds to skyrocket from 6% to 92%. Because HOCBF couples safety values across consecutive future steps, it penalizes closing velocity trends before shapes actually get dangerously close.
  • RL doesn't need to know where the goal is: Unlike standard navigation RL, SRL-MPC's neural network receives no goal coordinates or global pose. Because the underlying MPC already handles path tracking, RL only needs local crowd geometry to decide whether to relax safety margins and squeeze through a gap or cruise briskly.
  • Continuous adaptation beats "unstuck" heuristics: Engineers often write manual rules to nudge stuck robots. Testing a hand-coded rule that switches parameters when speed drops below $0.10\text{ m/s}$ reduced collisions, but still suffered a 23% timeout rate in 25-robot crowds—compared to just 2% with RL's continuous tuning.

Key Results

  • Dense Crowd Dominance: Trained only on 15 robots, SRL-MPC achieved 100%, 98%, 93%, and 92% episode success rates for 10, 15, 20, and 25 polygonal robots, respectively. At 25 robots, the strongest external baseline (SARL) managed just 21%, while classic geometric and hybrid methods (ORCA, AVOCADO, VO-polytope, RL-RVO) scored between 1% and 11%.
  • Zero-Shot Generalization & Real Hardware: Without retraining, SRL-MPC hit 99% success on nonconvex unions and 97% under heterogeneous dynamics. In physical trials with 6 robots configured with varied virtual footprints, SRL-MPC achieved 85% success (15% collisions) over 20 runs, outperforming ORCA's 60% success (40% collisions).
  • Real-Time & Delay Tolerant: A single outer iteration runs in ~9.5 ms per robot/step on an Apple M4 Pro CPU. Furthermore, delaying the RL parameter updates by 0.5 seconds (5 steps) resulted in 0% performance loss (100% success at $N=15$), proving the low-level MPC keeps the ship steady even if the RL co-pilot lags.

Limitations and Future Work

  • Structured Multi-Agent Symmetry: In highly structured OOD scenarios—like 15 robots arranged in a circle trying to swap places simultaneously—single-iteration SRL-MPC dropped to 56% success (improving to 83% with two solver iterations, though trailing SARL's 100%).
  • Sensitivity to Sensor & Actuation Lag: While immune to RL parameter delays, low-level accuracy still matters: Gaussian position noise of $\sigma = 0.10\text{ m}$ dropped success to 40%, and a 0.3-second actuation delay dropped it to 2%.
  • Future Directions: The authors highlight incorporating uncertainty-aware neighbor trajectory prediction, richer decompositions for nonconvex bodies, and deploying the full stack on physical robots using purely onboard sensing and compute.

Summary updated

Abstract

Safe and efficient shape-aware navigation in heterogeneous crowds and robot fleets remains challenging. Traditional approaches often assume homogeneous robots, sparse workspaces, simplified geometry, offline computation, or handcrafted parameters to make the problem tractable, which limits their deployment in dense crowd scenarios. Toward this end, we propose Shape-Aware Reinforcement Learned Model Predictive Control (SRL-MPC), a method for efficient and adaptive navigation in crowds with heterogeneous shapes using explicit footprint models. To encourage shape-aware collision avoidance, we formulate high-order control barrier function (HOCBF) constraints from geometric separation features (GSFs) based on support function transformation. A reinforcement learning (RL) framework then learns a neural policy that reads GSFs and outputs real-time MPC parameter updates, enabling the MPC solver to adapt to neighboring crowd geometries. The key advantage of SRL-MPC is that it retains the explicit geometric and kinematic structure and generalizability of MPC while integrating the adaptability and intelligence of RL. Experiments in randomized crowd scenarios, out-of-distribution settings, and real-robot trials evaluate the performance of SRL-MPC. The results show dramatically improved success rates in dense scenarios through our combination of learned parameter adaptation and shape-aware HOCBF residual penalties.
BibTeX
@inproceedings{han2026srl,
  author = {Ruihua Han and Rui Gao and Zhe Liu and Xinyi WANG and Chang Chen and Shuai Wang and Qi Hao and Jia Pan and Hengshuang Zhao},
  title = {{SRL-MPC: Shape-Aware Reinforcement Learned Model Predictive Control}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=voR1Kif1aw},
}
Figure