ReFT: Reasoning with Reinforced Fine-Tuning
FreeEnhancing LLM reasoning via reinforced fine-tuning with multiple reasoning paths
About ReFT: Reasoning with Reinforced Fine-Tuning
ReFT (Reasoning with Reinforced Fine-Tuning) is a method proposed in a 2024 ACL paper to enhance the reasoning capabilities of Large Language Models (LLMs), with a focus on math problem-solving. It first warms up the model with Supervised Fine-Tuning (SFT) using Chain-of-Thought (CoT) annotations, then applies online reinforcement learning (specifically the PPO algorithm) to further fine-tune the model. During this stage, multiple reasoning paths are automatically sampled for each question, and rewards are naturally derived from ground-truth answers. ReFT is evaluated on GSM8K, MathQA, and SVAMP datasets, demonstrating significant improvements over standard SFT without relying on extra or augmented training questions. The approach can also be combined with inference-time strategies like majority voting and re-ranking for additional gains.
Key Features
Pros & Cons
- Significantly outperforms standard supervised fine-tuning (SFT) on reasoning benchmarks
- Learns from multiple reasoning paths, enhancing generalization
- Does not require additional or augmented training data beyond the original questions
- Performance can be further boosted by combining with inference-time strategies
- Requires ground-truth answers for reward computation during RL training
- Additional computational overhead compared to pure SFT due to reinforcement learning
- Evaluation shown primarily on math reasoning; generalization to other domains not extensively tested