mlsanityData to 14 Oct 2026

Vanishing Gradients in Reinforcement Finetuning of Language Models

arXiv 2310.20703 ↗First posted 31 Oct 2023cs.LG cs.AI cs.CLcited by 27

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2022Training language models to follow instructions with human feedbackcited by 15,971
  5. 2017Proximal Policy Optimization Algorithmscited by 15,215
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  8. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
  9. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  10. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  11. 2022Scaling Instruction-Finetuned Language Modelscited by 3,024
  12. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
38 more
  1. 2020Learning to summarize from human feedbackcited by 2,588
  2. 2023A Survey of Large Language Modelscited by 2,576
  3. 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
  4. 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 2,026
  5. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,799
  6. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  7. 2015Teaching Machines to Read and Comprehendcited by 1,049
  8. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
  9. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 868
  10. 2013Exact solutions to the nonlinear dynamics of learning in deep linear neural networkscited by 763
  11. 2023AlpacaFarm: A Simulation Framework for Methods that Learn from Human Feedbackcited by 748
  12. 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
  13. 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
  14. 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 659
  15. 2017DailyDialog: A Manually Labelled Multi-turn Dialogue Datasetcited by 652
  16. 2017The NarrativeQA Reading Comprehension Challengecited by 597
  17. 2015Sequence Level Training with Recurrent Neural Networkscited by 576
  18. 2023Reinforced Self-Training (ReST) for Language Modelingcited by 500
  19. 2017A Deep Reinforced Model for Abstractive Summarizationcited by 365
  20. 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 320
  21. 2016Deep Reinforcement Learning for Dialogue Generationcited by 288
  22. 2019Way Off-Policy Batch Deep Reinforcement Learning of Implicit Human Preferences in Dialogcited by 284
  23. 2020ToTTo: A Controlled Table-To-Text Generation Datasetcited by 268
  24. 2020On the Global Convergence Rates of Softmax Policy Gradient Methodscited by 264
  25. 2022Is Reinforcement Learning (Not) for Natural Language Processing: Benchmarks, Baselines, and Building Blocks for Natural Language Policy Optimizationcited by 246
  26. 2022Quark: Controllable Text Generation with Reinforced Unlearningcited by 237
  27. 2018Understanding the impact of entropy on policy optimizationcited by 176
  28. 2016An Actor-Critic Algorithm for Sequence Predictioncited by 159
  29. 2020Implicit Regularization in Deep Learning May Not Be Explainable by Normscited by 119
  30. 2019On the Weaknesses of Reinforcement Learning for Neural Machine Translationcited by 82
  31. 2017Reinforcement Learning for Bandit Neural Machine Translation with Simulated Human Feedbackcited by 72
  32. 2018Learning to Extract Coherent Summary via Deep Reinforcement Learningcited by 64
  33. 2018The Mirage of Action-Dependent Baselines in Reinforcement Learningcited by 48
  34. 2021Softmax Policy Gradient Methods Can Take Exponential Time to Convergecited by 48
  35. 2019Ray Interference: a Source of Plateaus in Deep Reinforcement Learningcited by 40
  36. 2021Continuous vs. Discrete Optimization of Deep Neural Networkscited by 34
  37. 2021Revisiting the Weaknesses of Reinforcement Learning for Neural Machine Translationcited by 33
  38. 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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 6; 2025: 11; 2026: 10.

27 papers.

Sort:

By area:

  1. 2024WARM: On the Benefits of Weight Averaged Reward Modelscited by 147
  2. 2025Retaining by Doing: The Role of On-Policy Data in Mitigating Forgettingcited by 94
  3. 2024Dense Reward for Free in Reinforcement Learning from Human Feedbackcited by 78
  4. 2024Unintentional Unalignment: Likelihood Displacement in Direct Preference Optimizationcited by 67
  5. 2025RLVE: Scaling Up Reinforcement Learning for Language Models with Adaptive Verifiable Environmentscited by 50
  6. 2024Preference Learning Algorithms Do Not Learn Preference Rankingscited by 48
  7. 2024Discovering Preference Optimization Algorithms with and for Large Language Modelscited by 42
  8. 2025RePO: Replay-Enhanced Policy Optimizationcited by 39
  9. 2024Imitating Language via Scalable Inverse Reinforcement Learningcited by 21
  10. 2025SCAR: Shapley Credit Assignment for More Efficient RLHFcited by 16
  11. 2026Entropy-Adaptive Fine-Tuning: Resolving Confident Conflicts to Mitigate Forgettingcited by 16
  12. 2026LongRLVR: Long-Context Reinforcement Learning Requires Verifiable Context Rewardscited by 15
15 more
  1. 2025VADE: Variance-Aware Dynamic Sampling via Online Sample-Level Difficulty Estimation for Multimodal RLcited by 11
  2. 2026RC-GRPO: Reward-Conditioned Group Relative Policy Optimization for Multi-Turn Tool Calling Agentscited by 11
  3. 2025ReDit: Reward Dithering for Improved LLM Policy Optimizationcited by 8
  4. 2026SCALER:Synthetic Scalable Adaptive Learning Environment for Reasoningcited by 8
  5. 2025Why is Your Language Model a Poor Implicit Reward Model?cited by 6
  6. 2026Goldilocks RL: Tuning Task Difficulty to Escape Sparse Rewards for Reasoningcited by 4
  7. 2025Preference learning made easy: Everything should be understood through win ratecited by 3
  8. 2025On the Role of Preference Variance in Preference Optimizationcited by 3
  9. 2026Reinforcement Learning Can Amplify Emergent Misalignment from Harmless Rewardscited by 3
  10. 2026Learning Dynamics in RL Post-Training for Language Modelscited by 2
  11. 2026Uncovering Cross-Objective Interference in Multi-Objective Alignmentcited by 2
  12. 2025DGRO: Enhancing LLM Reasoning via Exploration-Exploitation Control and Reward Variance Managementcited by 1
  13. 2025Learning More with Less: A Dynamic Dual-Level Down-Sampling Framework for Efficient Policy Optimizationcited by 1
  14. 2026Adaptive Problem Generation via Symbolic Representationscited by 0
  15. 2026Training Language Models to Fail Gracefullycited by 0