Skip to main content
QUICK REVIEW

[Paper Review] Model-Predictive Control via Cross-Entropy and Gradient-Based Optimization

Homanga Bharadhwaj, Kevin Xie|arXiv (Cornell University)|Apr 19, 2020
Reinforcement Learning in RoboticsComputer Science20 references12 citations
TL;DR

This paper proposes GradCEM, a hybrid planning method that interleaves Cross-Entropy Method (CEM) and gradient-based optimization to improve model-predictive control in high-dimensional action spaces. By combining CEM's global search capability with gradient descent's fast convergence, the method achieves faster optimization, avoids local minima, and matches or exceeds CEM performance on multi-extremal problems.

ABSTRACT

Recent works in high-dimensional model-predictive control and model-based reinforcement learning with learned dynamics and reward models have resorted to population-based optimization methods, such as the Cross-Entropy Method (CEM), for planning a sequence of actions. To decide on an action to take, CEM conducts a search for the action sequence with the highest return according to the dynamics model and reward. Action sequences are typically randomly sampled from an unconditional Gaussian distribution and evaluated on the environment. This distribution is iteratively updated towards action sequences with higher returns. However, this planning method can be very inefficient, especially for high-dimensional action spaces. An alternative line of approaches optimize action sequences directly via gradient descent, but are prone to local optima. We propose a method to solve this planning problem by interleaving CEM and gradient descent steps in optimizing the action sequence. Our experiments show faster convergence of the proposed hybrid approach, even for high-dimensional action spaces, avoidance of local minima, and better or equal performance to CEM. Code accompanying the paper is available here https://github.com/homangab/gradcem.

Motivation & Objective

  • Address the inefficiency of pure Cross-Entropy Method (CEM) in high-dimensional action spaces due to random sampling without gradient guidance.
  • Overcome the local minima problem inherent in pure gradient-based planning for non-convex, high-dimensional control tasks.
  • Develop a scalable, robust planning framework that combines the global exploration of CEM with the fast convergence of gradient descent.
  • Enable effective planning in model-based reinforcement learning using differentiable dynamics and reward models.
  • Provide a practical, efficient alternative to population-based or purely gradient-based planners in complex robotic control settings.

Proposed method

  • Interleave CEM and gradient descent steps: use gradient descent to refine action sequences, then use the best-performing sequences to update the CEM sampling distribution.
  • Maintain a time-evolving Gaussian distribution over action sequences, initialized with random samples and iteratively updated via CEM using top-K trajectories.
  • Apply gradient-based optimization to refine action sequences using backpropagation through the learned dynamics and reward models to compute gradients of cumulative reward with respect to actions.
  • Use the updated CEM distribution to reinitialize the gradient descent process, enabling escape from local optima.
  • Optimize action sequences via iterative updates: $\bar{a}_{0:H}^{(k)} := \bar{a}_{0:H}^{(k-1)} + \alpha \nabla_{\bar{a}} \bar{R}(\bar{a}_{0:H}^{(k-1)}, \bar{s}_{0:H}^{(k-1)})$.
  • Leverage differentiable models to compute gradients efficiently, enabling scalable optimization in high-dimensional continuous control.

Experimental results

Research questions

  • RQ1Can interleaving CEM and gradient descent improve convergence speed in high-dimensional model-predictive control?
  • RQ2Does the hybrid method outperform pure CEM in avoiding local minima in non-convex planning problems?
  • RQ3Can gradient-based optimization be stabilized and enhanced by periodic reinitialization via CEM in the presence of model bias or poor initialization?
  • RQ4How does the proposed method scale to complex, high-dimensional robotic control tasks compared to existing planning baselines?
  • RQ5To what extent does the hybrid approach maintain or improve sample efficiency and final performance in multi-extremal environments?

Key findings

  • The proposed GradCEM method achieves faster convergence than pure CEM in high-dimensional action spaces, as demonstrated in continuous control benchmarks.
  • GradCEM successfully avoids local optima that commonly trap pure gradient-based planners, especially in environments with multiple reward peaks.
  • On multi-extremal problems, GradCEM achieves performance equal to or better than CEM, while maintaining the convergence speed of gradient-based methods.
  • The method demonstrates robustness to model bias and imperfect dynamics models by leveraging CEM’s global search to guide gradient descent.
  • Empirical results show that interleaving CEM and gradient descent leads to more stable and effective planning compared to either method alone.
  • The approach scales effectively to high-dimensional continuous control tasks, outperforming both pure CEM and gradient-only baselines in terms of optimization speed and solution quality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.