TL;DR
Sampling-based Model Predictive Control (MPC) is highly effective for complex, nonlinear systems but typically suffers from jerky, non-smooth control inputs due to its reliance on random sampling. This paper introduces dsMPPI, a novel framework that replaces random sampling with low-discrepancy deterministic samples and integrates them with iterative optimization and soft exponential weighting. The result is a highly efficient controller that drastically reduces actuator chattering without sacrificing tracking performance or adding online computational overhead.
What Problem Does This Paper Address?
Control engineers frequently turn to sampling-based MPC methods—such as the Cross-Entropy Method (CEM) and Model Predictive Path Integral (MPPI) control—to manage systems with highly nonlinear dynamics and non-convex cost functions. Because these methods do not rely on gradients, they are robust and highly parallelizable on modern hardware.
However, they suffer from a major practical flaw: actuator chattering. Because these algorithms approximate optimal control sequences using a finite number of random samples, the resulting control inputs are inherently noisy. In real-world applications, this high-frequency noise causes excessive actuator wear and rapid velocity reversals. While engineers often apply low-pass filters to smooth out the control signal post-optimization, this ad-hoc fix is suboptimal because the filter's dynamics are completely ignored during the planning phase.
Methods
The authors propose deterministic sampling MPPI (dsMPPI), an iterative algorithm that combines the mathematical strengths of MPPI's soft weighting with the efficiency of deterministic sampling. Its core components include:
- Deterministic Sampling via CvM Distance: Instead of drawing random numbers at every optimization step, dsMPPI utilizes precomputed, low-discrepancy samples generated offline by minimizing the modified Cramér-von Mises (CvM) distance. These samples cover the search space evenly, avoiding the accidental clustering or large gaps typical of random sampling.
- Soft Exponential Weighting: Unlike standard CEM, which uses a hard "elite set" threshold (treating all top-performing samples equally and discarding the rest), dsMPPI applies MPPI’s soft exponential cost-shifting scheme to compute smoother distribution updates.
- Dimension Permutation for Better Exploration: Reusing identical deterministic samples across multiple iterations can stall exploration. To counter this without memory-intensive sample pools, the authors introduce a permutation method that randomly shuffles the control dimensions of the deterministic samples at each iteration.
- Fixed Time Correlations: To enforce temporal smoothness across the control horizon, the proposal distribution incorporates fixed time correlations derived from colored noise laws, updating only the marginal variances at each step to keep the parameter space small.
Datasets
The algorithm was evaluated using two classic simulated nonlinear control benchmarks:
- Cart-Pole Swing-Up: A standard underactuated system task requiring a cart to swing a pendulum from a downward position to an upright position and balance it there.
- Truck Backer-Upper: A highly non-holonomic vehicle steering task focused on backing a truck and trailer into an origin point while strictly avoiding jackknife constraints.
Key Insights and Ideas
- The Synergy of Soft Selection and Low Discrepancy: The authors' prior work (dsCEM) brought deterministic sampling to CEM, but it was still limited by CEM's hard elite-set selection. Merging deterministic samples with MPPI's soft exponential weighting yields a massive improvement in control smoothness, particularly when stabilizing near a goal state ("settled smoothness").
- Permutation is a "Free Lunch" for Exploration: Shuffling sample dimensions via the permutation method achieves lower cumulative costs than maintaining a massive pool of precalculated multi-iteration samples, all while drastically reducing the controller's memory footprint.
- Zero Online Overhead: Because the low-discrepancy samples are generated entirely offline, transforming them online requires only basic matrix operations. As a result, dsMPPI delivers smoother trajectories without any computational penalty compared to standard random-sampling iterative MPC.
Key Results
- Superior Smoothness: In both benchmarks, dsMPPI consistently produced significantly smoother control trajectories than standard MPPI, iterative random MPPI, and dsCEM across all tested sample sizes (ranging from 20 to 300 trajectories).
- Maintained Cost Efficiency: Despite the heavy emphasis on smoothness, dsMPPI achieved cumulative costs competitive with dsCEM and significantly lower than standard non-iterative MPPI.
- Execution Speed: Benchmarked on a single core of an Intel Xeon Platinum 8358 processor, all iterative methods exhibited nearly identical computation times (~167 ms per step for the Cart-Pole task and ~37 ms for the Truck Backer-Upper), confirming that the deterministic sampling mechanism adds no online computational overhead.
Limitations and Future Work
- Spatial Independence Assumption: For multivariate control inputs, the authors assumed that different control dimensions are spatially independent (setting the spatial correlation matrix $C_{sp} = \mathbf{I}$). For systems with highly coupled actuators (e.g., multi-joint robotic arms), this assumption might degrade performance.
- Simulation-Only Validation: The framework has only been validated within synthetic simulation environments. Testing dsMPPI on physical robotic hardware will be crucial to confirm its resilience against real-world unmodeled dynamics and hardware latencies.
Summary updated