UFT: Unifying Supervised and Reinforcement Fine-Tuning

Mingyang Liu, Gabriele Farina, Asuman Ozdaglar
5/22/2025
cs.LGcs.CL

No official code found. Best implementation: liumy2010/UFT (31 stars, Apache-2.0, last commit 2025-06-30).

Abstract

Post-training has demonstrated its importance in enhancing the reasoning capabilities of large language models (LLMs). The primary post-training methods can be categorized into supervised fine-tuning (SFT) and reinforcement fine-tuning (RFT). SFT is efficient and well-suited for small language models, but it may lead to overfitting and limit the reasoning abilities of larger models. In contrast, RFT generally yields better generalization but depends heavily on the strength of the base model. To address the limitations of SFT and RFT, we propose Unified Fine-Tuning (UFT), a novel post-training paradigm that unifies SFT and RFT into a single, integrated process. UFT enables the model to effectively explore solutions while incorporating informative supervision signals, bridging the gap between memorizing and thinking underlying existing methods. Notably, UFT outperforms both SFT and RFT in general, regardless of model sizes. Furthermore, we theoretically prove that UFT breaks RFT's inherent exponential sample complexity bottleneck, showing for the first time that unified training can exponentially accelerate convergence on long-horizon reasoning tasks.

View on arXivView PDF

Code Implementations(1)

liumy2010/UFTCommunity100%
Apache-2.0

UFT: Unifying Supervised and Reinforcement Fine-Tuning

311Shell, PythonMay 23, 20251 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2025uft,
  title  = {UFT: Unifying Supervised and Reinforcement Fine-Tuning},
  author = {Mingyang Liu and Gabriele Farina and Asuman Ozdaglar},
  year   = {2025},
  eprint = {2505.16984},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.16984v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.16984.svg)](https://codeofpaper.com/paper/2505.16984)

Discussion