Masked Trajectory Models for Prediction, Representation, and Control
On the map: Offline RL and imitation learning from data → Decision transformers and sequence modeling
Abstract (arXiv)
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
Key facts. Cited by 42 papers in the map (data through 14 Oct 2026). Placed in Decision transformers and sequence modeling, one of 13 directions in Offline RL and imitation learning from data. Builds on 47 of its 66 references that are in the map. First posted on arXiv 4 May 2023.
Builds on
47 of 66 references.
Closest ancestors · 2
Same direction, newest first
- 2022Masked Autoencoding for Scalable and Generalizable Decision Making23 Nov
- 2021Decision Transformer: Reinforcement Learning via Sequence Modeling2 Jun
Other references · 45
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2016Layer Normalizationcited by 5,669
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,885
- 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,417
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
- 2022RT-1: Robotics Transformer for Real-World Control at Scalecited by 2,061
- 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,809
- 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,427
33 more
- 2021Offline Reinforcement Learning with Implicit Q-Learningcited by 1,293
- 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,241
- 2017Curiosity-driven Exploration by Self-supervised Predictioncited by 1,194
- 2020Mastering Atari with Discrete World Modelscited by 1,007
- 2018Exploration by Random Network Distillationcited by 993
- 2022A Generalist Agentcited by 808
- 2019When to Trust Your Model: Model-Based Policy Optimizationcited by 773
- 2017Learning Complex Dexterous Manipulation with Deep Reinforcement Learning and Demonstrationscited by 715
- 2022R3M: A Universal Visual Representation for Robot Manipulationcited by 694
- 2019Self-supervised Visual Feature Learning with Deep Neural Networks: A Surveycited by 657
- 2020MOReL : Model-Based Offline Reinforcement Learningcited by 590
- 2022VIMA: General Robot Manipulation with Multimodal Promptscited by 407
- 2022Temporal Difference Learning for Model Predictive Controlcited by 397
- 2021COMBO: Conservative Offline Model-Based Policy Optimizationcited by 370
- 2022Video PreTraining (VPT): Learning to Act by Watching Unlabeled Online Videoscited by 345
- 2022Behavior Transformers: Cloning k modes with one stonecited by 304
- 2022Masked Visual Pre-training for Motor Controlcited by 248
- 2021RvS: What is Essential for Offline RL via Supervised Learning?cited by 185
- 2021Reinforcement Learning with Prototypical Representationscited by 179
- 2022Masked World Models for Visual Controlcited by 170
- 2022The Unsurprising Effectiveness of Pre-Trained Vision Models for Controlcited by 155
- 2021URLB: Unsupervised Reinforcement Learning Benchmarkcited by 139
- 2019Reinforcement Learning Upside Down: Don't Predict Rewards -- Just Map Them to Actionscited by 125
- 2019Training Agents using Upside-Down Reinforcement Learningcited by 107
- 2022Don't Change the Algorithm, Change the Data: Exploratory Data for Offline Reinforcement Learningcited by 96
- 2020State-Only Imitation Learning for Dexterous Manipulationcited by 91
- 2021Representation Matters: Offline Pretraining for Sequential Decision Makingcited by 91
- 2020A Game Theoretic Framework for Model Based Reinforcement Learningcited by 73
- 2022MoDem: Accelerating Visual Model-Based Reinforcement Learning with Demonstrationscited by 62
- 2022Efficient Planning in a Compact Latent Action Spacecited by 57
- 2022Semi-Supervised Offline Reinforcement Learning with Action-Free Trajectoriescited by 28
- 2022UniMASK: Unified Inference in Sequential Decision Problemscited by 24
- 2022Policy Architectures for Compositional Generalization in Controlcited by 23
Built on by
Citing papers per year: 2023: 13; 2024: 13; 2025: 10; 2026: 6.
42 papers.
Sort:
By area:
- 2024Octo: An Open-Source Generalist Robot Policycited by 1,484
- 2023GAIA-1: A Generative World Model for Autonomous Drivingcited by 637
- 2025Unified Video Action Modelcited by 205
- 2024Scaling Proprioceptive-Visual Learning with Heterogeneous Pre-trained Transformerscited by 148
- 2024Foundation Policies with Hilbert Representationscited by 94
- 2024Real-World Robot Applications of Foundation Models: A Reviewcited by 61
- 2025Zero-Shot Whole-Body Humanoid Control via Behavioral Foundation Modelscited by 56
- 2023PlayFusion: Skill Acquisition via Diffusion from Language-Annotated Playcited by 50
- 2023RealGen: Retrieval Augmented Generation for Controllable Traffic Scenarioscited by 46
- 2024From LLMs to Actions: Latent Codes as Bridges in Hierarchical Robot Controlcited by 35
- 2023Emergent Agentic Transformer from Chain of Hindsight Experiencecited by 33
- 2023MUVO: A Multimodal Generative World Model for Autonomous Driving with Geometric Representationscited by 33
30 more
- 2023Inverse Dynamics Pretraining Learns Good Representations for Multitask Imitationcited by 31
- 2025Latent Diffusion Planning for Imitation Learningcited by 26
- 2023ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioningcited by 25
- 2024Learning from Imperfect Demonstrations with Self-Supervision for Robotic Manipulationcited by 14
- 2023Goal-Conditioned Predictive Coding for Offline Reinforcement Learningcited by 10
- 2023Emergence of Abstract State Representations in Embodied Sequence Modelingcited by 9
- 2024Position: Foundation Agents as the Paradigm Shift for Decision Makingcited by 9
- 2025ACT-JEPA: Novel Joint-Embedding Predictive Architecture for Efficient Policy Representation Learningcited by 8
- 2023PASTA: Pretrained Action-State Transformer Agentscited by 6
- 2024Predictive Coding for Decision Transformercited by 6
- 2023Masked Path Modeling for Vision-and-Language Navigationcited by 4
- 2024Investigating Pre-Training Objectives for Generalization in Vision-Based Reinforcement Learningcited by 4
- 2025Multimodal Diffusion Forcing for Forceful Manipulationcited by 4
- 2024Unveiling Markov Heads in Pretrained Language Models for Offline Reinforcement Learningcited by 3
- 2024Learning Versatile Skills with Curriculum Maskingcited by 3
- 2025Task Tokens: A Flexible Approach to Adapting Behavior Foundation Modelscited by 3
- 2023Self-supervised Pretraining for Decision Foundation Model: Formulation, Pipeline and Challengescited by 2
- 2026Bridging MARL to SARL: An Order-Independent Multi-Agent Transformer via Latent Consensuscited by 2
- 2023Enhancing Trajectory Prediction through Self-Supervised Waypoint Noise Predictioncited by 1
- 2025Pretraining a Shared Q-Network for Data-Efficient Offline Reinforcement Learningcited by 1
- 2024Semi-Supervised One-Shot Imitation Learningcited by 0
- 2024M3PC: Test-time Model Predictive Control for Pretrained Masked Trajectory Modelcited by 0
- 2025Hybrid Sequence Modeling and Reinforced Verification for Controllable Target-Conditioned Decision Makingcited by 0
- 2025GPS-MTM: Capturing Pattern of Normalcy in GPS-Trajectories with self-supervised learningcited by 0
- 2025Planning as Descent: Goal-Conditioned Latent Trajectory Synthesis in Learned Energy Landscapescited by 0
- 2026Improving and Accelerating Offline RL in Large Discrete Action Spaces with Structured Policy Initializationcited by 0
- 2026Tactile Memory with Soft Robot: Robust Object Insertion via Masked Encoding and Soft Wristcited by 0
- 2026Beyond Single-Episode Optimization: Sliding-Window Aware Generative Auto-Bidding for Long-Term Advertising Effectivenesscited by 0
- 2026PermVLA: Factorization Order as a Regularizer for VLA Learningcited by 0
- 2026Looking Ahead and Back: Anticipatory Generative Modeling for Road-Network Trajectoriescited by 0
- 2026Looking Ahead and Back: Anticipatory Generative Modeling for Road-Network Trajectories9 Oct 2026
- 2026PermVLA: Factorization Order as a Regularizer for VLA Learning3 Oct 2026
- 2026Beyond Single-Episode Optimization: Sliding-Window Aware Generative Auto-Bidding for Long-Term Advertising Effectiveness28 Jul 2026
- 2026Bridging MARL to SARL: An Order-Independent Multi-Agent Transformer via Latent Consensus15 Apr 2026
- 2026Tactile Memory with Soft Robot: Robust Object Insertion via Masked Encoding and Soft Wrist27 Jan 2026
- 2026Improving and Accelerating Offline RL in Large Discrete Action Spaces with Structured Policy Initialization7 Jan 2026
- 2025Planning as Descent: Goal-Conditioned Latent Trajectory Synthesis in Learned Energy Landscapes19 Dec 2025
- 2025Multimodal Diffusion Forcing for Forceful Manipulation6 Nov 2025
- 2025GPS-MTM: Capturing Pattern of Normalcy in GPS-Trajectories with self-supervised learning28 Sep 2025
- 2025Hybrid Sequence Modeling and Reinforced Verification for Controllable Target-Conditioned Decision Making22 Aug 2025
- 2025Pretraining a Shared Q-Network for Data-Efficient Offline Reinforcement Learning9 May 2025
- 2025Latent Diffusion Planning for Imitation Learning23 Apr 2025
30 more
- 2025Zero-Shot Whole-Body Humanoid Control via Behavioral Foundation Models15 Apr 2025
- 2025Task Tokens: A Flexible Approach to Adapting Behavior Foundation Models28 Mar 2025
- 2025Unified Video Action Model28 Feb 2025
- 2025ACT-JEPA: Novel Joint-Embedding Predictive Architecture for Efficient Policy Representation Learning24 Jan 2025
- 2024M3PC: Test-time Model Predictive Control for Pretrained Masked Trajectory Model7 Dec 2024
- 2024Learning Versatile Skills with Curriculum Masking23 Oct 2024
- 2024Predictive Coding for Decision Transformer4 Oct 2024
- 2024Scaling Proprioceptive-Visual Learning with Heterogeneous Pre-trained Transformers30 Sep 2024
- 2024Unveiling Markov Heads in Pretrained Language Models for Offline Reinforcement Learning11 Sep 2024
- 2024Semi-Supervised One-Shot Imitation Learning9 Aug 2024
- 2024Investigating Pre-Training Objectives for Generalization in Vision-Based Reinforcement Learning10 Jun 2024
- 2024Position: Foundation Agents as the Paradigm Shift for Decision Making27 May 2024
- 2024Octo: An Open-Source Generalist Robot Policy20 May 2024
- 2024From LLMs to Actions: Latent Codes as Bridges in Hierarchical Robot Control8 May 2024
- 2024Foundation Policies with Hilbert Representations23 Feb 2024
- 2024Real-World Robot Applications of Foundation Models: A Review8 Feb 2024
- 2024Learning from Imperfect Demonstrations with Self-Supervision for Robotic Manipulation17 Jan 2024
- 2023Self-supervised Pretraining for Decision Foundation Model: Formulation, Pipeline and Challenges29 Dec 2023
- 2023RealGen: Retrieval Augmented Generation for Controllable Traffic Scenarios19 Dec 2023
- 2023PlayFusion: Skill Acquisition via Diffusion from Language-Annotated Play7 Dec 2023
- 2023Enhancing Trajectory Prediction through Self-Supervised Waypoint Noise Prediction26 Nov 2023
- 2023MUVO: A Multimodal Generative World Model for Autonomous Driving with Geometric Representations20 Nov 2023
- 2023Emergence of Abstract State Representations in Embodied Sequence Modeling3 Nov 2023
- 2023GAIA-1: A Generative World Model for Autonomous Driving29 Sep 2023
- 2023ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning12 Sep 2023
- 2023PASTA: Pretrained Action-State Transformer Agents20 Jul 2023
- 2023Goal-Conditioned Predictive Coding for Offline Reinforcement Learning7 Jul 2023
- 2023Inverse Dynamics Pretraining Learns Good Representations for Multitask Imitation26 May 2023
- 2023Emergent Agentic Transformer from Chain of Hindsight Experience26 May 2023
- 2023Masked Path Modeling for Vision-and-Language Navigation23 May 2023
- 2023ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioningcited by 25
- 2023Goal-Conditioned Predictive Coding for Offline Reinforcement Learningcited by 10
- 2024Predictive Coding for Decision Transformercited by 6
- 2025Multimodal Diffusion Forcing for Forceful Manipulationcited by 4
- 2024Unveiling Markov Heads in Pretrained Language Models for Offline Reinforcement Learningcited by 3
- 2024Learning Versatile Skills with Curriculum Maskingcited by 3
- 2025Task Tokens: A Flexible Approach to Adapting Behavior Foundation Modelscited by 3
- 2025Pretraining a Shared Q-Network for Data-Efficient Offline Reinforcement Learningcited by 1
- 2024Semi-Supervised One-Shot Imitation Learningcited by 0
- 2024M3PC: Test-time Model Predictive Control for Pretrained Masked Trajectory Modelcited by 0
- 2026Improving and Accelerating Offline RL in Large Discrete Action Spaces with Structured Policy Initializationcited by 0
- 2026Improving and Accelerating Offline RL in Large Discrete Action Spaces with Structured Policy Initialization7 Jan 2026
- 2025Multimodal Diffusion Forcing for Forceful Manipulation6 Nov 2025
- 2025Pretraining a Shared Q-Network for Data-Efficient Offline Reinforcement Learning9 May 2025
- 2025Task Tokens: A Flexible Approach to Adapting Behavior Foundation Models28 Mar 2025
- 2024M3PC: Test-time Model Predictive Control for Pretrained Masked Trajectory Model7 Dec 2024
- 2024Learning Versatile Skills with Curriculum Masking23 Oct 2024
- 2024Predictive Coding for Decision Transformer4 Oct 2024
- 2024Unveiling Markov Heads in Pretrained Language Models for Offline Reinforcement Learning11 Sep 2024
- 2024Semi-Supervised One-Shot Imitation Learning9 Aug 2024
- 2023ACT: Empowering Decision Transformer with Dynamic Programming via Advantage Conditioning12 Sep 2023
- 2023Goal-Conditioned Predictive Coding for Offline Reinforcement Learning7 Jul 2023
- 2024Foundation Policies with Hilbert Representationscited by 94
- 2025Zero-Shot Whole-Body Humanoid Control via Behavioral Foundation Modelscited by 56
- 2024Investigating Pre-Training Objectives for Generalization in Vision-Based Reinforcement Learningcited by 4
- 2025Planning as Descent: Goal-Conditioned Latent Trajectory Synthesis in Learned Energy Landscapescited by 0
- 2025Planning as Descent: Goal-Conditioned Latent Trajectory Synthesis in Learned Energy Landscapes19 Dec 2025
- 2025Zero-Shot Whole-Body Humanoid Control via Behavioral Foundation Models15 Apr 2025
- 2024Investigating Pre-Training Objectives for Generalization in Vision-Based Reinforcement Learning10 Jun 2024
- 2024Foundation Policies with Hilbert Representations23 Feb 2024
- 2023PlayFusion: Skill Acquisition via Diffusion from Language-Annotated Playcited by 50
- 2025Latent Diffusion Planning for Imitation Learningcited by 26
- 2024Octo: An Open-Source Generalist Robot Policycited by 1,484
- 2026PermVLA: Factorization Order as a Regularizer for VLA Learningcited by 0
- 2026PermVLA: Factorization Order as a Regularizer for VLA Learning3 Oct 2026
- 2024Octo: An Open-Source Generalist Robot Policy20 May 2024
- 2024Real-World Robot Applications of Foundation Models: A Reviewcited by 61
- 2025Unified Video Action Modelcited by 205
- 2024Scaling Proprioceptive-Visual Learning with Heterogeneous Pre-trained Transformerscited by 148
- 2024From LLMs to Actions: Latent Codes as Bridges in Hierarchical Robot Controlcited by 35
- 2023Inverse Dynamics Pretraining Learns Good Representations for Multitask Imitationcited by 31
- 2024Learning from Imperfect Demonstrations with Self-Supervision for Robotic Manipulationcited by 14
- 2023Emergence of Abstract State Representations in Embodied Sequence Modelingcited by 9
- 2023Masked Path Modeling for Vision-and-Language Navigationcited by 4
- 2023Self-supervised Pretraining for Decision Foundation Model: Formulation, Pipeline and Challengescited by 2
- 2026Bridging MARL to SARL: An Order-Independent Multi-Agent Transformer via Latent Consensuscited by 2
- 2023Enhancing Trajectory Prediction through Self-Supervised Waypoint Noise Predictioncited by 1
- 2025Hybrid Sequence Modeling and Reinforced Verification for Controllable Target-Conditioned Decision Makingcited by 0
- 2025GPS-MTM: Capturing Pattern of Normalcy in GPS-Trajectories with self-supervised learningcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Looking Ahead and Back: Anticipatory Generative Modeling for Road-Network Trajectories9 Oct 2026
- 2026Beyond Single-Episode Optimization: Sliding-Window Aware Generative Auto-Bidding for Long-Term Advertising Effectiveness28 Jul 2026
- 2026Bridging MARL to SARL: An Order-Independent Multi-Agent Transformer via Latent Consensus15 Apr 2026
- 2026Tactile Memory with Soft Robot: Robust Object Insertion via Masked Encoding and Soft Wrist27 Jan 2026
- 2025GPS-MTM: Capturing Pattern of Normalcy in GPS-Trajectories with self-supervised learning28 Sep 2025
- 2025Hybrid Sequence Modeling and Reinforced Verification for Controllable Target-Conditioned Decision Making22 Aug 2025
- 2025Unified Video Action Model28 Feb 2025
- 2024Scaling Proprioceptive-Visual Learning with Heterogeneous Pre-trained Transformers30 Sep 2024
- 2024From LLMs to Actions: Latent Codes as Bridges in Hierarchical Robot Control8 May 2024
- 2024Learning from Imperfect Demonstrations with Self-Supervision for Robotic Manipulation17 Jan 2024
- 2023Self-supervised Pretraining for Decision Foundation Model: Formulation, Pipeline and Challenges29 Dec 2023
- 2023Enhancing Trajectory Prediction through Self-Supervised Waypoint Noise Prediction26 Nov 2023
12 newest of 15 All 15 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Explicit Trajectory Diversity for RL-Based Post-Training of LLM Agents
- 2026TABES: Trajectory-Aware Backward-on-Entropy Steering for Masked Diffusion Models
- 2026SLIM-RL: Risk-Budgeted Random-Masking RL for Diffusion LLMs Without Trajectory Slicing
- 2026TransMASK: Masked State Representation through Learned Transformation
- 2025Reinforcement Learning meets Masked Video Modeling : Trajectory-Guided Adaptive Token Selection
- 2025Masked Generative Policy for Robotic Control
- 2024Excluding the Irrelevant: Focusing Reinforcement Learning through Continuous Action Masking
- 2026Divergent Paths: Learning an Outcome-Predictive Representation of LLM Agent Trajectories