English

From Mechanistic to Compositional Interpretability

Machine Learning 2026-05-12 v1

Abstract

Mechanistic interpretability aims to explain neural model behaviour by reverse-engineering learned computational structure into human-understandable components. Without a formal framework, however, mechanistic explanations cannot be objectively verified, compared, or composed. We introduce compositional interpretability, a category-theoretic framework grounded in the principles of compositionality and minimum description length. Compositional interpretations are pairs of syntactic and semantic mappings that must commute to enforce consistency between a model's decomposition and its observed behaviour. We deconstruct explanation quality into measures of faithfulness and complexity to cast interpretability as a constrained optimisation problem, and introduce compressive refinement to systematically restructure models into simpler parts without altering their function. Finally, we prove a parsimony criterion under which syntactic compression theoretically guarantees more concise, human-aligned explanations. Our framework situates prominent mechanistic methods as subclasses of refinement, and clarifies why their compressibility heuristics tend to align with human interpretability. Our work provides a measurable, optimisable foundation for automating the discovery and evaluation of mechanistic explanations.

Keywords

Cite

@article{arxiv.2605.08934,
  title  = {From Mechanistic to Compositional Interpretability},
  author = {Ward Gauderis and Thomas Dooms and Steven T. Holmer and Kola Ayonrinde and Geraint A. Wiggins},
  journal= {arXiv preprint arXiv:2605.08934},
  year   = {2026}
}
R2 v1 2026-07-01T12:59:56.370Z