Vanishing Gradients in Reinforcement Finetuning of Language Models
Not on the map. Why?
Abstract (arXiv)
Pretrained language models are commonly aligned with human preferences and downstream tasks via reinforcement finetuning (RFT), which refers to maximizing a (possibly learned) reward function using policy gradient algorithms. This work identifies a fundamental optimization obstacle in RFT: we prove that the expected gradient for an input vanishes when its reward standard deviation under the model is small, even if the expected reward is far from optimal. Through experiments on an RFT benchmark and controlled environments, as well as a theoretical analysis, we then demonstrate that vanishing gradients due to small reward standard deviation are prevalent and detrimental, leading to extremely slow reward maximization. Lastly, we explore ways to overcome vanishing gradients in RFT. We find the common practice of an initial supervised finetuning (SFT) phase to be the most promising candidate, which sheds light on its importance in an RFT pipeline. Moreover, we show that a relatively small number of SFT optimization steps on as few as 1% of the input samples can suffice, indicating that the initial SFT phase need not be expensive in terms of compute and data labeling efforts. Overall, our results emphasize that being mindful for inputs whose expected gradient vanishes, as measured by the reward standard deviation, is crucial for successful execution of RFT.
Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Builds on 53 of its 67 references that are in the map. First posted on arXiv 31 Oct 2023.
Builds on
53 of 67 references.
References · 53
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
38 more
- 2020Learning to summarize from human feedbackcited by 2,588
- 2023A Survey of Large Language Modelscited by 2,576
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
- 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 2,026
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2015Teaching Machines to Read and Comprehendcited by 1,049
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
- 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 763
- 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 748
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
- 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
- 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 659
- 2017DailyDialog: A Manually Labelled Multi-turn Dialogue Datasetcited by 652
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
- 2015Sequence Level Training with Recurrent Neural Networkscited by 576
- 2023Reinforced Self-Training (ReST) for Language Modelingcited by 500
- 2017A Deep Reinforced Model for Abstractive Summarizationcited by 365
- 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 320
- 2016Deep Reinforcement Learning for Dialogue Generationcited by 288
- 2019Way Off-Policy Batch Deep Reinforcement Learning of Implicit Human Preferences in Dialogcited by 284
- 2020ToTTo: A Controlled Table-To-Text Generation Datasetcited by 268
- 2020On the Global Convergence Rates of Softmax Policy Gradient Methodscited by 264
- 2022Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimizationcited by 246
- 2022Quark: Controllable Text Generation with Reinforced Unlearningcited by 237
- 2018Understanding the impact of entropy on policy optimizationcited by 176
- 2016An Actor-Critic Algorithm for Sequence Predictioncited by 159
- 2020Implicit Regularization in Deep Learning May Not Be Explainable by Normscited by 119
- 2019On the Weaknesses of Reinforcement Learning for Neural Machine Translationcited by 82
- 2017Reinforcement Learning for Bandit Neural Machine Translation with Simulated Human Feedbackcited by 72
- 2018Learning to Extract Coherent Summary via Deep Reinforcement Learningcited by 64
- 2018The Mirage of Action-Dependent Baselines in Reinforcement Learningcited by 48
- 2021Softmax Policy Gradient Methods Can Take Exponential Time to Convergecited by 48
- 2019Ray Interference: a Source of Plateaus in Deep Reinforcement Learningcited by 40
- 2021Continuous vs. Discrete Optimization of Deep Neural Networkscited by 34
- 2021Revisiting the Weaknesses of Reinforcement Learning for Neural Machine Translationcited by 33
- 2023Benign Overfitting in Linear Classifiers and Leaky ReLU Networks from KKT Conditions for Margin Maximizationcited by 29
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2024: 6; 2025: 11; 2026: 10.
27 papers.
Sort:
By area:
- 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 147
- 2025Retaining by Doing: The Role of On-Policy Data in Mitigating Forgettingcited by 94
- 2024Dense Reward for Free in Reinforcement Learning from Human Feedbackcited by 78
- 2024Unintentional Unalignment: Likelihood Displacement in Direct Preference Optimizationcited by 67
- 2025RLVE: Scaling Up Reinforcement Learning for Language Models with Adaptive Verifiable Environmentscited by 50
- 2024Preference Learning Algorithms Do Not Learn Preference Rankingscited by 48
- 2024Discovering Preference Optimization Algorithms with and for Large Language Modelscited by 42
- 2025RePO: Replay-Enhanced Policy Optimizationcited by 39
- 2024Imitating Language via Scalable Inverse Reinforcement Learningcited by 21
- 2025SCAR: Shapley Credit Assignment for More Efficient RLHFcited by 16
- 2026Entropy-Adaptive Fine-Tuning: Resolving Confident Conflicts to Mitigate Forgettingcited by 16
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewardscited by 15
15 more
- 2025VADE: Variance-Aware Dynamic Sampling via Online Sample-Level Difficulty Estimation for Multimodal RLcited by 11
- 2026RC-GRPO: Reward-Conditioned Group Relative Policy Optimization for Multi-Turn Tool Calling Agentscited by 11
- 2025ReDit: Reward Dithering for Improved LLM Policy Optimizationcited by 8
- 2026SCALER:Synthetic Scalable Adaptive Learning Environment for Reasoningcited by 8
- 2025Why is Your Language Model a Poor Implicit Reward Model?cited by 6
- 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoningcited by 4
- 2025Preference learning made easy: Everything should be understood through win ratecited by 3
- 2025On the Role of Preference Variance in Preference Optimizationcited by 3
- 2026Reinforcement Learning Can Amplify Emergent Misalignment from Harmless Rewardscited by 3
- 2026Learning Dynamics in RL Post-Training for Language Modelscited by 2
- 2026Uncovering Cross-Objective Interference in Multi-Objective Alignmentcited by 2
- 2025DGRO: Enhancing LLM Reasoning via Exploration-Exploitation Control and Reward Variance Managementcited by 1
- 2025Learning More with Less: A Dynamic Dual-Level Down-Sampling Framework for Efficient Policy Optimizationcited by 1
- 2026Adaptive Problem Generation via Symbolic Representationscited by 0
- 2026Training Language Models to Fail Gracefullycited by 0
- 2026Training Language Models to Fail Gracefully14 Oct 2026
- 2026Reinforcement Learning Can Amplify Emergent Misalignment from Harmless Rewards29 May 2026
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards2 Mar 2026
- 2026Adaptive Problem Generation via Symbolic Representations22 Feb 2026
- 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoning16 Feb 2026
- 2026Uncovering Cross-Objective Interference in Multi-Objective Alignment6 Feb 2026
- 2026RC-GRPO: Reward-Conditioned Group Relative Policy Optimization for Multi-Turn Tool Calling Agents3 Feb 2026
- 2026SCALER:Synthetic Scalable Adaptive Learning Environment for Reasoning8 Jan 2026
- 2026Learning Dynamics in RL Post-Training for Language Models8 Jan 2026
- 2026Entropy-Adaptive Fine-Tuning: Resolving Confident Conflicts to Mitigate Forgetting5 Jan 2026
- 2025VADE: Variance-Aware Dynamic Sampling via Online Sample-Level Difficulty Estimation for Multimodal RL24 Nov 2025
- 2025RLVE: Scaling Up Reinforcement Learning for Language Models with Adaptive Verifiable Environments10 Nov 2025
15 more
- 2025Retaining by Doing: The Role of On-Policy Data in Mitigating Forgetting21 Oct 2025
- 2025On the Role of Preference Variance in Preference Optimization14 Oct 2025
- 2025Learning More with Less: A Dynamic Dual-Level Down-Sampling Framework for Efficient Policy Optimization26 Sep 2025
- 2025Why is Your Language Model a Poor Implicit Reward Model?10 Jul 2025
- 2025ReDit: Reward Dithering for Improved LLM Policy Optimization23 Jun 2025
- 2025RePO: Replay-Enhanced Policy Optimization11 Jun 2025
- 2025SCAR: Shapley Credit Assignment for More Efficient RLHF26 May 2025
- 2025DGRO: Enhancing LLM Reasoning via Exploration-Exploitation Control and Reward Variance Management19 May 2025
- 2025Preference learning made easy: Everything should be understood through win rate14 Feb 2025
- 2024Unintentional Unalignment: Likelihood Displacement in Direct Preference Optimization11 Oct 2024
- 2024Imitating Language via Scalable Inverse Reinforcement Learning2 Sep 2024
- 2024Discovering Preference Optimization Algorithms with and for Large Language Models12 Jun 2024
- 2024Preference Learning Algorithms Do Not Learn Preference Rankings29 May 2024
- 2024Dense Reward for Free in Reinforcement Learning from Human Feedback1 Feb 2024
- 2024WARM: On the Benefits of Weight Averaged Reward Models22 Jan 2024
- 2025RePO: Replay-Enhanced Policy Optimizationcited by 39
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewardscited by 15
- 2025VADE: Variance-Aware Dynamic Sampling via Online Sample-Level Difficulty Estimation for Multimodal RLcited by 11
- 2026RC-GRPO: Reward-Conditioned Group Relative Policy Optimization for Multi-Turn Tool Calling Agentscited by 11
- 2025ReDit: Reward Dithering for Improved LLM Policy Optimizationcited by 8
- 2026SCALER:Synthetic Scalable Adaptive Learning Environment for Reasoningcited by 8
- 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoningcited by 4
- 2026Learning Dynamics in RL Post-Training for Language Modelscited by 2
- 2025DGRO: Enhancing LLM Reasoning via Exploration-Exploitation Control and Reward Variance Managementcited by 1
- 2025Learning More with Less: A Dynamic Dual-Level Down-Sampling Framework for Efficient Policy Optimizationcited by 1
- 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewards2 Mar 2026
- 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoning16 Feb 2026
- 2026RC-GRPO: Reward-Conditioned Group Relative Policy Optimization for Multi-Turn Tool Calling Agents3 Feb 2026
- 2026SCALER:Synthetic Scalable Adaptive Learning Environment for Reasoning8 Jan 2026
- 2026Learning Dynamics in RL Post-Training for Language Models8 Jan 2026
- 2025VADE: Variance-Aware Dynamic Sampling via Online Sample-Level Difficulty Estimation for Multimodal RL24 Nov 2025
- 2025Learning More with Less: A Dynamic Dual-Level Down-Sampling Framework for Efficient Policy Optimization26 Sep 2025
- 2025ReDit: Reward Dithering for Improved LLM Policy Optimization23 Jun 2025
- 2025RePO: Replay-Enhanced Policy Optimization11 Jun 2025
- 2025DGRO: Enhancing LLM Reasoning via Exploration-Exploitation Control and Reward Variance Management19 May 2025
- 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 147
- 2024Dense Reward for Free in Reinforcement Learning from Human Feedbackcited by 78
- 2024Unintentional Unalignment: Likelihood Displacement in Direct Preference Optimizationcited by 67
- 2024Preference Learning Algorithms Do Not Learn Preference Rankingscited by 48
- 2024Discovering Preference Optimization Algorithms with and for Large Language Modelscited by 42
- 2025SCAR: Shapley Credit Assignment for More Efficient RLHFcited by 16
- 2025Why is Your Language Model a Poor Implicit Reward Model?cited by 6
- 2025On the Role of Preference Variance in Preference Optimizationcited by 3
- 2026Uncovering Cross-Objective Interference in Multi-Objective Alignmentcited by 2
- 2026Uncovering Cross-Objective Interference in Multi-Objective Alignment6 Feb 2026
- 2025On the Role of Preference Variance in Preference Optimization14 Oct 2025
- 2025Why is Your Language Model a Poor Implicit Reward Model?10 Jul 2025
- 2025SCAR: Shapley Credit Assignment for More Efficient RLHF26 May 2025
- 2024Unintentional Unalignment: Likelihood Displacement in Direct Preference Optimization11 Oct 2024
- 2024Discovering Preference Optimization Algorithms with and for Large Language Models12 Jun 2024
- 2024Preference Learning Algorithms Do Not Learn Preference Rankings29 May 2024
- 2024Dense Reward for Free in Reinforcement Learning from Human Feedback1 Feb 2024
- 2024WARM: On the Benefits of Weight Averaged Reward Models22 Jan 2024
- 2025Retaining by Doing: The Role of On-Policy Data in Mitigating Forgettingcited by 94
- 2025RLVE: Scaling Up Reinforcement Learning for Language Models with Adaptive Verifiable Environmentscited by 50
- 2026Entropy-Adaptive Fine-Tuning: Resolving Confident Conflicts to Mitigate Forgettingcited by 16
- 2025Preference learning made easy: Everything should be understood through win ratecited by 3
- 2026Adaptive Problem Generation via Symbolic Representationscited by 0
- 2026Training Language Models to Fail Gracefullycited by 0
- 2026Training Language Models to Fail Gracefully14 Oct 2026
- 2026Adaptive Problem Generation via Symbolic Representations22 Feb 2026
- 2026Entropy-Adaptive Fine-Tuning: Resolving Confident Conflicts to Mitigate Forgetting5 Jan 2026
- 2025RLVE: Scaling Up Reinforcement Learning for Language Models with Adaptive Verifiable Environments10 Nov 2025
- 2025Retaining by Doing: The Role of On-Policy Data in Mitigating Forgetting21 Oct 2025
- 2025Preference learning made easy: Everything should be understood through win rate14 Feb 2025