0:00
/

"REFT: Reasoning with Reinforced Fine-Tuning"

Generated this podcast with Google's Illuminate.

ReFT: Leveraging reinforcement learning to expand LLM's mathematical problem-solving capabilities.

Improves on Supervised Fine-Tuning (SFT) with Chain-of-Thought (CoT) data

πŸ“š https://arxiv.org/pdf/2401.08967

Original Problem πŸ”:

SFT using Chain-of-Thought (CoT) annotations for math problem-solving lacks strong generalization due to reliance on single reasoning paths.

-----

Solution in this Paper 🧠:

β€’ Reinforced Fine-Tuning (ReFT) approach:

- Warm-up stage with SFT

- Online reinforcement learning using PPO

- Samples multiple reasoning paths

- Rewards derived from ground-truth answers

β€’ Applies to both natural language and program-based CoTs

β€’ Compatible with majority voting and reward model reranking

-----

Key Insights from this Paper πŸ’‘:

β€’ ReFT learns from multiple CoT paths, improving generalization

β€’ No need for extra training data or reward models

β€’ Outperforms SFT and self-training baselines

β€’ Effective on small models and various datasets

β€’ KL divergence crucial for policy stability

-----

Results πŸ“Š:

β€’ ReFT outperforms SFT on GSM8K, SVAMP, and MathQA datasets

β€’ 9-point improvement on GSM8K N-CoT with CodeLLAMA

β€’ 3.7-point average improvement on N-CoT across datasets

β€’ 5.9-point average improvement on P-CoT across datasets

β€’ 79.3% accuracy on GSM8K with CodeLLAMA + ReFT + Reranking (P-CoT)

β€’ Surpasses GPT-3.5-turbo performance with only 7B parameters

Discussion about this video

User's avatar

Ready for more?