LLM Interpretability: Circuit Tracing Inside the Black Box

    This article explores how circuit tracing can reveal the internal computations of large language models. It explains why LLMs remain black boxes, describes a three-step interpretability workflow based on substitute models, feature activation, and causal interventions, and reviews case studies on arithmetic, multilingual concepts, rhyme suppression, and refusal behavior. It also examines why model self-explanations are unreliable and discusses the value and limits of current interpretability methods for developers and enterprise users.

    Introduction: Are Model Explanations Trustworthy?

    When you ask a large language model to calculate “36 + 59,” it may answer with an explanation such as: “First calculate the ones place, 6 + 9 = 15, carry over, then the tens place…” This explanation sounds convincing and closely resembles the column addition method taught in elementary school. However, research in interpretability has uncovered a disturbing fact: the model’s actual internal computation path may be completely inconsistent with the process it describes verbally.

    This leads to a core question in AI interpretability research: Is a model’s explanation a faithful replay of its internal computation, or a plausible account generated after the fact for human consumption? To answer this question, talking to the model is far from enough. We must examine its internal mechanisms.

    1. Why Large Models Are Black Boxes

    Current mainstream large models are generally built on the Transformer architecture. From an architectural diagram, it consists of stacked modules such as embedding layers, multi-head attention, and feed-forward networks. The structure itself is not complicated. The real problem lies elsewhere:

    1. Massive parameter scale. Models with billions or hundreds of billions of parameters adjust themselves through gradient descent during training. No human writes rules for each piece of “knowledge” or every “strategy.”
    2. Distributed representations. A concept is often not stored in a single neuron but distributed across combinations of many dimensions, making it difficult to locate directly.
    3. Superposition. To maximize expressive capacity, models tend to make the same set of neurons carry far more features than their number would suggest, further blurring the correspondence between features and neurons.

    After training, models develop various problem-solving strategies, but these strategies are buried in massive parameters and computation flows. Developers cannot easily understand what the model is doing at each step just by looking at its architecture.

    2. An “AI Microscope”: The Basic Approach of Circuit Tracing

    To open the black box, researchers have proposed a methodology called circuit tracing, which can be summarized in three steps:

    Step 1: Build a substitute model. The original model’s parameters are highly superimposed and difficult to analyze. Researchers use techniques such as sparse autoencoders to decompose the model’s internal activations into a more readable set of “features,” producing a substitute model whose behavior is very close to the original but whose internal structure is sparser and more observable.

    Step 2: Locate activated features. After a given input prompt, observe which features are activated in the substitute model. For example, when processing a poem about a city, features related to “city name,” “geographical characteristics,” and “poetic style” may be activated at the same time.

    Step 3: Verify causality through intervention experiments. Seeing features activate together is not enough. Causal relationships must be verified through interventions, such as manually strengthening or suppressing the activation strength of a feature and observing whether the output changes accordingly. If suppressing a “city name” feature causes the model to rewrite the poem about another city, then that feature is indeed involved in this computation path.

    This is like attaching probes to a circuit board: instead of asking the circuit “how do you work?” we directly measure how signals flow through each node.

    3. Case Studies Revealing Internal Patterns

    Case 1: Mental arithmetic and parallel paths. Research has found that when a model performs addition, it does not calculate digit by digit in columns as its verbal explanation suggests. Instead, it runs multiple strategies in parallel internally: one path estimates the magnitude to provide a rough range, while another path produces an exact value for combinations of ones digits. The final output is the result of several paths acting together. This explains why a model’s “problem-solving narrative” is often a rationalized reconstruction rather than the real process.

    Case 2: Concept-level generality. When a model processes multilingual input, the activated concepts are often independent of the specific language. In other words, it is closer to “thinking in concepts” and only converts to a particular language at the output layer. This finding is important for understanding the model’s generalization ability.

    Case 3: Counterfactual suppression. When a model is asked to continue a poem, if a feature related to “rhyme” is activated and then subjected to reverse intervention, the model will abandon the rhyme objective while still maintaining the poem’s format. This shows that the rhythmic objective is a separable, independent computational component inside the model.

    Case 4: The mechanism behind refusal. When facing harmful requests, the model activates a set of generic “refusal” features. Regardless of the language or disguised form of the request, this path is triggered. By intervening on these features, the model’s refusal behavior can be turned on or off.

    4. Why Models “Lie” About Themselves

    These cases collectively point to one conclusion: a model’s self-explanation is not equal to its internal truth. The reason can be understood from the generation mechanism: the model’s self-explanation is also text produced by the same generation process. It is driven by the training objective of generating “plausible-looking” answers, not by the objective of “accurately reporting internal states.” Similar phenomena exist in human psychology: the reasons people give after solving a problem are not necessarily the actual decision process.

    Therefore, when evaluating the trustworthiness of AI systems, a model’s self-report should not be treated as audit evidence. Instead, behavioral testing and internal mechanism analysis should be combined for cross-validation.

    5. The Value and Boundaries of This Research

    In terms of value:

    • It provides a technical lever for AI safety, such as monitoring deceptive reasoning and identifying features related to dangerous capabilities;
    • It provides tools for model debugging, helping locate the internal causes of problems such as hallucinations and bias;
    • It promotes a paradigm shift from “behavior-level evaluation” to “mechanism-level understanding.”

    In terms of boundaries, we must remain clear-headed:

    1. The research objects are mainly substitute models, not the production model itself. The fidelity of substitute models has an upper limit.
    2. Current methods can cover only a subset of prompts and a subset of internal computations. They are far from “fully disassembling” a large model.
    3. Public cases are mostly examples in which researchers “successfully saw” something. There is presentation bias, and this does not mean all tasks are already interpretable.
    4. The definition and interpretation of features themselves still involve researcher subjectivity.

    Conclusion

    Interpretability research is gradually transforming large models from “black boxes that seem intelligent when used” into “computational systems that can be partially examined.” Although there is still a long way to go before fully understanding model internals, methodologies such as circuit tracing have already shown that the black box is not unopenable. For developers and enterprise users, understanding these advances helps build a rational view of AI capabilities and limitations: neither mythologizing nor underestimating them. In the future, as tools such as sparse autoencoders and causal intervention analysis mature, interpretability is expected to become a standard part of AI systems engineering, standing alongside training, evaluation, and deployment to support the practical adoption of trustworthy AI.