Discrete Codebook World Models for Continuous Control

Aidan Scannell, Mohammadreza Nakhaei, Kalle Kujanpää, Yi Zhao, Kevin Sebastian Luck +2 more
3/1/2025
cs.LG

No official code found. Best implementation: aidanscannell/dcmpc (33 stars, MIT, last commit 2025-03-15).

Abstract

In reinforcement learning (RL), world models serve as internal simulators, enabling agents to predict environment dynamics and future outcomes in order to make informed decisions. While previous approaches leveraging discrete latent spaces, such as DreamerV3, have demonstrated strong performance in discrete action settings and visual control tasks, their comparative performance in state-based continuous control remains underexplored. In contrast, methods with continuous latent spaces, such as TD-MPC2, have shown notable success in state-based continuous control benchmarks. In this paper, we demonstrate that modeling discrete latent states has benefits over continuous latent states and that discrete codebook encodings are more effective representations for continuous control, compared to alternative encodings, such as one-hot and label-based encodings. Based on these insights, we introduce DCWM: Discrete Codebook World Model, a self-supervised world model with a discrete and stochastic latent space, where latent states are codes from a codebook. We combine DCWM with decision-time planning to get our model-based RL algorithm, named DC-MPC: Discrete Codebook Model Predictive Control, which performs competitively against recent state-of-the-art algorithms, including TD-MPC2 and DreamerV3, on continuous control benchmarks. See our project website www.aidanscannell.com/dcmpc.

View on arXivView PDF

Code Implementations(1)

aidanscannell/dcmpcCommunity100%
MIT

Official PyTorch implementation of "DC-MPC: Discrete Codebook Model Predictive Control"

332Python, Jupyter NotebookFeb 28, 20251 years agoMIT
continuous-controldeepmind-control-suitemeta-worldmodel-based-reinforcement-learningmodel-predictive-control+5 more

Similar Papers

Cite this paper

@article{scannell2025discrete,
  title  = {Discrete Codebook World Models for Continuous Control},
  author = {Aidan Scannell and Mohammadreza Nakhaei and Kalle Kujanpää and Yi Zhao and Kevin Sebastian Luck and Arno Solin and Joni Pajarinen},
  year   = {2025},
  eprint = {2503.00653},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.00653v1},
  journal = {ICLR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.00653.svg)](https://codeofpaper.com/paper/2503.00653)

Discussion