Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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

About

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

Miaosen Zhang, Yishan Liu, Shuxia Lin, Xu Yang, Qi Dai, Chong Luo, Weihao Jiang, Peng Hou, Anxiang Zeng, Xin Geng, Baining Guo• 2026

Related benchmarks

TaskDatasetResultRank
Medical Question AnsweringMedMCQA
Accuracy35.12
591
Medical Question AnsweringMedQA
Accuracy32.44
179
Code GenerationHumanEval+
Pass@171.34
122
Medical Question AnsweringMMLU Med
Accuracy38.23
111
Common Sense ReasoningARC Challenge
Accuracy88.9
63
Commonsense ReasoningCommonsense Reasoning
Accuracy81.4
57
Code GenerationMBPP
Pass@1 Accuracy57.4
55
Code GenerationLCB v6
Pass@115.45
48
Code GenerationMBPP+
Pass@165.87
48
Mathematical ReasoningAIME24
Avg@167.5
45
Showing 10 of 26 rows

Other info

Follow for update