← All entries
Post#1095

SFT, RL, and On-Policy Distillation Through a Distributional Lens

Summary

Independent technical essay arguing that SFT pulls toward a fixed external dataset (forward-KL / catastrophic-forgetting risk), RL reshapes regions the current policy already visits, and on-policy distillation (OPD) is in between: teacher logits with student-generated states. Reports a minimal code-editing task (fix a corrupted function and nothing else) where SFT and RL teachers both learn the task but RL generalizes better and forgets less on LiveCodeBench v6. OPD students from either teacher look similar, slightly beat the RL teacher on the editing metrics, and forget less than the SFT teacher even when distilled from it. Prefers Shenfeld et al.'s nearest-task-solving-policy view of on-policy data over KL-direction or uniform-token-gradient stories as the main anti-forgetting mechanism. Discusses GLM 5 / DeepSeek v4 using OPD to merge experts and MiMo-V2 Flash Table 7 domain-wise teacher recipes. No new public dataset or weights.

Venue
nrehiew.github.io
Publisher
nrehiew.github.io
Source
web
Access
free (public GitHub Pages post)
Language
en
Purpose
Compare SFT, RL, and on-policy distillation as ways of reshaping a model's sequence distribution, with a minimal code-editing experiment and a literature synthesis arguing that on-policy data is the load-bearing ingredient against forgetting.
Scale
Editing experiment table reports Pass@1 / Norm. Levenshtein / Added CC / LiveCodeBench v6 for SFT teacher 0.775 / 0.450 / 0.450 / 0.286; RL teacher 0.792 / 0.063 / 0.206 / 0.320; OPD-from-SFT 0.800 / 0.059 / 0.206 / 0.297; OPD-from-RL 0.787 / 0.055 / 0.228 / 0.314. Sample sizes, base model, and compute not stated on the page.
Domain
LLM post-training; on-policy distillation; catastrophic forgetting
Used for
conceptual comparison of SFT vs RL vs OPD; minimal code-editing generalization/forgetting probe
Time period
No publication date on the HTML. Discord #random-papers posted 2026-06-15. Cites Brown 2026; GLM 5 / DeepSeek v4 / MiMo-V2 Flash as contemporaneous pipeline examples.
Author type
human
Added
Sep 1, 2026
Verified
Sep 1, 2026
Research status
done
Found via
#random-papers

Tags

sftrlon-policy-distillationopdopsdcatastrophic-forgettingpost-traininglivecodebenchdistributional-viewindependent-blog

Topics

LLM post-training; on-policy distillation; catastrophic forgetting

Research notes

  • Primary: nrehiew.github.io/blog/sft_rl_opd/ (full HTML 2026-09-01). Author from GitHub user nreHieW (profile name nrehiew); page title suffix is '| wh'. Not a paper. Linked prior post on the same minimal-editing task is referenced but not independently fetched as a second catalog row. Experiment numbers are author-reported with no seed/n/base-model disclosure. No public code/weights/dataset on this page, so no datasets_local row.

Similar entries