AI summary · arXiv: 2403.04642v1 · cs.LG

Teaching Large Language Models to Reason with Reinforcement Learning

Alex Havrilla, Yuqing Du, Sharath Chandra Raparthy, Christoforos Nalmpantis, Jane Dwivedi-Yu, Maksym Zhuravinskyi, Eric Hambro, Sainbayar Sukhbaatar,
and 1 more authorRoberta Raileanu
Original paper Submitted to arXiv on 07 Mar. 2024 License: CC BY 4.0

How to read this summary? Illustrated guide

The essentials

  • Researchers explore effectiveness of reinforcement learning algorithms in improving reasoning capabilities of Large Language Models (LLMs)
  • Investigate algorithms like Expert Iteration, Proximal Policy Optimization (PPO), and Return-Conditioned RL
  • Analyze impact of sparse and dense rewards provided to LLM through heuristic methods or learned reward model
  • Consider various model sizes and initializations with and without supervised fine-tuning (SFT) data
  • Findings show all algorithms perform comparably, with Expert Iteration showing superior performance in most cases
  • Sample complexity of Expert Iteration similar to PPO, requiring around $10^6$ samples to converge from pretrained checkpoint
  • Trade-off between maj@1 and pass@96 metric performance during SFT training; RL training improves both metrics simultaneously
  • RL fine-tuning less prone to overfitting compared to static SFT fine-tuning due to exploration process generating diverse solution paths
  • RLHF results in better generalization than SFT on summarization and instruction following tasks
  • PPO and Expert Iteration demonstrate nearly 10% improvement in pass@96 over continued SFT but smaller improvements over light SFT

Key points written by AI: they may contain errors, check them against the paper.

