cs.CLOct 27, 2026

What Survives Distillation? A Mechanistic Interpretability Study of GPT-2 and DistilGPT-2

Authors: Nabeelah Faumi, Deshan Sumanathilaka

Organizations: Informatics Institute of Technology, 57, Ramakrishna Road, Colombo 06, Sri Lanka

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.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Circuit Distillation

    Sep 29, 2025Somin Wadhwa, Silvio Amir, Byron C. WallaceLanguage Model DistillationMechanistic Interpretability

  2. Compress-Distill: Reasoning Trace Compression for Efficient Knowledge Distillation

    Jun 4, 2026Maxime Griot, Paul Steven Scotti, Tanishq Mathew AbrahamCoT DistillationTeacher-Student Learning

  3. Beyond Imitation: Auditing the Recoverability of Reasoning in Distilled Models

    Aug 11, 2026Ruitong Li, Binjie Guo, Aisheng Mo +4Language Model DistillationKnowledge Distillation