How might LLMs store facts | Chapter 7, Deep Learning
Unpacking the multilayer perceptrons in a transformer, and how they may store facts
Instead of sponsored ad reads, these lessons are funded directly by viewers:
An equally valuable form of support is to share the videos.
AI Alignment forum post from the Deepmind researchers referenced at the video’s start:
Anthropic posts about superposition referenced near the end:
Some added resources for those interested in learning more about mechanistic interpretability, offered by Neel Nanda
Mechanistic interpretability paper reading list
Getting started in mechanistic interpretability
An interactive demo of sparse autoencoders (made by Neuronpedia)
#main
Coding tutorials for mechanistic interpretability (made by ARENA)
Sections:
0:00 - Where facts in LLMs live
2:15 - Quick refresher on transformers
4:39 - Assumptions for our toy example
6:07 - Inside a multilayer perceptron
15:38 - Counting parameters
17:04 - Superposition
21:37 - Up next
------------------
These animations are largely made using a custom Python library, manim. See the FAQ comments here:
#manim
All code for specific videos is visible here:
The music is by Vincent Rubinetti.
------------------
3blue1brown is a channel about animating math, in all senses of the word animate. If you’re reading the bottom of a video description, I’m guessing you’re more interested than the average viewer in lessons here. It would mean a lot to me if you chose to stay up to date on new ones, either by subscribing here on YouTube or otherwise following on whichever platform below you check most regularly.
Mailing list:
Twitter:
Instagram:
Reddit:
Facebook:
Patreon:
Website:
1 view
58
21
2 weeks ago 00:14:19 1
The BEST Chinese Carbon Road Bike Wheels vs The BEST Western Road Bike Wheels
2 weeks ago 00:06:08 2
The Jesus Prayer Might Radically Change Your Prayer Life
2 weeks ago 00:10:00 1
Yildiz: Alive Free Energy Inventor Magnet Infinity Motor Powers Homes for Free!
3 weeks ago 00:14:26 1
Daily Contour/Sculpting Gua Sha - Follow Along Tutorial
3 weeks ago 00:15:52 1
Hitler and the Coca Cola Company - Forgotten History
3 weeks ago 00:02:21 1
Darth Vader | Running Up That Hill
4 weeks ago 00:02:58 3
Sueco - Outta My Head [Music Video]
4 weeks ago 00:04:29 1
ABBA - Happy New Year (Video)
4 weeks ago 00:24:26 2
Exposing HOLYWOOD WITCHES | Michelle Lamy, Taylor swift, Ariana Grande and Many More
1 month ago 00:01:27 1
Alita 2: Battle Angel (2025) – First Trailer | Rosa Salazar (HD)
1 month ago 00:26:38 1
How I Designed 3D-Printed Mods for My Vintage Toyota KE25
2 months ago 02:37:35 1
David Goggins: How to Build Immense Inner Strength
2 months ago 00:08:59 12
How to Be a Psychiatrist - 9 Years of Education in 9 Minutes
2 months ago 00:04:14 1
Paramore: Decode [OFFICIAL VIDEO]
2 months ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
2 months ago 00:08:38 1
Retired General on How Ukraine Is ‘Bleeding Out’ Against Russia | WSJ
3 months ago 00:20:46 1
YAWEH and the Three-Dimensional Prison - The DARK Gnostic Connection
3 months ago 00:03:10 1
The Nightmare Before Christmas - This Is Halloween [4K HD]
3 months ago 00:17:17 1
Diana Ankudinova - Can’t Help Falling In Love (Live) First Time Hearing | REVIEWS AND REACTIONS
3 months ago 00:02:14 1
Nightcore - Heathens (Lyrics)
3 months ago 00:11:44 1
Apple CEO’s High Stake Visit To China For Apology & Request To Market Share
3 months ago 00:04:38 1
Starbomb - Kiss The Elden Ring (Official Music Video)
3 months ago 00:04:17 1
Coolio - Gangsta’s Paradise (feat. L.V.) [Official Music Video]