Abstract
Artificial neural networks have long been understood as "black boxes": though we know their computation graphs and learned parameters, the knowledge encoded by these weights and the functions they perform are not inherently interpretable. Recently, mechanistic interpretability (MI) has emerged as a distinct research area studying the features and implicit algorithms learned by foundation models. This work grounds MI in the context of cognitive science, which has long struggled with analogous questions in studying the human brain. We argue that current methods facilitate a transition in deep learning echoing the "cognitive revolution" in 20th-century psychology—shifting from pure behaviorism toward mental representations and processing. We propose a taxonomy mirroring parallels in computational neuroscience to describe two broad categories of MI research: semantic interpretation (what latent representations are learned) and algorithmic interpretation (what operations are performed over representations). Finally, we analyze the strengths and weaknesses of representative works, clarify underlying assumptions, and discuss the possibility of unifying these modes under a common framework.
Introduction: Beyond the Behaviorist Paradigm
For much of the last decade, artificial intelligence interpretability has operated under a "behaviorist" paradigm. Much like the early 20th-century psychologists who focused strictly on stimulus and response, AI researchers focused on explaining a model's outward behavior. If a convolutional neural network classified an image as a "cat," interpretability tools like saliency maps were used to highlight which input pixels triggered that label. While useful for debugging, these methods fail to explain how the model understands the concept of a "cat" or the internal logic used to distinguish it from similar classes.
This paper argues that the field is currently undergoing a "Cognitive Revolution." Just as psychology shifted toward studying internal mental states and information processing, the emerging field of Mechanistic Interpretability (MI) seeks to reverse-engineer the internal representations and algorithms of neural networks. To navigate this shift, we propose a framework grounded in Marr’s Levels of Analysis and a new taxonomy to unify disparate research efforts.
A Taxonomy of Interpretation
To structure the study of internal model mechanics, we leverage David Marr’s foundational levels of analysis from vision science: the Computational (the goal), the Algorithmic (the representation and process), and the Implementational (the physical realization). Within this framework, we categorize current MI research into two primary pillars:
1. Semantic Interpretation
Semantic interpretation asks: What latent properties has the model learned? This branch focuses on identifying the "concepts" stored within the high-dimensional activations of a model. Key methodologies include:
- Structural Probing: Training secondary, linear models to identify whether specific features (like linguistic part-of-speech tags) are embedded in a model's representations (e.g., BERT embeddings).
- Dictionary Learning: Utilizing Sparse Auto-Encoders (SAEs) to decompose polysemantic neurons—which respond to multiple unrelated concepts—into "monosemantic" features. Recent work on models like Claude 3 Sonnet has successfully identified specific directions in activation space corresponding to complex concepts like the "Golden Gate Bridge."
2. Algorithmic Interpretation
Algorithmic interpretation asks: What operations are performed over these properties? This branch seeks to identify the "circuits" or sub-graphs within a model that execute specific logical tasks. A landmark example is the discovery of Induction Circuits in GPT-2, which are specific clusters of attention heads that perform pattern matching and copying—a fundamental mechanism for in-context learning.
Key Challenges and Theoretical Insights
As we transition to this cognitivist view, several theoretical hurdles emerge that complicate the reverse-engineering process:
- The Superposition Hypothesis: Neural networks often represent more concepts than they have neurons by utilizing "almost-orthogonal" directions in high-dimensional space. This explains why individual neurons often appear "messy" or polysemantic, necessitating advanced techniques like SAEs to disentangle them.
- Correlation vs. Causation in Probing: A significant critique of early semantic research is that the ability to "probe" or predict a feature from a model's activations does not prove the model uses that feature. The authors argue that Causal Probing—intervening on a representation to observe changes in behavior—is the essential bridge between semantic and algorithmic understanding.
- The Rashomon Effect: In complex models, there may be multiple, equally valid ways to describe the internal algorithm. This makes it difficult to claim a single "correct" interpretation of a circuit, suggesting that our explanations are often human-centric abstractions rather than absolute truths.
Limitations and the Path Forward
Despite the progress of the Cognitive Revolution in AI, the field faces significant scaling and bias issues. Currently, most MI research is "top-down": we find what we are looking for (e.g., searching for a "truthfulness" direction). We lack "bottom-up" methods capable of discovering entirely alien algorithms that do not map directly to human concepts. Furthermore, as models grow to trillions of parameters, the complexity of their internal circuits may exceed human auditability.
We propose Causal Abstraction as a promising future direction. This mathematical framework aims to prove that a high-level human explanation (such as a logical flowchart) faithfully represents the low-level matrix multiplications occurring within the silicon. By grounding AI interpretability in the rigorous traditions of cognitive science, we can move closer to a world where the "black box" is finally transparent.
Summary updated