Masked Trajectory Models for Prediction, Representation, and Control
Philipp Wu, Arjun Majumdar, Kevin Stone, Yixin Lin, Igor Mordatch, Pieter Abbeel, Aravind Rajeswaran
Abstract
We introduce Masked Trajectory Models (MTM) as a generic abstraction for sequential decision making. MTM takes a trajectory, such as a state-action sequence, and aims to reconstruct the trajectory conditioned on random subsets of the same trajectory. By training with a highly randomized masking pattern, MTM learns versatile networks that can take on different roles or capabilities, by simply choosing appropriate masks at inference time. For example, the same MTM network can be used as a forward dynamics model, inverse dynamics model, or even an offline RL agent. Through extensive experiments in several continuous control tasks, we show that the same MTM network -- i.e. same weights -- can match or outperform specialized networks trained for the aforementioned capabilities. Additionally, we find that state representations learned by MTM can significantly accelerate the learning speed of traditional RL algorithms. Finally, in offline RL benchmarks, we find that MTM is competitive with specialized offline RL algorithms, despite MTM being a generic self-supervised learning method without any explicit RL components. Code is available at https://github.com/facebookresearch/mtm
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
20 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Offline Reinforcement Learning with Implicit Q-Learning cites Decision Transformer: Reinforcement Learning via Sequence Modeling
- Offline Reinforcement Learning with Implicit Q-Learning cites Conservative Q-Learning for Offline Reinforcement Learning
- ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning cites Offline Reinforcement Learning with Implicit Q-Learning
- ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning cites Decision Transformer: Reinforcement Learning via Sequence Modeling
- ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning cites Language Models are Few-Shot Learners
- ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning cites Conservative Q-Learning for Offline Reinforcement Learning
- Decision Transformer: Reinforcement Learning via Sequence Modeling cites Language Models are Few-Shot Learners
- Decision Transformer: Reinforcement Learning via Sequence Modeling cites Conservative Q-Learning for Offline Reinforcement Learning
- Emergent Agentic Transformer from Chain of Hindsight Experience cites Decision Transformer: Reinforcement Learning via Sequence Modeling
- Emergent Agentic Transformer from Chain of Hindsight Experience cites Language Models are Few-Shot Learners
- Foundation Policies with Hilbert Representations cites Inverse Dynamics Pretraining Learns Good Representations for Multitask Imitation
- Foundation Policies with Hilbert Representations cites Offline Reinforcement Learning with Implicit Q-Learning
- Foundation Policies with Hilbert Representations cites Decision Transformer: Reinforcement Learning via Sequence Modeling
- Foundation Policies with Hilbert Representations cites Language Models are Few-Shot Learners
- Foundation Policies with Hilbert Representations cites Conservative Q-Learning for Offline Reinforcement Learning
Cited by top-tier papers20
- Scaling Proprioceptive-Visual Learning with Heterogeneous Pre-trained TransformersLirui Wang, Xinlei Chen, Jialiang Zhao, Kaiming HeNeurIPS 2024 · 208 citations
- Foundation Policies with Hilbert RepresentationsSeohong Park, Tobias Kreiman, Sergey LevineICML 2024 · 72 citations
- Inverse Dynamics Pretraining Learns Good Representations for Multitask ImitationDavid Brandfonbrener, Ofir Nachum, Joan BrunaNeurIPS 2023 · 38 citations
- Emergent Agentic Transformer from Chain of Hindsight ExperienceHao Liu, Pieter AbbeelICML 2023 · 35 citations
- ACT: Empowering Decision Transformer with Dynamic Programming via Advantage ConditioningChenxiao Gao, Chenyang Wu, Mingjun Cao, Rui Kong et al.AAAI 2024 · 31 citations
Builds on19
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 citations
- Conservative Q-Learning for Offline Reinforcement LearningAviral Kumar, Aurick Zhou, George Tucker, Sergey LevineNeurIPS 2020 · 2,881 citations
- Decision Transformer: Reinforcement Learning via Sequence ModelingLili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee et al.NeurIPS 2021 · 2,557 citations
- Offline Reinforcement Learning with Implicit Q-LearningIlya Kostrikov, Ashvin Nair, Sergey LevineICLR 2022 · 1,402 citations
Related papers
- Uni[MASK]: Unified Inference in Sequential Decision ProblemsMicah Carroll, Orr Paradise, Jessy Lin, Raluca Georgescu et al.NeurIPS 2022 · 29 citations
- M^3PC: Test-time Model Predictive Control using Pretrained Masked Trajectory ModelKehan Wen, Yutong Hu, Yao Mu, Lei KeICLR 2025
- Masked Skill Token Training for Hierarchical Off-Dynamics TransferZeyu Feng, Haiyan Yin, Yew-Soon Ong, Harold SohICLR 2026
- Semi-Supervised Offline Reinforcement Learning with Action-Free TrajectoriesQinqing Zheng, Mikael Henaff, Brandon Amos, Aditya GroverICML 2023 · 29 citations
- Learning Versatile Skills with Curriculum MaskingYao Tang, Zhihui Xie, Zichuan Lin, Deheng Ye et al.NeurIPS 2024 · 6 citations
