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
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 moment we stopped understanding AI [AlexNet]
The moment we stopped understanding AI [AlexNet] The moment we stopped understanding AI [AlexNet]](https://i.ytimg.com/vi/UZDiGooFs54/mqdefault.jpg)

![The F=ma of Artificial Intelligence [Backpropagation, How Models Learn Part 2]
Take your personal data back with Incogni! Use code WELCHLABS and get 60% off an annual plan: http://incogni.com/welchlabs
New Patreon Rewards 29:48 - own a piece of Welch Labs history! https://www.patreon.com/welchlabs
Books & Posters
https://www.welchlabs.com/resources
Sections
0:00 - Intro
2:08 - No more spam calls w/ Incogni
3:45 - Toy Model
5:20 - y=mx+b
6:17 - Softmax
7:48 - Cross Entropy Loss
9:08 - Computing Gradients
12:31 - Backpropagation
18:23 - Gradient Descent
20:17 - Watching our Model Learn
23:53 - Scaling Up
25:45 - The Map of Language
28:13 - The time I quit YouTube
29:48 - New Patreon Rewards!
Nice Implementation for a viewer in C++:
https://kirit.com/Tiny%20Classifiers/tiny-classifier.cpp
Special Thanks to Patrons https://www.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, Jake Ehrlich, Mitch Jacobs, Lauren Steely
References
Werbos, P. J. (1994). The roots of backpropagation : from ordered derivatives to neural networks and political forecasting. United Kingdom: Wiley. Newton quote is on p4, Werbos expands on the analogy on p4.
Olazaran, Mikel. A sociological study of the official history of the perceptrons controversy. *Social Studies of Science* 26.3 (1996): 611-659. Minsky quote is on p 393.
Widrow, Bernard. Generalization and information storage in networks of adaline neurons.” Self-organizing systems (1962): 435-461.
Historical Videos
http://youtube.com/watch?v=FwFduRA_L6Q
https://www.youtube.com/watch?v=ntIczNQKfjQ
Code:
https://github.com/stephencwelch/manim_videos
Technical Notes
Large Llama training animation shows 8/16 layers. Specifically layers 1, 2, 7, 8, 9, 10, 15, and 16. Every third attention pattern is shown, and special tokens are ignored. MLP neurons are downsampled using max pooling. Only the weights and gradients above a specific percentile based threshold are shown. Only query weights are shown going into each attention layer.
The coordinates of Paris are subtracted from all training examples in the 4 city example as a simple normalization - this helps with convergence.
In some scenes, math is happening at higher precision behind the scenes, and results are rounded, which may create apparent inconsistencies.
Written by: Stephen Welch
Produced by: Stephen Welch, Sam Baskin, and Pranav Gundu
Special thanks to: Emily Zhang
Premium Beat IDs
EEDYZ3FP44YX8OWT
MWROXNAY0SPXCMBS
CFAQJOTYQHT7JYIT The F=ma of Artificial Intelligence [Backpropagation, How Models Learn Part 2]](https://i.ytimg.com/vi/VkHfRKewkWw/mqdefault.jpg)





![Fei-Fei Li’s $8B World Model
Apply to join Hudson River Trading: https://www.hudsonrivertrading.com/welchlabs
New Welch Labs Book! https://www.welchlabs.com/store/welch-labs-illustrated-guide-to-ai-volume-2
Support on Patreon: https://www.patreon.com/c/welchlabs
SECTIONS
0:00 - Intro
1:53 - The ImageNet Slog
3:48 - The Robotics Data Problem
5:23 - NeRF
6:43 - The Competition Arrives
9:42 - Gaussian Splats w/ Marble
10:58 - New View Prediction
13:38 - CameraCTRL & A Huge Problem
15:18 - [Ad] World Modeling at HRT
17:15 - Bidirectional Diffusion
21:38 - Teacher Forcing
25:14 - Diffusion Forcing
28:56 - Modality Forcing & Atlas
31:03 - Training From Scratch
32:50 - The ImageNet of Robotics?
37:50 - Fei-Fei’s Dream
39:40 - The Welch Labs Book!
REFERENCES
Bloomberg AMD acquisition clip: https://www.youtube.com/watch?v=uD62Yn8j_Pg
Li, Fei-Fei. *The worlds I see: Curiosity, exploration, and discovery at the dawn of AI*. Flatiron books: a moment of lift book, 2023.
Early Robotics Video from Fei-Fei’s lab: https://www.youtube.com/watch?v=THq7I7C5rkk
Behavior Project: https://behavior.stanford.edu/
NeRF Apartment Flythrough: https://www.youtube.com/watch?v=DS90g8WFvJk
OpenAI Sora Launch: https://openai.com/index/video-generation-models-as-world-simulators/
Genie 1: Bruce, Jake, et al. Genie: Generative interactive environments. *Forty-first international conference on machine learning*. 2024.
He, Hao, et al. Cameractrl: Enabling camera control for text-to-video generation. *arXiv preprint arXiv:2404.02101* (2024).
CameraCtrl is based on Stable Video Diffusion: Blattmann, Andreas, et al. Stable video diffusion: Scaling latent video diffusion models to large datasets. *arXiv preprint arXiv:2311.15127* (2023).
THANKS TO PATRONS
Juan Benet, 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, Jake Ehrlich, Mitch Jacobs, Lauren Steely, Jeff Eastman, Rodolfo Ibarra, Clark Barrus, Rob Napier, Andrew White, Richard B Johnston, abhiteja mandava, Burt Humburg, Kevin Mitchell, Daniel Sanchez, Ferdie Wang, Tripp Hill, Richard Harbaugh Jr, Prasad Raje, Kalle Aaltonen, Midori Switch Hound, Zach Wilson, Chris Seltzer, Ven Popov, Hunter Nelson, Amit Bueno, Scott Olsen, Johan Rimez, Shehryar Saroya, Tyler Christensen, Beckett Madden-Woods, Darrell Thomas, Javier Soto, U007D, Caleb Begly, Rick Rubenstein, Brent Hunsaker, Dan Patterson, Tchsurvives, Alex Adai, Walter Reade, Zyansheep, Walter Reade, Duncan Stannett, Reginald Carey, Jean-Manuel Izaret, dh71633, Adrian Rodriguez, Dimitar Stojanovski, Michael Harder, Peter Maldonado, Emily Pesce, David Johnston, Insang Song, FaeTheWolf, Stephen Taylor, KittenKaboodle, EMatter, PATRICKMCCORMACK, John Beahan, Cameron, Cole Jones, Garrett Thornburg, Jeroen W, Rohit Sharma, GlennB, Emmanuel Cortes, Katie Quinn, Karina C, Cakra WW, Mike Ton, Eric Gometz, MacCallister Higgins, Niko Drossos, David Eraso, Tom Zehle, Steve, Brian Lineburg, rjbl, Michael Loh, Perry Vais, Bengal0, Farhad Manjoo, Sara Chipps, Ellis Driscoll, William Taysom, Will Harmon, CK, Abdullah, Peter Cho, Leo Nikora, Griffin Smith, Ash Katnoria, Alex, Markus Hays Nielsen, Catherine H., Vi, David Dobáš, Peter Wang, Sina Sohangir, Danny Thomas, Julian Francis, Hans Adler, Jiayu Peng, Weston M, Youssouf da Silva, John Thomas, Samuel Costello, Sam Adams, Bryan Liles, Malaya Zemlya, Karl, Vahe Andonians, Mike Doughty, Larry Novelo, Jonas Acres, Ludicrum Rex, Robert Blumofe, Anthony Z, Alex Zhao, Dan Babitch, Nikko Patten, Sam Adams, Rahul Ravu, Marco Salvi, Ralph Dratman, Brendan Ardagh, Mindaugas Kazlauskas, Ui, John Posada, MingLLM | Yiming Beckmann, Eric Younge, Puyu He, KirkDCO, Hayk Tarkhanyan, Vincent Cosomano, Jazon Jiao, Benjamin RuppikGeo (Overand), James Collom, Kent Frazier, » teej, Andrea Di Biagio, G P, Aaron Soto, Animesh Biyani, Rajeev Nagabhirava, Sage Trudeau, CKSA, rori, nicholas yoder, Bas Pronk
Created by: Stephen Welch, Sam Baskin, and Pranav Gundu
Content ID: CFAQJOTYQHT7JYIT Fei-Fei Li’s $8B World Model](https://i.ytimg.com/vi/hORDMRY_bZ0/mqdefault.jpg)

![Yann LeCuns $1B Bet Against LLMs [Part 1]
Apply to join Hudson River Trading: https://www.hudsonrivertrading.com/welchlabs
Welch Labs Book: https://www.welchlabs.com/resources/ai-book-ezrzm-msrmc
Patreon: https://www.patreon.com/c/welchlabs
Part 2: https://www.youtube.com/watch?v=v_jDvpEGTIg
Sections
0:00 - Intro
2:28 - The Problem with Deep Learning
4:17 - Intelligence is a Cake
5:15 - The Rise of Generative AI
8:00 - Blurry Images
8:54 - HRT is an awesome place to work
11:16 - But why so Blurry?
13:30 - Do our models need to be generative?
15:16 - Siamese Networks
17:53 - Representation Collapse
19:54 - Yann’s Epiphany & Barlow Twins
27:22 - DINO
28:58 - JEPA & World Models
34:09 - But is JEPA good?
36:19 - Welch Labs Book
Special thanks to: Yann LeCun, Stephane Deny, David Fan, Nicolas Ballas
Clip of Yann from 1989: https://www.youtube.com/watch?v=FwFduRA_L6Q
CNN Paper: http://yann.lecun.com/exdb/publis/pdf/lecun-89e.pdf
LeNet-5 paper: http://vision.stanford.edu/cs598_spring07/papers/Lecun98.pdf
Dashcam video
https://commons.wikimedia.org/wiki/File:Car_Driving_Faadou_4K_HDR Rural_road Canton 327.webm
Image Credits
https://en.wikipedia.org/wiki/File:Dota_2_Gameplay_Aug_2017.jpg
https://commons.wikimedia.org/wiki/File:Felis_catus-cat_on_snow.jpg
https://commons.wikimedia.org/wiki/File:Magnificent_CME_Erupts_on_the_Sun August_31.jpg
https://commons.wikimedia.org/wiki/File:Alcedo_atthis Riserve_naturali_e_aree_contigue_della_fascia_fluviale_del_Po.jpg
https://commons.wikimedia.org/wiki/File:Biandintz_eta_zaldiak modified2.jpg
V-JEPA2 Robot Arm Videos
https://ai.meta.com/research/vjepa/
PATRONS
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, Jake Ehrlich, Mitch Jacobs, Lauren Steely, Jeff Eastman, Rodolfo Ibarra, Clark Barrus, Rob Napier, Andrew White, Richard B Johnston, abhiteja mandava, Burt Humburg, Kevin Mitchell, Daniel Sanchez, Ferdie Wang, Tripp Hill, Richard Harbaugh Jr, Prasad Raje, Kalle Aaltonen, Midori Switch Hound, Zach Wilson, Chris Seltzer, Ven Popov, Hunter Nelson, Amit Bueno, Scott Olsen, Johan Rimez, Shehryar Saroya, Tyler Christensen, Beckett Madden-Woods, Darrell Thomas, Javier Soto, U007D, Caleb Begly, Rick Rubenstein, Brent Hunsaker, Dan Patterson, Tchsurvives, Alex Adai, Walter Reade, Zyansheep, Walter Reade, Duncan Stannett, Reginald Carey, Jean-Manuel Izaret, dh71633, Adrian Rodriguez, Dimitar Stojanovski, Michael Harder, Peter Maldonado, Emily Pesce, David Johnston, Insang Song, FaeTheWolf, Stephen Taylor, KittenKaboodle, EMatter, PATRICKMCCORMACK, John Beahan, Cameron, Cole Jones, Garrett Thornburg, Jeroen W, Rohit Sharma, GlennB, Emmanuel Cortes, Katie Quinn, Karina C, Cakra WW, Mike Ton, Eric Gometz, MacCallister Higgins, Niko Drossos, David Eraso, Tom Zehle, Steve, Brian Lineburg, rjbl, Michael Loh, Perry Vais, Bengal0, Farhad Manjoo, Sara Chipps, Ellis Driscoll, William Taysom, Will Harmon, CK, Abdullah, Peter Cho, Leo Nikora, Griffin Smith, Ash Katnoria, Alex, Markus Hays Nielsen, Catherine H., Vi, David Dobáš, Peter Wang, Sina Sohangir, Danny Thomas, Julian Francis, Hans Adler, Jiayu Peng, Weston M, Youssouf da Silva, John Thomas, Samuel Costello, Sam Adams, Bryan Liles, Malaya Zemlya, Karl, Vahe Andonians, Mike Doughty, Larry Novelo, Jonas Acres, Ludicrum Rex, Robert Blumofe, Anthony Z, Alex Zhao, Dan Babitch, Nikko Patten
Supporting code: https://github.com/WelchLabs/videos
Created by: Sam Baskin, Pranav Gundu, and Stephen Welch
Content ID: CFAQJOTYQHT7JYIT Yann LeCuns $1B Bet Against LLMs [Part 1]](https://i.ytimg.com/vi/kYkIdXwW2AE/mqdefault.jpg)