arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.09396cs.CLcs.LG
收藏

PriFT: 先验支持引导的监督微调

PriFT: Guiding Supervised Fine-Tuning with Pretrained Priors

EPFL(瑞士联邦理工学院洛桑分校)

Ke Wang, Shuangqi Li, Mathieu Salzmann, Pascal Frossard

AI总结:

提出PriFT方法,利用冻结的预训练模型计算token权重,避免在线模型导致的自我强化动态,在数学推理、代码生成和医疗问答任务中取得SFT最优结果,并为后续RL提供更好初始化。

摘要:

监督微调(SFT)是下游任务适配的高效方法,通常作为强化学习(RL)的初始化阶段,但其泛化能力可能弱于RL。一个关键限制是其离策略目标:SFT逐token拟合固定演示,包括与模型预训练分布对齐不良的目标,这可能导致过拟合。最近一系列工作通过给与当前模型预测分布更对齐的token分配更大的训练权重来解决此问题,直觉是拟合这些token对模型的预训练知识和表示的扭曲较小。然而,从当前微调模型计算token权重会将token权重与优化轨迹纠缠在一起,随着分布迅速偏离预训练模型,引发自我强化动态。为了解决这个问题,我们提出PriFT(先验支持引导的微调),该方法从冻结的预训练参考模型导出token权重,以获得不受微调影响的稳定重加权信号。该信号估计先验支持:每个目标token受预训练分布支持的程度。在多种现有token重加权规则中,将重加权信号从在线模型替换为预训练模型一致地提升了性能。我们引入了两种实例化:PriFT-prob使用预训练token概率,而PriFT-mass根据预训练分布下的累积概率质量选择token。在数学推理、代码生成和医疗问答上的大量实验表明,PriFT在SFT基线中取得了最先进的结果,并为后续RL训练提供了更好的初始化。

英文摘要:

Supervised fine-tuning (SFT) is an efficient approach for downstream task adaptation and often serves as the initialization stage for reinforcement learning (RL), but it can show weaker generalization than RL. A key limitation is its off-policy objective: SFT fits fixed demonstrations token by token, including targets poorly aligned with the model's pretrained distribution, which can lead to overfitting. A recent line of work addresses this issue by assigning larger training weights to tokens better aligned with the current model's predictive distribution, with the intuition that fitting these tokens are less distortive to the model's knowledge and representations. However, computing the token weights from the model that is currently fine-tuned entangles token weights with the optimization trajectory, inducing a self-reinforcing loop which concentrates the supervision signal to a narrow set of initially preferred tokens. To address this, we propose PriFT (Prior-support guided Fine-Tuning), which derives token weights from a frozen pretrained reference to obtain a stable reweighting signal unaffected by fine-tuning. This signal estimates prior support: the extent to which each target token is supported by the pretrained distribution. By reweighting tokens according to their prior support, PriFT limits excessive adaptation to targets requiring substantial deviation from the pretrained distribution and improves SFT generalization. We introduce two instantiations: PriFT-prob uses pretrained target-token probability, while PriFT-mass selects tokens by cumulative probability mass under the pretrained distribution. Across mathematical reasoning, code generation, and medical QA, PriFT achieves state-of-the-art results among SFT baselines, while also providing a stronger initialization for subsequent RL.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