超越分布匹配:面向监督微调的选择性间隔保留
Beyond Distribution Matching: Selective Margin Preservation for Supervised Fine-Tuning
AI总结:
该研究提出选择性秩保留 SFT(SRP-SFT)方法,在不冻结分布的情况下保留局部非目标间隔关系,经实验在 Qwen3-4B-Base 等模型上提升了 MATH-500 和代码生成任务的分数。
摘要:
监督微调(SFT)会改变教师强制前缀下非目标 token 之间的 logit 间隔。匹配局部参考分布可保留这些概率,同时惩罚间隔扩张。我们探究是否存在一种软辅助项,能在不冻结该分布的情况下保留选定的局部非目标间隔关系。我们提出**选择性秩保留 SFT(SRP-SFT)**,这是一种软间隔目标:对参考集中前 K 个非目标 token 的配对,应用基于参考缩放下界的 hinge 损失,且该损失仅在固定的教师强制前缀处生效,一旦达到要求的边界便停止。我们推导了违反间隔的 KL 代价,刻画了可行区域及其条件效用,并给出减少总违反的有限步条件。在 Qwen3-4B-Base 和 UltraFeedback 上的单轮实验中,该目标在所有三个训练种子下均提升了 MATH-500 和代码生成任务的分数。在种子 1234 下,相较于 LP-SFT,MATH-500 的 pass@1 从 49.56% 升至 54.56%,四指标代码均值从 65.91% 升至 69.50%。排名对照、保留缓存诊断、敏感性扫描及六个额外主干模型验证了这些分数变化的出现场景。
英文摘要:
Supervised fine-tuning (SFT) changes logit margins among non-target tokens at teacher-forced prefixes. Matching a local reference distribution keeps those probabilities and also penalizes margin expansions. We ask whether a soft auxiliary can preserve selected local non-target margin relations without freezing that distribution. We introduce \textbf{Selective Rank-Preserving SFT (SRP-SFT)}, a soft margin target: a hinge on reference-scaled lower bounds for pairs from the reference's top-$K$ non-target tokens, applied at fixed teacher-forced prefixes. The hinge stops once the requested bound is met. We derive the KL cost of violating a margin, characterize the feasible region and its conditional utility, and give a finite-step condition for reducing aggregate violations. In one-epoch experiments on Qwen3-4B-Base and UltraFeedback, this target raises MATH-500 and code-generation scores over CE and LP-SFT at all three training seeds. At seed 1234, MATH-500 pass@1 rises from 49.56\% to 54.56\% and the four-metric code mean rises from 65.91\% to 69.50\% relative to LP-SFT. Ranking controls, held-out cache diagnostics, sensitivity sweeps, and six additional backbones show where these score changes appear.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。