Backpropagation, intuitively | Deep Learning Chapter 3
3Blue1Brown4 HN recommenders · recommended in 3 months, 2017–2024
explainer · intro · evergreen · 2017–2024 on HN
3Blue1Brown's third deep learning chapter gives a visual, intuitive account of backpropagation and what happens to a neural network as it learns. A follow-up video covers the underlying calculus.
Recommended as the most accessible introduction to backprop for people who struggle with the pure math.
Up next
14 mo on HNBut what is a neural network? | Deep learning chapter 1
3Blue1Brown
16 HN recommender · 2017–2025
3 mo on HNGradient descent, how neural networks learn | Deep Learning Chapter 2
3Blue1Brown
4 HN recommender · 2017–2024
2 mo on HNBackpropagation calculus | Deep Learning Chapter 4
3Blue1Brown
3 HN recommender · 2017–2024
10 mo on HNPainting a Character with Maths
Inigo Quilez
13 HN recommender · 2021–2025
5 mo on HNJames Burke Connections, Ep. 4 "Faith in Numbers"
DRS_Education
4 HN recommender · 2020–2026
11 mo on HNJames Burke Connections, Ep. 1 "The Trigger Effect"
DRS_Education
12 HN recommender · 2019–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
10 mo on HNMarI/O - Machine Learning for Video Games
SethBling
10 HN recommender · 2015–2026
5 comments from Hacker News
While we're at this, I found the explainations by 3Brown1Blue to be very intuitive when it comes to neural networks, especially for folks who're new and don't necessarily grasp concepts when explained primarily through math. What is backpropagation really doing? ▶ this video His other videos on this topic are just as good.
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 link ▶ this video 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
This has a lot of words, but not enough content. I recommend 3Blue1Brown's neural net videos instead: ▶ this video
This was very timely for me and for anyone else learning, here are the first few videos of the series: link link ▶ this video (Original video) link
It's not satire. If you have some function with several inputs, the Jacobian is a matrix of all the partial derivatives of this function with respect to each input variable[1]. Since derivatives give the slope of a function, if you think about your function as being like a bumpy surface with the height at each point being the output, this matrix tells you which way (and how far) to change any input if you want to go "up" or "down" in the output. Backpropogation is a way to optimise a neural network. You want to know how best to nudge the weights of the network to optimise some loss function, so what you do is compute the gradient (ie partial derivative) of that function with respect to each of the weights. This allows you to then tweak the weights of the function so your network gets better at whatever task you're trying to get it to learn. See [2] to understand how this works and and [3] to understand how this relates to the Jacobian, but generally if you're trying to go "downhill" in your loss function it's easy to see intuitively that knowing which way the function slopes (ie the effect of tweaking each of the weights) is important and that's what the Jacobian tells you. The inverse of a matrix[4] and its transpose[5] are two different operations in linear algebra. Transpose turns rows into columns and columns into rows and the inverse of a matrix is a little harder to grasp maybe without background, but you could think of multiplying one matrix by the inverse of another a