mlsanityData to 14 Oct 2026

Q-SFT: Q-Learning for Language Models via Supervised Fine-Tuning

arXiv 2411.05193 ↗First posted 7 Nov 2024cs.LG cs.AI cs.CLcited by 10

On the map: Offline RL and imitation learning from data → Language-conditioned policies and VLAs

Abstract (arXiv)

Value-based reinforcement learning (RL) can in principle learn effective policies for a wide range of multi-turn problems, from games to dialogue to robotic control, including via offline RL from static previously collected datasets. However, despite the widespread use of policy gradient methods to train large language models for single turn tasks (e.g., question answering), value-based methods for multi-turn RL in an off-policy or offline setting have proven particularly challenging to scale to the setting of large language models. This setting requires effectively leveraging pretraining, scaling to large architectures with billions of parameters, and training on large datasets, all of which represent major challenges for current value-based RL methods. In this work, we propose a novel offline RL algorithm that addresses these drawbacks, casting Q-learning as a modified supervised fine-tuning (SFT) problem where the probabilities of tokens directly translate to Q-values. In this way we obtain an algorithm that smoothly transitions from maximizing the likelihood of the data during pretraining to learning a near-optimal Q-function during finetuning. Our algorithm has strong theoretical foundations, enjoying performance bounds similar to state-of-the-art Q-learning methods, while in practice utilizing an objective that closely resembles SFT. Because of this, our approach can enjoy the full benefits of the pretraining of language models, without the need to reinitialize any weights before RL finetuning, and without the need to initialize new heads for predicting values or advantages. Empirically, we evaluate our method on both pretrained LLMs and VLMs, on a variety of tasks including both natural language dialogue and robotic manipulation and navigation from images.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Language-conditioned policies and VLAs, one of 13 directions in Offline RL and imitation learning from data. Builds on 32 of its 43 references that are in the map. First posted on arXiv 7 Nov 2024.

Builds on

32 of 43 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022Offline RL for Natural Language Generation with Implicit Language Q Learning5 Jun

Other references · 31

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  3. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  4. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  5. 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
  6. 2023RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Controlcited by 3,080
  7. 2020Learning to summarize from human feedbackcited by 2,588
  8. 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
  9. 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,920
  10. 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,809
  11. 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,546
  12. 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,427
19 more
  1. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,205
  2. 2019Stabilizing Off-Policy Q-Learning via Bootstrapping Error Reductioncited by 840
  3. 2019Advantage-Weighted Regression: Simple and Scalable Off-Policy Reinforcement Learningcited by 782
  4. 2020MOPO: Model-based Offline Policy Optimizationcited by 636
  5. 2020MOReL : Model-Based Offline Reinforcement Learningcited by 590
  6. 2021COMBO: Conservative Offline Model-Based Policy Optimizationcited by 370
  7. 2021Recursively Summarizing Books with Human Feedbackcited by 290
  8. 2022Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimizationcited by 246
  9. 2021Offline Reinforcement Learning with Fisher Divergence Critic Regularizationcited by 238
  10. 2021Offline RL Without Off-Policy Evaluationcited by 151
  11. 2024Stop Regressing: Training Value Functions via Classification for Scalable Deep RLcited by 144
  12. 2023Q-Transformer: Scalable Offline Reinforcement Learning via Autoregressive Q-Functionscited by 131
  13. 2022When Should We Prefer Offline Reinforcement Learning Over Behavioral Cloning?cited by 89
  14. 2020COG: Connecting New Skills to Past Experience with Offline Reinforcement Learningcited by 83
  15. 2022When does return-conditioned supervised learning work for offline reinforcement learning?cited by 76
  16. 2023Zero-Shot Goal-Directed Dialogue via RL on Imagined Conversationscited by 38
  17. 2021Nearly Horizon-Free Offline Reinforcement Learningcited by 36
  18. 2022Context-Aware Language Modeling for Goal-Oriented Dialogue Systemscited by 22
  19. 2023On the Effectiveness of Offline RL for Dialogue Response Generationcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 8; 2026: 2.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Benefits and Pitfalls of Reinforcement Learning for Language Model Planning: A Theoretical Perspective
  2. 2025Learning What Reinforcement Learning Can't: Interleaved Online Fine-Tuning for Hardest Questions
  3. 2023Cal-QL: Calibrated Offline RL Pre-Training for Efficient Online Fine-Tuning
  4. 2025KL-Regularised Q-Learning: A Token-level Action-Value perspective on Online RLHF
  5. 2026Do You Really Need to Pretrain Q-Functions for Online RL Fine-Tuning?
  6. 2025Towards a Unified View of Large Language Model Post-Training
  7. 2025SRFT: A Single-Stage Method with Supervised and Reinforcement Fine-Tuning for Reasoning
  8. 2025VLM Q-Learning: Aligning Vision-Language Models for Interactive Decision-Making