Gradient descent, how neural networks learn | Deep Learning Chapter 2
3Blue1Brown4 HN recommenders · recommended in 3 months, 2017–2024
explainer · intro · evergreen · 2017–2024 on HN
3Blue1Brown's second neural network chapter explains cost functions and gradient descent, showing how a network learns by minimizing error during training.
HN recommends the series as a very accessible way to understand the math behind machine learning and LLMs.
Up next
14 mo on HNBut what is a neural network? | Deep learning chapter 1
3Blue1Brown
16 HN recommender · 2017–2025
3 mo on HNBackpropagation, intuitively | Deep Learning Chapter 3
3Blue1Brown
4 HN recommender · 2017–2024
2 mo on HNBackpropagation calculus | Deep Learning Chapter 4
3Blue1Brown
3 HN recommender · 2017–2024
15 mo on HNBut what is the Fourier Transform? A visual introduction.
3Blue1Brown
16 HN recommender · 2018–2025
4 mo on HNHow does Computer Memory Work? 💻🛠
Branch Education
5 HN recommender · 2022–2023
4 mo on HNAttention in transformers, step-by-step | Deep Learning Chapter 6
3Blue1Brown
5 HN recommender · 2024–2026
15 mo on HNAT&T Archives: Similiarities of Wave Behavior (Bonus Edition)
AT&T Tech Channel
12 HN recommender · 2014–2026
16 mo on HNThe spelled-out intro to neural networks and backpropagation: building micrograd
Andrej Karpathy
17 HN recommender · 2022–2025
10 mo on HNAlphaGo - The Movie | Full award-winning documentary
Google DeepMind
10 HN recommender · 2020–2025
10 mo on HNTransformers, the tech behind LLMs | Deep Learning Chapter 5
3Blue1Brown
13 HN recommender · 2024–2026
10 mo on HNUSENIX Security '18-Q: Why Do Keynote Speakers Keep Suggesting That Improving Security Is Possible?
USENIX
10 HN recommender · 2018–2026
11 mo on HNLecture 1 | Machine Learning (Stanford)
Stanford
11 HN recommender · 2008–2020
5 comments from Hacker News
I'm in the same boat. For long time, I was interested in AI but at the same time intimidated by math. I'm relatively comfortable with discrete mathematics and classical algorithms and at the same time calculus and linear algebra is completely foreign to me. Also, I do not accept way to learn ML without good understanding of core principles behind it. So math is a must. A few months ago, I stumbled upon very amazing YouTube Channel 3Blue1Brown which explains math in very accessible way and at the same time I got feeling that I finally started understanding core ideas behind linear algebra and calculus. Just recently he published 4 videos about deep neural networks: link ▶ this video link link So my fear of ML was gone away and I'm very excited to explore whole new world for neural networks and other things like support vector machines etc
> when an LLM tells us that the sun rises in the east, it's not because it truly understands astronomy or the solar system. Rather, it has seen the phrase "sun rises in the east" repeated so many times in its training data that this becomes the highest probability answer. It's less about understanding and more about pattern recognition. This is not too different from most human person's experience with basic education ( link ). Though it is obvious that humans can do more than that too. And while "voting" that may be a close-enough metaphor for the multi-layer perceptron layers, it is not what is happening in the attention layers. I suggest checking out 3blue1brown's videos on gradient descent ▶ this video and "How might LLMs store facts" link versus how attention works link
If you want an extensive answer, I recommend the neural network playlist on 3Blue1Brown: link For a quick answer, watch this segment: ▶ this video
This was very timely for me and for anyone else learning, here are the first few videos of the series: link ▶ this video link (Original video) link
A bit of a side-note, but I think it is an interesting piece of marketing that Amplify Partners decided to sponsor[1] the previous video in this series. I wonder (and hope) we'll see more VCs sponsoring open educational content relevant to their focus. [1] ▶ this video