Towards On-Policy SFT: Distribution Discriminant Theory and its Applications in LLM Training

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zhang, Miaosen, Liu, Yishan, Lin, Shuxia, Yang, Xu, Dai, Qi, Luo, Chong, Jiang, Weihao, Hou, Peng, Zeng, Anxiang, Geng, Xin, Guo, Baining
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866908884945338368
author Zhang, Miaosen
Liu, Yishan
Lin, Shuxia
Yang, Xu
Dai, Qi
Luo, Chong
Jiang, Weihao
Hou, Peng
Zeng, Anxiang
Geng, Xin
Guo, Baining
author_facet Zhang, Miaosen
Liu, Yishan
Lin, Shuxia
Yang, Xu
Dai, Qi
Luo, Chong
Jiang, Weihao
Hou, Peng
Zeng, Anxiang
Geng, Xin
Guo, Baining
contents Supervised fine-tuning (SFT) is computationally efficient but often yields inferior generalization compared to reinforcement learning (RL). This gap is primarily driven by RL's use of on-policy data. We propose a framework to bridge this chasm by enabling On-Policy SFT. We first present \textbf{\textit{Distribution Discriminant Theory (DDT)}}, which explains and quantifies the alignment between data and the model-induced distribution. Leveraging DDT, we introduce two complementary techniques: (i) \textbf{\textit{In-Distribution Finetuning (IDFT)}}, a loss-level method to enhance generalization ability of SFT, and (ii) \textbf{\textit{Hinted Decoding}}, a data-level technique that can re-align the training corpus to the model's distribution. Extensive experiments demonstrate that our framework achieves generalization performance surpassing prominent offline RL algorithms, including DPO and SimPO, while maintaining the efficiency of an SFT pipeline. The proposed framework thus offers a practical alternative in domains where RL is infeasible. We open-source the code here: https://github.com/zhangmiaosen2000/Towards-On-Policy-SFT
format Preprint
id arxiv_https___arxiv_org_abs_2602_12222
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Towards On-Policy SFT: Distribution Discriminant Theory and its Applications in LLM Training
Zhang, Miaosen
Liu, Yishan
Lin, Shuxia
Yang, Xu
Dai, Qi
Luo, Chong
Jiang, Weihao
Hou, Peng
Zeng, Anxiang
Geng, Xin
Guo, Baining
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
Supervised fine-tuning (SFT) is computationally efficient but often yields inferior generalization compared to reinforcement learning (RL). This gap is primarily driven by RL's use of on-policy data. We propose a framework to bridge this chasm by enabling On-Policy SFT. We first present \textbf{\textit{Distribution Discriminant Theory (DDT)}}, which explains and quantifies the alignment between data and the model-induced distribution. Leveraging DDT, we introduce two complementary techniques: (i) \textbf{\textit{In-Distribution Finetuning (IDFT)}}, a loss-level method to enhance generalization ability of SFT, and (ii) \textbf{\textit{Hinted Decoding}}, a data-level technique that can re-align the training corpus to the model's distribution. Extensive experiments demonstrate that our framework achieves generalization performance surpassing prominent offline RL algorithms, including DPO and SimPO, while maintaining the efficiency of an SFT pipeline. The proposed framework thus offers a practical alternative in domains where RL is infeasible. We open-source the code here: https://github.com/zhangmiaosen2000/Towards-On-Policy-SFT
title Towards On-Policy SFT: Distribution Discriminant Theory and its Applications in LLM Training
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2602.12222