The Dark Matter of AI [Mechanistic Interpretability] @WelchLabs
The Dark Matter of AI [Mechanistic Interpretability]  @WelchLabs
Uploaded December 2024 | Updated November 2026, 2 days ago
Take your personal data back with Incogni! Use code WELCHLABS at the link below and get 60% off an annual plan: incogni.com/welchlabs

Welch Labs Imaginary Numbers Book!
welchlabs.com/resources/imaginary-numbers-book

Welch Labs Posters:welchlabs.com/resources

Special Thanks to Patrons patreon.com/welchlabs

Juan Benet, Ross Hanson, Yan Babitski, AJ Englehardt, Alvin Khaled, Eduardo Barraza, Hitoshi Yamauchi, Jaewon Jung, Mrgoodlight, Shinichi Hayashi, Sid Sarasvati, Dominic Beaumont, Shannon Prater, Ubiquity Ventures, Matias Forti, Brian Henry, Tim Palade, Petar Vecutin, Nicolas baumann, Jason Singh, Robert Riley, vornska, Barry Silverman

My Gemma walkthrough notebook: colab.research.google.com/drive/1Y68yNr5TcHr4G5RJ0QHZhKkDe55AUkVj?usp=sharing
Most animations made with Manim: github.com/3b1b/manim

References and Further Reading
Chris Olah’s original “Dark Matter of Neural Networks” post: https://transformer-circuits.pub/2024/july-update/index.html#dark-matter
Great recent interview with Chris Olah: youtube.com/watch?v=ugvHCXCOmm4
Gemma Scope: arxiv.org/pdf/2408.05147
Experiment with SAEs yourself here! neuronpedia.org
Relevant work from the Anthropic team:
https://transformer-circuits.pub/2022/toy_model/index.html
https://transformer-circuits.pub/2023/monosemantic-features
https://transformer-circuits.pub/2024/scaling-monosemanticity/
Excellent intro Mechanistic Interpretability: https://arena3-chapter1-transformer-interp.streamlit.app/%5B1.2%5D_Intro_to_Mech_Interp
Neel Nanda’s Mechanistic Interpretability Explainer: dynalist.io/d/n2ZWtnoYHrU1s4vnFSAQ519J
Transformer Lens: github.com/TransformerLensOrg/TransformerLens
SAE Lens: jbloomaus.github.io/SAELens

Technical Notes
1. There are more advanced and more meaningful ways to map mid layer vectors to outputs, see: arxiv.org/pdf/2303.08112, neuralblog.github.io/logit-prisms/, lesswrong.com/posts/AcKRB8wDpdaN6v6ru/interpreting-gpt-the-logit-lens
2. The 6x2304 matrix is actually 7x2304, we’re ignoring the /bos token.
3. Gemma also includes positional embeddings and lots and lots of normalization layers, which we didn’t really cover
4. I’m conflating tokens and words sometimes, in this example each word is a token, so we don’t have to worry about it too much
5. The “_” characters represent spaces in the token strings

CFAQJOTYQHT7JYIT
The Dark Matter of AI [Mechanistic Interpretability]The moment we stopped understanding AI [AlexNet]How LLMs became robot brainsThe F=ma of Artificial Intelligence [Backpropagation, How Models Learn Part 2]What do you want to know about world models?Posters now available in 36 countries! welchlabs.com/storeMy favorite email of 2026!30 years that shook AI.Kepler’s Impossible EquationFei-Fei Li’s $8B World ModelThe next Welch Labs book is ready for preorder!Yann LeCuns $1B Bet Against LLMs [Part 1]
Welch Labs |

The Dark Matter of AI [Mechanistic Interpretability]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER