The Most Important Algorithm in Machine Learning

Поділитися
Вставка
  • Опубліковано 1 тра 2024
  • Shortform link:
    shortform.com/artem
    In this video we will talk about backpropagation - an algorithm powering the entire field of machine learning and try to derive it from first principles.
    OUTLINE:
    00:00 Introduction
    01:28 Historical background
    02:50 Curve Fitting problem
    06:26 Random vs guided adjustments
    09:43 Derivatives
    14:34 Gradient Descent
    16:23 Higher dimensions
    21:36 Chain Rule Intuition
    27:01 Computational Graph and Autodiff
    36:24 Summary
    38:16 Shortform
    39:20 Outro
    USEFUL RESOURCES:
    Andrej Karpathy's playlist: • Neural Networks: Zero ...
    Jürgen Schmidhuber's blog on the history of backprop:
    people.idsia.ch/~juergen/who-...
    CREDITS:
    Icons by www.freepik.com/

КОМЕНТАРІ • 231

  • @ArtemKirsanov
    @ArtemKirsanov  Місяць тому +11

    Join Shortform for awesome book guides and get 5 days of unlimited access! shortform.com/artem

    • @TNTsundar
      @TNTsundar Місяць тому

      Can you talk about liquid neural networks? I’m interested to know if that’s a revolutionary work that deserves more recognition and following.
      arxiv.org/pdf/2006.04439.pdf

  • @Mutual_Information
    @Mutual_Information Місяць тому +202

    Back prop is a hard, heavy thing to explain, and this video does it extremely well. I mean, that section 'Computational Graph and Autodiff' might be the best explanation of that subject on the internet. I'm very impressed - well done!

    • @33gbm
      @33gbm Місяць тому +4

      You two are the best channels I have found in the SoME episodes. It's great to see this interaction between you guys.

    • @dprophecyguy
      @dprophecyguy Місяць тому +1

      Love your videos

    • @michaelcharlesthearchangel
      @michaelcharlesthearchangel 25 днів тому

      If there is no mention of sine waves in neural networks then it won't be total.

  • @CuriousLad
    @CuriousLad Місяць тому +95

    Funnily enough, the calculus portion of the video is probably one of the best explained I've seen

    • @George70220
      @George70220 Місяць тому

      Why would that be 'funnily enough'? What a diss lmao.

    • @balu6923
      @balu6923 29 днів тому +11

      @@George70220 I don't think CuriousLad meant it as a diss, it's just that when Artem made the video, he explained the Calculus section as a background information. The partial derivates and gradient descent wasn't the main topic of the vid, yet you could show this to Calculus I student and they would be thanking him for the explanation, even if they have not interest in learning back propagation! That's why funnily enough, while the intro Calc topics wasn't the main part of the video, that portion would be very helpful to anyone starting out int Calc!

    • @veritas7010
      @veritas7010 24 дні тому

      I dont agree for example the act of minimizing loss function and gradient descend were not properly linked there were just two pieces of information unprocessed dumped in series

  • @undertheshadow
    @undertheshadow 8 днів тому +6

    "Wait, It's all derivatives?"
    "Always has been"
    Great work pal. Provides excellent clarity.
    Looking forward to the second part.

  • @vastabyss6496
    @vastabyss6496 Місяць тому +38

    It makes sense that you would cover both computational neuroscience AND machine learning since they both play a significant role in AI research. The sort of content you're making is definitely 3Blue1Brown level. Keep up the good work!

  • @shikhargairola5815
    @shikhargairola5815 Місяць тому +12

    It’s probably the best explanation of backward propagation. Hats off to your hard work and saving this so valuable content.

  • @matheusmendonca1332
    @matheusmendonca1332 Місяць тому +7

    By far the best ML explanation I have seen on internet.

  • @gianlucanordio7200
    @gianlucanordio7200 12 днів тому +5

    I just have to say this goes way beyond the quality of the many chainrule videos I've seen so far. Good job man, you've got some impressive skills to keep me watching a math video and take notes past my usual bedtime

  • @f_pie
    @f_pie Місяць тому +30

    This is the best ML explanation I have seen on YT

  • @black_crest
    @black_crest 23 дні тому +4

    This just might be the most underrated video on Back Propagation that I've ever seen! I hope more people come across this

  • @ReighKnight
    @ReighKnight 25 днів тому +7

    The visuals on this video is from another planet . So Good !!!!!!!!

  • @asdasd-yr7wi
    @asdasd-yr7wi Місяць тому +17

    31 years now, had like 13 years of math in school and another 5 years at university, first time i really understood how derivatives work, bcs visualisation instead of "you calculate it this way and derive it that way, now memorize"

  • @Anonymous-fr2op
    @Anonymous-fr2op Місяць тому +26

    Damn, I was wondering where you've been since over half a year, whilst I was stuck in backpropagation😂 and here you came back like a true mind reader. Glad to see you back❤

    • @highchiller
      @highchiller 27 днів тому

      He was calculating your backward step so you can make your next forward step (sorry, couldnt resist) XD

  • @user-cm5fj8qz8k
    @user-cm5fj8qz8k 21 день тому +2

    this's by far the most clearer explaination and simplification of backpropagation i have watched

  • @pradhumnkanase8381
    @pradhumnkanase8381 24 дні тому +3

    There could not have been a better explanation. Hats off to you

  • @AlexKelleyD
    @AlexKelleyD 28 днів тому +3

    This is one of, if not the, best videos I’ve seen that throughly explains back propagation. It will definitely help me to be able to better explain the algorithm to others, so thank you for creating it.

  • @moralboundaries1
    @moralboundaries1 Місяць тому +5

    So clear and concise! Thank you for creating this.

  • @ram-my6fl
    @ram-my6fl 15 днів тому +2

    Most Comprehensive Explanation EVER
    my opinion : better than
    3b 1b, No offence to 3b 1b Hes great at it and one of the pioneers who did these kind kf visual explanations.
    But i like your explanation as it is slow paced & comprehensive

  • @Master_of_Chess_Shorts
    @Master_of_Chess_Shorts 26 днів тому +1

    This has to be the best explanation of the chain rule ever! Thanks

  • @Maverick99xx
    @Maverick99xx Місяць тому +1

    This is incredibly well done and helped me visualize derivatives comprehensively. Thank you.

  • @stratfanstl
    @stratfanstl 24 дні тому +1

    This is up there with 3Blue1Brown for mathematical explanation, animation quality and overall elegance. Well done.

  • @K9Megahertz
    @K9Megahertz Місяць тому +5

    This is a visual masterpiece! Well done!
    Much of this was a review for me as I took the time to go through all this last year. I did an implementation of the MNIST handwritten number neural network and had to learn all the calculus covered here to work out the backpropagation math. You really do have to dig in to it to get a good handle on it but it's fun stuff.

  • @tonsetz
    @tonsetz 25 днів тому +1

    He is back! Greetings from Brazil, we've all been waiting for this release!

  • @user-dw8sz5mw3m
    @user-dw8sz5mw3m Місяць тому +1

    It's very very nice to see that are you updating.

  • @cachegrk
    @cachegrk 17 днів тому +1

    This is the best ever explanation I have seen. Thanks for taking the time and doing something extraordinary.

  • @winterknight1159
    @winterknight1159 10 днів тому

    I have been doing ML research for a few years now but somehow I was drawn to this video. I am glad to say that it did not disappoint! You have done an amazing job, putting things in perspective and showing respect to calculus where it is due. We forget how a simple derivatives powers all of ML. Thank you for reminding that!

  • @martonbalassa8128
    @martonbalassa8128 28 днів тому

    This is the best youtube channel in my feed, and I have many.

  • @_1jay
    @_1jay 15 днів тому +2

    criminally underrated

  • @TysonPower
    @TysonPower Місяць тому

    Always impressive! Looking forward to the second one.

  • @kentjordan4658
    @kentjordan4658 Місяць тому

    Excellent visualization! Keep posting like this! 😃😃

  • @gersonrodriguez9005
    @gersonrodriguez9005 3 дні тому

    Ya ví el video completo como 5 veces en estas semanas, este tema me fascina

  • @MaitreJedi19
    @MaitreJedi19 28 днів тому +2

    Animation is great, but more and more people are doing it now. What make this special is the story, the complexity build-up is perfect and efficient. One needs a deep understanding of the subject and strong teaching skills to produce this.

  • @brahmatejachilumula2668
    @brahmatejachilumula2668 11 днів тому

    Beat graphical experience with a clear information, Really enjoyed throughout the video !!!

  • @ChPonsard
    @ChPonsard 22 дні тому

    Excellent video, thank you. I'm already looking forward to the synaptic plasticity video!

  • @ks0ni
    @ks0ni Місяць тому

    Wow, hats off to you! Can't even imagine how long it takes to make something like this

  • @slk627
    @slk627 15 днів тому

    thank you so much! The most clear explanation of the topic i've seen so far, amazing job! I wish i had this kind of videos during school education.

  • @myelinsheathxd
    @myelinsheathxd Місяць тому

    Thank you for illustration!

  • @BijouBakson
    @BijouBakson 23 дні тому +4

    Wow wow wow wow! From what I gather here, the key is in understandng ML predictions is that we are looking to fit the function f(x) = b + k1x + k2x^2 + k3^x^3 + k4x^4 + k5x^5. The machine just turns the dial until it finds the best fit using function such as mae or mse. So this is why ML needs so much GPU power then! I'm mind blown, in case you didn't notice the wows earlier. :) Thank you so much for this.

    • @AzzziRel
      @AzzziRel День тому

      Well, kind of. In ML in general we are not fitting that exact function. We can fit any function and those functions in real deep learning models are very complex.

  • @aabiddd
    @aabiddd 29 днів тому

    all these basic concepts such as derivatives, least square method, I'm learning it in my college. watching these kind of machine learning videos has made me understand the practical applications of these theoretical concepts a bit better now 😌

  • @TruthOfZ0
    @TruthOfZ0 12 днів тому

    i just made that in python for a simple quadratic equation.....THANK YOU !!!! i just learned python and machine learning !!!!!!!!!!
    Using desired y=0 i could also find one solution of the equation... wow i love this so much!!
    The only different i did was to make x the weight and not the coeficients which i wanted them to be fixed inputs
    What you helped me realise is that any system that can put in a computational graph like that 30:04 ...it can be embeded backpropagation regardles
    THANK YOU im out of words
    Also when the next loss is bigger or equal than the preview loss after one iteration... i divided the learning rate by a factor of 2 or 10 for more accuracy and if the next loss was smaller than the preview one i multiple the learning rate by a factor of 1.1 to 1.5 to speed up the proccess...thus having results in hundreds or even thousands less generations/iterations and less time consuming!!!!!
    I can use this for optimizing my desired outputs in any system !!! JUST WOW!!

  • @ahumanperson3649
    @ahumanperson3649 Місяць тому

    Great video! Very elegant explanation of back propagation, and I’m super excited to see the different mechanics of biological neural networks! Keep up the good work.

  • @XxIgnirFirexX
    @XxIgnirFirexX 28 днів тому

    I think I just found my favourite channel of all times.
    I've been on YT since 2011 and never had a crush for a YT channel before today é.è

  • @qoobes
    @qoobes Місяць тому

    This is insane. I loved the video, keep it up!

  • @chakravarthyelumalai8408
    @chakravarthyelumalai8408 27 днів тому +1

    A million dollar explanation. Thank you @Artem

  • @Ant3_14
    @Ant3_14 Місяць тому

    You are the best source of understanding computation that is biological and organic (all ml stuff), thank you.

  • @pcwalid
    @pcwalid 17 днів тому

    Thank you for this excellent explanations !

  • @OscarGGL
    @OscarGGL 28 днів тому

    Artem back with another masterclass!

  • @francescobranca653
    @francescobranca653 27 днів тому

    Very insightful video. Can't wait to see the second part. I would really love to see a video from you on spiking neural networks too!

  • @DB-nl9xw
    @DB-nl9xw 19 днів тому

    Make more videos like this. I learned so much. Thank you for making this great videos.

  • @michalhomola6810
    @michalhomola6810 18 годин тому

    Absolutely brilliant

  • @shizzm1990
    @shizzm1990 Місяць тому +1

    Some people just want to see the world learning. Great Video Artem!

  • @arvindnanjundaswamy2442
    @arvindnanjundaswamy2442 27 днів тому

    Outstanding explanation. Thanks

  • @benmuller6103
    @benmuller6103 27 днів тому

    Excellent explanation - I already understood this conceptually but this video gives a very good intuition for the repeated chain rule application

  • @y5mgisi
    @y5mgisi 13 днів тому

    Man this is such a great channel.

  • @gustavonaves6947
    @gustavonaves6947 6 годин тому

    I loved this content. You rock it! Congratulations! ❤

  • @isaac10231
    @isaac10231 29 днів тому

    I cannot imagine just how much effort and work this took to make.

  • @MissPiggyM976
    @MissPiggyM976 17 днів тому

    Wonderful video, many thanks!

  • @-mwolf
    @-mwolf Місяць тому

    Amazing explanation!

  • @philipm3173
    @philipm3173 28 днів тому

    This is just superb, thank you Artem! Timing couldn't be any better as the gradient descent algorithm was mentioned in Grahaene's "How We Learn" which I'm currently reading.

  • @persevere1052
    @persevere1052 Місяць тому

    Fantastic explanation and animations!

  • @mehranshafieecheyki156
    @mehranshafieecheyki156 24 дні тому

    I enjoy watching your videos, thank you .

  • @mohanbhosale5890
    @mohanbhosale5890 21 день тому

    omg, what an explanation. You legend, more power to you !!!

  • @GGGG_3333
    @GGGG_3333 3 дні тому

    This was amazing and mind blowing 🤩

  • @kamalacharya4608
    @kamalacharya4608 8 днів тому

    amazing video!!!!
    I am recently doing AI by Hand and was stuck on the back-propagation concept.
    It really help deepen my understanding of neural networks and back-propagation.

  • @kleytondacosta8228
    @kleytondacosta8228 Місяць тому

    Really nice work! Congrats.

  • @MrMusk-it5nz
    @MrMusk-it5nz 24 дні тому

    Amazing, enjoying very much!

  • @671021748
    @671021748 9 днів тому

    great explanation!

  • @teamredstudio7012
    @teamredstudio7012 11 днів тому

    this is the only thing I never understood, I hope to finally understan it. I's weird how this video gets recommended just as I wanted to google about backpropagation

  • @atha5469
    @atha5469 21 день тому

    Phenomenal video

  • @simonstrandgaard5503
    @simonstrandgaard5503 28 днів тому

    Excellent explanation

  • @kltr007
    @kltr007 Місяць тому +5

    This video explains the mathematical base of neural networks in a way I understood it the frist time enough to be able to explain it to somebody else. Thank You for that. I can't even imagine how much work you put into the animations. A master piece!

  • @fosowl
    @fosowl Місяць тому +2

    Glad to see ML related video from you ! As you have neuroscience background I would love to see some video that compare the current state of the art architecture work in ML with some of the inner working of the brain. For exemple if there are any structure in the brain with some ressemblance with GPT/transformers architecture, even thought the brain is light-years away I think that could be interesting :)

  • @GeoffryGifari
    @GeoffryGifari Місяць тому

    Top notch visuals man

  • @AA-gl1dr
    @AA-gl1dr 17 днів тому

    Thanks Artem

  • @kaminenianirudh
    @kaminenianirudh Місяць тому

    Yo, I'm hyped for the next video

  • @tobias3581
    @tobias3581 22 дні тому

    Aha! I get it now. Impressive effort to explain, thanks

  • @jhutanda
    @jhutanda 25 днів тому +1

    Thank you sir.

  • @mou8842
    @mou8842 11 днів тому

    I think this video alone made all my Calculus I and II classes make sense now

  • @sukursukur3617
    @sukursukur3617 14 днів тому

    That is a very good explanation

  • @MultiMojo
    @MultiMojo Місяць тому +4

    Another gem of a video, well done Artem!! This channel deserves 1M+ subscribers, there's nothing else like it on UA-cam.

  • @somethingness
    @somethingness Місяць тому

    This is beautiful!

  • @ShpanMan
    @ShpanMan Місяць тому +1

    I need the next video yesterday please!

  • @Sol-En
    @Sol-En Місяць тому +1

    Wow ! This is masterpiece

  • @hackerbrinelam5381
    @hackerbrinelam5381 Місяць тому

    The legend is back!

  • @soniferous
    @soniferous 15 днів тому

    Mindblowing. Just the video I was looking for. TBH, initially, I was a bit put off by your English as I am not a mothertongue myself. However, your knowledge, competence, hard work and research behind this video got me hooked. Liked and subscribed. And I will be watching this video many times.Well done!

  • @giordanosouza3722
    @giordanosouza3722 22 дні тому

    Good Work, Congrats

  • @berkinylm
    @berkinylm Місяць тому +1

    Most important people can know and teach at the same time

  • @shis10
    @shis10 Місяць тому +1

    Amazing video ❤

  • @Blooper1980
    @Blooper1980 21 день тому +1

    Das is very cool man! Thanks. :)

  • @user-fh7tg3gf5p
    @user-fh7tg3gf5p Місяць тому

    I have to subscribe to this great teacher.

  • @smmblog
    @smmblog Місяць тому

    Как всегда великолепно!

  • @kwiky5643
    @kwiky5643 12 днів тому

    When the stuff on UA-cam is better, more intuitive and better explained than in school 🤣

  • @AaronNicholsonAI
    @AaronNicholsonAI 16 днів тому

    Wow. Wow. Wow. Thank you so much. This is instrumental for my study. Makes AI math a lot more approachable.

  • @BeeStone-op1nc
    @BeeStone-op1nc Місяць тому

    I swear I commented yesterday that I I really hope to see another one of your videos

  • @user-qf2oo2ls6s
    @user-qf2oo2ls6s Місяць тому

    The back propagation topic definitely is important. Nevertheless, it’s a neural network’s implementation of a known from cybernetics feedback. A neural network’s simulation of source data, based of interpolation of the source data, with following extrapolation, is an equilibrium of a neural network. Such interpolation widely described in mathematics, for example, in method Monte Carlo.
    Thank you for considering this topic.

  • @antonpashkov6366
    @antonpashkov6366 Місяць тому

    Great job, as always! I'm glad you don't forget about this channel and about us, your fans ^_^

  • @agnarCS
    @agnarCS 29 днів тому

    Amazing !!

  • @haritadepalli959
    @haritadepalli959 6 днів тому

    Excellent presentation. You made it let from basic calculus, machine learning is just one simple step. What would be interesting is - what are the theoretical underpinnings of this method? When do we say learning is successful? What is the computational complexity of neural networks?

  • @RasberryPhi
    @RasberryPhi Місяць тому +1

    subscribed! I just loved it

  • @pallasashta9129
    @pallasashta9129 21 день тому

    Nice colors in the equations ❤