HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

Backpropagation calculus | Deep Learning Chapter 4

3Blue1Brown3 HN recommenders · recommended in 2 months, 2017-2024
YouTube
4M views · 9 years ago · explainer · evergreen

3Blue1Brown's chapter 4 on deep learning gives a more formal, symbol-based account of backpropagation calculus, connecting the intuition from the previous chapter to the math found in textbooks and code.

Recommended as an accessible, visual way to understand backpropagation and neural networks.

Machine learning & deep learningRecreational & visual math#backpropagation#neuralnetworks#calculus#gradientdescent#3blue1brown

4 comments from Hacker News

@seanhunter2024 · in “What P vs. NP is about”

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

CitesView on HN
@melvinroest2020 · in “From scratch: reverse-mode automatic differentiation (in Python)”

I'm just an enthusiast. With that said, I think the author's first image image really captures the core of forward propagation and back propagation. For people who want to get more of a feel on autodiffing, I find these 2 sources amazing [1, 2]. They don't use the word autodiffing, but looking at it, I can see it's the same thing. I once made an attempt at animating feed forward propagation [3]. If I'd animate back propagation, I'd probably make an animation on autodiffing as well as that is the most intuitive way I know on how to explain back propagation right now. It's still on my big to do list ;-) [1] link [2] 3Blue1Brown does in episode 4 of his Deep Learning series: ▶ this video [3] link

RecommendsView on HN
@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 link link ▶ this video 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

RecommendsView on HN
@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 link link (Original video) ▶ this video

RecommendsView on HN
Backpropagation, intuitively | Deep Learning Chapter 312:47

Backpropagation, intuitively | Deep Learning Chapter 3

3Blue1Brown
6.4M views • 9 years ago
Gradient descent, how neural networks learn | Deep Learning Chapter 220:33

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

3Blue1Brown
9.7M views • 9 years ago
But what is a neural network? | Deep learning chapter 118:40

But what is a neural network? | Deep learning chapter 1

3Blue1Brown
25.1M views • 9 years ago
The Simple Essence of Automatic Differentiation - Conal Elliott1:30:45

The Simple Essence of Automatic Differentiation - Conal Elliott

Microsoft Research
17K views • 8 years ago
The spelled-out intro to neural networks and backpropagation: building micrograd2:25:52

The spelled-out intro to neural networks and backpropagation: building micrograd

Andrej Karpathy
4.4M views • 4 years ago
Neural Networks Demystified [Part 1: Data and Architecture]3:07

Neural Networks Demystified [Part 1: Data and Architecture]

Welch Labs
838K views • 12 years ago
The essence of calculus17:05

The essence of calculus

3Blue1Brown
11.9M views • 9 years ago
CS231n Winter 2016: Lecture1: Introduction and Historical Context1:19:08

CS231n Winter 2016: Lecture1: Introduction and Historical Context

Andrej Karpathy
462K views • 10 years ago
Vectors | Chapter 1, Essence of linear algebra9:52

Vectors | Chapter 1, Essence of linear algebra

3Blue1Brown
13M views • 10 years ago
CS480/680 Lecture 19: Attention and Transformer Networks1:22:38

CS480/680 Lecture 19: Attention and Transformer Networks

Pascal Poupart
374K views • 7 years ago
RL Course by David Silver - Lecture 1: Introduction to Reinforcement Learning1:28:13

RL Course by David Silver - Lecture 1: Introduction to Reinforcement Learning

Google DeepMind
1.9M views • 11 years ago
Lecture 1 | Machine Learning (Stanford)1:08:40

Lecture 1 | Machine Learning (Stanford)

Stanford
2.7M views • 18 years ago
Lecture 1 | Introduction to Convolutional Neural Networks for Visual Recognition57:57

Lecture 1 | Introduction to Convolutional Neural Networks for Visual Recognition

Stanford University School of Engineering
2.9M views • 9 years ago
Transformers, the tech behind LLMs | Deep Learning Chapter 527:14

Transformers, the tech behind LLMs | Deep Learning Chapter 5

3Blue1Brown
11.6M views • 2 years ago
Attention in transformers, step-by-step | Deep Learning Chapter 626:10

Attention in transformers, step-by-step | Deep Learning Chapter 6

3Blue1Brown
4.8M views • 2 years ago
Lecture 01 - The Learning Problem1:21:28

Lecture 01 - The Learning Problem

caltech
1.5M views • 14 years ago
Tensorflow and deep learning - without a PhD by Martin Görner2:35:53

Tensorflow and deep learning - without a PhD by Martin Görner

Devoxx
610K views • 10 years ago
AI Language Models & Transformers - Computerphile20:39

AI Language Models & Transformers - Computerphile

Computerphile
354K views • 7 years ago
GPT3: An Even Bigger Language Model - Computerphile25:57

GPT3: An Even Bigger Language Model - Computerphile

Computerphile
446K views • 6 years ago
Large Language Models from scratch8:25

Large Language Models from scratch

Graphics in 5 Minutes
375K views • 4 years ago