MIT 6.S191 (2022): Recurrent Neural Networks and Transformers

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 111

  • @andreas.karatzas
    @andreas.karatzas 2 роки тому +146

    I'm still trying to figure out how did you manage to perfectly describe the logic behind attention mechanisms in 10 minutes ...

    • @MahJohn
      @MahJohn 2 роки тому +12

      It was absolutely amazing, especially how she connect the notion of search to attention. Thanks for the intuitive connection.

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

      @@MahJohn .aaaaaaakaaaaaaa

  • @jacktrainer4387
    @jacktrainer4387 2 роки тому +63

    Everything that comes out of MIT is pure gold. You'd think that the concepts would be described at a high, inaccessible level, but that's not the case. The lectures are student friendly & homeworks are challenging and doable.

    • @kevinbissinger
      @kevinbissinger 2 роки тому +5

      Yeah unlike the Harvards of the world MIT always seemed to focus on having the richest education, not the richest students

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

      just wanted to know is this just theoretical stuff or they also walk through any code for its implementation ??

  • @chiranjeevisagi
    @chiranjeevisagi 2 роки тому +32

    Thank you to Alexander Amini and Ava soleimany for making this course accessible to everyone, which otherwise is a distant dream for many people like myself to learn such high quality content.

  • @mohammadalaaelghamry8010
    @mohammadalaaelghamry8010 2 роки тому +15

    Just amazing how well those two lectures are layed out, structured and explained, nothing comes close to them in my experience so far, thank you so much Alexander and Ava, heading for the first lab now.

  • @robertoooooooooo
    @robertoooooooooo 2 роки тому +5

    this is genius. This lecture is pure gold. Such difficult concepts like transformers explained in a 15 minutes seems to be impossible but she did it. Thank you MIT!

  • @ajaytaneja111
    @ajaytaneja111 2 роки тому +5

    "Attention Is All you Need" - The intuition of Query, Key and Value is one of the best from what I've read or watched (in other courses) until now....Excellent job Ava Soleimany, thank you

  • @SteveSperandeo
    @SteveSperandeo 2 роки тому +11

    Who needs GPT-3 when we have Ava? Amazingly clear, succinct, and enjoyable presentation. Thank you Ava!

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

    This is by far the best explanation of Transformers that I have ever seen. It all makes more sense now. Thanks

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

    Excellent explanation! This is perhaps the best description about the roots of the attention mechanism, and the intuition behind it. People who follow the route of CNNs -> GANs -> ViTs in their deep learning journey have trouble in understanding the self-attention (without having much knowledge about RNNs). This is like an excellent "bridge" video that fills all the gaps! Great effort by Ava!

  • @laminsesay1435
    @laminsesay1435 2 роки тому +9

    if you are watching, learning and practicing this video, you have be granted a visa to the future. Alexander Amini, Ava Solemany and the rest of the team thanks. you guy are amazing

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

    This is definitely the best video for describing attention mechanisms and the logic behind them. Many videos only try to review as it is written in the paper. Thank you so much! It really helped me a lot to get the attention even more clearly!

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

      Thank you very much!

  • @arnavraina2615
    @arnavraina2615 2 роки тому +7

    Feels like I'm waiting for a much awaited movie trailer! This is quality.

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

    Set reminder, patiently waiting. It's a great initiative, cant thank the organizers and instructors enough!

  • @SinkingPoint
    @SinkingPoint 2 роки тому +12

    This is by far the best explanation of attention that I've seen. It definitely deserves its own video. Maybe a video on transformers that covers attention and some more detail on the other components of the architecture?

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

      Yes, I too would love to see another lecture on attention and transformers, with a more detailed treatment of the Q, K, V matrices and how they function. I understand what was said but can’t derive it in my own.

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

    Excellent presentation on the transition from RNN to Attention-based Transformer networks. Thank you

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

    This is just the best, brilliant explanation of RNN and attention mechanism I've ever seen! Thank you guys for such a hard work!

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

    Takes a really bright mind and a lot of practice together with hands-on experience to pack so much information about a complex subject so briefly and elegantly. I bet it took some back propagation through time to arrive to that.

  • @ภาณุปโยราศิสกุล

    The best explanation of attention mechanism I have ever seen. It is very intuitive and easy to understand.

  • @tantzer6113
    @tantzer6113 2 роки тому +8

    Excellent lecture. Very well designed, clear, intuitive, well balanced. A lot was accomplished in one hour! I learned a lot.

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

    Figuring out attention mechanism in minutes is super cool and intuitive. Thanks ava for such a clarity of your train of thoughts throughout the lecture. God bless.

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

    unable to describe how amazing is this ... thank you Ava

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

    Ava is a very talented lecturer - thanks for the cogent explanation of RNNs.

  • @seth.photongraphy2673
    @seth.photongraphy2673 2 роки тому +1

    The "deep learning couple" is at it again! and congrats!

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

    Finally, I understood the self attention mechanism completely.

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

    Precise and very well explained. Thank you for making this course accessible.

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

    Thanks for detailed explanations. Especially, attention!And finally attention all that we need and additionally understand thanks to you:-)

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

    Amazing intuition behind Transformers, thank you!

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

    this is one of the best lectures ever

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

    43:26 - The Transformers: More than Meets the Eye. Missed it on the news, but saw it on Netflix.

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

    Really intuitive way of teaching. The concepts are explained really well.

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

    Good explanation on self-attention. It gives me better intuitions on the topic.

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

    Yes I really appreciate the intuition of attention very much.

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

    Passion for science and technology is just oozing out of Ava !! Persian Passion.

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

    I struggled to wrap my head around neural networks for sequential data. The intuition provided for each concept is perfect, it was so engaging that the timeline of this lecture is now embedded in my head (pun intended ;))

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

    Thanks a lot for uploading these videos. I have already done the amazing DLS by Andrew Ng, but this video is a perfect summary and a revision. By the way, at 32:30, it's the derivative that is assigned the value 1 whenever the argument is greater than 0. I guess that's a speaking error, but just wanted to put the forward.

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

    God bless you, Alexander and co

  • @刘天阳-d9v
    @刘天阳-d9v 2 роки тому +1

    the single most fascinating and entertaining video for me.... let me just express my appreciation YYDS (means best of ever)

  • @shubham-pp4cw
    @shubham-pp4cw 2 роки тому +1

    nice and clear video explantion on RNNs and Attention

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

    43:00 "long memory" is a bit misleading as transformer has O(n^2) in its attention layer, which is not scalable either (there are variations with better O, but they are less poweful). so it might work better than rnn/lstm, it is not a silver bullet and only slighty increases the context size (to few thousand tokens). we still can't have "long memory" in the sense of hundreds of thousands or millions of tokens.

  • @sarahsalt-l8n
    @sarahsalt-l8n Рік тому +1

    Thank you for this lecture!

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

    This is so well explained - thanks a lot

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

    I am happy to be able to access this course. Your job is much appreciated. THANKS

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

    Ava Khanum, you put together an excellent lecture. Thank you very much!

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

    Such a great explanation! Thanks for sharing!!!

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

    Nicee... Glad to see you guys are back.

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

    This is very well made. Thanks a lot!

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

    well done. proud of you when I see there are such persian speaking people.

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

    Thanks for the content, all the details were amazing!

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

    What a lecture! Thanks a lot and keep up the great work.

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

    Why does the naive concatenated approach lose a notion of sequence? (I'm confused about the red X next to No Order at 42:40)

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

    Loved the explanation of Transformers you made such a complicated topic so much elegant and easy to understand

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

    you can directly use FIR and IIR filter methods to neural networks, and laplace transforms

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

      you just have multiple output and inputs, maybe like image filtering

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

      or video filtering, with the time data with frames included

  • @caiomar
    @caiomar 2 роки тому +4

    I love these series! Thank you for sharing the knowledge! I am listening to very word! Now I am getting Instagram ads for MIT Full AI course for the hefty price of $3300 USD , I wish I could afford it ;/

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

    excellent lecture, I'm excited!

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

    at time step 42:00 is she referring to encoder and decoder model

  • @Gerin-Benoit
    @Gerin-Benoit 2 роки тому

    Impressive presentation, thanks a lot for sharing !

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

    Very great explanation, completely understood. thanks to team MIT 😁

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

    16:19 Shouldn't the last loss be Lt, rather than L3?

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

      I suppose it's just some typo.

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

      Yes, thanks for pointing that out

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

    The attention mechanism is being used widely in computer vision (vit). In an example of image classification, what type of image data is treated as query, key and value ?

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

    Oh Ava became your wife! congrats!

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

    Awesome loved this knowledge shower from India

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

    HI. i stll can not understand the encoding bottleneck about limitations of RNN, what exactly means about encoding bottleneck? can anyone explain it more clearly?

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

      Since you get some intuition here, consider this lecture here ua-cam.com/video/S27pHKBEp30/v-deo.html
      I found his explanation about one of the shortcomings "encoding bottleneck" of the lstms that motivated the need for the attention mechanism useful. I hope you will find it helpful.

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

    Ava forces herself to be clear splitting in little piece complex concepts to be understandable by us.

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

    What's really "self" in self-attention? If it's the "input" as mentioned in this video, how is it different from attention?

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

    Reminder on,

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

    Wonderful !!! Ava

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

    This is absolutely amazing! Does anyone know of any programs that can be used to generate such great looking neural network/code slides? Or the one that was used to create these?

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

      Thanks! We use Powerpoint for the slides.

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

    Very cool lecture.

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

    57:51

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

    This is goldddd

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

    Great video!

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

    good work thanks a lot
    but how we can get the linear layer or how we calculate it to get attention

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

    I dont really understand the „many to many“ example in the sequence modeling applications. It looks to me that the output sequence has always the same length as the input sequence, which is rare for language translation. Also the first element of the output sequence is produced without any feedback from later timestamps and is not reevaluated later on.

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

      Maybe as an example: the network translates english to german and the input sequence starts with „The“. The Network might then have a first output sequence element of „Das“, which is fine. Then the second element of the Input sequence is „Human“, the network gets „Mensch“ as second output element. Now it would have to change the first output from „Das“ to „Der“, which i dont think would ever happen with the presented Modeling.

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

    Why we have same weights for different inputs??

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

    Anyone tried Lab1 Part2? I wonder whether anyone get any songs in the last cell? Even the sample_song does not work.

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

    Where i can find the link of attention mechanisme lab? i did check the link..

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

    Great lecture

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

    Awesome explanation about attention mechenism in a very shot time hahhahaha!

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

    Bravo!

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

    Is it possible to get a certificate from the related website? I'd be grateful if you guide me.

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

    What is linear layer at 50:03?

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

      A dense (i.e., fully connected) layer with a linear activation function (i.e., no activation function).

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

      @@AAmini Got it. By the way, I was not expecting this urgent response. Thank you sir Mr. Amini.

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

      Thanks for the question!

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

    I need to get some help regarding the process of getting admission in MIT EECS for under graduation that how can I apply and what are the requirements?? If someone has any idea kindly help me out with that I will really appreciate your effort...

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

    thank you

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

    I'm waiting ....

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

    How is this available for free

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

    Very fast videos. Need to slow down and explain key concepts clearly. Otherwise it's like a sweet story.

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

    Too good to be true! But why? Thanks a ton!

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

    10:46

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

    Can I give this video more than 1 like?

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

    💯

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

    Comment for algorithm

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

    30:28 What exactly is gradient clipping ?

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

    I'm waiting ....