The Most Important Algorithm in Machine Learning

Sdílet
Vložit
  • čas přidán 8. 05. 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/

Komentáře • 253

  • @ArtemKirsanov
    @ArtemKirsanov  Před měsícem +12

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

    • @TNTsundar
      @TNTsundar Před měsícem

      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 Před měsícem +214

    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 Před měsícem +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 Před měsícem +1

      Love your videos

    • @michaelcharlesthearchangel
      @michaelcharlesthearchangel Před měsícem

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

  • @undertheshadow
    @undertheshadow Před 15 dny +18

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

  • @CuriousLad
    @CuriousLad Před měsícem +101

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

    • @George70220
      @George70220 Před měsícem

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

    • @balu6923
      @balu6923 Před měsícem +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 Před měsícem

      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

  • @vastabyss6496
    @vastabyss6496 Před měsícem +40

    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!

  • @user-cm5fj8qz8k
    @user-cm5fj8qz8k Před 27 dny +2

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

  • @matheusmendonca1332
    @matheusmendonca1332 Před měsícem +9

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

  • @AlexKelleyD
    @AlexKelleyD Před měsícem +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.

  • @shikhargairola5815
    @shikhargairola5815 Před měsícem +12

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

  • @pradhumnkanase8381
    @pradhumnkanase8381 Před měsícem +3

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

  • @black_crest
    @black_crest Před měsícem +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 Před měsícem +7

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

  • @gianlucanordio7200
    @gianlucanordio7200 Před 19 dny +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

  • @K9Megahertz
    @K9Megahertz Před měsícem +6

    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.

  • @Master_of_Chess_Shorts
    @Master_of_Chess_Shorts Před měsícem +1

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

  • @moralboundaries1
    @moralboundaries1 Před měsícem +5

    So clear and concise! Thank you for creating this.

  • @chilledpepsi
    @chilledpepsi Před 5 dny

    Hands down the best explanation there is to backprop

  • @cachegrk
    @cachegrk Před 23 dny +1

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

  • @Maverick99xx
    @Maverick99xx Před měsícem +1

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

  • @f_pie
    @f_pie Před měsícem +30

    This is the best ML explanation I have seen on YT

  • @user-dw8sz5mw3m
    @user-dw8sz5mw3m Před měsícem +1

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

  • @martonbalassa8128
    @martonbalassa8128 Před měsícem

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

  • @tonsetz
    @tonsetz Před měsícem +1

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

  • @brahmatejachilumula2668

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

  • @slk627
    @slk627 Před 22 dny

    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.

  • @aabiddd
    @aabiddd Před měsícem +1

    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 😌

  • @gersonrodriguez9005
    @gersonrodriguez9005 Před 10 dny

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

  • @ahumanperson3649
    @ahumanperson3649 Před měsícem

    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.

  • @TysonPower
    @TysonPower Před měsícem

    Always impressive! Looking forward to the second one.

  • @Ant3_14
    @Ant3_14 Před měsícem

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

  • @Anonymous-fr2op
    @Anonymous-fr2op Před měsícem +27

    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 Před měsícem

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

  • @ChPonsard
    @ChPonsard Před 29 dny

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

  • @XxIgnirFirexX
    @XxIgnirFirexX Před měsícem

    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 é.è

  • @kentjordan4658
    @kentjordan4658 Před měsícem

    Excellent visualization! Keep posting like this! 😃😃

  • @francescobranca653
    @francescobranca653 Před měsícem

    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!

  • @ac695
    @ac695 Před dnem

    Amazing video. Underrated channel.

  • @ks0ni
    @ks0ni Před měsícem

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

  • @chakravarthyelumalai8408
    @chakravarthyelumalai8408 Před měsícem +1

    A million dollar explanation. Thank you @Artem

  • @benmuller6103
    @benmuller6103 Před měsícem

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

  • @philipm3173
    @philipm3173 Před měsícem

    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.

  • @kamalacharya4608
    @kamalacharya4608 Před 15 dny

    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.

  • @winterknight1159
    @winterknight1159 Před 17 dny

    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!

  • @MaitreJedi19
    @MaitreJedi19 Před měsícem +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.

  • @gustavonaves6947
    @gustavonaves6947 Před 6 dny

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

  • @DB-nl9xw
    @DB-nl9xw Před 25 dny

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

  • @soniferous
    @soniferous Před 22 dny

    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!

  • @qoobes
    @qoobes Před měsícem

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

  • @shizzm1990
    @shizzm1990 Před měsícem +1

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

  • @michalhomola6810
    @michalhomola6810 Před 7 dny

    Absolutely brilliant

  • @OscarGGL
    @OscarGGL Před měsícem

    Artem back with another masterclass!

  • @y5mgisi
    @y5mgisi Před 20 dny

    Man this is such a great channel.

  • @pcwalid
    @pcwalid Před 24 dny

    Thank you for this excellent explanations !

  • @myelinsheathxd
    @myelinsheathxd Před měsícem

    Thank you for illustration!

  • @isaac10231
    @isaac10231 Před měsícem

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

  • @arvindnanjundaswamy2442
    @arvindnanjundaswamy2442 Před měsícem

    Outstanding explanation. Thanks

  • @mohanbhosale5890
    @mohanbhosale5890 Před 28 dny

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

  • @AA-gl1dr
    @AA-gl1dr Před 24 dny

    Thanks Artem

  • @fosowl
    @fosowl Před měsícem +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 :)

  • @MissPiggyM976
    @MissPiggyM976 Před 23 dny

    Wonderful video, many thanks!

  • @persevere1052
    @persevere1052 Před měsícem

    Fantastic explanation and animations!

  • @-mwolf
    @-mwolf Před měsícem

    Amazing explanation!

  • @TruthOfZ0
    @TruthOfZ0 Před 19 dny

    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!!

  • @GGGG_3333
    @GGGG_3333 Před 10 dny

    This was amazing and mind blowing 🤩

  • @atha5469
    @atha5469 Před 28 dny

    Phenomenal video

  • @asdasd-yr7wi
    @asdasd-yr7wi Před měsícem +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"

  • @mehranshafieecheyki156
    @mehranshafieecheyki156 Před měsícem

    I enjoy watching your videos, thank you .

  • @smmblog
    @smmblog Před měsícem

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

  • @kleytondacosta8228
    @kleytondacosta8228 Před měsícem

    Really nice work! Congrats.

  • @AaronNicholsonAI
    @AaronNicholsonAI Před 22 dny

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

  • @kaminenianirudh
    @kaminenianirudh Před měsícem

    Yo, I'm hyped for the next video

  • @671021748
    @671021748 Před 16 dny

    great explanation!

  • @jhutanda
    @jhutanda Před měsícem +1

    Thank you sir.

  • @MrMusk-it5nz
    @MrMusk-it5nz Před měsícem

    Amazing, enjoying very much!

  • @simonstrandgaard5503
    @simonstrandgaard5503 Před měsícem

    Excellent explanation

  • @poweredbysergey
    @poweredbysergey Před 4 dny

    Nice explanation!

  • @GeoffryGifari
    @GeoffryGifari Před měsícem

    Top notch visuals man

  • @hackerbrinelam5381
    @hackerbrinelam5381 Před měsícem

    The legend is back!

  • @ram-my6fl
    @ram-my6fl Před 22 dny +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

  • @kltr007
    @kltr007 Před měsícem +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!

  • @teamredstudio7012
    @teamredstudio7012 Před 18 dny

    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

  • @haritadepalli959
    @haritadepalli959 Před 12 dny

    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?

  • @pallasashta9129
    @pallasashta9129 Před 28 dny

    Nice colors in the equations ❤

  • @Sol-En
    @Sol-En Před měsícem +1

    Wow ! This is masterpiece

  • @somethingness
    @somethingness Před měsícem

    This is beautiful!

  • @sukursukur3617
    @sukursukur3617 Před 21 dnem

    That is a very good explanation

  • @tobias3581
    @tobias3581 Před 28 dny

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

  • @mith888
    @mith888 Před měsícem

    Красавчик! С меня подписка и лайк!

  • @user-fh7tg3gf5p
    @user-fh7tg3gf5p Před měsícem

    I have to subscribe to this great teacher.

  • @stratfanstl
    @stratfanstl Před měsícem +1

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

  • @mou8842
    @mou8842 Před 18 dny

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

  • @RolandoLopezNieto
    @RolandoLopezNieto Před dnem

    Great video sir, thanks. Please continue with more videos on AI.

  • @giordanosouza3722
    @giordanosouza3722 Před 29 dny

    Good Work, Congrats

  • @jacopo710
    @jacopo710 Před měsícem +1

    mind blowing

  • @_1jay
    @_1jay Před 21 dnem +2

    criminally underrated

  • @ShpanMan
    @ShpanMan Před měsícem +1

    I need the next video yesterday please!

  • @antonpashkov6366
    @antonpashkov6366 Před měsícem

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

  • @BeeStone-op1nc
    @BeeStone-op1nc Před měsícem

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

  • @6DAMMK9
    @6DAMMK9 Před měsícem

    Looking forward the part 2.
    This part may be very common, or basic, to deep learning, but the next part, especially the comparasion between biological and artificaial neural network, will be so great and draw insights from different perspective.
    I have watched almost all videos in this channel, and now I'm no longer suprised, and even confident to explain, why now AI-GC ("art"?) is a legit stuff and bring such an impact to media industry. It don't have "spirit", but it starts perform abstract tasks closer and closer to human, because they (we) are similar in some extant, and somewhat predictable.

  • @fallenangel8785
    @fallenangel8785 Před měsícem

    Astonishing !

  • @MultiMojo
    @MultiMojo Před měsícem +4

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