What are Normalizing Flows?

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

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

  • @yassersouri6084
    @yassersouri6084 5 ปีที่แล้ว +54

    The best video on the topic I have seen so far. Well done.

  • @seank4422
    @seank4422 4 ปีที่แล้ว +17

    Incredible video and explanation. Felt like I was watching a 3B1B video. Thank you!

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

      Yes, it uses very similar background music!

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

    you are amazing at explaining this concept in such a simple and understandable manner mate

  • @TheBlenderer
    @TheBlenderer 5 ปีที่แล้ว +27

    Awesome, thanks for the very clear explanation! Each step was quite "differentiable" in my head :)

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

    this is so good, please don’t stop making videos!

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

    This is neat. Awesome graphics.. Many thanks!

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

    I think there may be a typo at 5:48.
    The individual Jacobians suddenly go to be taken wrt z_i instead of x_i, in the second line. That is not so, right?

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

    Wow... I'm speechless.
    Thanks ! Amazing quality !

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

    Please make more videos like this

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

    Great explanation, it all makes sense now. Gonna keep come backing anytime I need to revise.

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

    Short, sweet, and comprehensive...

  • @dbtmpl1437
    @dbtmpl1437 5 ปีที่แล้ว +4

    That's absolutely brilliant. Keep up the good work!

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

    Thank you so much for making this video! Best video on this topic I've watched so far

  • @benren9004
    @benren9004 4 ปีที่แล้ว

    This is just such an elegant explanation.

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

    Thank you for this nice video, I've been struggling through some blog posts and this immediately cleared some things up for me. Great work!

  •  4 ปีที่แล้ว

    Great video! Gonna have to watch it again.

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

    This kind of video is super useful to the community! Thank you!

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

    This is a great video! Each time I watch it I learn something new.

  • @maximiliann.5410
    @maximiliann.5410 2 ปีที่แล้ว

    Thank you for the nice breakdown!

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 3 ปีที่แล้ว

    great video! This is definitely the best video on this topic.

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

    Great video! Was looking for a clear explanation and this did the trick.

  • @tabesink
    @tabesink 4 ปีที่แล้ว

    Please put out more content! This was an amazing explanation.

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

    This is really beautiful. Keep up the amazing work!

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

    Incredible explanation!

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

    Nice video, thankyou. But can you explain how this fits inside overall architecture of any simple Generative model and also how it can be implemented in code? Or just point me to a resource where I can find it.

  • @poulamisinhamahapatra8104
    @poulamisinhamahapatra8104 4 ปีที่แล้ว

    Great visualisation of a complicated concept and lucid explanation. Thanks :)

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

    Maybe this is a little late but at 4:24 , shouldnt the base distribution of z be parameterized by something other than theta? Usually that is a gaussian whose MLE estimate can be obtained in closed form.

  • @samuelpanzieri7867
    @samuelpanzieri7867 4 ปีที่แล้ว

    Great video, made a pretty difficult topic very clear!

  • @lesleyeb
    @lesleyeb 4 ปีที่แล้ว

    Awesome video! Thanks for putting it together and sharing

  • @junli9889
    @junli9889 4 ปีที่แล้ว

    @8:12 I believe here is grossed over: it seems to be the essential part, how to "make sure the lower right block is triangular"?

  • @hanwei5987
    @hanwei5987 4 ปีที่แล้ว

    Amazing explanation & presentation :)

  • @jehillparikh
    @jehillparikh 4 ปีที่แล้ว

    Great video and visualisation!

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

    Fantastic video! Thanks for the hard work you put into these.

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

    Please keep making videos

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

    Fantastic video!

  • @李扬-n7k
    @李扬-n7k ปีที่แล้ว

    the most clear I have see

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

    Amazing explanations! I#m currently learning about normalising flows with a focus on the GLOW paper for a presentation and this video really gives a great overview und helps put different concepts together.

  • @p.z.8355
    @p.z.8355 3 ปีที่แล้ว

    what is the connection of this to the reparametrization trick?

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

    Thank you for the great explanation. What I don't understand here is the reason why we are looking for p_theta(x). Shouldn't it be p_phi(x)? (by phi I mean any other parameter that is not theta) Since we are looking for the probability in the transformed space.

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

      Thanks for the question. While using a single symbol for the model's parameters is a standard notation (e.g., see eq. 6 from arxiv.org/abs/1807.03039), I agree that using two distinct symbols would've been a bit clearer and indeed some papers do that instead :)

  • @antraxuran9
    @antraxuran9 4 ปีที่แล้ว

    Great video! I spotted a minor terminology mistake: you are referring to the evidence using the term "likelihood", which might confuse some folks

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

    Great explanation!

  • @arrow0seb
    @arrow0seb 4 ปีที่แล้ว

    Great video. I hope you release more like it! :)

  • @superaluis
    @superaluis 4 ปีที่แล้ว

    Thanks for the great explanation!

  • @najinajari3531
    @najinajari3531 4 ปีที่แล้ว

    Very clear explanation. Thanks a lot :)

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

    Great explanation!! I hope more videos are coming. I have a question, I don't really understand the benefit from the coupling layer example about "partitioning the variable z into 1:d and d+1:D". As explained in the video, you still need to ensure that the lower right sub-matrix is triangular to make the jacobian fully triangular. Then, isn't just more "intuitive" to say: the transformation of each component will "only be able to look at itself and past elements"? Then any x_i will only depend on z_{1:i} so the derivative for the rest will be zero. You still need to impose this condition on the "lower right sub-jacobian", then what's the value of the initial partitioning? Thanks!

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

      Thank you and great question! The setup you describe is certainly one way of ensuring a fully triangular Jacobian and is the approach taken by autoregressive flows (e.g., arxiv.org/abs/1705.07057). But not only do we want a triangular Jacobian, we need to be able to efficiently compute its diagonal elements as well as the inverse of the overall transformation. The partitioning used by NICE is one way of yielding these two properties while still allowing for a high capacity transformation (as parameterized by m), which I think was underemphasized in the video. In the additive coupling layer, not only is the lower right sub-Jacobian triangular but it’s just the identity, giving us ones along the full diagonal. And the identity implemented by the first transformation (copying over z_{1:d} to x_{1:d}) guarantees g will be trivially invertible wrt 1st arg since the contribution from m can be recovered.

  • @simonguiroy6636
    @simonguiroy6636 4 ปีที่แล้ว

    Great video, well explained!

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 3 ปีที่แล้ว

    How do we find such a function f that performs the transformation? Is it the neural network? If so, wouldn’t that just be a decoder?

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

    Awesome video! Thanks!

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

    Such an excellent video

  • @user-or7ji5hv8y
    @user-or7ji5hv8y 3 ปีที่แล้ว

    Why would adjacent pixels for an image have autoregressive property?

  • @matthias2261
    @matthias2261 4 ปีที่แล้ว

    Nice! This is absolutely breakfast-appropriate.

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

    Isn't the Jacobian here acting more like a Linear Transformation over the 2D example of unit square? How is it a Jacobian?
    I seem to be confused on the nomenclature here.
    Also because these are chained invertible transforms with a nonzero determinant, can't we just squash all like a Linear Transform into one?

  • @sherlockcerebro
    @sherlockcerebro 4 ปีที่แล้ว

    I looked at the RealNVP and I can't seem to find the part where the latent space is smaller than the input space. Where could I find it?

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

    Thank you so much for this!

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

    awesome video! Like it so much!

  • @MDNQ-ud1ty
    @MDNQ-ud1ty 10 หลายเดือนก่อน +3

    I think the way you explained the probability relationships is a bit poor. For example p_t(x) = p_t(f_t^(-1)(x)) would imply the obvious desire for f_t to be the identity map. If x is a different r.v. then there is no reason one would make such a claim. The entire point is that the rv's may have different probabilities due to the map(and it may not even be injective) and so one has to scale the rv's probabilities which is where the jacobian comes in(as would a sum over the different branches).
    It would have been better to start with two different rv's and show how one could transform one in to another and the issues that might creep. E.g., This is how one would normally try to solve the problem from first principles.
    The way you set it up leaves a lot to be desired. E.g., while two rv's can easily take the same value they can have totally different probabilities which is the entire point of comparing them in this way. I don't know who would start off thinking two arbitrary rv's would have the same probabilities and sorta implying that then saying "oh wait, sike!" isn't really a good way to teach it.

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

    Great video ! Can you also make a video on gaussian processes and gaussian copulas?

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

    Amazing! Thanks!

  • @TyrionLannister-zz7qb
    @TyrionLannister-zz7qb 8 หลายเดือนก่อน

    Are the animations and sound track inspired from a channel named 3Blue1Brown ?

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

    This is some pretty high level pedagogy. Superbly done, thanks!

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

    cool video, thanks! What video editing tools do you use for the animations?

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

      This one used a combination of matplotlib, keynote, & FCP. I've also used manim in other videos.

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

    Well explained!

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

    Amazing, Keep at it!

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

    giving my 3blue1brown vibes. Amazing video.

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

    Thanks for this explanation! Could you recommend on online class or other resource for getting a solid background in probability in order to better understand the math used to talk about generative models?

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

      I am actually looking for the same thing, if you have found something interesting !

  • @CristianGutierrez-th1jx
    @CristianGutierrez-th1jx 7 หลายเดือนก่อน

    Hands down the best intro to gen models one could ever had.

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

    Thanks a lot!

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

    amazing, keep it up

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

    Hi! Amazing video and visualization. Curious to know if the software used for the graphics was manim?

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

      Not in this particular video, but there are several manim animations in my other videos :)

  • @brycejohnson9291
    @brycejohnson9291 4 ปีที่แล้ว

    that was a great video!

  • @albertlee5312
    @albertlee5312 4 ปีที่แล้ว

    So what is normalizing flow?

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

    For Chinese readers, you can also refer to Doctor Li's lecture: th-cam.com/video/uXY18nzdSsM/w-d-xo.html

  • @ayushgarg70
    @ayushgarg70 4 ปีที่แล้ว

    amazing

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

    The formula at 1:12 is wrong. The x on the right should be z.
    Similar for other formulas later.

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

      f is defined to be a mapping from Z to X. So f^{-1} takes x as input.

  • @朱欣宇-u7q
    @朱欣宇-u7q 4 ปีที่แล้ว

    Awesome

  • @EagleHandsJonny
    @EagleHandsJonny 4 ปีที่แล้ว

    Got that 3blue1brown background music

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

    Hello everyone from 2024, it seems the flow-matching hype has begun

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

    this totally has something to do with principle fibre bundles doesn't it..... this is that shit James Simons figured out back in the 70s

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

    Thanks for the video, but the background music put me to sleep - please change for next time.

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

    one mistake: NF cannot reduce dimensions!

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

    Bro it is really hard to follow. Nice mic and nice video editing, but the content is way to hard. Really really hard to follow.

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

    Amazing work, thank you very much!