Guide
How to use Neuron Lens in research: find out what a neuron or an attention head does, find the units behind an idea or a behaviour, use the catalog from an AI assistant or from code, and label neurons and fit the lenses for another model.
Find out what a neuron does
Every neuron and head of Qwen3 from 0.6B to 30B-A3B (post-trained and base), Qwen3.5 from 0.8B to 2B, Gemma 4 12B, OLMo 3 7B (5 stages), and Pythia from 14M to 6.9B has an address. Open one, and its labels come first, then the evidence they were written from.
- Open the unit. /qwen3-8b/L8/n344 is neuron 344 of layer 8 in Qwen3-8B, and /qwen3-8b/L20/h17 head 17 of layer 20. An ID typed into the explorer's search, such as L8 n344, opens it too.
- Read its labels: what it fires on and what it makes the model say, and for a head what it attends to and what it writes. Each says how sure the labeller, Claude Haiku 5.5, was.
- Check them against the evidence beneath: Weights, what the R-lens and the S-lens read from the unit's weights alone; Stream, what the model holds where it fires; Firings, the text it fires on hardest, the exact tokens that drive it, and what the model says next there.
- Note its depth band, beside its number. It says which read to trust at that depth; About explains each.
A neuron in these models has two sides, + and −, which often mean different things. The explorer opens the clearer one.
Find the units behind an idea
The search reads every label, every read and every token a unit fires on, in any language.
Type a word or a phrase, such as owl, Bible, 圣经 or she, and the units it describes come back best first. Each layer lists first the neurons the labeller was surest of (Easiest); All lists every one.
Behaviours are found the same way. Search refusal, an assistant's identity or a language, then read each unit's firings before relying on its label.
Trace what feeds a unit and what it feeds
Beside every unit is a graph of its strongest connections, drawn at true depth.
Three relations stay apart: Wired to, its direct edges through the weights; Driven by, what pushes it where it actually fires; and Fires with, the units that fire alongside it. Near shows the units most of its flow passes through, and Far and All follow it further. An address with ?graph opens the graph full screen, where Find narrows it to the units an ID or a word finds.
Compare models, sizes and training
Qwen3 from 0.6B to 30B-A3B (post-trained and base), Qwen3.5 from 0.8B to 2B, Gemma 4 12B, OLMo 3 7B (5 stages), and Pythia from 14M to 6.9B.
Pick a family, then a size: the explorer keeps your place, the same layer and unit, clipped to the new model's shape. Each Qwen3 size has its base model beside it, shown with the post-trained model's labels over its own evidence, so what post-training changed can be read unit by unit. Qwen3-4B and Qwen3-0.6B were pruned from Qwen3-8B and Qwen3-1.7B, and a neuron of either names its traced counterpart in the other (findings §20). Gemma 4 12B's neurons are also read through about 50,000 images and 50,000 sounds.
Uses in safety, alignment and interpretability research
What the catalog has been used for so far, each with the finding that shows it.
- Check a claimed unit against its evidence. Before building on a neuron someone has named, see where it fires. Comparing outside labels with the catalog's, a refusal neuron found by gradients (L14 n7924 +) fires on light, playful framing of a request (§14).
- Find units tied to a behaviour. L9 n8548 − fires on an AI assistant's self-reference, such as "my training" and "been programmed" (§13). Search the labels, then read the firings.
- See what post-training changed. Every Qwen3 size is read the same way as its base model (§19).
- Trace how a model answers. Ten kinds of question, self-knowledge, knowing what it knows and theory of mind among them, were traced exactly through Qwen3-8B's neurons and heads, and removing the top units flips the answers (§26).
- Know what pushing a neuron will do, before running the model. A neuron's write, read through the R-lens, predicts what steering it does: a median correlation of 0.9 or more from layer 22 of Qwen3-8B (§3). Drowse steers models and monitors traits with the same lenses.
- Know where the lenses fall short. Some directions the R-lens barely reads (§21), and every label is a model's reading of the evidence, with its confidence.
Use it from an AI assistant
Neuron Lens is an MCP server as well as a site, open to any assistant, with no account or key.
Add https://neuron-lens.com/mcp as a custom connector: in Claude, under Customize, Connectors; in ChatGPT, where a workspace adds custom MCP servers. Then ask in words: which Qwen3-8B neurons respond to owls, what does L20 h17 do, what feeds L8 n344. Its tools are list_models, search_units, get_unit and get_layer.
In a browser with WebMCP, an agent working in the page gets the same tools, with search over every unit, and can show you what it finds. An agent reading the site can start at /llms.txt; every address answers in plain HTML.
Use the data in code
Every unit's evidence is a row in the catalog on Hugging Face, under CC BY 4.0, and its dataset card documents every column.
import pandas as pd
base = "hf://datasets/stdlogits/neuron-lens/qwen3-8b"
labels = pd.read_parquet(f"{base}/neurons/labels/L08.parquet")
labels.query("neuron == 344 and pole == 1")[["fires", "fires_conf", "writes", "writes_conf"]] The tables hold each neuron's and head's lens reads, activation statistics and top firings, exact token drivers, connections and labels, by model and layer. The lenses themselves are stdlogits/rs-lenses: the research repository's README reads a neuron's write and its drivers with them in a few lines.
Label neurons and fit the lenses for another model
The pipeline that built the catalog is open source, under the MIT licence.
Lenses are already fitted for Qwen3 from 0.6B to 14B, post-trained and base, Gemma 4 12B in text, images and sound, Pythia from 14M to 6.9B, OLMo 3 7B and Qwen3.5-0.8B. For another model built like the ones catalogued (Qwen3, dense or mixture-of-experts, Qwen3.5, Gemma 4, OLMo 3 and Pythia, training checkpoints included), fit both lenses:
uv pip install -e . python scripts/02_fit.py --lens R --model Qwen/Qwen3-8B --docs 1000 --device cuda python scripts/02_fit.py --lens S --model Qwen/Qwen3-8B --docs 1000 --device cuda
A lens has no training objective: it is an average of exact linearizations over 1,000 documents, about three hours per lens for an 8B model on one H100. The rest of the pipeline reads every unit's activations, exact drivers, weights and firings in a few hours on one GPU, and scripts/10_labels.py labels every neuron and head with Claude Haiku 5.5 on the Batch API, about $53 for Qwen3-8B, from a card holding the reads that model's reading plan trusts at that depth and the unit's top firings. The labels were checked blind (§13). A Mac runs everything but the fits and the GPU passes. The README lists each stage with its cost; a new architecture needs its geometry described in the package (neuron_lens/arch.py).
Contribute, report a label, cite
Findings, code and data are open, and corrections are welcome.
The research, its code and its findings are stdlogits/neuron-lens, which takes issues and pull requests; read its findings before making a claim about a neuron or a lens. A label that looks wrong is worth an issue there with the unit's address. This site is stdlogits/neuron-lens.com. Cite a unit by its address, and the project as:
@software{neuron_lens_2026,
title = {neuron-lens: every MLP neuron and attention head of open language models},
author = {a9lim and treetown and Claude},
year = {2026},
url = {https://neuron-lens.com},
note = {Code: https://github.com/stdlogits/neuron-lens; data: https://huggingface.co/datasets/stdlogits/neuron-lens}
}