TL;DR: Rather than decomposing activations with sparse autoencoders before explaining them, we task an LLM agent with writing and falsifying executable heuristic rules—first absolute input predicates to anchor lower-layer neurons, then relative predicates conditioned on upstream units—to directly explain native MLP neurons in Qwen3.5-0.8B-Base. Over 11 rounds, an isolated LLM-as-Judge and held-out verification yielded 83 accepted neuron explanations (78 heldout-confirmed) backed by 32 active rules.
1. Introduction
Most mechanistic interpretability pipelines add a decomposition step before generating any natural-language explanation. Activations are first projected onto a sparse dictionary, such as a sparse autoencoder, to isolate ostensibly monosemantic features; static activating examples are then passed to an LLM to summarize what each feature does. Since the final step already relies on an LLM reading static text, we ask whether decomposition is necessary at all: building on recent evidence that native MLP neurons are already sparse, legible units of computation [1][2], can an LLM explain them directly from static activating contexts?
Our earliest attempts failed. When we gave an LLM raw activations and weights with no structural guidance, it produced only one or two passable explanations across many rounds. In an unmapped network, an LLM inspecting an arbitrary neuron has no reliable way to separate genuine selectivity from incidental co-occurrence, or to tell which neurons are tractable starting points.
This bottleneck reflects a property noted in Nick Cammarata’s Neural Networks Are Already Clean [1]: interpretability compounds like a crossword puzzle. Explaining a few neurons constrains and clarifies neighboring or downstream units, whereas an isolated neuron in an otherwise blank network offers little leverage. An LLM explainer therefore needs a way to spot clean, distinguishable neurons first, so that an initial anchor set can bootstrap the rest.
Drawing on Jiayi Weng’s Learning Beyond Gradients [3], we replaced one-shot activation reading with heuristic rule discovery. Instead of summarizing raw examples directly, the LLM agent writes executable Python predicates to test concrete hypotheses and separate one neuron from another. Rule-based grouping alone is still fragile: in an early baseline, a k-means cluster labeled “software-licence headers” was pasted onto 1,485 neurons, leaving 97% of explanations parroting the group label while the units actually fired on 722 distinct cue tokens. Avoiding both unguided stalling and vacuous label-pasting requires strict falsification and contrast.
2. Method
Our pipeline centers on an LLM agent that builds, tests, and maintains a library of executable heuristic rules across iterative rounds. Between rounds, the agent proposes new predicates for unexplained activation patterns, refines existing ones that are too narrow, and retires rules that fire indiscriminately (for instance, on more than half of uniform text contexts) or fail to generalize.
The rule library is divided into two complementary classes:
- Absolute-position rules: Predicates evaluated directly on a local text window—capturing token identity, morphology, punctuation boundaries, or preceding tokens. Because they depend only on input text, absolute rules isolate clean lower-layer anchor neurons before any other units are understood.
- Relative-position rules: Predicates conditioned on both the local text window and the activation state of an already-interpreted upstream neuron at a strictly lower layer. They test whether the upstream unit gates, modulates, or vetoes the target neuron, turning prior explanations into building blocks for deeper layers.
Given the active rule library, the agent uses these predicates to partition neurons and generate explanations. Each candidate rule must beat a shuffled-label null95 MCC threshold and cover top-activating text rows. To prevent generic label-pasting, each target neuron is paired with a named sibling unit that fires on overlapping contexts, and the agent must write a single sentence explaining why the target fires where its sibling does not.
Every candidate explanation is verified by an isolated judge LLM that inspects only the candidate sentence, the activating text rows, the sibling contrast, and the rule evidence—with no access to the generating agent’s reasoning. To keep accounting strict, the pipeline separates three distinct objects:
- Rule: A reusable, executable Python predicate that tests a structural pattern across text or upstream neuron states, independent of any single neuron.
- Evidence: A statistical link between one rule and one target neuron, recorded only when the rule’s firing correlates with the neuron’s top activations above a shuffled-label (
null95) threshold. - Explanation: A single-sentence natural-language claim about one neuron that synthesizes its backing evidence, contrasts the neuron against a named sibling unit, and passes both blind LLM judgment and held-out replication.
3. Experimental Results
We ran this loop for 11 rounds on frozen Qwen3.5-0.8B-Base (86,016 MLP units; contract stop cap = 200). As illustrated in Figure 1 (left), the verification funnel filters 14,962 statistical candidates down to 204 units with accepted evidence (370 evidence rows) and 83 accepted explanations (78 heldout-confirmed, 5 heldout-prechecked) across 422 trials and 48 distinct sibling pairs, backed by 42 registered rules (32 active: 28 absolute, 4 relative; 8 retired).
| Object | Definition & Verification Gate | Final Count |
|---|---|---|
| Rule | Executable Python predicate (absolute or relative) + one-sentence intent specification | 42 (32 active, 8 retired) |
| Evidence | Rule beating shuffled-label null95 MCC + top-8 row coverage + blind judge accept | 370 rows (204 units) |
| Explanation | Single-sentence unit claim contrasted against a named sibling unit and verified on held-out text | 83 (78 confirmed, 5 prechecked) |
Qwen3.5-0.8B-Base down to 14,962 statistical candidates (best MCC ≥ 0.10), 204 units with accepted evidence, and 83 accepted explanations against a pre-specified run stop cap of 200. Within those 83 explanations, heldout-confirmed (78) denotes units whose target and sibling contrast both replicated on unseen held-out text, whereas heldout-prechecked (5) denotes units verified only at the initial row-level precheck. Right (Coverage Curve): Cumulative explained units across Rounds 0–11, highlighting the Round-6 batch expansion and Rounds 9–11 relative-rule verification.
As shown in Figure 1 (right), accepted coverage jumped sharply from 18 to 53 units in Round 6 (0 → 2 → 5 → 10 → 15 → 18 → 53 → 68 → 77 → 82 → 83) once batched rule-guided generation was introduced. A natural concern with such an abrupt expansion is whether batching degrades quality into repetitive templates or over-optimistic prechecks. To verify this, we required every candidate explanation to outperform a mechanical template baseline under blind judgment and capped sibling-pair reuse to enforce diversity. As shown in Figure 2 (left), calibrating 27 row-level prechecked units against full two-sided held-out judge trials yielded 80% (8/10) agreement on sample and 81.5% (22/27) overall—confirming that the cheap precheck over-counts by roughly 18.5% and that full held-out verification remains essential. Meanwhile, Figure 2 (right) shows that sibling-pair reuse remained bounded across all 48 pairs rather than collapsing onto a handful of easy contrasts.
4. Anatomy of Discovered Rules and Explained Neurons
Beyond aggregate counts, the scientific value of the run lies in what the 83 explained neurons actually respond to and how the 42 heuristic rules evolved to isolate them.
4.1 What the Explained Neurons Look Like
Across layers L0–L23 (Figure 3, right), the explained MLP units are distributed across depth rather than confined to the embedding boundary, and rarely behave as isolated “noun detectors.” Instead, echoing Cammarata’s observation that neurons act like verbs [1], they separate recurring structural transitions: clause-opening content tokens immediately after commas, pure punctuation boundaries, numeric or version-number prefixes, and domain-specific formatting cues. In deeper layers (L13–L23), six units were confirmed as circuit-gated behaviors whose firing depends on whether an earlier-layer unit is active or suppressed. Inspect any of the 83 accepted units below to examine its explanation, sibling contrast, top-activating contexts, and supporting predicates.
4.2 How the Rules Evolved and Why They Work
As summarized in Figure 3 (left), a relatively compact set of surviving rules accounts for the bulk of accepted explanations, while specialized relative gates target deeper layers. The rule library works because it acts as a falsifiable microscope: predicates that are too broad or too literal fail statistical or judge checks and are pruned, leaving only structural distinctions that generalize across unseen text. Over 11 rounds, 8 rules were retired for two recurring reasons—either firing on more than half of uniform text contexts (making them too unselective to separate siblings) or hardcoding literal answer tokens from a unit’s own top rows—while narrow predicates were occasionally rescued by composing them with complementary conditions. Use the Rule Workshop below to inspect representative evolutions.
Extending the library from absolute rules to relative circuit-gate rules revealed a subtler failure mode in LLM-generated explanations. In Rounds 9–11, the agent authored four relative gates reading strictly lower-layer activations and produced six heldout-confirmed circuit explanations. However, auditing those sentences row-by-row uncovered that four of the five early circuit explanations attributed separation to a negated upstream arm (“vetoed when unit X is high”) even when that negative arm was statistically inert. Enforcing per-arm evidence checks forced the agent to rewrite every circuit explanation to match which arm actually drove the contrast—and in Round 11 verified a genuine upstream veto gate on held-out text, even though its only eligible absolute partner failed held-out coverage.
References
- Nick Cammarata (with contributions from Curt Tigges and Tarun Gogineni). “Neural Networks Are Already Clean.” Goodfire, 2026.
- Curt Tigges, Matthew Kowal, Thomas McGrath, Owen Lewis, and Nick Cammarata. “Neurons as an Interpretable Basis.” Goodfire, November 2026.
- Jiayi Weng. “Learning Beyond Gradients.” n+e’s blog, May 2026.
Cite this post
@misc{li2026lmexplainslm,
title = {Language Models Can Automatically Explain Language Models via Heuristic Rules},
author = {Li, Songtao},
year = {2026},
month = nov,
url = {https://www.lisongtao.eu.org/blog/lm-explains-lm/}
}