Jensen's Inequality

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

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

  • @willbutplural
    @willbutplural ปีที่แล้ว +21

    You just simply explained a complex topic that I spent 3 hours on reading a textbook into 10-minute video. Your ability to condense and concisely explain these topics in your videos have been phenomenal. Great job!

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

    Great intuition, great visualizations! Mathematicians will also say that you need to assume that X is integrable in order for Jensen's inequality to hold. Jensen also has far reaching consequences in theoretical probability, and even analysis in general. Can't wait for more!

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

      This means a lot getting your comment here. Much appreciated!
      And yes! There are unfortunately rigor qualifications that I omit to keep the vid light. In the case of integrability, I hadn’t thought of that, so thanks for pointing it out :)

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

    Thanks for the intuition-nurturing graphics. Very helpful!

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

    You have no idea how often your explanations blow my mind. It is an "aha" moment every single time, a concept clicks so well! Please keep up this amazing work.

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

      THank you and I will! I got something big in the works :)

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

      @@Mutual_Information Do you plan on doing one for EM derivation of GMMs?

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

      @@karanshah1698 EM yes, GMMs, yes eventually. Using them together?? No I didn’t think of that, hm

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

    You sure have a gift for teaching ! Plus, what a slick production . It takes a lot of hard work and skill to make something look as simple and obvious as you do. Awesome.

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

    Intuition is indeed what helps at least me to understand (not just short-term memory) a concept, great work, thank you!

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

      Human transforms short-term memory to long-term memory by understanding and prediction.

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

    Congrats on the launch of your channel and first video, DJ! This was awesome!

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

    Very interesting. Keep ‘em coming DJ!

  • @chanaka7518
    @chanaka7518 7 หลายเดือนก่อน +1

    Wow. The way you simplified the concept. I was amazed.😍

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

    I was curious about Jensen’s inequality, having seen it in the context of EM. You did a great job of providing even more context and explaining the intuition. The animation makes it so easy to understand why it is true. Simply outstanding. This is hands-down the best video I’ve seen on the subject. Thank you! Just subscribed.

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

      Thanks - great to have you! This was my first vid. I've gotten a lot of useful feedback since, but glad this one still lands

  • @ГримМорген
    @ГримМорген 3 ปีที่แล้ว +4

    Great explanation, I am at the process of figuring out the cross-entropy and you video helped me with Jensen inequality concept! Keep it up!

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

    Great video, hopefully there is a followup videos on how Jensen's Inequality becomes the important part of EM, KLDiv and so on.

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

      Yes! The EM algorithm will be covered, but later this year. If you're curious immediately, I linked to some sources in the description where Jensen's Inequality is used. In Cover's book, there is a section "Jensen's Inequality and Its Consequences" which show how foundational it is for Information Theory.

  • @PolyRocketMatt
    @PolyRocketMatt 11 หลายเดือนก่อน +1

    Probably one of the most underrated inequalities... Shows up everywhere (mostly Machine-Learning these days, but I also encountered this in neutron transport and rendering of images)

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

    Doing information theory at uni right now. This video gave me an intuitive understanding for why the inequality holds. Cheers

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

    Huh.. it clicked in like 3 seconds after seeing the comparison with line. And why it's true is so obvious now. Amazing. Thanks.

  • @jarvis-yu
    @jarvis-yu 9 หลายเดือนก่อน

    Nice animation making things a lot more intuitive, thanks.

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

    Nicely and Intuitively explained! Thanks

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

    As a tired econometrics student with a dull lecturer, this helped a bunch, thanks

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

    very clear explanation with high energy .. I like it

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

      lol old video will lots of energy.. I've chilled out a bit since, but thank you

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

    You are awesome. I have been binge watching your videos.🖖

  • @jmbrjmbr2397
    @jmbrjmbr2397 8 หลายเดือนก่อน +1

    Your channel looks great, thanks!

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

    Great Video ...Thanks for the efforts you put in these Videos ..🙂

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

    This was an awesome explanation. Thank you! Out of curiosity, how did you make the animation? By the way, that was also really well made!

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

      Hey thanks and to answer your question, I stick together a bunch of graphs made in Altair using a personal library. Altair is very nice plotting library

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

      Looks like he is using manim made by 3blue1brown

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

    Thank you very much for this wonderful presentation. A lot of effort must have gone into getting an animation that feels intuitive.

  • @Iris-g9u
    @Iris-g9u ปีที่แล้ว +1

    Great visualization, thank you very much for your effort to break it down so well!!! :)

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

    Thanks for such great visuals

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

    Very clear explanation. Keep up the good work

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

    Great visualisation, really good job! Thank you very much!

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

    Very good explanation without keeping it complicated, thanks a lot/

  • @debatirthadeb6632
    @debatirthadeb6632 9 หลายเดือนก่อน +1

    Great explanation. Instead ofaverageg, its better to think of weighted average; this will easily convey the idea of the formal definition of convex function : )

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

    Thanks. Very interesting. I listend to a talk from Nassim Taleb where he talked about the Jensen’s Inequality.

  • @connor-shorten
    @connor-shorten 3 ปีที่แล้ว +4

    Awesome video!

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

    nice quality and explanation, really helped me out

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

    You deserve more likes!

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

    Awesome video! Really easy to follow

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

    Great video! Thanks for sharing your knowledge!

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

    You basically took an esoteric formula and explained it in a stupid-people friendly way. Thank you

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

      There's no need to put yourself down in such a way. You can be thankful for the content this guy is putting out on YT by liking, subscribing and hitting the share buttom...stop dragging yourself over the coals.

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

    Amazing video! Subscribed.

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

    Excelent explanation indeed!

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

    Perfect presentation, thank you!!

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

    You are awesome...this explanation is so cool.

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

    This was awesome! Could you make a video about where this is applied? you talked about how it effects ML but could you show an example? Thank you!
    btw the algorithm showed me this video so hopefully ur on the rise! Honored to be this early

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

      Yea I’ll do a video on the EM algorithm, where this shows up. Also, variational inference, eventually.
      And I’m happy to hear that! I hope you’re right but we’ll see.

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

    incredibly clear and helpful! thx a lot

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

    Nice visualization!

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

    Great explanation!

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

    Feels great with some visual input. I just realised that I need to go through a few examples just to prove it to myself....

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

    I loved this concept ❤❤!!

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

    Liked and commented. Thank you and more please!

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

    This is so good. Thankyou.😊

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

    Brilliant explanation!

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

    Can you upload some content about estimation maximization with mixed poisson?

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

      Hm, sorry but that's unlikely. It's just too specific. The topics I've picked are already fairly niche. If I go into a very specific subtopic, it'll appeal to very few folks (unless there is something particularly fascinating about it)

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

    Just found your channel through your comment on 3b1b's video, very nice explanation. Btw, is the opposite inequality true for concave functions?

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

      Glad you’re here! His channel is a huge inspiration.
      And yep, concave functions you get the opposite. The neg of a convex I’d a concave function and that deserves the inequality.

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

    Gem of a video...

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

    Thanks...you've explained it clearly

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

    great vid! but it would be even better if you can show the formal proof and connect it with the visualization u showed

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

    Then for concave function, I expect 'greater than equal to', instead if less than equal to.

  • @r.hazeleger7193
    @r.hazeleger7193 6 หลายเดือนก่อน

    Great vid bruv

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

    3:19 in and I get it. Thanks!

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

    Cool inequality! If we take f(x) = x² then this inequality tells us that for any real a, b: a² + 2ab + b²

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

    This is relevant to extractor theory used in cryptography (usually as min-entropy, not the Shannon entropy you assume here) - how does your function change the entropy per bit of the input data?

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

    Amazing! Thank you very much!

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

    Thank you for great explanation :)

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

    GREAT VISUALISATION TY

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

    great channel

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

    Love the videos!

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

    most OP explanation of all time. My intuition so far had came from showing it w the definition of convexity, This was awesome, relating it to N sampling was the key. Learning Online Convex Opt, any tips :p prof is planning 50% avg midterm

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

    If you have a concave function, does the inequality sign just get flipped?
    Thank you very much for the content!

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

    So what would happen if the space of points below(!) the function is convex? Will we get the different inequality?

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

      Yep, then that would be a concave function and the inequality would be reversed. A pretty common example of that is the log(x) function.

  • @WilliamDye-willdye
    @WilliamDye-willdye 3 ปีที่แล้ว +7

    Heh. 4:55 "what mathematicians will ask, and engineers probably won't, is 'why?'." That definitely matches my own experience.

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

    What software did you use for this cool moving graph thingy??

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

    Awesome! So ... given a random variable X I can use Jensen's inequality to estimate the local curvature of a function 'f' ?

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

    Is it possible you could made a video on Variational Inference and the intuition on the loss function?

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

    Holyshit, this is a great video!

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

    I never understood why this inequality was true or what it really meant the first time I saw it, and my engineering prof said don't worry about the intuition just know how to use it (bleh), but TH-cam somehow knew to suggest this to me months later! Thanks for the clear explanation

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

    Would you explain the Variational Inference technique? I found it hard to learn it by myself😭

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

    Very Very nice!

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

    Thank you for this..

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

      For sure - If you'd like, you can do me a solid and anyone into ML/stats about the channel :)

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

    My friend you are amazing like really i feel bad how much time i wast in trying underatand it when you explain it amaizing in 5 minute
    Can you also make video on vae and variational inference elbo and all that?
    Please it is really topic which hard for a lot of people and look like it exactly in your domain
    Please

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

      Thanks! And I do have plans to make a video on variational inference but it may take awhile. There are a few videos in front of it. But it’s coming!

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

    Hey, nice video. I though we would see the
    f((a+b)/2)

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

    Thanks !

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

    Thank You boss

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

    Can't thankyou enough!

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

    Subscribed

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

    I wish I had friends like you! What's on the bookshelf? =)
    The intuition follows immediately from grokking the idea of convex functions!
    Some of the coolest tricks in mathematics come from manipulation of inequalities. There's a brilliant little maths book named "The Cauchy-Schwarz Master Class" which I recommend for anyone wanting to master these dark arcana.
    Sometimes, like in this case, an animation is just unbeatable, however!

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

      Thank you! I’ve heard that book recommended a few times but have never checked it out. I’ll order it!

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

    I don't like the chosen function for the visualization because it is everywhere increasing. From this video i m not convinced that this reasoning would be valid for say a parabola segment.

  • @Fat_Fit-ls3hx
    @Fat_Fit-ls3hx 3 หลายเดือนก่อน

    Information theory couldn't exist without Jensen's inequality? Why?

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

    The visual explanation is excellent. However, it might seem that it does not hold if one picks a convex function that is below the straight line. For completeness, it is worth remarking that the equality holds for any straight line. Because of this, for all convex functions f(x) there is always a straight line ax+b for which f(x)>=ax+b for all x. (Namely, the line you pick has to be the tangent of the convex function at E[X]).

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

      My question was not answered by the author, maybe you can help me. My doubt is precisely about the equality holding for any straight line... why it is true? I can understand it holds for linear functions of type f(x) = c.x, in the sense of addition and multiplication conservation -> hence f(E(x)) = E(f(x)). Functions of the type f(x) = ax+b are straight lines, but not linear funcions in these sense, so we cannot prove that f(E(x))=E(f(x)).
      Try to use f(x) ~ exp(k) and the transformation Y = ax + b, you'll see that f(E(x))=a/k+b and E(f(x))=exp(kb/a)*a/k, which do not hold for any straight line, but just for b=0.

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

      I’m not sure what you’re saying. The equality is satisfied when f is an affine transformation. This is trivial because E is a linear operator:
      E(f(X)) = E(aX+b) = a E(X)+b=f(E(X))
      where the first step applies the definition that f is affine (a straight line), the second, that E is linear, and the third using again the definition of f being affine.
      In your example you’re mixing up letting f be an exponential or letting it be an affine transformation, so you get something weird. You can’t apply both transformations at the same time, that is not something that Jensen inequality talks about in any way.
      If the function is convex, you get an inequality. If the function is strictly convex (unless X is constant a.s.) you get strict inequality. And in the opposite edge case that the function is affine (which is also convex), you get strict equality.

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

      @@rocamonde Of course you are correct, in my example I made a mistake calculating E[f(X)], for that reason the equality does not hold. My approach was to see the theorem from the affine functions properties, but in fact is much more simple to see it from the expectation linearity. Thank you, your explanation was clear!

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

    Outstanding explanation!

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

    Thanks!

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

    Amazing explanation!