Abstract
Model Predictive Path Integral (MPPI) control is a widely used sampling-based approach for high-performance robotic control. However, its performance degrades significantly in cluttered environments where the probability of generating collision-free trajectories is low. We introduce Safety Controlled Model Predictive Path Integral Control (SC-MPPI), a novel framework that embeds safety constraints directly into the sampling process. By utilizing "Embedded Barrier States" (BaS), SC-MPPI actively steers trajectory samples away from obstacles during the forward propagation phase. This method, derived through information-theoretic principles, acts as a form of safe importance sampling. Our results demonstrate that SC-MPPI achieves substantially higher success rates in dense environments compared to traditional MPPI, while maintaining the real-time computational efficiency required for agile robotics.
Introduction
Sampling-based control methods like MPPI have gained popularity for their ability to handle complex, non-linear dynamics in real-time. By evaluating thousands of random trajectories and computing an optimal control sequence through a weighted average, MPPI enables robots to perform agile maneuvers. However, a critical limitation arises in constrained environments: as obstacle density increases, the likelihood of a random sample being "safe" (collision-free) drops precipitously.
In such scenarios, vanilla MPPI often fails because it lacks sufficient safe data to compute a meaningful control update. Traditional remedies, such as high collision penalties or post-optimization safety filters, do not address the root cause—the inefficient use of the computational budget on doomed trajectories. SC-MPPI addresses this by moving safety from an evaluation-time penalty to a sampling-time constraint.
Methods: Safety-Embedded Importance Sampling
The core innovation of SC-MPPI is the integration of safety feedback into the trajectory generation process. This is achieved through three primary components:
- Embedded Barrier States (BaS): The system state is augmented with a barrier state that quantifies the proximity to obstacles. Mathematically, this state is designed to grow toward infinity as the robot approaches a safety boundary, providing a clear signal for avoidance.
- The "Nudge" via Local Feedback: During the forward sampling of trajectories, each sample is modified by a local safety feedback controller ($K_{BaS}$). Instead of purely random exploration, the samples are "nudged" away from high-risk areas in real-time as they are being simulated.
- Information-Theoretic Control Law: The authors re-derive the MPPI control law using importance sampling principles. By splitting the trajectory space into safe and unsafe sets, they show that the safety-guided sampling is a mathematically rigorous way to focus the optimizer's attention on the safe regions of the state space.
This approach decouples safety from performance. The safety controller ensures survival, while the main MPPI objective (e.g., speed, goal reaching) can be tuned independently without compromising the robot's integrity.
Experimental Evaluation
The SC-MPPI algorithm was evaluated in high-fidelity simulations against vanilla MPPI and Differential Dynamic Programming (DDP) baselines.
Cluttered 2D Navigation (Dubins Vehicle)
In a "forest" environment filled with circular obstacles, a Dubins vehicle model was tasked with reaching a goal. Vanilla MPPI struggled significantly, as most of its random samples collided with the first few obstacles. In contrast, SC-MPPI's samples were visibly deflected around obstacles, allowing the algorithm to discover narrow passages and maintain a high density of safe trajectories.
3D Quadrotor Flight
A more complex 3D quadrotor model was tested in a dense field of 19 spherical obstacles. This experiment highlighted the algorithm's ability to handle high-dimensional dynamics and complex spatial constraints.
Key Results
The advantages of SC-MPPI are most evident in the success metrics for dense environments:
- Success Rate: In a challenging 3-second navigation task, SC-MPPI achieved a 68.84% success rate, a massive improvement over vanilla MPPI's 4.32%.
- Sample Efficiency: The "blue" trajectories in the results show a much higher percentage of collision-free paths compared to the "red" uncorrected samples.
- Real-Time Performance: Despite the additional barrier state calculations, the optimization steps remained highly efficient, taking only 4–6 milliseconds on an NVIDIA RTX 3080 Ti. This confirms the method's suitability for high-frequency control loops in real-world robotics.
- Precision: SC-MPPI demonstrated lower final position errors and more consistent goal-reaching behavior than the baselines.
Discussion and Future Work
SC-MPPI represents a significant step forward in making sampling-based control robust for cluttered environments. By encouraging exploration in safe corridors, it avoids the "local minima" traps that often plague penalty-based methods.
However, some limitations remain. The performance of the algorithm depends on the tuning of the safety controller ($K_{BaS}$), which may require domain expertise. Additionally, the current implementation assumes a known model of the environment. Future research could explore integrating SC-MPPI with perception-based systems, where barrier states are derived directly from raw sensor data or learned occupancy maps.
In conclusion, by embedding safety into the sampling distribution itself, SC-MPPI provides a powerful framework for safe, agile, and efficient robotic navigation in the most challenging environments.
Summary updated