English

Circuit Distillation

Computation and Language 2025-09-30 v1

Abstract

Model distillation typically focuses on behavioral mimicry, where a student model is trained to replicate a teacher's output while treating its internal computations as a black box. In this work we propose an alternative approach: Distilling the underlying computational mechanisms implemented by a teacher model. Specifically, we propose circuit distillation, which introduces an objective to align internal representations between analogous circuit components in teacher and student models. We propose a method to match ``functionally correspondent'' circuit components and introduce a loss reflecting similarities between the representations that these induce. We evaluate circuit distillation on entity tracking and theory of mind (ToM) tasks using models from the Llama3 family. Our results demonstrate that circuit distillation outperforms standard distillation, successfully transferring algorithmic capabilities by adjusting only a small, targeted subset of student model parameters. This work establishes the feasibility of transferring mechanisms, which may in turn allow for efficient distillation of targeted teacher capabilities via interpretable and controllable internal student mechanisms.

Keywords

Cite

@article{arxiv.2509.25002,
  title  = {Circuit Distillation},
  author = {Somin Wadhwa and Silvio Amir and Byron C. Wallace},
  journal= {arXiv preprint arXiv:2509.25002},
  year   = {2025}
}

Comments

Preprint; Under Review

R2 v1 2026-07-01T06:04:59.849Z