Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

ReFT: Reasoning with Reinforced Fine-Tuning

About

One way to enhance the reasoning capability of Large Language Models (LLMs) is to conduct Supervised Fine-Tuning (SFT) using Chain-of-Thought (CoT) annotations. This approach does not show sufficiently strong generalization ability, however, because the training only relies on the given CoT data. In math problem-solving, for example, there is usually only one annotated reasoning path for each question in the training data. Intuitively, it would be better for the algorithm to learn from multiple annotated reasoning paths given a question. To address this issue, we propose a simple yet effective approach called Reinforced Fine-Tuning (ReFT) to enhance the generalizability of learning LLMs for reasoning, with math problem-solving as an example. ReFT first warmups the model with SFT, and then employs on-line reinforcement learning, specifically the PPO algorithm in this paper, to further fine-tune the model, where an abundance of reasoning paths are automatically sampled given the question and the rewards are naturally derived from the ground-truth answers. Extensive experiments on GSM8K, MathQA, and SVAMP datasets show that ReFT significantly outperforms SFT, and the performance can be potentially further boosted by combining inference-time strategies such as majority voting and re-ranking. Note that ReFT obtains the improvement by learning from the same training questions as SFT, without relying on extra or augmented training questions. This indicates a superior generalization ability for ReFT.

Trung Quoc Luong, Xinbo Zhang, Zhanming Jie, Peng Sun, Xiaoran Jin, Hang Li• 2024

Related benchmarks

TaskDatasetResultRank
Mathematical ReasoningMathQA
Accuracy76.3
95
Multilingual Mathematical ReasoningMGSM (test)
Accuracy71.7
57
Math ReasoningMSVAMP (test)
Average Accuracy75.2
45
Decision InferenceSMAC
Accuracy72.2
11
Decision InferenceMMLU
Accuracy0.743
11
Decision InferenceAI2-THOR
Success Rate64.2
7
Human EvaluationMathQA
Accuracy63.5
3
Showing 7 of 7 rows

Other info

Follow for update