PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 7, 20243 citationsOpen Access

Teaching Large Language Models to Reason with Reinforcement Learning

View Full Paper
AHAlex HavrillaYDYuqing DuSRSharath Chandra Raparthy

Key Points

  • Reinforcement learning enhances language model reasoning capabilities through aligned feedback and policies.
  • Expert Iteration and Proximal Policy Optimization show comparable results, with Expert Iteration generally outperforming others.
  • Assessment across varying model sizes utilizes both sparse and dense rewards to optimize learning outcomes during training stages. The findings support the importance of reinforcement learning in fine-tuning, indicating that it may offer better results than supervised methods in certain scenarios.

Abstract

Reinforcement Learning from Human Feedback (RLHF) has emerged as a dominant approach for aligning LLM outputs with human preferences. Inspired by the success of RLHF, we study the performance of multiple algorithms that learn from feedback (Expert Iteration, Proximal Policy Optimization (PPO), Return-Conditioned RL) on improving LLM reasoning capabilities. We investigate both sparse and dense rewards provided to the LLM both heuristically and via a learned reward model. We additionally start from multiple model sizes and initializations both with and without supervised fine-tuning (SFT) data. Overall, we find all algorithms perform comparably, with Expert Iteration performing best in most cases. Surprisingly, we find the sample complexity of Expert Iteration is similar to that of PPO, requiring at most on the order of 10⁶ samples to converge from a pretrained checkpoint. We investigate why this is the case, concluding that during RL training models fail to explore significantly beyond solutions already produced by SFT models. Additionally, we discuss a trade off between maj@1 and pass@96 metric performance during SFT training and how conversely RL training improves both simultaneously. We then conclude by discussing the implications of our findings for RLHF and the future role of RL in LLM fine-tuning.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Havrilla et al. (2024) studied this question.

synapsesocial.com/papers/68e7555db6db6435876cd206https://doi.org/10.48550/arxiv.2403.04642
Ask AI
Helpful
Bookmark
Share
View Full Paper