TD-MPC
The TOLD model of TD-MPC: MLPs that encode an observation and predict latent dynamics, reward, value and action.
Reinforcement learning and control · 161 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 1.5M
- Operations
- 161
- Framework
- PyTorch
- Recurrent
- Yes
- Published
- ICML 2022
- Cited by
- 50 (as of 27 October 2026)
- Authors
- Nicklas Hansen, Xiaolong Wang, Hao Su
- Source
- GitHub: nicklashansen/tdmpc
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20755
- Graph hash
- e9f6490a7ce06226d8bad6016ae5932d483bcbe94fd92f2648b779fe4b57032b
- Skeleton hash
- 5cbc53217f651a33601bee1f99fbe55fd493a16bf109d657d9ed6d382ace42e4
- Architecture hash
- 788a206797e0ed3ca391cdcf198b407a0d6be2c90803059410cb81a727d3e6f3
- Diagram SHA-256
- f9080a43289286ed126745995c090a1de328dd6196cc97ce133ca425c2a033cb
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
TD-MPC is a framework for data-driven model predictive control that uses a task-oriented latent dynamics model and a terminal value function learned jointly by temporal difference learning. At each decision step it optimizes a trajectory using short-term reward estimates from the learned model, and uses the learned value function for long-term return estimates.
The paper argues that it is inefficient to model everything in the environment, so the latent representation of the dynamics model is learned purely from rewards. The model, called TOLD, consists of five learned components. A representation network encodes the observation, and from the latent state and an action TOLD predicts the next latent state, the single-step reward, the state-action value and an action that approximately maximizes the Q-function. All components are implemented as purely deterministic MLPs, without RNN gating mechanisms or probabilistic models. TOLD learns its representations from either state or image inputs.
The paper evaluates TD-MPC on a total of 92 continuous control tasks, drawn from DMControl and Meta-World. It reports solving Humanoid and Dog locomotion tasks with up to 38-dimensional continuous action spaces in as little as 1M environment steps.
Key idea. TD-MPC plans in the latent space of a dynamics model learned from rewards, and uses a jointly learned terminal value function to estimate return beyond the planning horizon.
- TD-MPC
- Temporal Difference Learning for Model Predictive Control
- TOLD
- task-oriented latent dynamics
- model predictive control
- model-based reinforcement learning
- continuous control
- latent space planning
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{hansen2022temporaldifferencelearningmodel,
title={Temporal Difference Learning for Model Predictive Control},
author={Nicklas Hansen and Xiaolong Wang and Hao Su},
year={2022},
eprint={2203.04955},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2203.04955},
}