Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Huang, Zeyu, Cheng, Tianhao, Qiu, Zihan, Wang, Zili, Xu, Yinghui, Ponti, Edoardo M., Titov, Ivan
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916014471512064
author Huang, Zeyu
Cheng, Tianhao
Qiu, Zihan
Wang, Zili
Xu, Yinghui
Ponti, Edoardo M.
Titov, Ivan
author_facet Huang, Zeyu
Cheng, Tianhao
Qiu, Zihan
Wang, Zili
Xu, Yinghui
Ponti, Edoardo M.
Titov, Ivan
contents Existing LLMs-post-training techniques are broadly categorized into supervised fine-tuning (SFT) and reinforcement fine-tuning (RFT). Each paradigm presents a distinct trade-off: (1) SFT excels at mimicking demonstration data, but can lead to problematic generalization as a form of behavior cloning. (2) Conversely, RFT can significantly enhance a model's performance but is prone to learning unexpected behaviors, and its performance is sensitive to the initial policy. In this paper, we propose a unified view of these methods and introduce Prefix-RFT, a hybrid approach that synergizes learning from both demonstration and exploration. Using mathematical reasoning problems as a test bed, we empirically demonstrate that Prefix-RFT is simple yet effective. Not only does it surpass the performance of standalone SFT and RFT, but it also outperforms parallel mixed-policy RFT methods. Our analysis highlights the complementary nature of SFT and RFT, validating that Prefix-RFT effectively harmonizes them. Further ablation studies confirm the method's robustness to variations in the quality and quantity of demonstration data.
format Preprint
id arxiv_https___arxiv_org_abs_2507_01679
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling
Huang, Zeyu
Cheng, Tianhao
Qiu, Zihan
Wang, Zili
Xu, Yinghui
Ponti, Edoardo M.
Titov, Ivan
Machine Learning
Artificial Intelligence
Computation and Language
Existing LLMs-post-training techniques are broadly categorized into supervised fine-tuning (SFT) and reinforcement fine-tuning (RFT). Each paradigm presents a distinct trade-off: (1) SFT excels at mimicking demonstration data, but can lead to problematic generalization as a form of behavior cloning. (2) Conversely, RFT can significantly enhance a model's performance but is prone to learning unexpected behaviors, and its performance is sensitive to the initial policy. In this paper, we propose a unified view of these methods and introduce Prefix-RFT, a hybrid approach that synergizes learning from both demonstration and exploration. Using mathematical reasoning problems as a test bed, we empirically demonstrate that Prefix-RFT is simple yet effective. Not only does it surpass the performance of standalone SFT and RFT, but it also outperforms parallel mixed-policy RFT methods. Our analysis highlights the complementary nature of SFT and RFT, validating that Prefix-RFT effectively harmonizes them. Further ablation studies confirm the method's robustness to variations in the quality and quantity of demonstration data.
title Blending Supervised and Reinforcement Fine-Tuning with Prefix Sampling
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2507.01679