LLM Interpretability Explained: How to See What AI Is Really "Thinking"

    This article examines large language model (LLM) interpretability and what it reveals about how models actually reason. It explains why interpretability matters, why behavioral observation and attention visualization fall short, and how mechanistic interpretability uses substitute models plus causal intervention to trace internal computation. Key findings: models tend to reason in a language-agnostic concept space, and their step-by-step self-explanations may be post-hoc narratives rather than faithful accounts of the underlying computation. The article also outlines the method's limitations and practical takeaways for developers building and evaluating LLM applications.

    Introduction: Is the Model’s “Thinking” Really What It Says?

    When you ask a large language model “What is 36 + 59?”, it may answer: “First the ones place, 6 + 9 = 15, write 5 and carry 1; then the tens place, 3 + 5 + 1 = 9, so the result is 95.” This explanation sounds flawless, matching the column-addition method we all learned in grade school.

    But here is a counterintuitive fact: the “step-by-step explanation” the model gives is not necessarily the path it actually took internally. It may well have formed an overall judgment about the answer first, then generated a familiar, human-style reasoning narrative in reverse. This is exactly the core question of interpretability research — is a model’s self-explanation a faithful replay of its internal computation, or is it an act of “post-hoc rationalization”?

    Answering this question takes more than conversation. We need to go inside the model’s parameters and computation flow. Using a representative body of mechanistic interpretability research as a thread, this article systematically walks through the methods, findings, and boundaries of this field.

    1. What Is Interpretability, and Why Does It Matter?

    Interpretability refers to our ability to understand why a model produces a given output, not merely what output it produced.

    The foundation of today’s LLMs is the mainstream neural network architecture, made up of billions to hundreds of billions of parameters. These parameters were not assigned explicit rules by humans during training; instead, various strategies “emerged” on their own from massive amounts of data. Even developers with the complete architecture diagram can rarely infer what the model is doing at each step just from its structure. This is the so-called “black box.”

    Its value shows up on three levels:

    • Trust and safety: In high-stakes scenarios such as finance, healthcare, and justice, we need to know the basis for a model’s decisions before we can judge whether to rely on them.
    • Alignment and controllability: Only by understanding the internal mechanisms of a model’s errors can we specifically reduce bias, hallucination, and harmful output.
    • Maintainability: When a model behaves abnormally, an internal view locates the root cause far better than “repeatedly tweaking prompts.”

    2. Why Traditional Methods Fall Short

    Early interpretability research often relied on two kinds of techniques:

    1. Behavioral observation: Repeatedly feeding in test samples and inferring patterns from input-output pairs. The problem is that the same output can be produced by completely different internal paths, so correlations at the behavioral level cannot prove causation.
    2. Attention visualization: Observing which positions the attention weights point to. But attention is only one of many internal signals, and a high weight does not mean it plays a decisive role in the result.

    The shared weakness of these two approaches is that they “guess at objects behind a wall” from outside the model, lacking the ability to directly intervene in the causal chain. To truly see the mechanism, we need a microscope that can “open the black box, modify internal components one by one, and observe the consequences.”

    3. “Circuit Tracing”: Building a Microscope for the Model

    The core idea proposed by this line of research is to achieve internal link tracing through a substitute model + intervention experiments. It involves several key concepts:

    • Feature: An intermediate representation inside the model often corresponds to a human-understandable “concept,” such as “French,” “negative numbers,” or “the beginning of a poem.” Using methods such as sparse autoencoders, researchers “disentangle” high-dimensional, entangled internal activations into a large number of interpretable features.
    • Circuit: Paths in which multiple features influence one another through directed connections form a “computational circuit.” The goal of tracing is to reconstruct which features, through which intermediate steps, jointly determine a given output.
    • Substitute model: Directly tracing a production-scale LLM is extremely costly. Instead, researchers train a smaller substitute model with similar behavior and perform full observation and intervention on it. This both makes the links visible and makes repeated experimentation convenient.

    A simplified intervention logic can be expressed in pseudocode:

    1. # Illustrative: use ablation/activation interventions to check whether a feature causally affects the output
    2. baseline = model.forward(prompt)
    3. for feature_id in candidate_features:
    4. # Ablation: zero out the feature's activation and see how the output changes
    5. patched = ablate_feature(baseline, feature_id)
    6. delta = measure_output_change(baseline, patched)
    7. if delta > threshold:
    8. print(f"Feature {feature_id} is critical to the result, impact={delta}")

    Causal intervention is the key here: not “whether it is activated,” but “whether the result changes after we modify it.” Only when the result changes can we prove that a feature genuinely participates in shaping the answer.

    4. A Surprising Finding: Models Think in Concepts, Not Language

    Tracing reveals a counterintuitive pattern: when a model reasons, what it typically invokes is abstract, concept-level representations, not word-by-word natural language.

    Take multilingual settings as an example. Research shows that regardless of which language you ask in, the model often first forms its core judgment in a “language-agnostic” conceptual space, then “translates” it back into the words of your language before giving the answer. This means the model’s “thinking” happens at the concept level, and language is merely the final output shell.

    Another classic signal is how the model internally handles surface-level properties such as rhyme, spelling, and initial letters: before generating the next word, it is already planning multiple attributes of that word (meaning, pronunciation, first letter) in parallel, rather than advancing one letter at a time like a person writing. This shows that the narrative of “chain of thought” and the real parallel internal computation are not the same thing.

    5. The Unfaithfulness of Self-Explanation: The Secret of 36 + 59

    Back to the opening example. Tracing found that when doing multi-digit addition, the model often:

    • First forms an intuitive judgment about the overall magnitude;
    • Then generates a “carry the ones, add the tens” style step-by-step explanation.

    In other words, the steps it gives are a “plausible post-hoc narrative,” not the “true order of computation.” This leads to an important conclusion:

    The more fluently and confidently a model explains a task, the less you should assume that explanation faithfully reflects the internal computation. A language model is fundamentally a system that “generates the most plausible text,” so when asked to explain itself, it tends to produce an account that fits human intuition.

    This is a direct warning for engineering practice: do not blindly trust a model’s account of its own behavior, especially in scenarios such as compliance and auditing that require an “evidence chain.”

    6. Great Value, but Clear Boundaries

    It must be emphasized that while the conclusions of this kind of research are remarkable, they have clear applicability boundaries. Do not over-interpret them as “LLMs have been completely unpacked.” At least three boundaries should be kept in mind:

    1. The subject is a substitute model, not the production system itself. Whether the conclusions transfer unchanged to a target LLM still requires careful validation.
    2. The method covers only some prompts and some computations. It mainly applies to content-rich text tasks, with limited coverage of “sparse” tasks such as pure symbols, mathematics, and code.
    3. Public cases are mostly samples where “the mechanism was successfully made visible.” They demonstrate the feasibility of the method, but do not mean all tasks and all paths are now interpretable. The parts that remain unseen are still black boxes.

    Stating these boundaries clearly is what keeps an article on the rational side of a “high-quality explainer,” rather than sliding toward the exaggerated myth that “AI’s thinking is now fully transparent.”

    7. Takeaways for Developers

    Even if you cannot directly apply this frontier research yet, its ideas offer lessons for anyone building or evaluating LLM applications:

    • Build an evaluation system with observable outputs: Use logging services, tracing, and monitoring alerts to fully record the inputs, outputs, intermediate calls, and latency of model invocations, forming a traceable call chain.
    • Validate with interventions rather than guesses: When running A/B tests and iterating on prompts, stick to the causal approach of “change a single variable and observe the change in results,” rather than drawing conclusions from correlation alone.
    • Stay cautious about a model’s self-accounts: Treat a model’s self-explanation as a “reference clue” rather than a “statement of fact,” and cross-check key conclusions against external data and rules.
    • Watch how interpretability evolves: As mechanistic interpretability moves from research toward engineering, understanding its capability boundaries helps you make technology choices on frontier directions earlier.

    Summary

    The real contribution of LLM interpretability research is not “seeing the complete train of thought,” but providing a methodology that uses causal intervention to pry open the black box. It shows us that a model’s reasoning happens in a concept space, that its self-accounts may be no more than post-hoc narratives, and that what truly determines the output is those “computational circuits” that can be tested one by one.

    For readers, the two most worthwhile things to remember are these: first, that a model is right does not mean it computed that way; and second, even the strongest research has boundaries, and viewing it rationally is what keeps us from falling into myth. Carrying these two insights into how you use and understand LLMs, you can find a genuinely reliable balance between efficiency and trustworthiness.