What Survives Distillation? A Mechanistic Interpretability Study of GPT-2 and DistilGPT-2
Abstract
Knowledge distillation compresses large language models into compact students that preserve aggregate metrics, yet the mechanistic consequences of depth-reduction distillation remain largely uncharacterized. This work applies linear CKA, logit lens analysis, attention pattern decomposition, sparse autoencoder feature statistics, and activation patching to compare GPT-2 and its six-layer student DistilGPT-2 across two canonical circuits: the Indirect Object Identification (IOI) circuit and the Greater-Than (GT) circuit. The results reveal a compression-collapse dichotomy: the IOI circuit suffers complete mechanistic collapse (DistilGPT-2: 35.2% accuracy vs. 94.8%, zero name-mover preservation), while the GT circuit survives with 87.7% task performance recovery through active remapping of the teacher's layer-9 comparison head into student layer~4 (mean Pearson r = 0.945). These findings demonstrate that circuit compressibility governs mechanistic survival under distillation, and that aggregate metrics are insufficient diagnostics for circuit integrity.
Create a lesson
Metadata
- Comments
- 5 Figure, 9 Table
Related papers
Position-Skipped Distillation of Sparse-Attention Indexers: Train Short, Serve Long
Shared title terminologycs.CLFu Dai, Haodi Quan, Kamal Taha
Make Position Uninformative: Exchangeable Self-Distillation Flattens the Lost-in-the-Middle Curve
Shared title terminologycs.CLQingsen Ma, Dianyun Wang, Jiahong Liu et al.
Reducing Permutation Sensitivity in Multimodal Large Language Models via Shared Positions and Attention-Only Distillation
Shared title terminologycs.CLYifei Cheng, Xiaolin Zhang, Yu-Xuan Qiu
Stepwise-Querying: Distilling Reasoning without Access to Teacher Chain-of-Thought
Shared title terminologycs.CLDicong Yu, Wenhua Wang, Tian Wang
Every Token Needs Its Own Teacher: Multi-teacher Adaptive On-policy Self-distillation
Shared title terminologycs.CLYifu Luo, Chuang Ma, Zeyu Chen et al.
Distilling the Shape of Uncertainty: What On-Policy Distillation Learns and How to Predict It
Shared title terminologycs.CLShiping Yang, Chuanqi Tang, Hossein Hajimirsadeghi et al.