AI-generated keywords: Reinforcement Learning Large Language Models Expert Iteration Proximal Policy Optimization (PPO) Sparse and Dense Rewards

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
In the study "Teaching Large Language Models to Reason with Reinforcement Learning," researchers Alex Havrilla, Yuqing Du, Sharath Chandra Raparthy, Christoforos Nalmpantis, Jane Dwivedi-Yu, Maksym Zhuravinskyi, Eric Hambro, Sainbayar Sukhbaatar, and Roberta Raileanu explore the effectiveness of reinforcement learning algorithms in improving the reasoning capabilities of Large Language Models (LLMs). The research is motivated by the success of Reinforcement Learning from Human Feedback (RLHF) in aligning LLM outputs with human preferences. The researchers investigate multiple algorithms that learn from feedback, including Expert Iteration, Proximal Policy Optimization (PPO), and Return-Conditioned RL. They analyze the impact of sparse and dense rewards provided to the LLM through heuristic methods or a learned reward model. Additionally, they consider various model sizes and initializations with and without supervised fine-tuning (SFT) data. The findings reveal that all algorithms perform comparably, with Expert Iteration showing superior performance in most cases. Surprisingly, the sample complexity of Expert Iteration is similar to that of PPO, requiring around $10^6$ samples to converge from a pretrained checkpoint. The researchers attribute this phenomenon to the limited exploration beyond solutions already produced by SFT models during RL training. Moreover,the study highlights a trade-off between maj@1 and pass@96 metric performance during SFT training. Interestingly, RL training improves both metrics simultaneously. The researchers suggest that RL fine-tuning is less prone to overfitting compared to static SFT fine-tuning due to its exploration process generating diverse solution paths. Furthermore, recent work has shown that RLHF results in better generalization than SFT on summarization and instruction following tasks. Both PPO and Expert Iteration demonstrate nearly 10% improvement in pass@96 over continued SFT but show smaller improvements over light SFT. In conclusion, the study sheds light on the benefits of reinforcement learning algorithms for enhancing LLM reasoning capabilities. The findings have implications for RLHF applications and suggest a promising future role for RL in LLM fine-tuning.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 1 free rewrite left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Continue with Google Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero Zotero guide
Citation alerts 188 papers already cite it: be emailed each new one. Citation alerts guide
Weekly letter The latest letter of its field, "Artificial intelligence this week" of 30 November 2026: Artificial intelligence this week: What the tests leave out · Receive one by email for free

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Review Cites this paper
    RLHF Deciphered: A Critical Analysis of Reinforcement Learning from Human Feedback for LLMs
    Shreyas Chaudhari, Pranjal Aggarwal, Vishvak Murahari et al. · 2024 · ACM Computing Surveys · cited 208 times · Not summarized yet

    RLHF Deciphered analyzes reward-model assumptions and limitations in RLHF, while this paper experimentally compares feedback-learning algorithms for LLM reasoning.

    Abstract

    A significant challenge in training large language models (LLMs) as effective assistants is aligning them with human preferences. Reinforcement learning from human feedback (RLHF) has emerged as a promising solution. However, our understanding of RLHF is often limited to initial design choices. This article analyzes RLHF through reinforcement learning principles, focusing on the reward model. It examines modeling choices and function approximation caveats, highlighting assumptions about reward expressivity and revealing limitations like incorrect generalization, model misspecification, and sparse feedback. A categorical review of current literature provides insights for researchers to unders…

  2. Very close Same question
    Enhancing Efficiency and Exploration in Reinforcement Learning for LLMs
    Meng-Qi Liao, X. Xi, Rui-Nian Chen et al. · 2025 · Conference on Empirical Methods in Natural Language Processing · cited 28 times · Not summarized yet

    Enhancing Efficiency and Exploration studies how RL affects reasoning LLMs’ exploration and training efficiency, issues this paper also investigates.

    Abstract

    Reasoning large language models (LLMs) excel in complex tasks, which has drawn significant attention to reinforcement learning (RL) for LLMs. However, existing approaches allocate an equal number of rollouts to all questions during the RL process, which is inefficient. This inefficiency stems from the fact that training on simple questions yields limited gains, whereas more rollouts are needed for challenging questions to sample correct answers. Furthermore, while RL improves response precision, it limits the model's exploration ability, potentially resulting in a performance cap below that of the base model prior to RL. To address these issues, we propose a mechanism for dynamically allocat…

  3. Very close Same question
    Scaling Up RL: Unlocking Diverse Reasoning in LLMs via Prolonged Training
    Mingjie Liu, Shizhe Diao, Jian Hu et al. · 2025 · Machine Learning · AI summary available

    Scaling Up RL examines prolonged reinforcement learning for reasoning across domains, while this paper evaluates RL algorithms for improving LLM reasoning.

    Abstract

    Recent advancements in reasoning-focused language models such as OpenAI's O1 and DeepSeek-R1 have shown that scaling test-time computation-through chain-of-thought reasoning and iterative exploration-can yield substantial improvements on complex tasks like mathematics and code generation. These breakthroughs have been driven by large-scale reinforcement learning (RL), particularly when combined with verifiable reward signals that provide objective and grounded supervision. In this report, we investigate the effects of prolonged reinforcement learning on a small language model across a diverse set of reasoning domains. Our work identifies several key ingredients for effective training, includ…

  4. Very close Another approach to the problem
    A First-Order Logic-Based Alternative to Reward Models in RLHF
    Chun-Jin Jiang, Xin-Hua Zhu · 2025 · ICON · Not summarized yet

    A First-Order Logic-Based Alternative uses logical consistency instead of conventional reward models to guide RLHF, whereas this paper compares reward-based training algorithms for reasoning.

    Abstract

    Reinforcement Learning from Human Feedback (RLHF) plays a crucial role in aligning large language models (LLMs) with human values and preferences. However, the quality and stability of the trained reward model largely determine the final alignment performance. Existing approaches such as Proximal Policy Optimization (PPO) rely heavily on reward models to guide LLMs toward human-aligned behaviors. In this work, we propose a logic-similarity-based reward mechanism as an alternative to conventional reward modeling. Instead of relying on heuristic reward estimation, our method leverages formal logical consistency to steer model alignment with human preferences. Since real-world questions can be …

  5. Very close Broader context
    Secrets of RLHF in Large Language Models Part I: PPO
    Rui Zheng, Shihan Dou, Songyang Gao et al. · 2023 · Computation and Language · preprint, not peer reviewed · cited 297 times · AI summary available

    Secrets of RLHF in Large Language Models discusses PPO, reward models, and process supervision for alignment, rather than comparing algorithms on reasoning tasks.

    Abstract

    Large language models (LLMs) have formulated a blueprint for the advancement of artificial general intelligence. Its primary objective is to function as a human-centric (helpful, honest, and harmless) assistant. Alignment with humans assumes paramount significance, and reinforcement learning with human feedback (RLHF) emerges as the pivotal technological paradigm underpinning this pursuit. Current technical routes usually include \textbf{reward models} to measure human preferences, \textbf{Proximal Policy Optimization} (PPO) to optimize policy model outputs, and \textbf{process supervision} to improve step-by-step reasoning capabilities. However, due to the challenges of reward design, envir…

  6. Very close Same question Cites this paper
    On Designing Effective RL Reward at Training Time for LLM Reasoning
    Jia-Xuan Gao, Shusheng Xu, Wenjie Ye et al. · 2024 · arXiv.org · preprint, not peer reviewed · cited 92 times · Not summarized yet

    On Designing Effective RL Reward evaluates reward models as training-time signals for LLM reasoning, a setting this paper also studies.

    Abstract

    Reward models have been increasingly critical for improving the reasoning capability of LLMs. Existing research has shown that a well-trained reward model can substantially improve model performances at inference time via search. However, the potential of reward models during RL training time still remains largely under-explored. It is currently unclear whether these reward models can provide additional training signals to enhance the reasoning capabilities of LLMs in RL training that uses sparse success rewards, which verify the correctness of solutions. In this work, we evaluate popular reward models for RL training, including the Outcome-supervised Reward Model (ORM) and the Process-super…

  7. Very close Broader context
    Stabilizing Reinforcement Learning with LLMs: Formulation and Practices
    Chujie Zheng, Kai Dang, Bowen Yu et al. · 2025 · Machine Learning · preprint, not peer reviewed · cited 48 times · AI summary available

    Stabilizing Reinforcement Learning explains conditions and techniques for stable policy-gradient training with LLMs, rather than measuring reasoning improvements across algorithms.

    Abstract

    This paper proposes a novel formulation for reinforcement learning (RL) with large language models, explaining why and under what conditions the true sequence-level reward can be optimized via a surrogate token-level objective in policy gradient methods such as REINFORCE. Specifically, through a first-order approximation, we show that this surrogate becomes increasingly valid only when both the training-inference discrepancy and policy staleness are minimized. This insight provides a principled explanation for the crucial role of several widely adopted techniques in stabilizing RL training, including importance sampling correction, clipping, and particularly Routing Replay for Mixture-of-Exp…

  8. Very close Same method, another problem Cites this paper
    Improving the Language Understanding Capabilities of Large Language Models Using Reinforcement Learning
    Bokai Hu, Sai Ashish Somayajula, Xin Pan et al. · 2024 · Conference on Empirical Methods in Natural Language Processing · cited 7 times · Not summarized yet

    Improving the Language Understanding Capabilities applies PPO to LLMs for NLU, whereas this paper evaluates PPO alongside other feedback-learning methods for reasoning.

    Abstract

    Instruction-fine-tuned large language models (LLMs) under 14B parameters continue to underperform on natural language understanding (NLU) tasks, often trailing smaller models like BERT-base on benchmarks such as GLUE and SuperGLUE. Motivated by the success of reinforcement learning in reasoning tasks (e.g., DeepSeek), we explore Proximal Policy Optimization (PPO) as a framework to improve the NLU capabilities of LLMs. We frame NLU as a reinforcement learning environment, treating token generation as a sequence of actions and optimizing for reward signals based on alignment with ground-truth labels. PPO consistently outperforms supervised fine-tuning, yielding an average improvement of 6.3 po…

