Hopfield network: How are memories stored in neural networks? [Nobel Prize in Physics 2024]

Поделиться
HTML-код
  • Опубликовано: 21 ноя 2024

Комментарии • 1 тыс.

  • @ginqus
    @ginqus 6 месяцев назад +388

    bro made a channel dedicated to neural networks, posted one video, gained 24k subs, decided this was enough and left

    • @bernhardstelzhammer8636
      @bernhardstelzhammer8636 5 месяцев назад +6

      Hahahaha 😂

    • @avikchattopadhyay1483
      @avikchattopadhyay1483 5 месяцев назад +3

      HahAAA

    • @maxave7448
      @maxave7448 5 месяцев назад +5

      To be fair tho, this video is really good and detailed while remaining relatively not-too-complicated for people who have a basic understanding of neural nets

    • @masterofnone597
      @masterofnone597 5 месяцев назад +4

      obviously way more was planned however was cancelled

    • @PreyumKumar
      @PreyumKumar 5 месяцев назад +5

      He mentioned the following video.😢

  • @aegontargaryen597
    @aegontargaryen597 Год назад +568

    As a neural network, I confirm that this is how we store memories

    •  Год назад

      early

    • @ugestacoolie5998
      @ugestacoolie5998 Год назад +7

      Lmao

    • @claudiamanta1943
      @claudiamanta1943 11 месяцев назад +2

      All the screws of those who are OBSESSED to think that people are nothing but cybernetic machines are rather loose…

    • @aegontargaryen597
      @aegontargaryen597 10 месяцев назад

      @@claudiamanta1943 I haven't seen anyone thinking that people are cybernetic machines lol

    • @merozemory
      @merozemory 10 месяцев назад

      LMAO

  • @piggy9539
    @piggy9539 2 года назад +822

    This guy explained such a complex topic so well, great job.

    • @alexanderhandjiev2845
      @alexanderhandjiev2845 2 года назад +3

      It's going viral soooo ye

    • @mihailmilev9909
      @mihailmilev9909 2 года назад

      @Yatish38 yeah and the subs for one video is crazy but deserved too

    • @RoseOnFire
      @RoseOnFire 2 года назад

      @Yatish38 Really good, yes, deserves more, also yes

    • @TheRainHarvester
      @TheRainHarvester 2 года назад +1

      Yeah i had trouble with the super/subscripts in all the math. So i just made a video easily explaining multilayer back prop with only 1 subscript. It's so easy now!

    • @pizzainc.1465
      @pizzainc.1465 9 месяцев назад

      If humans know how it works, it’s a simple subject that is explained badly. If they don’t, it’s too complicated anyway. For example, we know nothing about how the brain works because it is simple too complicated. However, we know plenty about gravity, other areas of anatomy, computers, and more.

  • @gianlucazinarof8617
    @gianlucazinarof8617 2 года назад +41

    You cannot fathom my disappointment when I looked at your channel and discovered that this is your only video. What do you mean there aren't any others? I need more! Seriously, interesting topic, crystal clear presentation, keep up the great work!

    • @Mangputt
      @Mangputt 2 года назад +1

      Do you know, what software able to produce and animate these animation? adobe after effects or any software else?

    • @layerwiselectures
      @layerwiselectures  2 года назад +7

      It is a custom toolbox written in Python, called Manim. Here it is the community edition, but Manim was originally devised and open-sourced by 3blue1brown. There is a link in the description if you want to learn more.

    • @Mangputt
      @Mangputt 2 года назад

      @@layerwiselectures thankyou... I still waiting for your next videos. Keep it going Bro 🔥

  • @minh9625
    @minh9625 6 месяцев назад +32

    Guy, it's 1 year already. Cmon comeback bro

  • @sebastianmuller4649
    @sebastianmuller4649 Год назад +6

    "Contrast this with what we believe about the brain..." I like how careful you are with how you make your statements.

  • @murilospineli2241
    @murilospineli2241 2 года назад +1187

    is this a first video? it's surprisingly good

    • @jasoneel76
      @jasoneel76 2 года назад +35

      My god I need to subscribe immediately

    • @jaumeivars
      @jaumeivars 2 года назад +10

      Oh my god i didn't figures it out until you commented!

    • @ryanpmcguire
      @ryanpmcguire 2 года назад +30

      When something is made by someone who cares, you get a good result. Caring is the first ingredient in the recipe for success.

    • @fadonoso
      @fadonoso 2 года назад +2

      I thought the same!!! This guy is really good. Thanks!!

    • @NickSklias
      @NickSklias 2 года назад +24

      The first video uploaded to a channel does not mean the person/people editing/producing the video had no prior experience. That being said, it's a fantastic first upload and this channel is off to a tremendous start!

  • @mmarrotte101
    @mmarrotte101 2 года назад +69

    The amount of effort required to not only curate such complex information in an intuitive way, but also to animate the concepts in the way you've done, is clearly tremendous - thank you for taking the time to produce this! I'm inspired by your work, really looking forward to more!

  • @Sazazezer
    @Sazazezer 2 года назад +322

    I've been idly musing about the brain's memory in terms of binary and bytes for years and always thought it was such a limited way of looking at the subject but didn't know any better. I asked around in the past about alternative ways of looking at the subject but never came away with a decent answer. This video has been such an eye opener and i think i'm going to have to take a deeper dive into the subject. Thanks!

    • @Daniel-ih4zh
      @Daniel-ih4zh 2 года назад +4

      You should haken's book on synergetics

    • @andrewhancock2451
      @andrewhancock2451 Год назад +2

      You mean, like, deep into neural nets? ;P

    • @SpringySpring04
      @SpringySpring04 Год назад

      I heard in an scifi anime (which is surprisingly more accurately scientific than it may seem despite being scifi) called Steins;Gate that said the brain can hold a little over 4 terabytes of memories, but that was just a claim, I'm not sure if that's true.

    • @pyropulseIXXI
      @pyropulseIXXI Год назад +3

      Memory doesn't just exist in the brain; there is evidence it is dispersed throughout the entire body. People have had large chunks of their brain removed and their memory was unaffected. People born with basically no brain, just a small layer around the skull and the 'cavity' where the brain should be was filled with cerebral-spinal fluid. And yet their IQ and memory was well above average.
      I know it is hard for purely materialistic to understand, but consciousness is more fundamental than physical matter, with the brain merely being an interface for the physical world
      A true ghost in the machine; consciousness does not arise from the machine being complex; it is controlling the biological machine

    • @goldnutter412
      @goldnutter412 Год назад

      @@pyropulseIXXI Exactly, I posted a heap of times about this already, this video really inspired.. brain caching, permanent information, rinse and repeat with new context.
      Optimization is often overlooked. It will be obvious sooner or later, there is no other way to efficiently battle entropy. We get sense data and need a nervous system and brain in general, but uncertainty is the ultimate optimization. Probabilistic by design.. part of why the speed of light is so high. We see the very very distant past, and are disconnected from it.. we get data and interpret it and wonder how the heck physical matter organized itself a certain way and why the math doesn't work
      0 to 1 is a logical impossibility.. the Big Bang is a misinterpretation, but a plausible back story for the universe and adds to the immersion. We process things bound by our brain capacity (see Einstein's freak brain!) and easily fall into materialist traps of our own design. Logically the universe and biology is simple, but obfuscated by so many LAYERS of background processes ! we call it subconscious.. yeah it's busy !

  • @luke.perkin.inventor
    @luke.perkin.inventor 2 года назад +354

    You nailed the 3blue1brown feeling whilst being ligther on the maths. I wish you the best of luck with future videos! 🙂

    • @ianthehunter3532
      @ianthehunter3532 Год назад +12

      He likely uses Manim, the software made and used by 3b1b.

    • @poultrypants
      @poultrypants 7 месяцев назад +1

      Are you guys also watching the 3B1B videos about GPTs?

    • @luke.perkin.inventor
      @luke.perkin.inventor 6 месяцев назад

      Aww, you never did a follow up!

  • @keithmiller3770
    @keithmiller3770 2 года назад +136

    This is remarkable. How the heck does this channel only have 1 video?!

    • @eda1198-w6m
      @eda1198-w6m Год назад +12

      Still waiting :( ...

    • @alexb3617
      @alexb3617 Год назад +2

      yeah i knew this video would be good. i noticed it few months back when i was beginning to study neural networks, just stored it, knew wasn't ready yet. now finely watched, as expected, it turned out good. nothing like clickbat stuff that usually out there on youtube

    • @Mikee512
      @Mikee512 7 месяцев назад

      Everyone must start somewhere :)

    • @dunar1005
      @dunar1005 6 месяцев назад +1

      Because it was a submission for a convention, and not his goal to continue this

  • @sciencelab4225
    @sciencelab4225 2 года назад +29

    This is one of the most important pieces of media I have yet consumed to better understand this world. It is incredible to realize how one's brain works in principle. Thank you so much!

  • @frenk3928
    @frenk3928 2 года назад +20

    I studied Hopfield networks last year in the framework of spin glasses and all assumptions were dropped seemingly out of nowhere in a big confusing mess (as usually happens in lectures). This video really tied up all together and now makes so much sense beyond memorising proofs. Excellent video and brilliant demonstration.

  • @jboj8430
    @jboj8430 Месяц назад +2

    Kind sir. Thank you for this video.
    If you have the time you should totally make that follow up video. The announcement of the Nobel prize is going to rake in views!

  • @martingisser273
    @martingisser273 2 года назад +6

    Brilliant exposition for both mathematicians and nonmathematicians. It took a few decades to get me (mathematician) interested in neural networks. Now I'm hooked. Musing about connections to Markov processes and PDE...

  • @macchiato_1881
    @macchiato_1881 2 года назад +22

    It's really amazing how something as simple as a neuron has highly emergent properties that can do very complex tasks.

  • @Wonders_of_Reality
    @Wonders_of_Reality Год назад +14

    Looking forward to watching the second part! And many thanks for choosing dark text on a light background. It looks like a calm creamy ocean of fascination!

  • @AlphabetAYT
    @AlphabetAYT Год назад +1

    Speed running getting an headache. Awesome video!

  • @NajibElMokhtari
    @NajibElMokhtari 2 года назад +13

    This is amazing! I finished the video and immediately went looking for the next one where you'd explain the more accurate models. Then realized this is the first and only video on this channel.
    Can't wait for the upcoming stuff. Congrats for the launch!

  • @Tigrou7777
    @Tigrou7777 2 года назад

    By looking at this video, you just updated the neural network in your brain to be able to remember stuff about neural networks. Brilliant.

  • @TR-kn3sn
    @TR-kn3sn 2 года назад +3

    This is absolutely incredible. Just immense, wow. I was initially skeptical of neural networks because they lacked the "logic" side of the problem (as I think a lot of people were at first) but I knew they were unreasonably effective, so I assumed they had their place. But now, I think they have more than a place, they are officially critical to our understanding of the world. In short, they were always cool, but now we've proven it. Thank you for making this video! It is so well made by the way!

  • @FelipeCampelo0
    @FelipeCampelo0 10 месяцев назад +1

    When a video catches your curiosity in the first two minutes that’s because it’s going to be a piece of art !

  • @tf3confirmedbuthv54
    @tf3confirmedbuthv54 2 года назад +40

    Love it! Hopefully this video will get big, this question is wonderful and really makes you think outside the box, and I think you explained it perfeclty.

  • @artysanmobile
    @artysanmobile 10 месяцев назад

    The thumbnail image makes a very important point on the subject of human thought. We don’t look for the room, shelf, book, page. We build a complete path to every experience we have ever had since birth. If we contextualize it by re-use, or by interconnecting it with another path, we improve its clarity, its importance, and remember that address. The classic explanation for having no idea what you ate this morning. Breakfast has not yet been made important.

  • @dererzherzog
    @dererzherzog 2 года назад +12

    Even a reductionist model of neural network (disregarding the dynamic spatio-temporal interplay of a plethora of neurotransmitters, neuromodulators, receptors, secondary messengers and downward pathways) leaves one awe-struck by hinting toward the tremendous scale of capabilities in a biological neural system.
    Thank you for this wonderful presentation and thanks to the YT algorithm for suggesting it! May your channel and its viewership grow exponentially!

    • @LuaanTi
      @LuaanTi 2 года назад +7

      And don't forget, the _in_ capabilities. Even from this extremely simplified model, you can see why it's hard to write memories, and keep them stable against change (which of course happens even when you're just _reading_ the memory). The computer on your desk can easily store terabytes of information without a glitch just by "remembering" the information one by one, while the computer in your skull needs to keep reinforcing what you want to remember, and keeps overwriting related memories as others are read or changed.
      Mind, this is most likely a critical component of learning and intelligence in the first place - your memories aren't just static data stored elsewhere, they're ultimately a part of the computational network itself. Every experience has _some_ effect on your decision-making, and memories interact with each other (and with other inputs from all over the brain and the outside world).

    • @goldnutter412
      @goldnutter412 Год назад

      @@LuaanTi apparently the brain throws out TONS of data all the time.. anyway won't repeat the other posts.. maybe read those first above.. but it's a good filter/cache for information processing.. short, long and permanent information. Only what is really significant to us, lasts.. and we come back to evolve past our problem with entropy. The unknown is enticing.. fear of the unknown is like getting stuck in loops on tangents.. or outright stuck and unable to deal with whatever patterns we're experiencing.
      The optimal configuration for experience is of course permanent state, temporary brain and universe. Next time, the patterns will have a completely different basis, while still understandable ! almost every random set of DNA and environment will be the same pattern. Choose, which gives result (quantum mechanics delivering data on demand), JIT type of interpretation with the brain cache, more choices, more life experience, on and on we go.
      Because we are self aware, we are aware of entropy.. time advances, we collect more data. More entropy unless we evolve away from "fear" or.. I guess you could call it over management of the data structure. That's the nature of information ?
      "Let it be" playing in the background..

  • @hengchunsong301
    @hengchunsong301 2 года назад +1

    Very rarely RUclips has video with this much deep insight. Treasure.

  • @anon_y_mousse
    @anon_y_mousse Год назад +3

    I don't know why you haven't made another video in 9 months, but I'm hoping you continue this series. Maybe go into the math a little bit more, but keep it simple so even a simpleton like me can understand it.

  • @rafaeladivapinho2399
    @rafaeladivapinho2399 2 года назад

    You are by far the best teacher for soft soft . It's very complicated at first - overwhelming, actually - but, you make it doable for

  • @redaabakhti768
    @redaabakhti768 2 года назад +25

    Perfect video. I didn't know you could look at neural networks from this neat mathematical vantage point. I thought about eigenvectors and how the eigenvector with the largest eigenvalue would influence the network sort of as a dominant weight that increase exponentially , this would need a slightly different f the function you operate on the resulting weighted sum this would work for storing one memory maybe with increase possible states of single neuron and the right activtion function you will be ablse to store many patterns. Amazing video once again.

  • @RafaelBeraldoPU2URT
    @RafaelBeraldoPU2URT 2 года назад

    I'm a PhD student in language acquisition and neural networks are in our theoretical toolbox. However, and bear in mind this is an oversimplification, there's a dispute between what we could call “cognitivists”, whose models are generally at a higher description level (whatever that means), and “connectionists”, whose models seek to show any complex behavior/knowledge of language is an epiphenomenon of the functioning of neural networks. I've read a number of connectionist papers and never have I seen such a clear and honest presentation of these topics. Thanks for making me smarter. Keep 'em coming, I'll be excited to watch anything else you make.

  • @konradd8545
    @konradd8545 2 года назад +3

    Please continue making videos! This was not only super interesting but also very well explained and animated. I hope to see more videos on this channel soon!

  • @hvdveer
    @hvdveer 2 года назад +2

    Amazing, how the brain stores memories is one of the biggest enigmas in neuroscience and you've just provided an answer using it's digital equivalent. This is worthy of a scientific publication. Brilliant stuff.

    • @layerwiselectures
      @layerwiselectures  2 года назад +5

      I should clarify: the video is based on an existing scientific publication (Hopfield, 1982) as mentioned in the video. See the link in the description.
      It's brilliant, but not *my* brilliance, is what I should make clear.

  • @BrandonWong55
    @BrandonWong55 2 года назад +4

    Wow, this video is really eye-opening. As someone who has been interested in both memory sports and math, it really intrigues me how these false memories arise. Whenever I make a mistake memorizing a deck of cards, I'm always trying to figure out what when wrong, and it's cool to see a mathematical model also make similar mistakes in your video.

  • @YZhou-mq1bw
    @YZhou-mq1bw 6 месяцев назад +1

    You definitely should keep making the vids if you are still interested, this is insanely amazing! You must be a big name there!

  • @HansLemurson
    @HansLemurson 2 года назад +121

    Different "seed" states will call up different memories. I wonder if this could be analogous to how certain ideas link together, and maybe some of the underlying information of related ideas is actually a correlated section of their memory patterns.

    • @MrNatsuDragneel
      @MrNatsuDragneel 2 года назад

      This is wrong, our brain can excite and depress certain neurons with neurotransmitters, hormones, data from sensors of the environment and our own body etc...

    • @hufficag
      @hufficag 2 года назад +53

      This explains why I have an idea at my desk, get up to walk across the room and forget what I was thinking about. Get back to sitting at my desk seed state, and remember it, get up and forget it again.

    • @mihailmilev9909
      @mihailmilev9909 2 года назад +4

      @@hufficag omg we figured it our also lmfao

    • @floriantesto4925
      @floriantesto4925 2 года назад +1

      @@hufficag just take a look on en.wikipedia.org/wiki/Encoding_specificity_principle

    • @woolfel
      @woolfel 2 года назад +19

      the video is meant to explain how modern artificial neural networks work. biological brains don't work that way. Take for example a deer. Within an hour of being born, a deer can walk and within a few hours it can run. Clearly the baby deer didn't learn how to run in the womb. The evidence suggests some kinds of memory are genetic, while other skills are learned. Even if there was seed states, keep in mind memories are stored redundantly in biological brains. the obvious example is stroke patients that temporarily loose skills, but then recover them. Assuming there something like a seed, it would be seeds or parts of a seed stored in multiple places. then there's the fact that brains are analog, not digital. In classic computer science, associative memory is two elements linked with an address that points to both elements. In neural networks like GPT3, the association is captured by many weights. One could consider those weights as a seed, but the analogy breaks down.
      A common problem with neurons in a neural network is that a single neuron may participate in multiple patterns. If you change 1 weight, it can cause the network to perform better on one type of task and worse on a different task. The problem is called polysemantic neurons. There are people working on fixing polysemantic neurons, but there's no general purpose fix today.

  • @brandontylerburt
    @brandontylerburt 2 года назад +1

    An excellent explanation. I'm starting to realize what a profound influence this type of neural network model has had in recent decades on all kinds of disciplines ranging from machine learning to the development on new theories on PTSD and how traumatic experiences alter brain function. Thank you for providing such a succinct and illuminating video on a complex and vitally important subject.

  • @YasheshBharti
    @YasheshBharti 2 года назад +3

    Such a unique topic, so beautifully explained! Thank you so much for this piece of art!

  • @Dorstamo
    @Dorstamo 2 года назад

    For YT recommendation: good job, great recommendation.
    For author: Thanks for the stimulating video!

  • @cmilkau
    @cmilkau 2 года назад +49

    I guess you have to make a distinction between short term memory (stored on activity patterns) and long term memory (this video? stored in the network weights). The latter is much simpler and in theory there could be a single neuron for a single memory, although in practice there are more efficient encodings.

  • @chanyan2024
    @chanyan2024 2 года назад

    Congratulations on winning the honorable mention prize for the Some2 competition. Your entry is my favorite

  • @LearnwithAnnaN
    @LearnwithAnnaN 10 месяцев назад +11

    Dude made one video and then stops uploading.
    You have a talent.

  • @question_mark
    @question_mark 6 месяцев назад

    guys, just wanted to remind you that this video is easily in the top 1% videos ever produced by a human

  • @brandonzhang5808
    @brandonzhang5808 2 года назад +8

    What I'm getting out of this is that there is still a scalar memory parameter in the number of neurons or size of the weight matrix, and storing patterns in it is similar to file compression, allowing the same network to represent multiple patterns, but with a compression ratio that is actually disadvantageous, requiring O(n^2) weights to store O(n) patterns. Something of a Rube-Goldberg for memory systems.

    • @dominikwitczak1655
      @dominikwitczak1655 2 года назад +1

      Eactly, this does not prove that our memory can't be measured in Gb of information.

  • @br.3250
    @br.3250 2 года назад +4

    This is just an outstanding explanation and it was a very interesting subject.
    And it's even more amazing that even though I know very little about this subject I could understand almost everything
    Keep up with the great work :)

  • @exinangai2216
    @exinangai2216 2 года назад

    The best illustrated explanation on Memory modelling of inter-connected neuron (switch), bit and quirks of Neural Networks , formation and significance of multiple "stable states", and how they are presented as row & col vectors, update function as Matrices. Your video is both clear and excellent visual intro to the topics. I am really looking forward to your next video. Helping more ppl to visualize how transformers, recurrent net, back propagation, main idea of ML papers, etc are being modeled.

  • @schnitzelsemmel
    @schnitzelsemmel 2 года назад +3

    Yes yes yes this is exactly the video i didnt even know i needed. incredibly good explanation and animation

  • @pafloxyq
    @pafloxyq 2 года назад

    Hopfield nets were the first thing that got me interested into studying neural networks some years back, but I hadn't seen such an eloquent presentation on it since now. Will wait for the subsequent videos of this series.

  • @somedudeok1451
    @somedudeok1451 Год назад +4

    Love the presentation. I think that the mistakes you were frustrated and fascinated with are maybe a chance to generate something new from something stored. It reminds me of our ability to be creative by morphing our memories over time. It's like when you have memory A and memory be and over time they fade and become memory AB which then turn into memory C. And sometimes memory C might actually be something useful. It also reminds me of generative AI. Of course, this is all just layman talk and I have no idea if this has anything to do with how human memory actually works.

  • @Prince-xp9vk
    @Prince-xp9vk 2 года назад +2

    had an idea to write about this, "is the brain really a RAM or ROM?", but seeing you do justice to it, I can safely procrastinate for another day.
    it's kinda sad too that you only have one video. please do more.

  • @d0tz_
    @d0tz_ 2 года назад +9

    This is the best SoME video I’ve seen so far. Such an intuitive explanation for a niche yet mindblowing idea.
    Maybe it’s my lack of intuition for high level math or my affinity to computer science, but most of the other videos had me closing out of it mid way, while this one was interesting in its entirety.

  • @guineapig1016
    @guineapig1016 Год назад

    I had a similar idea, over 10 years ago... i was extremely young and no way to learn how to create such a system.
    Life moved on for me. Glad to see people are creating this stuff.

    • @HubertRozmarynowski
      @HubertRozmarynowski Год назад +1

      That's very interesting. Maybe you should learn some basic Python so it'd be possible for you to bring your future ideas to life? You decide if it's worth it. Just saying the barrier to entry might be lower than you think. I've implemented the Hopfield Network as described in the video in Python without external libraries in under 100 lines using basic things like:
      state = [
      [1, -1],
      [-1, 1]
      ]
      weights = [
      [0, 0.1, 0.1, 0.1],
      [0, 0, 0.1, 0.1],
      [0, 0.1, 0, 0.1],
      [0.3, 0.1, 0.1, 0]
      ]

    • @arkadius228
      @arkadius228 12 дней назад

      ​@@HubertRozmarynowskiNah, just use numpy and make it 50 lines instead of 100

  • @Ambixious
    @Ambixious Год назад +3

    Beautiful explanation and visualizations. I don't normally comment, but it happens that this is what my PhD thesis is on, and I hope to be able to emulate the clarity with which you have presented this during my defence.
    I see lots of people in the comments saying they learned a lot from this. Really gives me hope that my work wasn't for naught. The Hopfield network truly does draw a beautiful relationship between physics, mathematics and neuroscience.
    Just want to add that with the right learning function, and the right structure in the encoding, the number of memory states can grow faster than linear with respect to the size of the network.

  • @Ryush806
    @Ryush806 2 года назад +1

    I just learned your video was for 3Blue1Brown's contest by watching his video about the contest. Makes sense why you only have 1 video. I originally watched it weeks ago and was dumbfounded by it being your debut. PPLLLEEEAASSSEE make more! You have a knack for explaining a very complex topic in terms us commoners can understand!

  • @nulled7888
    @nulled7888 2 года назад +3

    Super interesting video, got me really thinking about the correlations to real neurons.. very well made as well :)

  • @loganpowell
    @loganpowell 8 месяцев назад +1

    Dude, this is the best video on the topic I've found (and I've looked). When can we expect a follow-up? Would love to watch it.

  • @alzario
    @alzario 2 года назад +4

    Awesome video, comparatively digestible explanations and really good visualisation of what you're describing.

  • @simbaji-hj9zv
    @simbaji-hj9zv Год назад +2

    Seems there is only one video, hoping the next will come soon, great!

  • @venamaybe
    @venamaybe 2 года назад +3

    This was super interesting and awesome!! I'm excited for the next video :)

    • @LoongBerries
      @LoongBerries 11 месяцев назад +1

      looking forward to the next video too

  • @Personal-M.I.S.
    @Personal-M.I.S. 10 месяцев назад +1

    Well done! I'm sure I'm not the only one who would appreciate it if you did more =)

  • @dominicbaumer6038
    @dominicbaumer6038 2 года назад +6

    Thanks for this great lecture! My idea for a next video topic is that you can talk about differences between artificial perceptrons and biological neurons

  • @dynamic-gaming1879
    @dynamic-gaming1879 20 дней назад +1

    Come back Mannnn we need you.

  • @ofrigal9557
    @ofrigal9557 2 года назад +3

    Amazing video! Great job, i would love you to explain autoencoders

  • @MyHi1997
    @MyHi1997 2 года назад

    Dont mind me, just leaving a comment so that the algo will pick up this amazing first video from the channel

  • @theClaytron
    @theClaytron 2 года назад +3

    If you change the procedure to use a synchronous update, and make the activation function the identity, then you can analyze the dynamics of the weights matrix W. That is, v_{n+1} = W*v_{n}. In this case, a memory which you converge to is simply a stable eigenvector of the matrix W. When you "train" the network with multiple memories, you are performing multiple rank-one updates to the matrix. This also explains why the maximum number of memories you can store in W varies linearly with the size of W, since a matrix of size NxN cannot have a rank greater than N. In other words, if you tried to train W on N+1 memories, you are guaranteed that at least one of those memories is a linear combination of the other memories. Not only that, if you add a memory with a rank-one update to W, that does not necessarily mean that memory will be an eigenvector of W. The memories can combine such that an eigenvector emerges which is not equal to any of the memories.
    This approach also gives another perspective on why you can converge to the "flipped" version of the memory. An eigenvector defines a 1-dimensional space which is simply a scalar times a vector, where the scalar can be positive or negative.
    Also, the properties of the W that emerges from Hebbian Learning are very interesting. That is, W is symmetric and has a zero-diagonal. It is a property of symmetric matrices that their eigenvalues are all real. So we would not expect the network to oscillate around some solution. Also, the trace of a symmetric matrix is equal to the sum of the eigenvalues, so that means if we have negative eigenvalues, we must also have positive eigenvalues.
    Again, this is just some conclusions for the case of synchronous update and identity activation function. It may not be so relevant to the case you discuss.

    • @layerwiselectures
      @layerwiselectures  2 года назад +3

      That's perfect, thank you. The original paper does not use this reasoning to arrive at the linear memory capacity, but the similarity of the conclusions is striking. Thank you for this addition!

    • @theClaytron
      @theClaytron 2 года назад

      @@layerwiselectures Thank you for your excellent video! I am looking forward to the sequel.

    • @isaacaraya3848
      @isaacaraya3848 2 года назад

      @@layerwiselectures Have you heard of adaptive resonance theory? Could the stable states in the network be harmonics? Like if each pattern is stored not just spatially but at a specific frequency of oscillation then you could maximize the number of memories a single neuron could contribute to. Kind of like the tv's that play multiple images on the same screen at once

    • @isaacaraya3848
      @isaacaraya3848 2 года назад

      Great insight to complement video. Could you expand on why symmetric matrices can't oscillate around a solution? Might save me some googling

  • @Frost_Byte_Tech
    @Frost_Byte_Tech 9 месяцев назад +1

    Please upload more videos like this. You have yourself a new subscriber sir 🙏

  • @aankitdas6566
    @aankitdas6566 6 месяцев назад +5

    bro just dropped one video and vanished. Bro is the Gotye of youtube tutorials

  • @mo_i_nas
    @mo_i_nas 11 месяцев назад +1

    in a neural network of 3 words... THIS WAS AMAZING

  • @Kaepsele337
    @Kaepsele337 2 года назад +3

    That's really neat. I wonder what happens if you add "eyes" to the network, i.e. some subset of neurons whose activation is driven by an external signal instead of the update function.

    • @layerwiselectures
      @layerwiselectures  2 года назад +3

      Good point. The original paper actually mentions an input current to the neurons. This would then be combined with the summed input of all other neurons, so it would modify the update function rather than replacing it. I left this out for simplicity. However, it's actually an important detail once you start thinking about it. It sort of biases the network to a certain state and would explain where the starting state of the network comes from, if it's not random. The story would then go like this: the "eyes" of the network (love the metaphor btw) would cue the network with a partial state and the network would then autocomplete to its memory state. Kinda-sort-of-almost-like seeing a visual cue of some sort and then being reminded of a scene from your past - if we're being a little bit fanciful. Thanks for the comment.

  • @fabioteixeira868
    @fabioteixeira868 2 года назад +1

    Wow! Awesome first video! Subbed and eager for more!

  • @eaudesolero5631
    @eaudesolero5631 9 месяцев назад +5

    would you continue ?

  • @noahcordier7002
    @noahcordier7002 2 года назад

    This video was clearly made by a perfectionist, and it's very enjoyable. I can't imagine the time taken to produce it

    • @HubertRozmarynowski
      @HubertRozmarynowski Год назад +1

      You're absolutely right about him being a perfectionist.. This video is literally among the best I've watched on youtube and he's still not happy with it (judging by his replies to criticism)

  • @drdca8263
    @drdca8263 2 года назад +4

    Hm,
    I don’t know that this really shows that the memory capacity can’t be appropriately described in terms of “how many bits”.
    That there aren’t addresses for physical locations for different chunks of memory, sure.
    But, information theory isn’t fundamentally inapplicable to the brain’s ability to remember things?
    Like, if there is some random distribution of possible observations (e.g. a sequences of symbols, or other combinations of e.g. color, shape, texture, whatever) at one time, and then at a later time the person says their guess about all the information needed to describe which of the observations were randomly selected,
    then, ((the entropy of the distribution of observations) - (the conditional entropy of the distribution of observations given the person’s recollection of the observation)) should give a lower bound of how much information about the observation the person remembers on average. This can be expressed in bits.
    Of course, this isn’t describing the person’s entire memory capacity! Just how much they remember from these observations in such tests.
    This could, I think, be used to measure an estimate of a lower bound on how much information (measured in bits) a person can rapidly memorize for a short amount of time.
    Presumably how much info one could memorize would depend on the way the information is expressed. For example, I would expect a random sequence of words would be easier to memorize than a random sequence of literal bits with approximately the same entropy. And that’s part of why I say it would only be an (approximation of) a lower bound. (Approximation because there’d be measurement error due to the random variation.)
    We can also probably put an extremely weak upper bound on total capacity based on the amount of information theoretically needed to describe the physical state of the brain. If nothing else, there is at least the Bekenstein bound based on just the size of the brain along with the fact that it isn’t part of a black hole. This is so weak of an upper bound that it is barely worth mentioning.
    I don’t know how to get a better estimate of “the entire memory capacity of the brain” than these though.
    Well, of course, you can look at how much data people have memorized over longer periods of time.
    Oh, maybe some estimates could be made based on people with eidetic memory.
    Like, if we query facts about randomly selected dates and check how accurate what is recalled is, then, we could extrapolate that and assume it would be equally accurate for all the many dates in the same range which we didn’t ask about, then we could estimate from that how much they remember overall from that range of time.
    This could probably give an estimate which reveals a rather large amount of information stored.
    And, presumably, people with an eidetic memory don’t have just, an inherently larger memory capacity, so much as, just more stuff gets committed to memory? (I could be wrong about that.) So I think this would still give a good estimated bound on how much memory capacity a brain in general has.

    • @layerwiselectures
      @layerwiselectures  2 года назад +2

      Wow, thanks for the comment. There's a lot to think about. My favorite part is the black hole information bound. No you're right, information theory isn't fundamentally inapplicable here and I didn't mean to imply it was.
      Personally I'm not clear on whether the "bits" in a hard disk are information theoretic bits. Are they? Maybe in the sense that, if I didn't know the state of the hard disk, and then I looked to find a certain pattern there, I would have gained that many bits of information? But then on the other hand I wouldn't expect every pattern to be equally likely to appear on a hard disk or in RAM.
      What I'm getting at is that, yes, there must be a way to compare the information in both memory systems (computer and neural) in bits, but no, it isn't usually being done when we talk about computer memory.
      My goal was to show that casually speaking of bits of memory has a tendency to obscure real differences between the two memory systems. If in the process I appeared to discount information theory ... oh my, not my intention.
      Thanks for the comment again!

    • @drdca8263
      @drdca8263 2 года назад +1

      @@layerwiselectures I think I phrased my comment a bit too critically given how much I liked the video. I quite liked the video, and subscribed (before your reply).
      I think computer bits can be related to bits in information theory by, if you sample from a distribution many times, the optimal way to store such a sequence on disk, would have its length be on average, the number of samples times the entropy of the distribution. And, I think if the number of samples is large, then the variance in how much storage is needed overall should go down, eventually to the point where you can regard it as nearly always the same. ...uh, assuming the variance of the number of bits each sample contributes, is finite (which it will be if the number of possible outcomes is finite).
      So that’s at least *a* connection. It perhaps isn’t quite as close a correspondence as one might hope? Well, the amount of information in an information theory sense that can be stored by a hard drive, is bounded by the storage capacity, and at least for some distributions of a random variable, this bound is exact. But for other random variables where the outcomes aren’t just 2^n equally likely outcomes, then I guess there can be some overhead compared to the ideal, in storing a finite number of samples. But in the limit of many samples, I think the two notions of “amount of information” become the essentially the same? In some sense anyway.

    • @sullivan3503
      @sullivan3503 2 года назад

      @@layerwiselectures You're correct in saying that information theoretic bits don't always correspond exactly to hard drive bits. In order to calculate the amount of information stored, you need to also understand the encoding. For instance, ASCII text uses 7-bits of information per character to store text, but these 7 bits of information are often stored at byte boundaries, resulting in each character taking up 8 bits of space on the disk. So the leading bit is wasted. Compression can also reduce the amount of bits needed to store a certain piece of text drastically. So, as long as your data is not maximally compressed (which is hard to tell), then your hard drive bits is not the best measure of the amount of information stored. However, in practice, we typically use file size as a good proxy for information.

  • @clementej03
    @clementej03 2 года назад

    Amazing video, I tried my self to model a neuron network on my own but barely even knew where to start. Fascinating subject and an excellent video.

  • @nikhil_kr97
    @nikhil_kr97 Месяц назад +4

    Who all are here after the Nobel Prize in Physics 2024 announcement?

  • @sinaomidvar2807
    @sinaomidvar2807 9 месяцев назад +1

    The content you provide is greatly appreciated. We are looking forward to your new contents. ❤

  • @anjaney_007
    @anjaney_007 Месяц назад +3

    Anyone here after the 2024 Physics Nobel Prize 🥇 👍🏻

  • @LamNguyen-zc8xs
    @LamNguyen-zc8xs 2 года назад

    This is brilliant. I've never seen any video about Hopfield network as interesting as this video. All they show are just math. Man you should do more video on brain and neuron networks like this :D

  • @霍金本人
    @霍金本人 2 года назад +2

    Watched

  • @waitingforgodot355
    @waitingforgodot355 10 месяцев назад

    That was phenomenal. Fingers crossed for the "follow-up video"!

  • @anarakberov7173
    @anarakberov7173 Месяц назад +5

    Who came from the Nobel Prize announcement?

  • @bakdiabderrahmane8009
    @bakdiabderrahmane8009 2 года назад

    the IDEA explained in this video is something a was looking for for a looong time, thank you so much you have no idea how helpful you have been.

  • @okopyl
    @okopyl Год назад +10

    Too complicated for somebody with 0 knowledge in math

    • @BrandonMcCurry999
      @BrandonMcCurry999 6 месяцев назад +2

      Do you have the ability to learn?
      I do, and I'm slow, especially on things with many steps that must be done in an exact way or the whole "thing" will be incorrect

    • @BrandonMcCurry999
      @BrandonMcCurry999 6 месяцев назад +2

      Or were you not talking about you

    • @BrandonMcCurry999
      @BrandonMcCurry999 6 месяцев назад +1

      Difficult doesn't mean it can't be done, many things have taken alot of work for me specifically
      Some things come naturally
      I tend to go with what comes naturally, Plato my strengths

    • @dorionporath4363
      @dorionporath4363 6 месяцев назад +1

      Elementary school

  • @jslevenson101
    @jslevenson101 Год назад

    Pieces of images and thoughts put back together in our brains. Makes a clearer picture.

  • @khasmosis
    @khasmosis Год назад +2

    I don't usually comment on youtube but.. I don't know what to say. This is by far one of the most enlightening videos I've watched ever. I just subscribed and I'm looking for your next video

  • @spudsT
    @spudsT 2 года назад

    Dude. The aesthetic of this video is sooooo slick

  • @wakandangunner465
    @wakandangunner465 7 месяцев назад +1

    you`ve gotta make another video, i felt sad seeing this was your only video yet, the way it was goood

  • @acyned8079
    @acyned8079 2 года назад +1

    The conclusion really was what I was here for. I didn't get most of it but I got the point of it!

  • @samcoding
    @samcoding Год назад +1

    We need this guy to make more videos.

  • @Rowan69
    @Rowan69 9 месяцев назад +1

    I love the animation and presentation style. Keep it up!

  • @zoraamethyst2147
    @zoraamethyst2147 2 года назад

    the level of this video is so very close to 3 blue 1 brown videos. similar topics, similar brain, and voice. it should be taken as a compliment since 3 b1b is one of best intelligence channels on yt

  • @25_26
    @25_26 Год назад

    This is just perfect. I studied maths and quit later and even with that knowledge i understood the concept easily thanks to you.

  • @FakeAccount
    @FakeAccount 2 года назад

    Maybe we are in the golden era of learning on youtube. I see a lot of high quality channels on math and computer science popping up.

  • @asanzramaxi
    @asanzramaxi 2 года назад +1

    didnt realize the views and subscribers until casually saw comments. keep it up, such a good video!

  • @ariondorin4480
    @ariondorin4480 Год назад +1

    This is awsome ! Man, you really understand things deep and what is more, you really explain the essential!

  • @TheOnlyHatchet101
    @TheOnlyHatchet101 2 года назад

    1s and 0s... computers are as simple as RUclips posters. The mind is near 26 million bits, come back in 5,000 years to explain what you still can't understand. Great video.

  • @fabiospinelli4179
    @fabiospinelli4179 2 года назад

    Wow this video is Gold, I'm impressed by the fact that this is your first!
    I will look at your career with great interest

  • @parmesanzero7678
    @parmesanzero7678 11 месяцев назад

    Thank goodness I found this. I’ve been talking about the parallels between LLMs and natural minds and either the people with the neuroscience backgrounds don’t understand the tech side or the tech people don’t understand the neuroscience side. We will never achieve AGI without people spanning those disciplines.

  • @symbolspangaea
    @symbolspangaea 2 года назад +2

    One of the best explanations I've seen

  • @TenderBug
    @TenderBug 2 года назад

    I find this explanation is fascinating. Shines light on neural networks from an uncommon direction. Great Video 👍

  • @LiquidMasti
    @LiquidMasti 2 года назад

    can't believe it's your first video. it's very well explained and the background sound makes it even more compiling.