OPMD: ShanghaiTech distills teacher intermediate computations beyond output supervision

ShanghaiTech · hf · 2026-10-19

ShanghaiTech researchers propose On-Policy Mechanism Distillation (OPMD). Standard on-policy distillation supervises students only in output space, failing to transfer the intermediate computation behind teacher predictions; naive representation matching also falls short due to geometric teacher-student mismatches.

OPMD first builds a student-compatible transform that converts teacher representations into intermediate states usable by the student's downstream computation, then internalizes these states from on-policy trajectories. It achieves the highest average accuracy among distillation baselines across all three teacher-student settings, and generalizes to multi-teacher distillation and cross-family SFT.

Original post →

More from Research

Research channel →