Skip to main content
Back

UCL's iSDFT Keeps AI Sharp on New Tasks Without Forgetting Old Skills

A new fine-tuning method treats the teacher model as a budgeted information source, letting LLMs pick up new skills without erasing old ones.

Pro

Paper, Full Access
  • UCL and Huawei Noah's Ark researchers propose iSDFT, a per-token information-budgeted distillation method.
  • Extends prior SDFT work that used the model as its own on-policy teacher.
  • Adds a frozen base-policy anchor to prevent cumulative drift during long training runs.
  • Beats vanilla SDFT in 7 of 8 model-task settings across four LLM backbones.
  • 73% of retention evaluations stay within 0.5 points of the base model, versus 52% for the strongest baseline.
  • Largest mean improvement on ten math, coding, and competition-math benchmarks tested.

Fine-tuning a large language model for a narrow task can degrade capabilities learned during pretraining. Researchers at University College London and Huawei Noah's Ark Lab propose iSDFT, an extension of self-distillation that controls how much information a teacher contributes at each prediction state. The method also anchors training to the frozen base model, aiming to improve specialization without allowing unrelated skills to drift as far.

Why narrow tuning erases broad skills

A narrow training set updates parameters shared across many behaviors. Those updates can improve the target task while changing token distributions used for reasoning, coding, factual recall, and instruction following. This degradation is commonly called catastrophic forgetting.

Organizations often contain the problem with separate fine-tuned models, task-specific adapters, or repeated regression testing. Those approaches preserve isolation but add serving costs, versioning work, and governance overhead when tasks accumulate.

SDFT still points at the full teacher

Self-Distillation Fine-Tuning generates an on-policy rollout from the student, then asks the same underlying model, conditioned on a demonstration, to produce a teacher distribution for each generated prefix. The student learns from those distributions instead of relying only on static supervised targets. Earlier work from MIT, the Improbable AI Lab, and ETH Zurich reported better retention with this approach; additional context appears in the SDFT background.

Vanilla SDFT always uses the full demonstration-conditioned teacher as its target. The distance between student and teacher still varies across tokens, so update magnitudes are not literally identical. However, the method provides no explicit way to specify how much teacher information should transfer at a given prediction state.

A budget at every prediction state

At each student-generated prefix, iSDFT selects the distribution closest to the current student under a KL-divergence objective while satisfying a prescribed teacher-information requirement. In plain terms, it finds the smallest local change that transfers the allotted information from the teacher.

The projected target lies on an exponential path between the student and teacher distributions:

r_beta(y) ∝ p_student(y)^(1-beta) p_teacher(y)^beta

The student occupies the path's first endpoint, and the teacher occupies the second. The information constraint determines beta for the current prediction state. A global schedule can therefore produce different local tilts because the student-teacher relationship changes from one prefix to another.

Control Vanilla SDFT iSDFT
Training prefixes Student-generated rollouts Student-generated rollouts
Distillation target Full teacher distribution Information-constrained projection
Per-state influence Full-teacher endpoint Budget-induced local tilt
Long-run drift control Self-distillation signal Self-distillation plus a base-policy anchor

The local constraint limits teacher information at one prediction state. A separate regularization term penalizes movement away from the frozen base policy across updates, limiting cumulative drift during longer training runs.

How a training step changes

  1. Freeze a reference policy. The original base model supplies the anchor used to measure drift.
  2. Generate an on-policy rollout. The current student samples the sequence prefixes used for training.
  3. Score each prefix. A demonstration-conditioned version of the model produces the teacher distribution.
  4. Project the target. iSDFT computes the closest student-side distribution that satisfies the teacher-information constraint.
  5. Update the student. The training objective combines the projected distillation target with the base-policy anchor.

Reported gains favor retention

The paper's experiment tables cover four LLM backbones, two specialization tasks, the original SDFT retention suite, and ten additional mathematics and coding benchmarks. The authors report three main results:

  • Specialization: iSDFT outperforms vanilla SDFT in seven of eight model-task settings and matches it in the remaining setting.
  • Retention: 73% of evaluations remain within 0.5 points of the base model, compared with 52% for the strongest baseline.
  • Broader evaluation: iSDFT records the largest mean improvement among the tested methods across the ten additional benchmarks.

Because the 73% retention figure counts evaluations inside a fixed threshold, individual regressions can remain hidden by the aggregate. The results nevertheless indicate that the reported specialization gains did not require a larger average loss of general capability on the tested suites.

Extra control brings extra work

iSDFT best fits pipelines that repeatedly adapt one shared model while preserving broad behavior, including domain updates for legal data, medical text, or internal code. Separate models and adapters remain useful when strict workload isolation matters more than consolidating capabilities in one checkpoint.

The method retains SDFT's on-policy generation and teacher-scoring requirements, making training more expensive than supervised fine-tuning on static examples. Implementers must also compute the information-constrained target and maintain the frozen base-policy reference.

The current method uses a hand-specified global information-budget schedule. Budgets learned from uncertainty, task progress, or measured regression could provide more adaptive control, but the paper does not evaluate those extensions.

The work is presented as a preprint, and the paper does not identify a public code release. Reproduction therefore requires implementing the KL I-projection and training objective from the published equations.

A finer control surface for distillation

iSDFT's central contribution is a per-state mechanism for regulating teacher influence while constraining cumulative movement from the base model. Its reported results make that mechanism relevant to developers balancing specialization, retention, and model sprawl, though the additional training cost and lack of public implementation remain practical barriers.