Field noteNov 27, 20265 min read1 source

Goodfire has published MIT-licensed code for identifying small groups of Llama-3.1-8B MLP neurons that

In one minute

Goodfire has published MIT-licensed code for identifying small groups of Llama-3.1-8B MLP neurons that contribute to model computations. Its pipeline uses activation-gradient attribution, clustering and held-out interventions to test those groups. The repository makes a research method reproducible, though reproducing the full run requires substantial data and GPU resources.

What changed: Goodfire has now published code and an explorer for its Llama-3.1-8B neuron communities method.

What happened

Goodfire’s neuron-communities repository describes code for finding small groups of MLP neurons in Llama-3.1-8B that work together on computations. The README frames the target as neuron-sparse behavior: groups that are causally necessary and sufficient for many computations. It also provides an explorer for 1,941 labelled communities, with prompts, interventions and statistics. The public repository is MIT-licensed and includes Python package files, scripts, tests and configuration.

The method begins by sampling prompts from FineWeb-Edu, Wikipedia and FineMath. It removes duplicates and holds out a separate set for evaluation. For each prompt, the pipeline selects the top five neurons per layer using activation multiplied by gradient attribution. It connects neurons that co-occur more often than chance and groups those connections with Leiden clustering. Groups larger than 128 neurons are dropped, as are 17 neurons described as always-on hubs.

The pipeline then evaluates each community using held-out prompts. It tests whether removing the community changes the next-token distribution. It also tests whether retaining only the community, alongside the hubs and within a span of layers, preserves the prediction. The README adds two checks: the hubs alone must not preserve the prediction, and removing the community within the same layer span must change it. Coverage is measured as the share of held-out prompts for which at least one community passes these tests.

The repository says its default configuration matches the settings used for Llama-3.1-8B in the paper. Installation requires Python 3.11 or later; model stages require a GPU. The paper’s runs used 80 GB GPUs with the model in bfloat16. The supplied pipeline script samples 10 million training prompts and another 10 million held-out prompts before deduplication. It skips outputs that already exist, allowing a run to resume after interruption. Model, output-directory, prompt-count and shard-count settings are environment variables in the script. A Slurm job-array template is included for cluster runs.

The tests exercise the stages with a tiny, randomly initialized Llama and synthetic data. The README says they take about two minutes on eight CPU cores and need neither network access nor a GPU. They check that the stages work together; they do not test the paper’s results. The repository reports 10 stars and two forks on GitHub.

What the archive adds

New Runtime’s earlier coverage described Lyra C’s neuron-explorer, an open-source, steering-first explorer for Qwen3.5-4B, dated 2026-10-26. Goodfire’s release is a new event in the same broad interpretability space, but it focuses on a reproducible pipeline for identifying and testing neuron communities in Llama-3.1-8B rather than the earlier tool’s steering-first framing.

Trend signal

This supports the broader direction of making interpretability artifacts inspectable and testable, but it does not yet fit a pattern New Runtime tracks. The repository documents a procedure and exposes labelled examples; it does not establish that these communities generalize beyond the tested model and prompts, or that they provide a production control surface for agents.

Why it matters

For teams working on model interpretability, the important contribution is not simply a visualization of internal units. The repository describes tests that distinguish a group’s association with a prediction from a stronger claim: that the group is needed for a prediction, and that a restricted set of neurons can preserve it under a defined layer span. Held-out prompts and explicit removal/retention interventions make those claims more inspectable than a list of neuron labels alone.

The artifact also makes the cost of this kind of investigation visible. Its full pipeline samples tens of millions of prompts before deduplication, and the model stages were run on 80 GB GPUs. That is a meaningful barrier for an individual developer or a small team. The modular stages, environment-variable settings and Slurm template may help research groups adapt the work to cluster workflows, but the repository does not claim that a smaller run will reproduce the paper’s results.

For engineering teams, this is best treated as a research method to evaluate, not as a ready-made safety mechanism. Neuron-level explanations could inform future analysis of model behavior, but the repository’s tests do not show that communities can reliably detect harmful behavior, constrain a deployed model or transfer across model versions. A team considering the approach should first reproduce a narrow slice and inspect whether the findings persist on its own held-out examples.

Limits and uncertainty

The repository describes the method and links the code, but the README alone does not independently validate the paper’s results. Its tests use synthetic data and a tiny randomly initialized model, and explicitly check pipeline integration rather than research findings. The full run’s resource needs are substantial; the README does not establish how results change with smaller prompt sets or different hardware. It also does not demonstrate that the identified communities transfer to other models, prompt distributions or downstream tasks, or that they support reliable interventions in deployed systems.

Reader takeaway

Goodfire has published a reproducible pipeline for finding and intervening on neuron groups in one model, with held-out tests that probe necessity and sufficiency under specified conditions. The code is useful to interpretability researchers willing to meet its compute demands. Treat the labelled communities as findings to validate, not as general-purpose explanations or controls for production AI systems.

How this was made

First seen
Nov 27, 2026, 19:21 UTC in our intake.
Sources
1 source carried the story when we picked it up; we cite the original.
Written by
An AI model; the exact model was not recorded.
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
The cited primary source was fetched and verified; the source is not older than 30 days; no earlier note covers the same story; the copy passed the site's structure and language checks.
Confidence
Novelty judgement: a new fact, high confidence. Editorial value: medium.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1github.com/goodfire-ai/neuron-communities
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicModelsExplore the models topic hub.
  2. 02topicOpen SourceExplore the open-source topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract