Yes, Q-learning Helps Offline In-Context RL
On the map: Offline RL and imitation learning from data → Offline RL algorithms
Abstract (arXiv)
Existing offline in-context reinforcement learning (ICRL) methods have predominantly relied on supervised training objectives, which are known to have limitations in offline RL settings. In this study, we explore the integration of RL objectives within an offline ICRL framework. Through experiments on more than 150 GridWorld and MuJoCo environment-derived datasets, we demonstrate that optimizing RL objectives directly improves performance by approximately 30% on average compared to widely adopted Algorithm Distillation (AD), across various dataset coverages, structures, expertise levels, and environmental complexities. Furthermore, in the challenging XLand-MiniGrid environment, RL objectives doubled the performance of AD. Our results also reveal that the addition of conservatism during value learning brings additional improvements in almost all settings tested. Our findings emphasize the importance of aligning ICRL learning objectives with the RL reward-maximization goal, and demonstrate that offline RL is a promising direction for advancing ICRL.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Offline RL algorithms, one of 13 directions in Offline RL and imitation learning from data. Builds on 48 of its 54 references that are in the map. First posted on arXiv 24 Feb 2025.
Builds on
48 of 54 references.
Closest ancestors · 13
Same direction, newest first
- 2024Is Value Functions Estimation with Classification Plug-and-play for Offline Reinforcement Learning?10 Jun
- 2024In-context Exploration-Exploitation for Reinforcement Learning11 Mar
- 2023Katakomba: Tools and Benchmarks for Data-Driven NetHack14 Jun
- 2023Revisiting the Minimalist Approach to Offline Reinforcement Learning16 May
- 2022CORL: Research-oriented Deep Offline Reinforcement Learning Library13 Oct
- 2022When Should We Prefer Offline Reinforcement Learning Over Behavioral Cloning?12 Apr
- 2021A Dataset Perspective on Offline Reinforcement Learning8 Nov
- 2021Offline Reinforcement Learning with Implicit Q-Learning12 Oct
- 2021Uncertainty-Based Offline Reinforcement Learning with Diversified Q-Ensemble4 Oct
- 2021Offline-to-Online Reinforcement Learning via Balanced Replay and Pessimistic Q-Ensemble1 Jul
- 2021A Minimalist Approach to Offline Reinforcement Learning12 Jun
- 2020Conservative Q-Learning for Offline Reinforcement Learning8 Jun
Other references · 35
- 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
- 2016Layer Normalizationcited by 5,669
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,885
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
- 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,417
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
- 2018Off-Policy Deep Reinforcement Learning without Explorationcited by 1,241
- 2019Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learningcited by 1,204
- 2021Deep Reinforcement Learning at the Edge of the Statistical Precipicecited by 807
23 more
- 2020AWAC: Accelerating Online Reinforcement Learning with Offline Datasetscited by 671
- 2019Efficient Off-Policy Meta-Reinforcement Learning via Probabilistic Context Variablescited by 389
- 2020The NetHack Learning Environmentcited by 198
- 2022In-context Reinforcement Learning with Algorithm Distillationcited by 190
- 2024Stop Regressing: Training Value Functions via Classification for Scalable Deep RLcited by 144
- 2023Supervised Pretraining Can Learn In-Context Reinforcement Learningcited by 139
- 2022Offline RL for Natural Language Generation with Implicit Language Q Learningcited by 138
- 2023A Tutorial on Meta-Reinforcement Learningcited by 108
- 2022Q-learning Decision Transformer: Leveraging Dynamic Programming for Conditional Sequence Modelling in Offline RLcited by 103
- 2024In-Context Language Learning: Architectures and Algorithmscited by 89
- 2024Mixtures of Experts Unlock Parameter Scaling for Deep RLcited by 78
- 2023XLand-MiniGrid: Scalable Meta-Reinforcement Learning Environments in JAXcited by 55
- 2023Generalization to New Sequential Decision Making Tasks with In-Context Learningcited by 39
- 2025A Survey of In-Context Reinforcement Learningcited by 39
- 2024Q-value Regularized Transformer for Offline Reinforcement Learningcited by 29
- 2023Emergence of In-Context Reinforcement Learning from Noise Distillationcited by 27
- 2024In-Context Decision Transformer: Reinforcement Learning via Hierarchical Chain-of-Thoughtcited by 26
- 2024Reinformer: Max-Return Sequence Modeling for Offline RLcited by 25
- 2023In-Context Reinforcement Learning for Variable Action Spacescited by 24
- 2024Retrieval-Augmented Decision Transformer: External Memory for In-context RLcited by 21
- 2024XLand-100B: A Large-Scale Multi-Task Dataset for In-Context Reinforcement Learningcited by 14
- 2025Vintix: Action Model via In-Context Reinforcement Learningcited by 10
- 2024N-Gram Induction Heads for In-Context RL: Improving Stability and Reducing Data Needscited by 7
Built on by
Citing papers per year: 2025: 6; 2026: 4.
10 papers.
- 2025Zero-Shot Adaptation of Behavioral Foundation Models to Unseen Dynamicscited by 8
- 2025Mixture-of-Experts Meets In-Context Reinforcement Learningcited by 8
- 2025Scalable In-Context Q-Learningcited by 5
- 2025Towards Provable Emergence of In-Context Reinforcement Learningcited by 3
- 2025Dejavu: Towards Experience Feedback Learning for Embodied Intelligencecited by 3
- 2026Benchmarking the Limits of In-Context Reinforcement Learning for Ad-Hoc Teamworkcited by 2
- 2026Vintix II: Decision Pre-Trained Transformer is a Scalable In-Context Reinforcement Learnercited by 1
- 2026In-Context Reinforcement Learning under Non-Stationarity: A Surveycited by 1
- 2025Context Value Informed In-Context Reinforcement Learningcited by 0
- 2026Learning in Context, Guided by Choice: A Reward-Free Paradigm for Reinforcement Learning with Transformerscited by 0
- 2026In-Context Reinforcement Learning under Non-Stationarity: A Survey1 Jul 2026
- 2026Benchmarking the Limits of In-Context Reinforcement Learning for Ad-Hoc Teamwork23 May 2026
- 2026Vintix II: Decision Pre-Trained Transformer is a Scalable In-Context Reinforcement Learner6 Apr 2026
- 2026Learning in Context, Guided by Choice: A Reward-Free Paradigm for Reinforcement Learning with Transformers9 Feb 2026
- 2025Dejavu: Towards Experience Feedback Learning for Embodied Intelligence11 Oct 2025
- 2025Context Value Informed In-Context Reinforcement Learning27 Sep 2025
- 2025Towards Provable Emergence of In-Context Reinforcement Learning22 Sep 2025
- 2025Mixture-of-Experts Meets In-Context Reinforcement Learning5 Jun 2025
- 2025Scalable In-Context Q-Learning2 Jun 2025
- 2025Zero-Shot Adaptation of Behavioral Foundation Models to Unseen Dynamics19 May 2025
Similar, not cited
Close in wording, no citation either way
- 2023Cal-QL: Calibrated Offline RL Pre-Training for Efficient Online Fine-Tuning
- 2023Improving and Benchmarking Offline Reinforcement Learning Algorithms
- 2021NeoRL: A Near Real-World Benchmark for Offline Reinforcement Learning
- 2025NeoRL-2: Near Real-World Benchmarks for Offline Reinforcement Learning with Extended Realistic Scenarios
- 2025In-Context Compositional Q-Learning for Offline Reinforcement Learning
- 2026Active Offline-to-Online Reinforcement Learning
- 2024ACL-QL: Adaptive Conservative Level in Q-Learning for Offline Reinforcement Learning
- 2022A Survey on Offline Reinforcement Learning: Taxonomy, Review, and Open Problems