Planning with Sequence Models through Iterative Energy Minimization
Not on the map. Why?
Abstract (arXiv)
Recent works have shown that sequence modeling can be effectively used to train reinforcement learning (RL) policies. However, the success of applying existing sequence models to planning, in which we wish to obtain a trajectory of actions to reach some goal, is less straightforward. The typical autoregressive generation procedures of sequence models preclude sequential refinement of earlier steps, which limits the effectiveness of a predicted plan. In this paper, we suggest an approach towards integrating planning with sequence models based on the idea of iterative energy minimization, and illustrate how such a procedure leads to improved RL performance across different tasks. We train a masked language model to capture an implicit energy function over trajectories of actions, and formulate planning as finding a trajectory of actions with minimum energy. We illustrate how this procedure enables improved performance over recent approaches across BabyAI and Atari environments. We further demonstrate unique benefits of our iterative optimization procedure, involving new task generalization, test-time constraints adaptation, and the ability to compose plans together. Project website: https://hychen-naza.github.io/projects/LEAP
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 38 of its 54 references that are in the map. First posted on arXiv 28 Mar 2023.
Builds on
38 of 54 references.
References · 38
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,777
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,327
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2021Offline Reinforcement Learning with Implicit Q-Learningcited by 1,245
- 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,227
26 more
- 2022Planning with Diffusion for Flexible Behavior Synthesiscited by 1,023
- 2018IMPALA: Scalable Distributed Deep-RL with Importance Weighted Actor-Learner Architecturescited by 866
- 2015Scheduled Sampling for Sequence Prediction with Recurrent Neural Networkscited by 779
- 2017Reinforcement Learning with Deep Energy-Based Policiescited by 659
- 2021Offline Reinforcement Learning as One Big Sequence Modeling Problemcited by 636
- 2020MOPO: Model-based Offline Policy Optimizationcited by 630
- 2019Text Summarization with Pretrained Encoderscited by 553
- 2017Distributional Reinforcement Learning with Quantile Regressioncited by 464
- 2017Neural Network Dynamics for Model-Based Deep Reinforcement Learning with Model-Free Fine-Tuningcited by 288
- 2019Stabilizing Transformers for Reinforcement Learningcited by 262
- 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 220
- 2022Online Decision Transformercited by 194
- 2021RvS: What is Essential for Offline RL via Supervised Learning?cited by 184
- 2016Value Iteration Networkscited by 158
- 2020Improved Contrastive Divergence Training of Energy Based Modelscited by 127
- 2017Value Prediction Networkcited by 117
- 2021Generalized Decision Transformer for Offline Hindsight Information Matchingcited by 105
- 2018Lipschitz Continuity in Model-based Reinforcement Learningcited by 90
- 2021Online and Offline Reinforcement Learning by Planning with a Learned Modelcited by 90
- 2017Recurrent Environment Simulatorscited by 68
- 2022You Can't Count on Luck: Why Decision Transformers and RvS Fail in Stochastic Environmentscited by 62
- 2021PlaTe: Visually-Grounded Planning with Transformers in Procedural Taskscited by 45
- 2021Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastingscited by 37
- 2020Planning from Pixels using Inverse Dynamics Modelscited by 36
- 2019Model Based Planning with Energy Based Modelscited by 32
- 2019Exponential Family Estimation via Adversarial Dynamics Embeddingcited by 30
Built on by
Citing papers per year: 2023: 5; 2024: 2; 2025: 1.
8 papers.
- 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planningcited by 204
- 2023Diffusion-EDFs: Bi-equivariant Denoising Generative Modeling on SE(3) for Visual Robotic Manipulationcited by 51
- 2023Adaptive Online Replanning with Diffusion Modelscited by 33
- 2023Efficient Planning with Latent Diffusioncited by 11
- 2025Schema-Guided Scene-Graph Reasoning based on Multi-Agent Large Language Model Systemcited by 5
- 2024GenPlan: Generative Sequence Models as Adaptive Plannerscited by 1
- 2023Learning Top-k Subtask Planning Tree based on Discriminative Representation Pre-training for Decision Makingcited by 0
- 2024Adaptformer: Sequence models as adaptive iterative plannerscited by 0
- 2025Schema-Guided Scene-Graph Reasoning based on Multi-Agent Large Language Model System5 Feb 2025
- 2024GenPlan: Generative Sequence Models as Adaptive Planners11 Dec 2024
- 2024Adaptformer: Sequence models as adaptive iterative planners30 Nov 2024
- 2023Learning Top-k Subtask Planning Tree based on Discriminative Representation Pre-training for Decision Making18 Dec 2023
- 2023Adaptive Online Replanning with Diffusion Models14 Oct 2023
- 2023Efficient Planning with Latent Diffusion30 Sep 2023
- 2023Diffusion-EDFs: Bi-equivariant Denoising Generative Modeling on SE(3) for Visual Robotic Manipulation6 Sep 2023
- 2023Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planning24 May 2023