A friendly introduction to deep reinforcement learning, Q-networks and policy gradients

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2024
  • A video about reinforcement learning, Q-networks, and policy gradients, explained in a friendly tone with examples and figures.
    Introduction to neural networks: • A friendly introductio...
    Introduction: (0:00)
    Markov decision processes (MDP): (1:09)
    Rewards: (5:39)
    Discount factor: (8:51)
    Bellman equation: (10:48)
    Solving the Bellman equation: (12:43)
    Deterministic vs stochastic processes: (16:29)
    Neural networks: (19:15)
    Value neural networks: (21:44)
    Policy neural networks: (25:44)
    Training the policy neural network: (30:46)
    Conclusion: (34:53)
    Announcement: Book by Luis Serrano! Grokking Machine Learning. bit.ly/grokkingML
    40% discount code: serranoyt
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 146

  • @zentootv4687
    @zentootv4687 5 หลายเดือนก่อน +12

    Hands down, this explanation of reinforcement learning is like winning a dance-off against a robot-smooth, on point, and utterly unbeatable!

    • @SerranoAcademy
      @SerranoAcademy  5 หลายเดือนก่อน +1

      Thanks! Lol, I love it!

  • @reyhanehhashempour8522
    @reyhanehhashempour8522 2 ปีที่แล้ว +13

    Fantastic as always! Whenever I want to learn a new concept in AI, I always start with Luis's video(s) on that. Thank you so much, Luis!

  • @-xx-7674
    @-xx-7674 14 วันที่ผ่านมา

    This is probably the most friendliest video and still covering all important concepts of RL, thank you

  • @srinivasanbalan5903
    @srinivasanbalan5903 3 ปีที่แล้ว +1

    One of the best videos on RL algorithms. Kudos to Dr. Serrano.

  • @achyuthvishwamithra
    @achyuthvishwamithra 2 ปีที่แล้ว +4

    I feel super fortunate to have come across your channel. You are doing an incredible job! Just incredible!

  • @therockomanz
    @therockomanz 2 ปีที่แล้ว

    I'd like to thank the creators for this video. This is the best video to learn the basics of RL. Helped a lot in my learning path.

  • @wfth1696
    @wfth1696 2 ปีที่แล้ว

    One of the clearest explanations of the topic that I saw. Excellent!

  • @jeromeeusebius
    @jeromeeusebius 3 ปีที่แล้ว +2

    Luis, great video. Thanks for putting this together explaining the most important concepts and terms in Reinforcement Learning.

  • @colabpro2615
    @colabpro2615 3 ปีที่แล้ว +1

    you're one of the best teachers I have ever come across!

  • @riddhimanmoulick3407
    @riddhimanmoulick3407 7 หลายเดือนก่อน +2

    Thanks for such a great video! Your visual descriptions combined with your explanations really presented a wonderful conceptual understanding of Deep-RL fundamentals.

  • @geletamekonnen2323
    @geletamekonnen2323 2 ปีที่แล้ว +1

    I Can't pass Without appreciating this great great Lecture. Thanks Luis serrano. 😍

  • @renjithbaby
    @renjithbaby 3 ปีที่แล้ว +3

    This is the simplest explanation I have seen on RL! 😍

  • @shreyasdhotrad1097
    @shreyasdhotrad1097 3 ปีที่แล้ว +1

    Very intuitive as always.
    Expecting some more intuitions on semi supervised learning,energy models.
    Thank you so much sir!!🙏

  • @jjhj_
    @jjhj_ ปีที่แล้ว +11

    I've been bingewatching your "friendly intro to" series since yesterday and it has been amazing. I've worked with ML models as part of my studies and my work over the past two years, but even so, you've enriched my conceptual understanding by so much more than any of my professors could. Really appreciate your clever visualizations of what's going on "under the hood" of the ML/DL algo's. Great videos, awesome teacher!

    • @SerranoAcademy
      @SerranoAcademy  ปีที่แล้ว +1

      Thank you, so happy to hear you’re enjoying the series! :)

    • @user-cy2hk8bb3x
      @user-cy2hk8bb3x 9 หลายเดือนก่อน

      Yeah

    • @zhangeluo3947
      @zhangeluo3947 9 หลายเดือนก่อน

      Yes@@user-cy2hk8bb3x

  • @Andy-rq6rq
    @Andy-rq6rq 2 ปีที่แล้ว

    Amazing explanation! I was left confused after the MIT RL lecture but it finally made sense after watching this

  • @alsahlawi19
    @alsahlawi19 ปีที่แล้ว

    This by far the best video explaining DRL, many thanks!

  • @EshwarNorthEast
    @EshwarNorthEast 3 ปีที่แล้ว +7

    The wait ends! Thank you sir!

  • @LuisGonzalez-jx2qy
    @LuisGonzalez-jx2qy 3 ปีที่แล้ว +3

    Amazing work fellow Luis! Looking forward to more of your videos

  • @mariogalindoq
    @mariogalindoq 3 ปีที่แล้ว +2

    Luis: congratulations! Again a very good video, very well explained and with a beautiful presentation. Thank you.

  • @lebohangmbele283
    @lebohangmbele283 2 ปีที่แล้ว

    Wow. I can show this to my pre-school nephew and at the end of the video they will understand what RL is all about. Thanks.

  • @code_with_om
    @code_with_om ปีที่แล้ว

    After a day of searching I found a great explanation 😀😀 thank you so much

  • @overgeared
    @overgeared 3 ปีที่แล้ว

    excellente como siempre! thank you from an MSc AI student working on DQNs.

  • @pellythirteen5654
    @pellythirteen5654 2 ปีที่แล้ว +9

    Fantastic ! Having watched many teachings on this subject , your explanation really made things clear.
    Now my fingers are itching to try it out and write some Delphi code. I will start with your grid-world first , but if that works I want to write a chess-engine. I have already written a chess-program using the alfa-beta algoritme and it will be fun to compare it with a neural-network based.

  • @charanbirdi
    @charanbirdi ปีที่แล้ว

    Absolutely brilliant, specially Nural network and loss function explanation

  • @beltusnkwawir2908
    @beltusnkwawir2908 2 ปีที่แล้ว

    I love the analogy of the discount factor with the dollar depreciation

  • @saphirvolvianemfogo1717
    @saphirvolvianemfogo1717 2 ปีที่แล้ว

    Amazing explanation. Thank you, it gives me a good starting point on DRL

  • @NoNTr1v1aL
    @NoNTr1v1aL 2 ปีที่แล้ว +1

    Absolutely amazing video! You are my saviour!

  • @piyaamarapalamure5927
    @piyaamarapalamure5927 10 หลายเดือนก่อน

    This is the best tutorial so far for the Q learning .. Thank you so much 😍😍

  • @pandharpurkar_
    @pandharpurkar_ 3 ปีที่แล้ว +7

    Luis is master man of explaining complex things easily..!! thank you luis for such a great efforts

  • @nishanthplays195
    @nishanthplays195 2 ปีที่แล้ว +2

    No words sir! Finally found another great yt channel ✨

  • @yo-sato
    @yo-sato ปีที่แล้ว

    EXcellent tutorial. I have recommended this tutorial to my students.

  • @mutemoonshiner
    @mutemoonshiner ปีที่แล้ว

    Huge thanks , for a nice and lucid content.
    specially for how to train the network, loss function and how to create datasets.

  • @pedramhashemi5019
    @pedramhashemi5019 6 วันที่ผ่านมา

    A great introduction! thank you sincerely for this great gem!

  • @alexandermedina4950
    @alexandermedina4950 ปีที่แล้ว

    Great starting point for RL! Thank you.

  • @kr8432
    @kr8432 4 หลายเดือนก่อน +1

    I am not stupid but AI still does not come easy to me. Sometimes I wonder, besides having more slots in the working memory, how a genius or simply more intelligent people think about this subject so that it comes more naturally to them. I feel like this video was a very good insight on how easy such a complicated topic can appear, if you just have a very good intuitive understanding for abstract concepts. Very nicely done!

  • @flwi
    @flwi ปีที่แล้ว

    Wow - that was a very understandable explanation! Well done!

  • @shreyashnadage3459
    @shreyashnadage3459 3 ปีที่แล้ว +1

    Finally here it is....been waiting for this for ages! Thanks Luis! Regards from India

  • @miguelramos3424
    @miguelramos3424 ปีที่แล้ว

    it's the best video that I've seen about this topic, thanks.

  • @ahmedoreby2856
    @ahmedoreby2856 2 ปีที่แล้ว

    very good video with excellent elaboration for the equation thanks you very much for this

  • @emanuelfratrik1251
    @emanuelfratrik1251 2 ปีที่แล้ว

    Excellent explanation! Thank you!

  • @randomdotint4285
    @randomdotint4285 2 ปีที่แล้ว

    Oh my god. This was god level teaching. How I envy your real world students.

  • @eeerrrrzzz
    @eeerrrrzzz 2 ปีที่แล้ว

    This video is a gem. Thank you.

  • @francescserratosa3284
    @francescserratosa3284 2 ปีที่แล้ว +1

    Excellent video. Thank's a lot!!

  • @prakashselvakumar5867
    @prakashselvakumar5867 2 ปีที่แล้ว

    Very well explained! Thank you

  • @CrusadeVoyager
    @CrusadeVoyager 3 ปีที่แล้ว +1

    Nice vid with gr8 explanation on RL.

  • @Shaunmcdonogh-shaunsurfing
    @Shaunmcdonogh-shaunsurfing 2 ปีที่แล้ว

    Excellent video! Hoping for more on RL.

  • @karlbooklover
    @karlbooklover ปีที่แล้ว

    best explanation I've seen so far

  • @DrMukeshBangar
    @DrMukeshBangar 2 ปีที่แล้ว

    great video. easy explanation! thank you.

  • @adrianfiedler3520
    @adrianfiedler3520 2 ปีที่แล้ว

    Incredible video, I love the animations!

  • @debobabai
    @debobabai 2 ปีที่แล้ว

    Excellent explanation. I dont know why this video has so low views. It deserves Billion views.

  • @zeio-nara
    @zeio-nara 2 ปีที่แล้ว

    An excellent explanation, thank you

  • @faisaldj
    @faisaldj 2 ปีที่แล้ว

    I wish I had atleast my bachelors Math teacher like you but I would like to be like you for my students.

  • @zamin_graphy
    @zamin_graphy ปีที่แล้ว

    Fantastic explanation.

  • @william_8844
    @william_8844 10 หลายเดือนก่อน

    WTF!!!
    Like I am half way through and I am already blown by the way you explain content. This has been the best video so far explaining RF..... Wow. New sub❤❤😅

  • @infinitamo
    @infinitamo 2 ปีที่แล้ว

    You are a God-send. Thank you so much

  • @antonioriz
    @antonioriz 2 ปีที่แล้ว

    This is simply GREAT! I would love to follow more video on the issue of Reinforcement Learning. By the way I'm really enjoying your book Grokking Machine Learning, but I would like to know more on RL

  • @AlexisKM100
    @AlexisKM100 6 หลายเดือนก่อน

    God damn it, this explanation was just straightforward, I loved it, it helped me to clarify many doubts I had, thanks :D
    Just how every explanation should be, concise and with practical examples.

  • @mustafazuhair2830
    @mustafazuhair2830 2 ปีที่แล้ว

    You have made my day, thank you!

  • @scooby95219
    @scooby95219 2 ปีที่แล้ว

    great explanation. thank you!

  • @bjornnorenjobb
    @bjornnorenjobb 2 ปีที่แล้ว

    wow, extremely good video my friend! Big thanks!

  • @bostonlife8589
    @bostonlife8589 2 ปีที่แล้ว

    Fantastic explanation!

  • @sergeipetrov5572
    @sergeipetrov5572 3 ปีที่แล้ว

    Thank you so much! Very useful!

  • @banaiviktor6634
    @banaiviktor6634 2 ปีที่แล้ว

    Yes agree, no clear explanation on this topic apart from this video , thanks a lot, it is awesome ! :)

  • @sricinu
    @sricinu 2 ปีที่แล้ว

    Excellent explaination

  • @msantami
    @msantami 3 ปีที่แล้ว

    Thanks, great video. Bought the book!

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว

      Great to hear, thank you! I hope you like it!

  • @lucianoinso
    @lucianoinso 6 หลายเดือนก่อน

    Truly great video and explanation! Loved that you went deep (haha) into the details of the neural network, thanks!

    • @SerranoAcademy
      @SerranoAcademy  6 หลายเดือนก่อน

      Thanks! Lol, I see what you did there! :D

  • @ahmarhussain8720
    @ahmarhussain8720 ปีที่แล้ว

    amazing explanation

  • @paedrufernando2351
    @paedrufernando2351 3 ปีที่แล้ว +1

    cool...it took so long to drop this vid..I was earlier expecting RL videos from your site..but then I turned to Prof Oliver Siguad and completed RL there..Now I understand how DDPG works and internals of it..But I defintiley would want to see your take and perspective on this topic..So here I go again to watch this Video on RL ....

  • @paul-andrejacques2488
    @paul-andrejacques2488 2 ปีที่แล้ว

    Just Fantastic. Thank you

  • @svein2330
    @svein2330 3 ปีที่แล้ว

    This video is brilliant!

  • @AyaAya-fh2wx
    @AyaAya-fh2wx ปีที่แล้ว

    You are a genius!! Thank you!

  • @ZirTaaah
    @ZirTaaah ปีที่แล้ว

    best vids on the subject for suuuuuuuure im mad that i didnt see it earlier nice broo

  • @KathySierraVideo
    @KathySierraVideo 2 ปีที่แล้ว

    Thank-you for this 🙏

  • @Lukas-zl5zs
    @Lukas-zl5zs 2 ปีที่แล้ว

    amazing video, good work!

  • @roshanid6523
    @roshanid6523 3 ปีที่แล้ว +1

    Thanks for sharing

  • @TheOnlyAndreySotnikov
    @TheOnlyAndreySotnikov 9 หลายเดือนก่อน

    Great video!

  • @li-pingho1441
    @li-pingho1441 7 หลายเดือนก่อน

    this the best rl tutorial on internet

  • @honghaiz
    @honghaiz 6 หลายเดือนก่อน

    Nice presentation

  • @aliza207
    @aliza207 3 ปีที่แล้ว

    in love with your videos😍

  • @ahmedshamz
    @ahmedshamz หลายเดือนก่อน

    Thanks for these videos Luis. Are these from a course?

  • @wilmarariza9020
    @wilmarariza9020 3 ปีที่แล้ว

    Excellent! Luis.

  • @seraphiusNoctis
    @seraphiusNoctis 2 ปีที่แล้ว +2

    Loved the video, quick question on the policy network section, because something still seems a little “disjointed” in the sense that the roles for both networks do not seem to be clear - I might be missing something…
    I don’t understand why we would use a decreasing/recursive “gain” function instead of just using the value network for the purpose of establishing values for the policy. Instead, doesn’t the value network already build in feedback mechanism that would be well suited to this?

  • @brok4498
    @brok4498 2 ปีที่แล้ว

    great job!

  • @diwakerkumar5910
    @diwakerkumar5910 10 หลายเดือนก่อน +1

    Thanks 🙏

  • @AI_Financier
    @AI_Financier 2 ปีที่แล้ว +1

    Great video, a question: if i go for value network, do i still need the policy network too or vice versa? because by having only one of them, i can get to my target? thanks in advanced

  • @teetanrobotics5363
    @teetanrobotics5363 3 ปีที่แล้ว

    Amazing. Could you please make a course on RL and Deep RL?

  • @RobertLugg
    @RobertLugg ปีที่แล้ว +2

    You are one of the best teachers around. Thank you. What if the grid is different or the end goals change location? Do you need to start training over?

    • @SerranoAcademy
      @SerranoAcademy  ปีที่แล้ว +1

      Thank you! Great question, If the environment changes in general you do have to start again. However, there may be cases in which you can piggy back from having learned the game in a simpler situation, so it depends.

  • @AlexandriaLibraryGame
    @AlexandriaLibraryGame ปีที่แล้ว +1

    I don't understand how to train the NN at 34:09, what are the features and what is the label?

  • @ishwargowda
    @ishwargowda 2 ปีที่แล้ว

    This is perfect!!!

  • @ottodgs4031
    @ottodgs4031 4 หลายเดือนก่อน

    Very nice video! When you say that the label of the new dataset is a "big increase" or a "small decrease", what is that in practice? Just the gain?

  • @joselee5377
    @joselee5377 5 หลายเดือนก่อน

    i fucking move this video. oh my goodness... the level of satisfaction of understanding something that i struggled to grasp ;)

  • @kafaayari
    @kafaayari ปีที่แล้ว

    Great lecture Mr. Serrano, thx. But some parts are inconsistent and confusing. For example at 29:49, for the state (3,1) the best action is to move left and agent went left. However you try to decrease its probability during training as seen in the table. That doesn't make sense.

  • @studgaming6160
    @studgaming6160 ปีที่แล้ว

    Finally good video on RL

  • @baronvonbeandip
    @baronvonbeandip 5 หลายเดือนก่อน

    The title reminds me of how I got interested in learning Japanese: Namasensei would put out videos where he would get drunk and yell at you about a donkey saying 「あいうえお」and calling me a b*tch.
    That's when I knew the Japanese language community was my home.

  • @jaivratsingh9966
    @jaivratsingh9966 2 ปีที่แล้ว

    @Luis Serrano - thanks for this. Excellent!
    At 30:15 shouldnt (4,0) be -2 and hence (4,1) be -3 and so on.
    A Query on policy train: If you freeze video at 28:52, and look at the table. I see it as random walk where you end up to a reward location, and kind of infer the value (subtracting 1) from next value point and come up with 3,2,..-1. Why would you say the one should decrease
    p(->) for 0,0 ?
    At 0,0 (or any chosen node on simulated path), the moves always increase the value (better value state), then change should never be "decrease"). Also while training the net you dont use "Change". Then why are we discussing "Change" at all ?
    Shouldn't it be simply the probability of actual step each step to be higher than rest as it points to path leading to a reward?

  • @juanodonnell
    @juanodonnell 2 ปีที่แล้ว

    at 34:17 the shown result says that at point (3,1) with gain -3 and direction Left should be penalized and decrease the weight for that action but actually that is the most efficient movement at such point. How can we reconcile that?

  • @fabianrestrepo82
    @fabianrestrepo82 3 หลายเดือนก่อน

    Hello. In 22:40, after having used an initial random value of 0.2 for the state with coordinates 2,3, how did you find the value of the neighboring states (4.9, 3.2, 1.3, -2.7) the first time? was this also random ?

    • @SerranoAcademy
      @SerranoAcademy  2 หลายเดือนก่อน

      Great question! Yes these numbers I picked randomly. The point is that these may be values that a large neural network would output. And I tried to make them really wrong, so that we see that the neural network is not well trained, and we need to get a loss function that notices this.

  • @bluedade2100
    @bluedade2100 ปีที่แล้ว

    Hi, I am having a hard time understanding how in 29:49 we have change as decrease for the bottom 3 ones. For example 7th row with gain -2, it has as the change decrease but we actually increased by 1. Could someone elaborate on this?

  • @nothing21797
    @nothing21797 ปีที่แล้ว +1

    Wunderbar!!!

  • @elimelechschreiber6937
    @elimelechschreiber6937 2 ปีที่แล้ว +1

    Thank you.
    Question: In the last section you use the term 'gain' but actually use the 'value' function i believe. Shouldn't the gain be the the difference of the value (in your example, always positive 1 then)? The gained value associated with the given action?