Distilled Circuits: A Mechanistic Study of Internal Restructuring in Knowledge Distillation

📅 2025-05-16
📈 Citations: 0
Influential: 0
📄 PDF

career value

243K/year
🤖 AI Summary
Knowledge distillation’s impact on internal computational mechanisms remains poorly understood, particularly regarding how student models restructure, compress, or discard teacher components. Method: Using GPT2-small and DistilGPT2, we introduce an influence-weighted component alignment metric to quantify functional module alignment post-distillation. We integrate mechanistic interpretability, circuit analysis, activation tracing, and influence functions to assess alignment across multiple tasks. Contribution/Results: We find that distilled students rely on fewer—but more influential—components, challenging the “black-box equivalence” assumption. Although output behavior remains similar, internal computation undergoes significant shifts, degrading robustness and generalization. Our framework provides the first interpretable, quantitative diagnostic tool for assessing functional fidelity in model compression, advancing trustworthy and explainable knowledge distillation.

Technology Category

Application Category

📝 Abstract
Knowledge distillation compresses a larger neural model (teacher) into smaller, faster student models by training them to match teacher outputs. However, the internal computational transformations that occur during this process remain poorly understood. We apply techniques from mechanistic interpretability to analyze how internal circuits, representations, and activation patterns differ between teacher and student. Focusing on GPT2-small and its distilled counterpart DistilGPT2, we find that student models reorganize, compress, and discard teacher components, often resulting in stronger reliance on fewer individual components. To quantify functional alignment beyond output similarity, we introduce an alignment metric based on influence-weighted component similarity, validated across multiple tasks. Our findings reveal that while knowledge distillation preserves broad functional behaviors, it also causes significant shifts in internal computation, with important implications for the robustness and generalization capacity of distilled models.
Problem

Research questions and friction points this paper is trying to address.

Understanding internal computational transformations in knowledge distillation
Comparing teacher and student model circuits and representations
Quantifying functional alignment beyond output similarity in distilled models
Innovation

Methods, ideas, or system contributions that make the work stand out.

Analyze internal circuits using mechanistic interpretability
Introduce influence-weighted component similarity metric
Reveal reorganization and compression in student models
🔎 Similar Papers
No similar papers found.