Abstract
Supervised fine-tuning improves task performance but can induce catastrophic drift — the model over-fits the tuning set and loses general capability. Anchored SFT (ASFT) adds a KL-regularization term against a frozen reference model, keeping the tuned policy close to the base distribution while it learns. The result combines SFT's stability and data efficiency with RL-style behavioral control — no reward model, no rollout infrastructure.
1 · Motivation
Teams fine-tune to specialize a model, then discover it has regressed on everything else — instruction-following, safety behavior, reasoning it had before. The failure mode is distributional: unconstrained SFT is free to move the policy arbitrarily far from the base model, and on small or narrow datasets it does exactly that.
The fix is to make "stay close to the reference" an explicit objective, not a hope.
2 · Method
ASFT augments the supervised loss with a KL penalty against a frozen copy of the base model. Two modes cover the range from conservative to adaptive:
asft— anchored. A fixed KL weight holds the tuned policy near the reference throughout training, maximizing stability.dft— dynamic. The anchor strength adapts over the run, loosening where the data supports it and tightening where drift risk is high.- Presets.
quick_test,balanced,high_quality, andenterprisepick sensible KL schedules and hyperparameters so operators don't hand-tune from scratch.
ASFT composes with PEFT/LoRA and Flash Attention 2, and integrates with checkpoint scheduling for fault-tolerant long runs.
3 · Results
Across fine-tuning runs, ASFT preserves general capability that unconstrained SFT erodes, while still absorbing the target task — the anchored policy tracks reference behavior on held-out general evals (Figure 1) even as task accuracy climbs. The dynamic dft mode recovers additional task performance where the data is rich, without the drift that an equivalently aggressive plain-SFT run would incur.
4 · Deployment
ASFT is a first-class training objective in FlowServe's fine-tuning engine. Every ASFT (and SFT) run is auto-cataloged with full lineage — base model, job, dataset, LoRA rank — so adapters never drift out of catalog or orphan. Outputs are tagged (ASFT / DFT / SFT) and registered for one-click serving through the same control plane.
Reproducing these numbers
KL schedules interact with dataset and base model. We tune and measure them during a pilot; see Request a pilot to run ASFT on your own data and hardware.