Papers
arxiv:2605.16865

MixSD: Mixed Contextual Self-Distillation for Knowledge Injection

Published on May 16
· Submitted by
Jiarui Liu
on May 19
Authors:
,
,
,
,
,
,
,

Abstract

MixSD addresses knowledge injection in language models by aligning supervision with the model's native generation distribution, reducing catastrophic forgetting during fine-tuning.

AI-generated summary

Supervised fine-tuning (SFT) is widely used to inject new knowledge into language models, but it often degrades pretrained capabilities such as reasoning and general-domain performance. We argue this forgetting arises because fine-tuning targets from humans or external systems diverge from the model's autoregressive distribution, forcing the optimizer to imitate low-probability token sequences. To address this problem, we propose MixSD, a simple external-teacher-free method for distribution-aligned knowledge injection. Instead of training on fixed targets, MixSD constructs supervision dynamically by mixing tokens from two conditionals of the base model itself: an expert conditional that observes the injected fact in context, and a naive conditional that reflects the model's original prior. The resulting supervision sequences preserve the factual learning signal while remaining substantially closer to the base model's distribution. We evaluate MixSD on two synthetic corpora that we construct to study factual recall and arithmetic function acquisition in a controlled setting, together with established benchmarks for open-domain factual question answering and knowledge editing. Across multiple model scales and settings, MixSD consistently achieves a better memorization-retention trade-off compared to SFT and on-policy self distillation baselines, retaining up to 100% of the base model's held-out capability while maintaining near-perfect training accuracy, whereas standard SFT retains as little as 1%. We further show that MixSD produces substantially lower-NLL supervision targets under the base model and reduces harmful movement along Fisher-sensitive parameter directions. These results suggest that aligning supervision with the model's native generation distribution is a simple and effective principle for knowledge injection that mitigates catastrophic forgetting.

Community

Paper submitter

MIXSD constructs distribution-aligned supervision by mixing two conditionals of the base model itself: an expert rollout that sees the injected fact and a naive rollout that reflects the original prior, choosing between them per-token via a Bernoulli rate λ. This preserves the factual signal while keeping targets close to the model's native distribution, substantially improving the memorization-retention trade-off over standard SFT.

image

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2605.16865
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2605.16865 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2605.16865 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2605.16865 in a Space README.md to link it from this page.

Collections including this paper 1