Prior work it builds on

  1. Close Groundwork for this paper Used in depth by this paper
    Fine-Tuning Language Models from Human Preferences
    Daniel M. Ziegler, Nisan Stiennon, Jeffrey Wu et al. · 2019 · Computation and Language · preprint, not peer reviewed · cited 2,831 times · AI summary available

    Fine-Tuning Language Models from Human Preferences applies reward learning and reinforcement learning to language tasks, providing an earlier basis for the paper’s RLHF framing.

    Abstract

    Reward learning enables the application of reinforcement learning (RL) to tasks where reward is defined by human judgment, building a model of reward by asking humans questions. Most work on reward learning has used simulated environments, but complex information about values is often expressed in natural language, and we believe reward learning for language is a key to making RL practical and safe for real-world tasks. In this paper, we build on advances in generative pretraining of language models to apply reward learning to four natural language tasks: continuing text with positive sentiment or physically descriptive language, and summarization tasks on the TL;DR and CNN/Daily Mail datase…

  2. Very close Same method, another problem
    Understanding the Effects of RLHF on LLM Generalisation and Diversity
    Robert Kirk, Ishita Mediratta, Christoforos Nalmpantis et al. · 2023 · International Conference on Learning Representations · cited 516 times · Not summarized yet

    Understanding the Effects of RLHF analyzes SFT, reward modeling, and RL effects on LLM generalization and diversity, rather than reasoning performance.

    Abstract

    Large language models (LLMs) fine-tuned with reinforcement learning from human feedback (RLHF) have been used in some of the most widely deployed AI models to date, such as OpenAI's ChatGPT or Anthropic's Claude. While there has been significant work developing these methods, our understanding of the benefits and downsides of each stage in RLHF is still limited. To fill this gap, we present an extensive analysis of how each stage of the process (i.e. supervised fine-tuning (SFT), reward modelling, and RLHF) affects two key properties: out-of-distribution (OOD) generalisation and output diversity. OOD generalisation is crucial given the wide range of real-world scenarios in which these models…

  3. Very close Another approach to the problem
    Large Language Models Can Self-Improve
    Jiaxin Huang, Shi-Xiang Gu, Le Hou et al. · 2022 · Conference on Empirical Methods in Natural Language Processing · cited 951 times · Not summarized yet

    Large Language Models Can Self-Improve fine-tunes reasoning from self-generated answers, while this paper studies reinforcement-learning algorithms and feedback for reasoning.

    Abstract

    Large Language Models (LLMs) have achieved excellent performances in various tasks. However, fine-tuning an LLM requires extensive supervision. Human, on the other hand, may improve their reasoning abilities by self-thinking without external inputs. In this work, we demonstrate that an LLM is also capable of self-improving with only unlabeled datasets. We use a pre-trained LLM to generate"high-confidence"rationale-augmented answers for unlabeled questions using Chain-of-Thought prompting and self-consistency, and fine-tune the LLM using those self-generated solutions as target outputs. We show that our approach improves the general reasoning ability of a 540B-parameter LLM (74.4%->82.1% on G…

  4. Very close Same question
    Scaling Relationship on Learning Mathematical Reasoning with Large Language Models
    Zheng Yuan, Hongyi Yuan, Chengpeng Li et al. · 2023 · Computation and Language · preprint, not peer reviewed · cited 424 times · AI summary available

    Scaling Relationship investigates how supervised-data amount and model characteristics affect mathematical reasoning, which this paper also evaluates in relation to SFT and RL.

    Abstract

    Mathematical reasoning is a challenging task for large language models (LLMs), while the scaling relationship of it with respect to LLM capacity is under-explored. In this paper, we investigate how the pre-training loss, supervised data amount, and augmented data amount influence the reasoning performances of a supervised LLM. We find that pre-training loss is a better indicator of the model's performance than the model's parameter count. We apply supervised fine-tuning (SFT) with different amounts of supervised data and empirically find a log-linear relation between data amount and model performance, and we find better models improve less with enlarged supervised datasets. To augment more d…

  5. Very close Broader context
    Direct Preference Optimization: Your Language Model is Secretly a Reward Model
    Rafael Rafailov, Archit Sharma, Eric Mitchell et al. · 2023 · Machine Learning · cited 11,434 times · AI summary available

    Direct Preference Optimization replaces the reward-model-plus-RL procedure for preference alignment, providing an alternative to the RLHF approach discussed in this paper.

    Abstract

    While large-scale unsupervised language models (LMs) learn broad world knowledge and some reasoning skills, achieving precise control of their behavior is difficult due to the completely unsupervised nature of their training. Existing methods for gaining such steerability collect human labels of the relative quality of model generations and fine-tune the unsupervised LM to align with these preferences, often with reinforcement learning from human feedback (RLHF). However, RLHF is a complex and often unstable procedure, first fitting a reward model that reflects the human preferences, and then fine-tuning the large unsupervised LM using reinforcement learning to maximize this estimated reward…

Papers that cite it

  1. Very close Same method, another problem Uses this paper in depth
    Boosting Accuracy and Efficiency of Budget Forcing in LLMs via Reinforcement Learning for Mathematical Reasoning
    Ravindra Aribowo Tarunokusumo, R. F. Cunha · 2025 · arXiv.org · preprint, not peer reviewed · cited 2 times · Not summarized yet

    Boosting Accuracy and Efficiency uses reinforcement learning to improve mathematical reasoning with budget forcing, while this paper applies RL to LLM reasoning more broadly.

    Abstract

    Test-time scaling methods have seen a rapid increase in popularity for its computational efficiency and parameter-independent training to improve reasoning performance on Large Language Models. One such method is called budget forcing, a decoding intervention strategy which allocates extra compute budget for thinking and elicits the inherent self-correcting behavior of the model. However, this relies on supervised fine-tuning (SFT) on long-context reasoning traces which causes performance degradation on smaller models due to verbose responses. For this reason, we offer a framework integrating reinforcement learning (RL) to improve token efficiency and boost the performance of a 1.5B model fo…

  2. Very close Broader context
    Interpretable Preferences via Multi-Objective Reward Modeling and Mixture-of-Experts
    Hao-Xiang Wang, Wei Xiong, Tengyang Xie et al. · 2024 · Conference on Empirical Methods in Natural Language Processing · cited 459 times · Not summarized yet

    Interpretable Preferences develops interpretable multi-objective reward models for human preference alignment, rather than studying reasoning-focused RL algorithms.

    Abstract

    Reinforcement learning from human feedback (RLHF) has emerged as the primary method for aligning large language models (LLMs) with human preferences. The RLHF process typically starts by training a reward model (RM) using human preference data. Conventional RMs are trained on pairwise responses to the same user request, with relative ratings indicating which response humans prefer. The trained RM serves as a proxy for human preferences. However, due to the black-box nature of RMs, their outputs lack interpretability, as humans cannot intuitively understand why an RM thinks a response is good or not. As RMs act as human preference proxies, we believe they should be human-interpretable to ensu…

  3. Very close Same method, another problem
    S2R: Teaching LLMs to Self-verify and Self-correct via Reinforcement Learning
    Ruotian Ma, Peisong Wang, Cheng Liu et al. · 2025 · Annual Meeting of the Association for Computational Linguistics · cited 29 times · Not summarized yet

    S2R uses supervised initialization followed by reinforcement learning to teach self-verification and correction, a reasoning-improvement setting related to this paper.

    Abstract

    Recent studies have demonstrated the effectiveness of LLM test-time scaling. However, existing approaches to incentivize LLMs' deep thinking abilities generally require large-scale data or significant training efforts. Meanwhile, it remains unclear how to improve the thinking abilities of less powerful base models. In this work, we introduce S$^2$R, an efficient framework that enhances LLM reasoning by teaching models to self-verify and self-correct during inference. Specifically, we first initialize LLMs with iterative self-verification and self-correction behaviors through supervised fine-tuning on carefully curated data. The self-verification and self-correction skills are then further st…

  4. Very close Same method, another problem
    RLKD: Distilling LLMs' Reasoning via Reinforcement Learning
    Shicheng Xu, Liang Pang, Yunchang Zhu et al. · 2025 · AAAI Conference on Artificial Intelligence · cited 10 times · Not summarized yet

    RLKD uses reinforcement learning to distill reasoning paths into student LLMs, whereas this paper compares RL methods for improving reasoning capabilities.

    Abstract

    Distilling reasoning paths from teacher to student models via supervised fine-tuning (SFT) provides a shortcut for improving the reasoning ability of the smaller Large Language Models (LLMs). However, the reasoning paths generated by teacher models often reflect only surface-level traces of their underlying authentic reasoning. Insights from cognitive neuroscience suggest that authentic reasoning involves a complex interweaving between meta-reasoning that selects the appropriate sub-problem from multiple candidates, and solving, which addresses the sub-problem. It means that authentic reasoning has implicit multi-branch structure. Supervised fine-tuning collapses this rich structure into a f…

  5. Very close Same question
    Online Difficulty Filtering for Reasoning Oriented Reinforcement Learning
    Sanghwan Bae, Jiwoo Hong, Min Young Lee et al. · 2025 · Conference of the European Chapter of the Association for Computational Linguistics · cited 125 times · Not summarized yet

    Online Difficulty Filtering studies how sample difficulty affects learning efficiency in reasoning-oriented RL, complementing this paper’s investigation of RL sample complexity.

    Abstract

    Recent advances in reinforcement learning with verifiable rewards (RLVR) show that large language models enhance their reasoning abilities when trained with verifiable signals. However, due to reward sparsity, effectiveness depends heavily on selecting samples of appropriate difficulty. In this work, we present a formal analysis of online difficulty-aware filtering and establish its theoretical foundations. We show that expected policy improvement is lower-bounded by the variance of task-level success probabilities, implying that selecting tasks of intermediate difficulty maximizes learning efficiency. Building on this, we demonstrate that balanced filtering maximizes this lower bound, leadi…

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 1 November 2026.

The illustrated guide to the papers around a paper

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.