TL;DR
This paper introduces iCEM, an enhanced Cross-Entropy Method (CEM) for trajectory optimization that significantly improves sample efficiency and enables real-time planning for high-dimensional robotic systems. By incorporating temporally correlated actions and memory, iCEM achieves comparable or superior performance to existing methods while requiring drastically fewer samples.
What Problem Does This Paper Address?
Model-based reinforcement learning (MBRL) methods, particularly population-based optimizers like the Cross-Entropy Method (CEM), have shown great promise in solving complex control tasks, even in high-dimensional and sparse-reward environments. However, a major bottleneck for their real-world application, especially in robotics, is their sample inefficiency. CEM, in its standard form, requires a large number of samples to converge to a good solution, making it too slow for real-time planning and control where decisions must be made rapidly. This paper aims to bridge this gap by making CEM itself fast enough for real-time applications without sacrificing performance.
Methods
The core contribution is the development of iCEM, an improved version of the CEM algorithm. The key enhancements include:
- Temporally Correlated Actions (Colored Noise): Instead of sampling actions independently (white noise), iCEM generates action sequences with temporal correlations. This is achieved by manipulating the power spectral density (PSD) of the action noise, allowing for more coherent and efficient exploration. Different "colors" of noise (controlled by parameter $\beta$) are used depending on the task's frequency requirements.
- Memory for Elite Sets: Standard CEM discards elite sets after each iteration. iCEM introduces mechanisms to reuse these elites:
- Keep Elites: A fraction of the elite set from the previous iteration is added to the pool of samples for the next.
- Shift Elites: A fraction of the elite set from the last iteration is used, with a random action appended to each sequence, to seed the next iteration.
- Best Action Execution: Instead of executing the mean action, iCEM executes the first action of the best-performing trajectory found in the current iteration.
- Clipping at Action Boundaries: Actions are sampled from a (potentially colored) normal distribution and then clipped to the valid action range, allowing for more frequent exploration of maximal actions.
- Decay of Population Size: The number of samples per iteration is exponentially decreased over time, further improving efficiency.
These improvements are unified under the iCEM framework, with specific components being optional.
Datasets
The paper evaluates iCEM on several challenging robotic environments from OpenAI Gym [29] and the DAPG2 project [32]. These include:
- Ground Truth Dynamics:
- HalfCheetah Running
- Humanoid Standup
- Fetch Pick&Place (sparse reward)
- Door
- Door (sparse reward)
- Relocate
- Learned Dynamics Models (using PlaNet [3]):
- Cheetah Run
- Walker Walk
- Cup Catch
- Reacher Easy
- Finger Spin
- Cartpole Swingup
The paper does not introduce new benchmark environments but rather applies iCEM to existing, challenging benchmarks.
Key Insights and Ideas
- Coherent Actions Lead to Better Exploration: The intuition that animals don't explore randomly but with correlated movements is applied to robotic control. Generating temporally correlated actions (colored noise) significantly improves exploration efficiency, especially in tasks requiring smooth, long-term movements.
- Reusing Past Successes is Crucial: Standard CEM discards valuable information by discarding elite sets. iCEM's memory mechanisms (keeping and shifting elites) allow it to build upon previous successful explorations, leading to faster convergence.
- Sample Efficiency is Key for Real-Time: The core problem addressed is the computational cost of CEM. By making it sample-efficient, the paper demonstrates that even complex optimization can be performed in real-time, opening doors for practical robotic applications.
- Task-Specific Noise Tuning: The "color" of the noise ($\beta$) is not a one-size-fits-all parameter. Tuning it appropriately for the task's dynamics (e.g., low-frequency for manipulation, high-frequency for locomotion) leads to more efficient optimization.
Key Results
iCEM demonstrates significant improvements in sample efficiency and performance across various robotic tasks:
- Sample Efficiency: iCEM requires 2.7-21.9x fewer samples to reach 90% of the best baseline performance compared to existing methods.
- Performance Increase: iCEM achieves a 1.2-10x performance increase over baselines for high-dimensional control problems.
- Real-time Capability: When used with learned dynamics models (PlaNet), iCEM achieves real-time planning performance.
- Specific Task Success: In the Relocate task, iCEM achieved a 90% success rate using 13.7x fewer samples and a 400% average performance improvement over state-of-the-art CEM.
- Ablation Studies: The paper shows that while individual components offer benefits, the combination of all iCEM improvements is necessary to achieve top performance, especially in low-budget regimes. Colored noise and elite reuse were found to have a particularly large impact.
Limitations and Future Work
- Hyperparameter Sensitivity: While iCEM is generally less sensitive than gradient-based methods, performance can still be affected by hyperparameter choices, especially at very low budgets. The paper notes that selecting the colored-noise exponent $\beta$ is important and task-dependent.
- Learned Dynamics Model Errors: The paper acknowledges that performance can degrade when using learned dynamics models with inherent errors, though iCEM shows resilience.
- Future Work: The authors hope that iCEM encourages further research into using zeroth-order optimizers for real-time robot control. They also suggest that iCEM can be integrated into existing methods that use standard CEM or other zeroth-order optimizers. The paper also hints at the potential for further exploration of the relationship between action correlations and power spectra.
Summary updated