Beyond Distribution Matching: Selective Margin Preservation for Supervised Fine-Tuning

cs.LG cs.CL Yuxuan Wang, Guangxiang Zhao, Xinyu Tan, Yahui Han, Xinxiang Yin, Zhonghai Wu, Xiangzheng Zhang, Lin Sun, Tong Yang · Oct 14, 2026
Local to this browser
What it does
Supervised fine-tuning can collapse the pretrained model's preference structure among non-target tokens. Instead of matching the reference distribution exactly like LP-SFT, this paper proposes SRP-SFT, which enforces soft, selective lower...
Why it matters
56 to 54. 56 over LP-SFT, with consistent gains across three seeds.
Main concern
SRP-SFT introduces a carefully formulated soft margin target that sits between cross-entropy and full distribution matching. The core idea is well-motivated: "We ask whether a soft auxiliary can preserve selected local non-target margin...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

Supervised fine-tuning can collapse the pretrained model's preference structure among non-target tokens. Instead of matching the reference distribution exactly like LP-SFT, this paper proposes SRP-SFT, which enforces soft, selective lower bounds on margins between top-K non-target token pairs. At one epoch on a 4B model, it improves MATH-500 pass@1 from 49.56 to 54.56 over LP-SFT, with consistent gains across three seeds.

Critical review
Verdict
Bottom line

SRP-SFT introduces a carefully formulated soft margin target that sits between cross-entropy and full distribution matching. The core idea is well-motivated: "We ask whether a soft auxiliary can preserve selected local non-target margin relations without freezing that distribution." (Abstract). The paper backs this with rigorous geometric analysis of the feasible region, KL costs of margin loss (Theorem 1), and a finite-step repair bound (Proposition 3). Empirically, "SRP-SFT raises MATH pass@1 from 49.56 for LP-SFT to 54.56 and raises the code mean from 65.91 to 69.50" (Section 7.1), with held-out diagnostics showing less margin contraction and fewer inversions despite larger local KL. The work is honest about its limits—models are at most 4B and the main results are one-epoch—but the multi-seed consistency, sensitivity screens, and cross-backbone transfer lend credibility.

“We introduce 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.”
paper · Abstract
“SRP-SFT raises MATH pass@1 from 49.56 for LP-SFT to 54.56 and raises the code mean from 65.91 to 69.50.”
paper · Section 7.1
What holds up

The theoretical groundwork is solid and specific. The paper derives exact KL thresholds for losing a prescribed margin (Theorem 1), characterizes the feasible logit set via an order cone (Theorem 2), and proves a finite-step condition for aggregate violation reduction (Proposition 3). The separation from KL matching is crisp: "The two objectives therefore assign different costs to reference deviations and define different preservation targets" (Section 5.1). Experiments are well-controlled: matched seeds, shared hyperparameters, a held-out cache for diagnostics, and entropy-matched temperature controls to rule out trivial sharpness explanations. The consistency across three seeds is strong: "Across the three training seeds, SRP-SFT remains above CE and LP-SFT" (Section 7.1).

“The two objectives therefore assign different costs to reference deviations and define different preservation targets.”
paper · Section 5.1
“Across the three training seeds, SRP-SFT remains above CE and LP-SFT.”
paper · Section 7.1
Main concerns

The headline setting ($K=10, \rho=1, \mu=1$) is not the best-performing configuration. Sensitivity sweeps find higher peaks at $\rho=2.5$, $K=5$, and $\mu=3$, yet the paper reports the pre-fixed main setting, which raises questions about how much the gains depend on tuning. More critically, "the task score and the realized margin statistics move in opposite directions" (Section 7.4), meaning stronger preference preservation does not reliably improve downstream metrics. Cross-backbone transfer is uneven: "Mathematics is more backbone-dependent: SRP-SFT leads MATH-500 on both Qwen bases, Ministral, and SmolLM3, but trails on Gemma (61.59 versus 63.94) and Granite" (Section 7.6). The main study is limited to one-epoch training on $\leq$4B models, and the ten-epoch trajectory for a different $\rho$ value shows early decline, leaving open the convergence picture at the headline $\rho=1$.

“From $\rho=1$ to $\rho=2.5$, the score increases from 57.05 to 61.56 while Flip rises from 0.0565 to 0.0937 and contraction rises from 0.1098 to 0.1891... the task score and the realized margin statistics move in opposite directions.”
paper · Section 7.4
“Mathematics is more backbone-dependent: SRP-SFT leads MATH-500 on both Qwen bases, Ministral, and SmolLM3, but trails on Gemma (61.59 versus 63.94) and Granite.”
paper · Section 7.6
Evidence and comparison

The comparison to LP-SFT is fair and matched: identical initialization, data order, hardware, optimizer, and seeds. The held-out cache diagnostics are a strength. SRP-SFT "reduces mean margin contraction from 0.268 for LP-SFT to 0.110 and reduces inversions from 7.41% to 5.65%" while LP-SFT "is closer in local KL, at 0.049 versus 0.075 for SRP-SFT" (Section 7.3), directly supporting the thesis that lower KL does not imply better margin preservation. An entropy-matched temperature scaling control shows "Global scaling recovers less than half of SRP-SFT's gain, so the gain is not a byproduct of a sharper output distribution" (Section 7.5). The 14-method loss screen (Table 4) robustly supports the chosen hinge formulation over ranking-only or exact-gap-matching alternatives.

“On the 998-example held-out cache, SRP-SFT reduces mean margin contraction from 0.268 for LP-SFT to 0.110 and reduces inversions from 7.41% to 5.65%... LP-SFT is closer in local KL, at 0.049 versus 0.075 for SRP-SFT.”
paper · Section 7.3
“Global scaling recovers less than half of SRP-SFT's gain, so the gain is not a byproduct of a sharper output distribution.”
paper · Section 7.5
Reproducibility

The training protocol is carefully documented: one epoch, 478 AdamW steps, learning rate $2\times 10^{-5}$, cosine schedule with 15 warmup steps, batch size 128 on eight A800s. Appendix D contains detailed loss configurations and the evaluation protocol. "Reference token IDs and logits are cached for fixed teacher-forced examples... Each update gathers student logits and recomputes hinge activity without another reference pass" (Section 4.4). Algorithm 1 is provided in the appendix. However, the main text does not mention a public code release, and the method depends on a cached reference logit pipeline whose exact preprocessing would need to be reproduced independently. The headline hyperparameters ($K=10, \rho=1, \mu=1$) are fixed before evaluation, but the sensitivity sweeps reveal different peaks, so reproducing the exact headline numbers requires using the stated pre-fixed values rather than the best-tuned ones.

“Reference token IDs and logits are cached for fixed teacher-forced examples. Each update gathers student logits and recomputes hinge activity without another reference pass.”
paper · Section 4.4
“Fine-tuned methods share initialization, per-seed data order, and optimizer: one epoch, 478 AdamW steps, learning rate $2\times 10^{-5}$, a cosine schedule with 15 warmup steps, and effective batch size 128 on eight A800-80GB GPUs.”
paper · Section 6
Abstract

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.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.