Abstract
In recent studies on model-based reinforcement learning (MBRL), incorporating uncertainty in forward dynamics is a state-of-the-art strategy to enhance learning performance, making MBRLs competitive with model-free counterparts. However, current methods often ignore uncertainty in the optimal actions, causing planners to collapse to a single, sometimes sub-optimal, plan. This paper introduces Variational Inference MPC (VI-MPC) and a novel algorithm called PaETS (Probabilistic Action Ensembles with Trajectory Sampling). PaETS uses Gaussian Mixture Models to capture multiple distinct optimal trajectories simultaneously, significantly improving exploration and asymptotic performance on complex robotic tasks.
Introduction
Model-based reinforcement learning (MBRL) is highly valued for its sample efficiency. However, it frequently encounters "model bias," where the agent overfits to limited early data. While state-of-the-art methods like PETS address this by using neural network ensembles to model dynamics uncertainty, they often fail during the planning phase. Specifically, these methods rely on Model Predictive Control (MPC) with the Cross-Entropy Method (CEM), which fits a single Gaussian distribution to the best trajectories. This single-mode assumption ignores the multimodality of complex environments, where multiple distinct paths may lead to success. By collapsing to a single mean trajectory, agents lose exploration potential and risk entrapment in local optima.
Methods: VI-MPC and PaETS
The authors propose a mathematical reframing of stochastic MPC as a Bayesian variational inference problem, termed VI-MPC. This perspective reveals that standard methods like CEM and MPPI are essentially performing moment matching on a trajectory posterior. This framework naturally introduces an entropy regularization term, encouraging the planned action distribution to remain broad.
Building on this, PaETS (Probabilistic Action Ensembles with Trajectory Sampling) replaces the single Gaussian fit of CEM with a Gaussian Mixture Model (GMM).
During the MPC loop, PaETS uses an Expectation-Maximization (EM)-like update to optimize GMM parameters. This allows the planner to maintain multiple "hypotheses" for the optimal action sequence, effectively capturing multimodal optimal trajectories and leveraging the uncertainty already modeled in the dynamics.
Evaluation and Results
The methods were evaluated on standard MuJoCo continuous control tasks (HalfCheetah, Ant, Hopper, Walker2d), with modified action ranges to emphasize multimodality.
Key findings include:
- Superior Performance: PaETS consistently outperformed the PETS baseline in asymptotic performance across all environments.
- Efficiency: PaETS achieved results comparable to Soft Actor-Critic (SAC) while being approximately 10x more sample-efficient.
- Ablation Insights: Using $M=5$ GMM components provided significant gains over a single Gaussian ($M=1$). Entropy regularization further prevented mode collapse within the GMM.
Conclusion
While PaETS offers a robust solution to planning under uncertainty, it introduces sensitivity to hyperparameters like the entropy weight ($\kappa$) and requires more samples as the number of GMM components increases. Future work aims to automate hyperparameter selection through latent variable inference and explore parallel tempering to further enhance exploration diversity.
Summary updated