The Most Important Algorithm in Machine Learning

2024 ж. 11 Мам.
176 775 Рет қаралды

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/

Пікірлер
  • Join Shortform for awesome book guides and get 5 days of unlimited access! shortform.com/artem

    @ArtemKirsanov@ArtemKirsanovАй бұрын
    • 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

      @TNTsundar@TNTsundarАй бұрын
  • 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!

    @Mutual_Information@Mutual_InformationАй бұрын
    • You two are the best channels I have found in the SoME episodes. It's great to see this interaction between you guys.

      @33gbm@33gbmАй бұрын
    • Love your videos

      @dprophecyguy@dprophecyguyАй бұрын
    • If there is no mention of sine waves in neural networks then it won't be total.

      @michaelcharlesthearchangel@michaelcharlesthearchangelАй бұрын
  • "Wait, It's all derivatives?" "Always has been" Great work pal. Provides excellent clarity. Looking forward to the second part.

    @undertheshadow@undertheshadow18 күн бұрын
  • Funnily enough, the calculus portion of the video is probably one of the best explained I've seen

    @CuriousLad@CuriousLadАй бұрын
    • Why would that be 'funnily enough'? What a diss lmao.

      @George70220@George70220Ай бұрын
    • @@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!

      @balu6923@balu6923Ай бұрын
    • 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

      @veritas7010@veritas7010Ай бұрын
  • 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!

    @vastabyss6496@vastabyss6496Ай бұрын
  • Dude, this is the most beautiful ML video i've ever seen. Highly informative yes, but also beautifully made. Thank you for your work.

    @naveen_malla@naveen_malla2 күн бұрын
  • The world needs more of you bro

    @user-yb2sx4zz4y@user-yb2sx4zz4y18 сағат бұрын
  • By far the best ML explanation I have seen on internet.

    @matheusmendonca1332@matheusmendonca1332Ай бұрын
  • So clear and concise! Thank you for creating this.

    @moralboundaries1@moralboundaries1Ай бұрын
  • There could not have been a better explanation. Hats off to you

    @pradhumnkanase8381@pradhumnkanase8381Ай бұрын
  • This is the best ML explanation I have seen on YT

    @f_pie@f_pieАй бұрын
  • It’s probably the best explanation of backward propagation. Hats off to your hard work and saving this so valuable content.

    @shikhargairola5815@shikhargairola5815Ай бұрын
  • The visuals on this video is from another planet . So Good !!!!!!!!

    @ReighKnight@ReighKnightАй бұрын
  • This has to be the best explanation of the chain rule ever! Thanks

    @Master_of_Chess_Shorts@Master_of_Chess_ShortsАй бұрын
  • 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.

    @K9Megahertz@K9MegahertzАй бұрын
  • this's by far the most clearer explaination and simplification of backpropagation i have watched

    @user-cm5fj8qz8k@user-cm5fj8qz8kАй бұрын
  • 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.

    @AlexKelleyD@AlexKelleyDАй бұрын
  • 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

    @gianlucanordio7200@gianlucanordio720022 күн бұрын
    • you take notes?

      @marc_frank@marc_frank13 күн бұрын
  • This is incredibly well done and helped me visualize derivatives comprehensively. Thank you.

    @Maverick99xx@Maverick99xxАй бұрын
  • 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❤

    @Anonymous-fr2op@Anonymous-fr2opАй бұрын
    • He was calculating your backward step so you can make your next forward step (sorry, couldnt resist) XD

      @highchiller@highchillerАй бұрын
  • This is the best ever explanation I have seen. Thanks for taking the time and doing something extraordinary.

    @cachegrk@cachegrk26 күн бұрын
  • This just might be the most underrated video on Back Propagation that I've ever seen! I hope more people come across this

    @black_crest@black_crestАй бұрын
  • It's very very nice to see that are you updating.

    @user-dw8sz5mw3m@user-dw8sz5mw3mАй бұрын
  • He is back! Greetings from Brazil, we've all been waiting for this release!

    @tonsetz@tonsetzАй бұрын
  • 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.

    @slk627@slk62725 күн бұрын
  • 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 😌

    @aabiddd@aabidddАй бұрын
  • Beat graphical experience with a clear information, Really enjoyed throughout the video !!!

    @brahmatejachilumula2668@brahmatejachilumula266821 күн бұрын
  • Hands down the best explanation there is to backprop

    @chilledpepsi@chilledpepsi8 күн бұрын
  • This is the best youtube channel in my feed, and I have many.

    @martonbalassa8128@martonbalassa8128Ай бұрын
  • Always impressive! Looking forward to the second one.

    @TysonPower@TysonPowerАй бұрын
  • 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.

    @ahumanperson3649@ahumanperson3649Ай бұрын
  • Ya ví el video completo como 5 veces en estas semanas, este tema me fascina

    @gersonrodriguez9005@gersonrodriguez900513 күн бұрын
  • Wow, hats off to you! Can't even imagine how long it takes to make something like this

    @ks0ni@ks0niАй бұрын
  • Excellent visualization! Keep posting like this! 😃😃

    @kentjordan4658@kentjordan4658Ай бұрын
  • You are the best source of understanding computation that is biological and organic (all ml stuff), thank you.

    @Ant3_14@Ant3_14Ай бұрын
  • Excellent video, thank you. I'm already looking forward to the synaptic plasticity video!

    @ChPonsard@ChPonsardАй бұрын
  • 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!

    @francescobranca653@francescobranca653Ай бұрын
  • A million dollar explanation. Thank you @Artem

    @chakravarthyelumalai8408@chakravarthyelumalai8408Ай бұрын
  • 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 é.è

    @XxIgnirFirexX@XxIgnirFirexXАй бұрын
  • 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.

    @philipm3173@philipm3173Ай бұрын
  • Make more videos like this. I learned so much. Thank you for making this great videos.

    @DB-nl9xw@DB-nl9xw29 күн бұрын
  • Excellent explanation - I already understood this conceptually but this video gives a very good intuition for the repeated chain rule application

    @benmuller6103@benmuller6103Ай бұрын
  • Amazing video. Underrated channel.

    @ac695@ac6954 күн бұрын
  • I loved this content. You rock it! Congratulations! ❤

    @gustavonaves6947@gustavonaves694710 күн бұрын
  • 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!

    @winterknight1159@winterknight115920 күн бұрын
    • Thank you! That’s really nice to hear!

      @ArtemKirsanov@ArtemKirsanov8 күн бұрын
  • This is insane. I loved the video, keep it up!

    @qoobes@qoobesАй бұрын
  • 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!

    @kltr007@kltr007Ай бұрын
  • Artem back with another masterclass!

    @OscarGGL@OscarGGLАй бұрын
  • 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 :)

    @fosowl@fosowlАй бұрын
  • 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.

    @MaitreJedi19@MaitreJedi19Ай бұрын
  • Thank you for this excellent explanations !

    @pcwalid@pcwalid27 күн бұрын
  • Some people just want to see the world learning. Great Video Artem!

    @shizzm1990@shizzm1990Ай бұрын
  • 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"

    @asdasd-yr7wi@asdasd-yr7wiАй бұрын
  • 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.

    @kamalacharya4608@kamalacharya460818 күн бұрын
  • Man this is such a great channel.

    @y5mgisi@y5mgisi23 күн бұрын
  • omg, what an explanation. You legend, more power to you !!!

    @mohanbhosale5890@mohanbhosale5890Ай бұрын
  • I cannot imagine just how much effort and work this took to make.

    @isaac10231@isaac10231Ай бұрын
  • Outstanding explanation. Thanks

    @arvindnanjundaswamy2442@arvindnanjundaswamy2442Ай бұрын
  • Thank you for illustration!

    @myelinsheathxd@myelinsheathxdАй бұрын
  • 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!

    @soniferous@soniferous25 күн бұрын
  • I enjoy watching your videos, thank you .

    @mehranshafieecheyki156@mehranshafieecheyki156Ай бұрын
  • This is up there with 3Blue1Brown for mathematical explanation, animation quality and overall elegance. Well done.

    @stratfanstl@stratfanstlАй бұрын
  • Fantastic explanation and animations!

    @persevere1052@persevere1052Ай бұрын
  • This was amazing and mind blowing 🤩

    @GGGG_3333@GGGG_333313 күн бұрын
  • Amazing explanation!

    @-mwolf@-mwolfАй бұрын
  • Absolutely brilliant

    @michalhomola6810@michalhomola681010 күн бұрын
  • Wonderful video, many thanks!

    @MissPiggyM976@MissPiggyM97626 күн бұрын
  • Great job Artem

    @EDM179@EDM17910 сағат бұрын
  • 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

    @ram-my6fl@ram-my6fl25 күн бұрын
  • criminally underrated

    @_1jay@_1jay25 күн бұрын
  • Another gem of a video, well done Artem!! This channel deserves 1M+ subscribers, there's nothing else like it on KZhead.

    @MultiMojo@MultiMojoАй бұрын
  • Watching this video was like a breath of fresh air after some heavy math calculations! The visual explanations really helped solidify my understanding of backpropagation. I appreciate how clear and easy to follow the graphs were. Keep up the fantastic work! Can't wait for more graphic doses like this.

    @simaitools@simaitoolsАй бұрын
  • Really nice work! Congrats.

    @kleytondacosta8228@kleytondacosta8228Ай бұрын
  • 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

    @teamredstudio7012@teamredstudio701221 күн бұрын
  • What an amazing video. I hope one day they come up with some world prize for 'free education heroes'. 173k views for a video like this is simply disgusting. This guy deserves maybe 2 billion views. God damn it, that makes me mad.

    @danielgsfb@danielgsfbКүн бұрын
  • 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!!

    @TruthOfZ0@TruthOfZ022 күн бұрын
  • Wow. Wow. Wow. Thank you so much. This is instrumental for my study. Makes AI math a lot more approachable.

    @AaronNicholsonAI@AaronNicholsonAI25 күн бұрын
  • You're doing pure ML content now? Excellent! Always glad to see more of your work, looking forward to watching the beautiful manim visuals and clear explanations as usual.

    @TheForbiddenLOL@TheForbiddenLOLАй бұрын
    • thanks! ;) Yep! The channel so far has been a reflection of my research interests, and since i've joined an more computational theory neuro-AI lab, i figured more ML content with relevant topics of what i'm learning could be a nice addition

      @ArtemKirsanov@ArtemKirsanovАй бұрын
    • @@ArtemKirsanov the reason, why I am watching your videos, is exactly because of the fact you draw common traits and differences between biology (neuroscience) and ML/"models" of it. Thank you for these!

      @Amejonah@AmejonahАй бұрын
  • I think this video alone made all my Calculus I and II classes make sense now

    @mou8842@mou884221 күн бұрын
  • Как всегда великолепно!

    @smmblog@smmblogАй бұрын
  • Aha! I get it now. Impressive effort to explain, thanks

    @tobias3581@tobias3581Ай бұрын
  • Top notch visuals man

    @GeoffryGifari@GeoffryGifariАй бұрын
  • great explanation!

    @671021748@67102174819 күн бұрын
  • Amazing, enjoying very much!

    @MrMusk-it5nz@MrMusk-it5nzАй бұрын
  • Excellent explanation

    @simonstrandgaard5503@simonstrandgaard5503Ай бұрын
  • I swear I commented yesterday that I I really hope to see another one of your videos

    @BeeStone-op1nc@BeeStone-op1ncАй бұрын
  • Yo, I'm hyped for the next video

    @kaminenianirudh@kaminenianirudhАй бұрын
  • Wow ! This is masterpiece

    @Sol-En@Sol-EnАй бұрын
  • The legend is back!

    @hackerbrinelam5381@hackerbrinelam5381Ай бұрын
  • I need the next video yesterday please!

    @ShpanMan@ShpanManАй бұрын
  • I have to subscribe to this great teacher.

    @user-fh7tg3gf5p@user-fh7tg3gf5pАй бұрын
  • Phenomenal video

    @atha5469@atha5469Ай бұрын
  • Nice explanation!

    @poweredbysergey@poweredbysergey7 күн бұрын
  • As soon as I saw this video, I knew it was going to be the best of this kind on the Internet. And it was. Fantastic video!

    @delete7316@delete7316Ай бұрын
  • That is a very good explanation

    @sukursukur3617@sukursukur361724 күн бұрын
  • I'd love to see more videos relating to any relationships between artificial neural networks and biological neural networks

    @DudeWhoSaysDeez@DudeWhoSaysDeezАй бұрын
    • The only relationship is that ANNs store something and brain NN also store something. That's it. The analogy ends here. Everything else is completely different =)

      @egor.okhterov@egor.okhterovАй бұрын
  • Great job, as always! I'm glad you don't forget about this channel and about us, your fans ^_^

    @antonpashkov6366@antonpashkov6366Ай бұрын
  • Одно из лучших видео на данную тему. Спасибо!

    @2412danton@2412dantonАй бұрын
  • Thank you sir.

    @jhutanda@jhutandaАй бұрын
  • Thanks Artem

    @AA-gl1dr@AA-gl1dr27 күн бұрын
KZhead