On the Effect of Pre-training for Transformer in Different Modality on Offline Reinforcement Learning
Abstract
We empirically investigate how pre-training on data of different modalities, such as language and vision, affects fine-tuning of Transformer-based models to Mujoco offline reinforcement learning tasks. Analysis of the internal representation reveals that the pre-trained Transformers acquire largely different representations before and after pre-training, but acquire less information of data in fine-tuning than the randomly initialized one. A closer look at the parameter changes of the pretrained Transformers reveals that their parameters do not change that much and that the bad performance of the model pre-trained with image data could partially come from large gradients and gradient clipping. To study what information the Transformer pre-trained with language data utilizes, we fine-tune this model with no context provided, finding that the model learns efficiently even without context information. Subsequent follow-up analysis supports the hypothesis that pre-training with language data is likely to make the Transformer get context-like information and utilize it to solve the downstream task. * https://t46.github.io/ † Code is available at https://github.com/t46/pre-training-different-modality-offline-rl ‡ LaTeX source is available at https://github.com/t46/paper-pre-training-different-modality-offline-rl
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.
3 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
- Grounding Large Language Models in Interactive Environments with Online Reinforcement Learning cites Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents
- Grounding Large Language Models in Interactive Environments with Online Reinforcement Learning cites Language Models are Few-Shot Learners
- Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agents cites Language Models are Few-Shot Learners
- Offline Reinforcement Learning as One Big Sequence Modeling Problem cites Decision Transformer: Reinforcement Learning via Sequence Modeling
- Offline Reinforcement Learning as One Big Sequence Modeling Problem cites Language Models are Few-Shot Learners
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
- Decision Transformer: Reinforcement Learning via Sequence Modeling cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Decision Transformer: Reinforcement Learning via Sequence Modeling cites Language Models are Few-Shot Learners
- Pre-training with Synthetic Data Helps Offline Reinforcement Learning cites Offline Reinforcement Learning as One Big Sequence Modeling Problem
- Pre-training with Synthetic Data Helps Offline Reinforcement Learning cites Decision Transformer: Reinforcement Learning via Sequence Modeling
- Pre-training with Synthetic Data Helps Offline Reinforcement Learning cites Language Models are Few-Shot Learners
- Unveiling Markov heads in Pretrained Language Models for Offline Reinforcement Learning cites Decision Transformer: Reinforcement Learning via Sequence Modeling
Cited by top-tier papers3
- Grounding Large Language Models in Interactive Environments with Online Reinforcement LearningThomas Carta, Clément Romac, Thomas Wolf, Sylvain Lamprier et al.ICML 2023 · 258 citations
- Pre-training with Synthetic Data Helps Offline Reinforcement LearningZecheng Wang, Che Wang, Zixuan Dong, Keith W. RossICLR 2024 · 11 citations
- Unveiling Markov heads in Pretrained Language Models for Offline Reinforcement LearningWenhao Zhao, Qiushui Xu, Linjie Xu, Lei Song et al.ICML 2025
Builds on21
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Decision Transformer: Reinforcement Learning via Sequence ModelingLili Chen, Kevin Lu, Aravind Rajeswaran, Kimin Lee et al.NeurIPS 2021 · 2,557 citations
- Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied AgentsWenlong Huang, Pieter Abbeel, Deepak Pathak, Igor MordatchICML 2022 · 1,539 citations
- Offline Reinforcement Learning as One Big Sequence Modeling ProblemMichael Janner, Qiyang Li, Sergey LevineNeurIPS 2021 · 950 citations
Related papers
- Unleashing the Power of Pre-trained Language Models for Offline Reinforcement LearningRuizhe Shi, Yuyao Liu, Yanjie Ze, Simon Shaolei Du et al.ICLR 2024 · 36 citations
- Decision Transformers As Zero-Shot Learners via Text-Behavior AlignmentXin Zhang, Jonathan Martinez, Yanhua Li, Yingxue ZhangICML 2026
- Meta-DT: Offline Meta-RL as Conditional Sequence Modeling with World Model DisentanglementZhi Wang, Li Zhang, Wenhao Wu, Yuanheng Zhu et al.NeurIPS 2024 · 31 citations
- Scaling Offline Model-Based RL via Jointly-Optimized World-Action Model PretrainingJie Cheng, Ruixi Qiao, Yingwei Ma, Binhua Li et al.ICLR 2025
- Future-conditioned Unsupervised Pretraining for Decision TransformerZhihui Xie, Zichuan Lin, Deheng Ye, Qiang Fu et al.ICML 2023 · 32 citations
