Reinforcement Learning, by the Book

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 185

  • @mCoding
    @mCoding 2 роки тому +75

    Let's take a quick break -- immediate cut and continues to next section. Got me good :)

  • @gnorts_mr_alien
    @gnorts_mr_alien 7 місяців тому +22

    how are you so clear with your word choice, expressions and tone? it's like you're uploading into my brain directly. I'm spreading the word, you deserve to be an educational youtube superstar.

  • @polecat3
    @polecat3 Рік тому +12

    I found your plain English explanations of the equations particularly helpful. Thank you!

  • @pluviophilexing2580
    @pluviophilexing2580 2 роки тому +82

    You deserve a million followers

    • @grahamjoss4643
      @grahamjoss4643 Рік тому +3

      Agreed. Help spread the word.

    • @akshaygulabrao4423
      @akshaygulabrao4423 Рік тому

      the content is too specialized, this is like grad school level cs/stats, i doubt there are like a million of those

    • @terjeoseberg990
      @terjeoseberg990 Рік тому +4

      @@akshaygulabrao4423, Have you been to Google around lunchtime? I believe there might be a million of them right there.

    • @umairm.5662
      @umairm.5662 7 місяців тому

      He has some great intuitions. I am lucky to found him..

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

      Agreed

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

    For people looking at comments to see whether video is worth watching, it is, regardless of whether you are beginner or not

  • @igwechi
    @igwechi 2 місяці тому +2

    I like how parts of the material are introduced as answers to reasonable questions, this style of teaching resonates with me.

  • @matveyshishov
    @matveyshishov 9 місяців тому +3

    I'm doing a quick refresher, and I am loving your videos, thank you so much, you've clearly done a lot of hard work, both understanding and explaining in a structured and logical way, and it is beautiful!
    Also, if I may, I want to leave a note for those who are just starting, while I still remember the parts that caused me trouble years ago when I myself was learning this.
    Despite my great respect to Sutton, both the book and the historical development of RL have not been straightforward, both suffer from idiosyncrasies, ad-hoc solutions and sometime confusion.
    My advice to a student would be - it's not just you, it's the topic. Take a deep breath and DECOMPOSE what you are reading.
    Take, for example, the simplest formula in RL, `P(s',r|s,a)`. It often throws people off, because s',r is a joint distribution. Forget it for a moment, assume that P(r'|s') is deterministic (that's what many coding examples do), and you'll be left with a much clearer form `P(s'|s,a)`, with deterministic function `R(s)`.
    Another similar situation is the term "policy", and specifically policy being probabilistic. I would advise the first time a student reads the book to forget about this probabilistic nature of the policy. Having done that we have a much clearer implementation of the policy function, in fact, the standard coding interview dynamic programming question like knapsack problem, where we populate a memoization table. That table is nothing else than policy. And if we instead of storing it, we replace the table with a neural net, you got the idea..
    Having decomposed things this way, you'll see how everything downstream is going to be just this or that block augmented with one more variable or replaced with a neural net.
    For more advanced students, I'd strongly advise to look into optimal control, as it's like a "smarter big brother of RL", the environment is known, opening doors for proper math analytical solutions, you'll see RL better after visiting this parallel universe, and as a bonus - fall in love with Laplace transform.
    PS: "Dynamic programming" is a misnomer, there is nothing dynamic nor it is about the modern meaning of the word "programming" 🤦🏻‍♂ .

    • @kariminem
      @kariminem 8 місяців тому +1

      Thanks for the comment Mat! I am currently doing my masters in RL and I do get the concepts but the real problem is in the code itself, trying to implement it from scratch is like reinventing the wheel I should say, but I think this is an important step for me to actually understand the underlying concepts. Understanding concepts from books is something and implementing it is literally something ELSE.

  • @ansharihasanbasri
    @ansharihasanbasri Місяць тому +3

    omg i can't express how grateful i am for this. i particularly love your animations of how the game goes like one around 9:49. i can clearly see that your understanding of the concept is still really fresh in your mind and your 'beginner's perspective' (i.e. aware of what might be confusing to a beginner and thus preemptively address them) is fresh too. i also particularly love how you don't say things like 'i know these equations look hairy but let me explain' and instead just straight-off explain it bit by bit; i found the former approach, while somewhat validating a beginner's potential 'overwhelm', only 'exacerbate' it unnecessarily. that is, your showing an equation no matter how hairy and just tackle it step by step without 'complaining' somehow inspires us to do the same, if that makes sense. anyhow, again, huge appreciation for making this :D

  • @andrewwalker8985
    @andrewwalker8985 2 роки тому +40

    Absolutely phenomenal clarity in your explanation. A million thanks for producing this. I’m about to binge watch the series :-)

    • @Mutual_Information
      @Mutual_Information  2 роки тому +1

      Love it Andrew! Thank you!
      And if you know anyone else who is interested in RL, it would be huge for me if you shared it with them :)

    • @kiffeeify
      @kiffeeify Рік тому

      I can only agree! Very, VERY, very! nice!

  • @AnasHawasli
    @AnasHawasli 4 місяці тому +3

    dude you just uploaded the best RL explanation on the internet
    This is Gold thank you

  • @offensivearch
    @offensivearch Рік тому +2

    I highly recommend people here interested in RL study from Sutton and Barto. I own three RL books (including S&B) and 5-6 if you count books that include some RL methods but aren't entirely about it. S&B is honestly one of the best self-study textbooks I have encountered, it is a classic for a reason. It is much better and easier to learn RL from it than the other books I have (and indeed any source). S&B does a great job in building intuitons and motivations and it orders topics in the perfect order from start to finish (at least for parts I and II, I am less familiar with part III). MI's videos are great, but it is hard to grasp without reading S&B first. If you really want to understand this stuff, I highly recommend reading from S&B directly in addition to videos like these.

    • @Mutual_Information
      @Mutual_Information  Рік тому +2

      Agreed. There's no competing with the original source - it's a phenomenal text

  • @gorini
    @gorini Рік тому +2

    University of Alberta's Coursera course and Sutton & Barto's book hurt my ignorant self; but you ease some of the pain. Thank you.

  • @ryandaniels3258
    @ryandaniels3258 2 роки тому +18

    After the release of the AlphaTensor paper, this is a pretty timely video, and I wholeheartedly agree with your statement about RL becoming much more relevant outside the realms of simply solving games. Great start to the series, and I look forward to the rest.

  • @joehindley6185
    @joehindley6185 Рік тому

    This is phenomenal maths communication. better than anything I have received in my three year undergraduate degree

  • @khaliliskarous2225
    @khaliliskarous2225 Рік тому +3

    I really like how you go through a concrete episode. That makes the formalism come to life. Best into to RL I've gone through. Thanks!

    • @Mutual_Information
      @Mutual_Information  Рік тому

      Thanks - it's nice to hear from people who appreciate the same things I do

  • @tamirtsogbayar3912
    @tamirtsogbayar3912 Рік тому

    In order to learn Deep learning especially RL, I've been revising my algebta calculus for 2 months. extraordinairily, I found your channel

  • @intptointp
    @intptointp Рік тому +1

    17:00 Yes, it’s true that the assumptions about being able to reference a world state do not really apply.
    But I feel that essentially, this is a large part of what we learn when we develop a skill.
    Your memory and experience is a gradually developing world state. And thus, experts do repeatedly reference an internal world state as they conduct the task.
    The trained agent is like an experienced expert when we analogize this over to real life.

  • @munzutai
    @munzutai 11 місяців тому +1

    This video is criminally under-watched. It perfectly clears up the core taxonomy of RL that I was confused about up until now.

  • @nishanthshetty435
    @nishanthshetty435 2 роки тому +6

    At 05:24, I think $r \in \mathcal{R} \subseteq \mathbb{R}$ is more appropriate than $ r \in \mathcal{R} \in mathbb{R} $. Loved the video. Looking forward to watching the whole series.

    • @Mutual_Information
      @Mutual_Information  2 роки тому +2

      Ah yes.. that is a better.. silly mistake. Not quite a big enough error to warrant a re-upload, but I appreciate the note

  • @redoxepk
    @redoxepk Рік тому +1

    Really like how you break problems down to a low level, including spelling out explicitly what all the variables & their symbology mean. Ty!

    • @Mutual_Information
      @Mutual_Information  Рік тому +1

      Yea, that's where the confusion happens. I do it because it confuses me when people don't!

    • @connorkapooh2002
      @connorkapooh2002 Рік тому

      @@Mutual_Information you've also nailed the balance too. it's equally as tedious when people read out and overly explain

  • @coconut_camping
    @coconut_camping Рік тому +4

    My 3 yrs old son probably would understand what RL is by watching this video. The most clear and distinct video of RL I found on UA-cam so far. Thanks for sharing it!

  • @qqq33
    @qqq33 Рік тому +1

    I wish these videos were available when I started learning RL years ago. Nice work!

  • @JaishreeramCoder
    @JaishreeramCoder 3 місяці тому

    Every second of the video is pure gold.

  • @glitchAI
    @glitchAI Рік тому +2

    I don't comment on YT. but sir you are a great teacher. please keep going.

  • @tower1990
    @tower1990 Рік тому +4

    What a great lecture! I have been reading Sutton’s book, however the material is often dense and abstract. I like how you visualise the computation processes for us, it really helps understanding the concepts clearly.
    Thank you. Looking forward to the rest of the series.

    • @Mutual_Information
      @Mutual_Information  Рік тому +3

      When I was reading the book originally, I was trying to think of these processes in my head. I was sure many others were trying the same.. and that's a big motivator for this series

  • @Marceloruiz
    @Marceloruiz 2 роки тому +10

    I found your channel looking for RL, I started watching your videos and you are amazing, your explanations and examples are very clear, I hope you continue making many more videos!

  • @igwechi
    @igwechi 2 місяці тому +2

    This is beautiful work, I’ve watched the first video 3 times and each time I get an even deeper insight of subjects matter.
    Well done 👍

    • @Mutual_Information
      @Mutual_Information  2 місяці тому +2

      Thank you - I try to keep the info density high, but yea, that probably makes rewatching a little more necessary.

  • @BadiArt
    @BadiArt 9 місяців тому +1

    Handsoff the best explanation/teacher video I've seen in my entire life.
    well done !

  • @lawson1310
    @lawson1310 Рік тому

    Wow, one of the most explanatory videos on RL.

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

    best video with clear thought and precise words..

  • @dmitrideklerk5701
    @dmitrideklerk5701 5 місяців тому +1

    Thank you so much for this video series, and all the useful resources you make available. thank you thank you thank you.

    • @dmitrideklerk5701
      @dmitrideklerk5701 5 місяців тому

      You should create a course, I would buy it, you've given so much value in these free videos. And you have a gift for teaching and breaking things down.

  • @laotzunami
    @laotzunami 2 роки тому +2

    Reinforcement learning is so fascinating, I'm so looking forward to the next videos!

  • @hedgineering6547
    @hedgineering6547 Рік тому +2

    AWESOME VIDEO! Best I've seen on the topic BY FAR

  • @AlisonStuff
    @AlisonStuff 2 роки тому +1

    Ooooooooo look at these energetic edits and the new lighting! Very nice!!

  • @NicolasChanCSY
    @NicolasChanCSY 2 роки тому +3

    This is one of the best, if not the best, explanation I have seen!
    Can't wait to watch the upcoming videos in the series!

  • @slowloris4346
    @slowloris4346 Рік тому +1

    My goodness you are an amazing teacher, keep it up. I have read up to the end of chapter 3 in Sutton and Barto so far - and it was all a bit nebulous in my mind but these videos really helped collate my intuitions on the basics of the topic.

    • @Mutual_Information
      @Mutual_Information  Рік тому

      That's excellent to hear. You're exactly the audience I'm going for. Sometimes I wonder if these concepts are only clear as I write them, but not necessarily clear to the listener. So it's nice to know it lands.

  • @miriamshahidi7089
    @miriamshahidi7089 6 місяців тому +1

    Found this channel too late. This is an amazing overview. I said "extremely cool" exactly when the instructor did in the video, bonus points!! :D

  • @tobiasopsahl6163
    @tobiasopsahl6163 Рік тому +2

    Starting this series now, really looking forward to it! Your videos have been great so far.

  • @japedr
    @japedr 2 роки тому +6

    Thanks for making this, the educational value is miles ahead of most material you can find online.
    Just a nitpick, if you don't mind: at 5:15 the second ∈ should be ⊂ to denote subset (or ⊆, depending on the convention)

    • @Mutual_Information
      @Mutual_Information  2 роки тому +1

      Yea someone else pointed that out. Oops! Not quite a big enough deal to warrant a re-upload, but thanks anyway

    • @AlisonStuff
      @AlisonStuff 2 роки тому +1

      @@Mutual_Information I demand a re-upload.

    • @Mutual_Information
      @Mutual_Information  2 роки тому

      @@AlisonStuff lol I accept demands from anyone other than my sister

  • @ericvaish8841
    @ericvaish8841 3 місяці тому +1

    This is so good, you have convinced me to start learning RL.

    • @Mutual_Information
      @Mutual_Information  3 місяці тому

      And I'm still learning it (literally, at this very moment). Keep going - it's an interesting journey

    • @ericvaish8841
      @ericvaish8841 26 днів тому

      ​@@Mutual_Information Definitely will keep learning. All the best to you too in your learning journey!

  • @simonhradetzky7055
    @simonhradetzky7055 2 роки тому +1

    My Man! Right on time as my RL project in university is starting haha ty♥️

  • @dominichafliger4974
    @dominichafliger4974 7 місяців тому +1

    Props to you man!! This video was absolutely great and explains the topic so good. Thanks a lot and i hope i will understand the next video as easy as this one...

  • @azizjedidi1180
    @azizjedidi1180 Рік тому +2

    Thank you.

  • @123ming1231
    @123ming1231 2 роки тому +1

    it is amazing works !!!! Please keep publishing RL video, we r desperately to see it !!!!

    • @Mutual_Information
      @Mutual_Information  2 роки тому

      Ok I will! But I need a favor from you - tell EVERYONE! ;)

  • @iamlegend3964
    @iamlegend3964 4 місяці тому

    Very satisfying and simple explanations.

  • @alvinjamur1
    @alvinjamur1 Рік тому +1

    your channel deserves 10 million followers. very good content! ⚡️

  • @prithvidhyani2002
    @prithvidhyani2002 5 місяців тому

    wonderfully explained, had to watch it twice but I'm glad I did.

  • @phafid
    @phafid 2 роки тому +1

    I bought this book 2 months ago. I just couldn't understand it. something a bit off. you don't know how valuable your video is to give me the idea on what is the book trying to tell me. Thanks you! I am so excited to continue my learning.

    • @Mutual_Information
      @Mutual_Information  2 роки тому

      You are welcome! That's exact the circumstance I was trying to solve for :)

  • @AtulSain-d4d
    @AtulSain-d4d 6 місяців тому

    Finally, someone understand his audience.

  • @AllemandInstable
    @AllemandInstable 2 роки тому +2

    discovered your channel looking for Fisher Information explanations, and I can tell your channel's content is really good for overview and have nice explanations, and love that you mention that you need to get into books and maths to go in details
    love your content
    keep it up !

  • @rudolfromisch954
    @rudolfromisch954 2 роки тому +1

    Very nice introduction into this topic! I was just about to start in RL and i find this video extremely motivating

    • @Mutual_Information
      @Mutual_Information  2 роки тому +1

      The hope is to lower the cost of learning (from reading a textbook to watching a video) - sounds like it's work! Though, you should def still read the book lol

    • @rudolfromisch954
      @rudolfromisch954 2 роки тому

      @@Mutual_Information You are doing a great service. I know i know, i will read it haha

  • @MathVisualProofs
    @MathVisualProofs 2 роки тому +1

    Great video! Excited to see the rest of this series. Nice work!

  • @mirolator
    @mirolator Рік тому

    These videos are really quite good. I'm going through David Silver's course, then using your videos as a great review and reinforce my understanding. You really do a great job of identifying the concepts that noobs like me would have trouble with and then thoroughly explaining them. I also appreciate that there's no fluff, but lots of substance. Keep up the great work!

    • @Mutual_Information
      @Mutual_Information  Рік тому +1

      Thank you very much Miro - glad they're helping. David Silver's lectures have been a solid source for these videos. Also, Hado Van Hasselt's recent series is excellent. I've put in the time for animations and info-density, but those guys are the pros!

  • @des6309
    @des6309 2 роки тому +1

    Looking forward!!

  • @dashwudt8369
    @dashwudt8369 2 роки тому +1

    Big thanks for comeback!

  • @heyna88
    @heyna88 2 роки тому +1

    Always the best. I was looking forward to your next block of videos... and they didn't disappoint! :)

  • @finlandvickahe-ty2vu
    @finlandvickahe-ty2vu Рік тому +1

    I do hope you can keep this up when you become famous

  • @_tnk_
    @_tnk_ 2 роки тому +1

    amazing work, looking forward to all the parts

  • @marcin.sobocinski
    @marcin.sobocinski 2 роки тому +1

    Oh gosh, had no clue what you're talking about while watching the Fisher Information video...but that RL one is a pure gold! I read mentioned RL brick (e..g. book by Sutton and Barto) and I can hardly imagine better explanation and better summary of the MDP and RL general concept. I hope you can follow up with a Python code. If that's going to be as simple, concise, precise and informative as the video it will be wonderful. Thank you!

    • @Mutual_Information
      @Mutual_Information  2 роки тому

      Thank you! There is *some* Python code, but not that much. The Python code gets light usage, so I haven't invested in it very much.
      But! I do have a strong habit of answering questions here. So ask away if you have questions. And you can ask many - totally happy to get you to a place where you think you have a good grasp of the subject.

    • @marcin.sobocinski
      @marcin.sobocinski 2 роки тому

      @@Mutual_Information Sorry for a stupid question: what do you mean by "Python code gets light usage"? It's my English 🙁

    • @Mutual_Information
      @Mutual_Information  2 роки тому

      @@marcin.sobocinski ah sorry - i meant “in the past, people don’t use the Python code very much. So I haven’t spent a lot of time on Python code for these videos.”

  • @marcin.sobocinski
    @marcin.sobocinski 2 роки тому +1

    Dziękujemy.

  • @NoNTr1v1aL
    @NoNTr1v1aL Рік тому +5

    Absolutely amazing playlist! Also, at 5:11, calR is a subset of the real numbers; not an element of the real numbers.

    • @Mutual_Information
      @Mutual_Information  Рік тому +3

      ha yea you found it. That's a mistake, but too subtle to warrant a re-upload

  • @augustinlieber8157
    @augustinlieber8157 2 місяці тому

    Very clearly explained, thank you!

  • @devnachi
    @devnachi Рік тому +1

    Awesome Content, Clearly Explained🔥🔥

  • @hehehe5198
    @hehehe5198 5 місяців тому +1

    thanks man, this is very good and clear

  • @lenishpandey192
    @lenishpandey192 7 місяців тому +1

    Wow! Just beautiful.

  • @rogiervdw
    @rogiervdw 2 роки тому +2

    Terrific, very well explained and well paced. Minor typo: @16:02, where it says -16 it should say -14 (doesn’t affect the best policy but might avoid confusion of the careful observer)

    • @Mutual_Information
      @Mutual_Information  2 роки тому +2

      Ah damn, you're right.. man I really thought I checked the sh*t out of that. lol oh well. I've included a note in the description - thank you!

  • @karthikmurthy2511
    @karthikmurthy2511 Рік тому

    Thanks for this series.....@9:50, you nailed it.

  • @billy.n2813
    @billy.n2813 2 місяці тому +1

    Thank you very much for this

  • @mrnogood5326
    @mrnogood5326 10 місяців тому +1

    Thank you ! Very good video 👍

  • @cizbargahyt
    @cizbargahyt Рік тому +1

    This is so detailed. I love it! :)

  • @azaih
    @azaih Рік тому +1

    Thank you for your excellent content

  • @Laétudiante
    @Laétudiante 2 роки тому +1

    Truly great video!!!

  • @piero8284
    @piero8284 Рік тому +1

    Great content. The only thing that irritates me a lit bit and even in the book it does not develop so much is what the expectation value function exactly express mathematically, I mean, what is taking the expectation E_pi[G | s], as G can be an infinite sum of Rewards that depends on previous states and actions, for me this notation just express the concept in a high level way.

    • @Mutual_Information
      @Mutual_Information  Рік тому

      I know what you're referring to. E[] is an operator where you have to imagine an integration and the specifics of that integration are omitted, but they matter! Ultimately, you just get used to it..

  • @theHDfiremaster
    @theHDfiremaster 9 місяців тому +1

    Honestly, I really comment but this is an amazing video!

  • @НиколайНовичков-е1э

    Thank you!

  • @lukasbieberich1501
    @lukasbieberich1501 7 місяців тому

    Well explained! But in 13.40, in the episodic case when we have a time limit T I think the action and time value function are time (t) dependent, because here the number of expected rewards starting in state s really depends on how many possible rewards are left. So in this case t should be another variable in the functions name. Independence makes only sense for the infinite case I think

    • @lukasbieberich1501
      @lukasbieberich1501 7 місяців тому

      I thought about it and it also makes sense when T is the stopping time defined as the first t for which S_t enters a final state. But this is Not completely trivial i think. If T is some finite constant the value should be time dependent. Just in case anybody else stumbles across the same problem..

  • @yuktikaura
    @yuktikaura Рік тому +1

    Keep up the awesome work

  • @paulhofmann3798
    @paulhofmann3798 7 місяців тому

    Assuming that a process is Markov is not a strong assumption. All processes can be made Markov by including all relevant (past) variables/states in the state variables.

    • @Mutual_Information
      @Mutual_Information  7 місяців тому +1

      That's true in principle, but it's hard/impossible in practice for real world environments. E.g. markovian models are used alot for financial prediction, but no one has written down a state space that fully captures the history of the economy and stock market. If you just say the latent space *is* all historical observations, that's a huge state space, and so you're not getting anything out of the markov assumption.

  • @SphereofTime
    @SphereofTime 7 місяців тому

    1:00 5:18 r is from finite subset of real number

  • @grahamjoss4643
    @grahamjoss4643 Рік тому +1

    Keep pushing through. I bet your videos will hit big soon!
    So your videos Are very concrete and technical. do you have any video ideas for the big picture around reinforcement learning or other data science topics? Perhaps like how do you think like a data scientist or how do you foster creativity when working with a data set?

    • @Mutual_Information
      @Mutual_Information  Рік тому

      Fortunately I've become quite good at being patient with growth. I'm keeping my expectations quite reasonable.
      Regarding big picture stuff - I'd like to do advice pieces, but they aren't high in the queue currently. I'm eager to have some solid UA-cam wins under my belt before I speak very generally.. but I will one day. Maybe starting early next year.

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

    Thanks a million!

  • @ultimateblue4568
    @ultimateblue4568 15 днів тому +1

    it was great. thanks

  • @TimScarfe
    @TimScarfe 2 роки тому +1

    Great production value!!

  • @fedahussainmuzaffari1910
    @fedahussainmuzaffari1910 Рік тому +1

    Finally 🫡

  • @gustavojuantorena
    @gustavojuantorena 2 роки тому +1

    Wow. Really amazing topic.

    • @Mutual_Information
      @Mutual_Information  2 роки тому +1

      Thank you - yea it's quite a hot topic (though not as hot as it was 4 years ago).

  • @IgorAherne
    @IgorAherne 2 роки тому +2

    This is such a beautiful explanation. I spent several years getting my head around RL, q-learning, policy gradients, etc and have several "gaps" in my understanding. Your way of explaining is so much on point and yet simple to understand, - a mark of real knowledge. I'm looking forward to watching these lessons. Thank you!
    PS. came here from Yannic Kilcher :) ua-cam.com/video/r8wiBA3ZaQE/v-deo.html

    • @Mutual_Information
      @Mutual_Information  2 роки тому

      Glad you enjoyed it Igor ! Yea, Yannic's shoutout was a nice boost :)

  • @ba_ababa
    @ba_ababa 19 днів тому

    Would be keen to hear your updated thoughts on RL in 2025

  • @user-wr4yl7tx3w
    @user-wr4yl7tx3w 2 роки тому +1

    Awesome!

  • @iamr0b0tx
    @iamr0b0tx 2 роки тому +1

    Thanks!

  • @rockapedra1130
    @rockapedra1130 6 місяців тому +1

    Thanks!

  • @alexanderskusnov5119
    @alexanderskusnov5119 Рік тому +1

    How about using RL instead of PID regulation? (like adaptive control)

    • @Mutual_Information
      @Mutual_Information  Рік тому

      Before I make that comparison, I'd do a quick video on PID controllers. It would be harder to discuss using RL *instead* of PID because I'm not familiar with any data/papers which discuss what happens when that migration happens.
      But PID controls themselves are quite cool. Very simple and very effective tools. Now I want to do that video.. hmm

  • @patrickorone1149
    @patrickorone1149 Рік тому +1

    I already subscribed

  • @santielewaut
    @santielewaut 2 роки тому +1

    Excellent series, but i do need to get that wallpaper haha

    • @Mutual_Information
      @Mutual_Information  2 роки тому

      Here you go: github.com/Duane321/mutual_information/blob/main/computer_background/background.png

  • @Mewgu_studio
    @Mewgu_studio Рік тому +1

    6:27 Anyone knows the use case to understand Policy-pi as a probability distribution? In RL, most case I encountered, policy-pi is a specific choice of action. Thanks in advance.

    • @Mutual_Information
      @Mutual_Information  Рік тому +1

      There are some problems where the optimal strategy is not deterministic. The book gives a toy example (I think in the policy gradient chapter). Outside of that, I could image poker being an environment where it pays to be genuinely randomly at points.

    • @Mewgu_studio
      @Mewgu_studio Рік тому

      @@Mutual_Information Thanks so much for the response, never expected to get a response from the man himself, never mind this fast... :D Thanks for the clarification.

  • @definitelynorandomvideos24
    @definitelynorandomvideos24 Рік тому +1

    Great Intro! I ended up with a small question though: At 8:16 you present the formula of the return with the steps of the summation being k=t+1, while t should be an element of (let's just say it like that for the sake of this question) whole number {0,1,2,...}. Now, would that mean that k=0 in all cases? Thereby reducing gamma to 1, since it's always calculated to the power of 0?
    E.g.: t=5, k=5+1=6, gamma^(6-5-1)=1
    Hope I didn't experess myself to confusingly...

    • @Mutual_Information
      @Mutual_Information  Рік тому +2

      G_t is the sum of future rewards at time t. So if there are 4 periods in an episode and the reward is always 1.2, then e.g. G_1 = gamma^(2-1-1)*1.2 + gamma^(3-1-1)*1.2 + gamma^(4-1-1)*1.2. In other words, k changes from 2 to 3 to 4 in the exponent of gamma and t is fixed over the sum, so gamma isn't always a fixed power
      Does that answer your Q?

    • @definitelynorandomvideos24
      @definitelynorandomvideos24 Рік тому

      @@Mutual_Information yes, thank you very much. I didn't watch the full video yet, cause I looked at it in my lunch break and time was up, but I'll make sure to watch the rest today. Thanks a lot for the swift response!

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

    I loved your video. Can you explain what you use to create the animations and for you sync the video and animations together?

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

      I use the python plotting library Altair, and then I wrote a library to turn those into videos. The syncing is done with blood, sweat and tears. I don't recommend it! I actually need to figure out how to make these videos easier to produce. It's a huge time sink aligning and timing everything.

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

      @@Mutual_Informationare out able to create these manim style avg animations using Altair? I really want to know

  • @TuemmlerTanne11
    @TuemmlerTanne11 2 роки тому

    Are you still working at Lyft full-time? Can't imagine how much work goes into these videos... no way you are able to do this in your free time?! Anyways, happy to see new videos from you, keep it up :)

    • @Mutual_Information
      @Mutual_Information  2 роки тому

      Ha thank you - yea I have a full time job. That’s why I hadn’t posted all year - it does take time!

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

    technology iz awesomeeeeeeee

  • @CielMC
    @CielMC 7 днів тому +1

    Might be splitting hairs, but shouldnt 5:20's relationship between R and the Reals be "subset of" instead of "element of"?

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

      Oh yes, good catch. I attempt to be rigorous, but something always falls through the cracks.

  • @Torqable
    @Torqable Рік тому +1

    if the results for each action are random, they are meaningless and how could you possibly learn anything?

    • @Mutual_Information
      @Mutual_Information  Рік тому

      They have a random component, but they aren't completely random. If I say action A gives you a 100 dollars plus or minus 10 dollars with equal probability and action B gives you 20 dollars plus or minus 2 dollars with equal probability, which would you prefer? Both outcomes are random, but one is clearly better.

    • @Torqable
      @Torqable Рік тому

      @@Mutual_Information but in your example the action has nothing to do with the reward that is received, it's completely random. There is no $100 or $20 comparison to be made, the rewards are all -1, 0, 1, and chosen at random regardless of what action is taken.

    • @Mutual_Information
      @Mutual_Information  Рік тому

      @@Torqable Oh i see. In that example, I'm just trying to show the mechanics of the interaction between the policy and environment. But there are some slight differences. The up action makes 1 a bit more likely than -1 as compared to the down action.

    • @Torqable
      @Torqable Рік тому

      @@Mutual_Information well I'm very new to this so apologies if I'm just not getting it. But I thought the probabilities were supposed to be a sort of confidence in receiving a reward vs a penalty and therefore used to select an action, not used to select a reward after an action is taken. Is that incorrect? Also I know it's just an example but wouldn't down sometimes be correct? Am I over-thinking it?

    • @Mutual_Information
      @Mutual_Information  Рік тому

      @@Torqable I don't think you're over thinking it. It's not an easy subject. What you're thinking about is the quality of the policy, and this is just a very weak policy.. and so it looks like nothing is happening. But that's something specific to this case. I'd just continue to consider example and eventually, it'll make sense. In other words, it's hard to form a full view with just this example.