Gradient descent, how neural networks learn | Deep Learning Chapter 2

3Blue1Brown4 HN recommenders · 2017–2024
9.7M views · explainer · evergreen · Uploaded 2017-10-16

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.

Watch on YouTube

5 comments from Hacker News

@nouveaux2017 · in “What is backpropagation and what is it doing? [video]”

This was very timely for me and for anyone else learning, here are the first few videos of the series: [LINK] [VIDEO] [LINK] (Original video) [LINK]

RecommendsView on HN
@afarrell2017 · in “What is backpropagation and what is it doing? [video]”

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] [VIDEO]

@hal9000xp2017 · in “Ask HN: Best way to get started with AI?”

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] [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

Strongly recommendsView on HN
@miklosme2020 · in “Humans Not Invited”

If you want an extensive answer, I recommend the neural network playlist on 3Blue1Brown: [LINK] For a quick answer, watch this segment: [VIDEO]

RecommendsView on HN
@superkuh2024 · in “LLMs Aren't Thinking, They're Just Counting Votes”

> 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 [VIDEO] and "How might LLMs store facts" [LINK] versus how attention works [LINK]

RecommendsView on HN