Skip to main content
QUICK REVIEW

[Paper Review] Temporal Difference Learning for Model Predictive Control

Nicklas Hansen, Xiaolong Wang|arXiv (Cornell University)|Mar 9, 2022
Advanced Control Systems OptimizationEngineering27 citations
TL;DR

TD-MPC blends a task-oriented latent dynamics model and a terminal value function learned via temporal-difference learning to perform short-horizon planning with long-horizon value estimates, boosting sample efficiency and performance in continuous control tasks.

ABSTRACT

Data-driven model predictive control has two key advantages over model-free methods: a potential for improved sample efficiency through model learning, and better performance as computational budget for planning increases. However, it is both costly to plan over long horizons and challenging to obtain an accurate model of the environment. In this work, we combine the strengths of model-free and model-based methods. We use a learned task-oriented latent dynamics model for local trajectory optimization over a short horizon, and use a learned terminal value function to estimate long-term return, both of which are learned jointly by temporal difference learning. Our method, TD-MPC, achieves superior sample efficiency and asymptotic performance over prior work on both state and image-based continuous control tasks from DMControl and Meta-World. Code and video results are available at https://nicklashansen.github.io/td-mpc.

Motivation & Objective

  • Motivate combining model-based planning with model-free learning to improve sample efficiency and long-horizon performance.
  • Develop a data-driven MPC framework with a latent dynamics model learned from rewards and a TD-learned terminal value function.
  • Propose a task-oriented latent dynamics model (TOLD) that avoids modeling irrelevant environment aspects to reduce bias.
  • Demonstrate improved performance on DMControl and Meta-World tasks with both state-based and image-based observations.

Proposed method

  • Use Model Predictive Path Integral (MPPI) planning within an MPC framework for short-horizon trajectory optimization.
  • Learn a latent dynamics model d_theta and reward R_theta, plus a terminal value function Q_theta, all trained end-to-end with TD-learning.
  • Introduce the Task-Oriented Latent Dynamics (TOLD) model that predicts in latent space and regularizes via a latent state consistency loss.
  • Incorporate a policy pi_theta to guide planning and augment sampling with policy-based trajectories for TD targets.
  • Optimize a joint objective that includes reward prediction, value prediction, and latent state consistency losses (via backpropagation through time).

Experimental results

Research questions

  • RQ1How does TD-MPC compare to state-of-the-art model-based and model-free approaches in sample efficiency and asymptotic performance?
  • RQ2Can a reward-centric latent model (TOLD) enable effective multi-task and transfer learning across diverse continuous-control tasks?
  • RQ3What is the impact of planning budget and model accuracy on TD-MPC performance across state and image-based settings?

Key findings

  • TD-MPC achieves superior sample efficiency and competitive or superior asymptotic performance across a wide range of DMControl and Meta-World tasks.
  • The TOLD latent dynamics model improves learning efficiency by focusing on reward-predictive components and using latent consistency losses to avoid expensive observation-level prediction.
  • Planning with MPPI over short horizons combined with a learned terminal value function yields strong performance even with high-dimensional action spaces (e.g., Humanoid, Dog).
  • TD-MPC scales to image-based tasks and remains robust across modalities, showing competitive results against strong model-free and model-based baselines.
  • Multi-task and transfer experiments indicate that shared representations in h_theta can generalize across tasks, while d_theta encodes more task-specific behavior.

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.