[Paper Review] A Generalist Dynamics Model for Control
This paper proposes using transformer sequence models as generalist dynamics models (TDMs) for robotic control, demonstrating strong few-shot and zero-shot generalization to unseen environments. TDMs outperform generalist policies in zero-shot settings and match or exceed specialist models in accuracy, positioning them as a strong foundation for model-based reinforcement learning.
We investigate the use of transformer sequence models as dynamics models (TDMs) for control. We find that TDMs exhibit strong generalization capabilities to unseen environments, both in a few-shot setting, where a generalist TDM is fine-tuned with small amounts of data from the target environment, and in a zero-shot setting, where a generalist TDM is applied to an unseen environment without any further training. Here, we demonstrate that generalizing system dynamics can work much better than generalizing optimal behavior directly as a policy. Additional results show that TDMs also perform well in a single-environment learning setting when compared to a number of baseline models. These properties make TDMs a promising ingredient for a foundation model of control.
Motivation & Objective
- Address the lack of generality in current robotics agents, which typically require extensive task-specific data.
- Investigate whether learned dynamics models can generalize better than policies across environments.
- Explore the feasibility of using large, pre-trained transformer models as foundation models for control.
- Demonstrate that TDMs can serve as both generalist and specialist models, enabling efficient few-shot and zero-shot adaptation.
- Evaluate the performance of TDMs in both model-based planning and direct control settings.
Proposed method
- Train a transformer-based sequence model to predict future states given a sequence of observations, actions, and rewards.
- Use the TDM within a model predictive control (MPC) framework with a random shooting planner for inference.
- Pre-train the TDM on diverse environments to create a generalist dynamics model before fine-tuning or zero-shot application.
- Fine-tune the generalist TDM on small amounts of data from a target environment to enable few-shot adaptation.
- Apply the pre-trained generalist TDM directly to a new environment without further training (zero-shot setting).
- Optimize inference speed via context window reduction and explore distillation for faster deployment.

Experimental results
Research questions
- RQ1Can a single pre-trained transformer dynamics model generalize effectively to unseen environments in a zero-shot manner?
- RQ2Does a generalist TDM outperform a generalist policy in zero-shot generalization to new environments?
- RQ3How well does a TDM perform as a specialist model when trained on environment-specific data compared to baseline models?
- RQ4Can TDMs serve as an effective inductive bias to improve sample efficiency in downstream RL or planning tasks?
- RQ5What are the limitations of generalization when the pre-training distribution is sparse or mismatched to the target environment?
Key findings
- In the zero-shot setting, the generalist TDM generalizes substantially better than its generalist policy counterpart, demonstrating superior cross-environment transfer.
- In the few-shot setting, fine-tuning the generalist TDM on minimal data from a new environment yields performance that surpasses lightweight specialist models.
- The TDM achieves accurate dynamics predictions suitable for planning in single-environment learning, outperforming baseline models in challenging control tasks.
- Even with imperfect predictions, the generalist TDM provides a useful inductive bias that can inform exploration and planning in unseen environments.
- The model's performance degrades when pre-training data is sparsely distributed across environment space, indicating limits to generalization under distributional shift.
- Inference speed remains a bottleneck, with a 77M parameter model predicting ~500 tokens per second on a single TPU core, suggesting room for optimization via distillation or more efficient planning.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.