I programmed some creatures. They Evolved.

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 เม.ย. 2024
  • This is a report of a software project that created the conditions for evolution in an attempt to learn something about how evolution works in nature. This is for the programmer looking for ideas for interdisciplinary programming projects, or for anyone interested in how evolution and natural selection work.
    Before commenting on the religious/theological implications of this simulation, please note that this video in no way purports to explain all the mysteries of life and the universe.
    GitHub: github.com/davidrmiller/biosim4
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 11K

  • @Camlling
    @Camlling ปีที่แล้ว +4152

    This man created evolution and decided his TH-cam career was complete

    • @WwarpfirewW
      @WwarpfirewW ปีที่แล้ว +93

      Maybe the evolution stopped him 🤯

    • @Nugcon
      @Nugcon 9 หลายเดือนก่อน +16

      and Shakespeare

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

      @@lit22006you dont need to have 100% info in a subject in order to talk about it. none of us is perfect, its the progress that counts.

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

      What are you blathering about@@lit22006

    • @qwertzuiop1978
      @qwertzuiop1978 7 หลายเดือนก่อน +23

      He is active on github

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

    Dot: *Disappears*
    David: I can't bear to watch this violence

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

      304 thumbs up, and here I am to leave the very first comment. People are getting silent these days, tired of violence.

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

      Someone, think about the children!

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

      What GOD must feel as well.

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

      He’s the God we need lol

  • @MoonCrab00
    @MoonCrab00 6 หลายเดือนก่อน +542

    Man was consistently like "You can skip to the next part if you don't care about this topic" and I'd say most of us absolutely did not skip ahead.

    • @AndrewMilesMurphy
      @AndrewMilesMurphy 2 หลายเดือนก่อน +3

      inventive

    • @tonyennis1787
      @tonyennis1787 2 หลายเดือนก่อน +6

      did not skip

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

      Attention span passed ✅

    • @OutcastCuraduria
      @OutcastCuraduria 26 วันที่ผ่านมา +2

      Shut up bro

    • @SkiHigh
      @SkiHigh 10 วันที่ผ่านมา

      i did

  • @rm-g6481
    @rm-g6481 10 หลายเดือนก่อน +892

    This AI, Computer Science, Biology…gold. These type of content should be the one getting viral.

    • @Lemjanmusic
      @Lemjanmusic 7 หลายเดือนก่อน +31

      If only he added tiktok sped up music

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

      Facts

    • @justamanofculture12
      @justamanofculture12 3 หลายเดือนก่อน +5

      ​@@Lemjanmusicbruh 🌚

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

      @@Lemjanmusichell no

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

      @@soulslip 😂💀

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

    This is my offering to the TH-cam algorithm.
    Let's hope we resurrect this channel so David can make more amazing videos.

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

      Seems to be working, 140k views. It's an extremely well put together video

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

      TH-cam algo took me here from a video about WW1 lol
      They really want people to see it again

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

      The algorithm has called us.

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

      Count me in for the algorithm summons

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

      boost

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

    In these simulations the places where the children were “born” were completely randomized but in reality places of birth are also “inherited” from parents! If your parents lived at the Equator you wouldn’t suddenly appear at the North Pole! I think that is a very significant detail that should be added!

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

      I think that both perspectives must be taken into consideration. The simulations one exclude that fact and by doing this it isolate somehow the brain from the nature so in that way we can study much faster the brain development related to itself. If we also study the brain by adding the missing factor we emulate better the development in real life (where we are passing information not only by genes but also by environment) which is also very important. We can even learn more by studying both sides and compare them.

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

      @@olarmariusalex
      I agree. It all depends on the end goal: if you want to study one particular feature isolating factors might help narrowing down the amount of information that you’ll have to process but it will make the model less accurate. Adding factors will make processing harder but the model will be closer to reality.
      And there’s one catch - in real life all factors could be connected and it might be that in order to get some kind of result you would need to simulate all of them because with just one of those missing we might not have the right conditions!

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

      Note, that it's a simple simulation. But you're right.
      Another issue: generations don't born at the same day, don't live same duration and don't die together. Generations overlap. Also, a gene should control the lenght of their lifes, another should define the age when they make children.
      Another issue: they should use and consume energy (by eating each other). Who runs out of energy, he or she should die.
      Can't stop: they should produce, waste (shit). Others should consume it, it would fill the energy, but not as much as if he or she eating other. A gene should control whether the particle can kill other ones (predator), or just eat, well, other's waste (vegan).

    • @__-op4qm
      @__-op4qm 2 ปีที่แล้ว +33

      This model is simple about how early single cell organisms could interact and swim away from hot dangerous places. Food could passively diffuse into them can be assumed. Overlapping generations would maybe only relevant when the age sense is enabled and when age variable has some useful functionality.

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

      Unfortunately, that wouldn't work here. The simulation is set up to see if the population can navigate to a certain area. If they generated close to their parents you would introduce a bias. For example, in the first simulation, all generations that began in the east would just keep reproducing regardless of their genome.
      You could change the selection criteria, but I think the way it is now lets you see what's happening clearly.

  • @eli.jiah.meowmeow
    @eli.jiah.meowmeow หลายเดือนก่อน +50

    I have replaced TV with TH-cam 15 years ago. This is one of the best videos I have watched on this platform.

    • @user-lc7jm7sn1h
      @user-lc7jm7sn1h หลายเดือนก่อน +2

      I did the same but even if i did not want to because i was so brainwashed by the tv i still qould have ended up this way because of how much truth can be proven and how everyone has more then 7 brainrotting seconds to open your mind to new worlds

    • @MutedGrowl
      @MutedGrowl วันที่ผ่านมา

      I’m now convinced, we are all in a simulation

  • @whiteobama3032
    @whiteobama3032 3 หลายเดือนก่อน +56

    Just an update about Dave, for anyone wondering why he's not uploading: after making that video, he ascended in to Godhood and is now running his own universe.

  • @AbdulRehman-ew5fu
    @AbdulRehman-ew5fu 2 ปีที่แล้ว +2249

    I feel honored whenever he says "Some of my fellow programmers...."

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

      Are you a progammer

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

      @@cookoreo6890 no, he es a football player

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

      @@MartinPirizDrums thought he was an astronaut in the ocean 😒

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

      @@MartinPirizDrums Really? I got more of an artistic vibe from him

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

      a engineering student

  • @borissmondack7802
    @borissmondack7802 3 ปีที่แล้ว +5013

    95 views.... it deserves millions!

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

      At least it now has a bit more but still not enough

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

      Soon...soon. It just showed up in my suggestion feed _two days in a row_ ...The algorithm is speaking.

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

      Still only 12600 views. This guy still has less than 500 subscribers. YT's algorithm is seriously broken. It recommends tons of mindless junk and doesn't prioritize anything of educational value. I guess it makes sense though, considering YT is more concerned with disabling useful features than they are with enabling people... *Cough* *Cough* "dislike buttons" *Cough*

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

      16k now

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

      @@flyingsquirrelfpv4866 17K

  • @geckoram6286
    @geckoram6286 6 หลายเดือนก่อน +59

    I think this is the best video I've ever found on TH-cam. Not only for the content, although I love both programming and biology, but the way it's presented is genius. You have these structured parts, the simulation, but in between the simulations you have smaller parts explaining everything, really smooth. Thanks for making this video.

  • @whisped8145
    @whisped8145 6 หลายเดือนก่อน +34

    4:00 DNA works not in single letters, but in "Codons" - that is the actual "letter" read out is comprised of a triplet of the 4 molecules. That opens up quite a lot more values per position in the datachain. That brings us to 16 values per molecule, times 4, makes 64 Codons/Values per actual read-out position. That is way denser information than hexadecimal (16 values per position). Two of these Codons (I'd have to look up the exact ones) act as "START" and "STOP" indicators for the Rhibosomes (molecule factories). Add to that that the Rhibosomes read forwards and backwards on both strands of DNA at the same time. This also allows for a lot of white noise in the DNA-"Code" to happen, which gives room for mutation (positive and negative) as well as padding-insulation against damage. Many "production-instructions" on DNA are also present multiple times for the same reason of contingency against error and damage, as well as for production quantity.

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

    I like how David feels sad about these computed creatures dying or getting murdered.

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

      Really? I found it sort of sad. Poor guy is doing a simulation that proves the value of death, yet it is lost on him.
      What he should do is give the creatures compassion and hatred and then hardwire them so that hatred and, ultimately kill signals, are generated proportional to the product of the creatures compassion, the genetic similarity of any death in front of it and are directed at the assailant.
      Then he might learn something.

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

      @@benearhart1224 thank god your not smart enough to this

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

      @@ecko5541 oh man that just made my day. Insults about intelligent in screwed up English - the best.

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

      @@benearhart1224 oh nooo i forgot a word and damn life must be sad then

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

      @@benearhart1224 i too am disappointed in the conclusion of the video. Author's own simulation tells him that violence works as good as peace, if not better, but he still associates it with feral instincts and regards it only as a tool of injustice and disharmony.

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

    "I'm an innocent and inoffensive dot..."
    David: "Shut up, let's play a game..."

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

      And I guess for people who believe in God, God is just doing a David move with all of us

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

      @@AratjaUjotOurstories and the kill gene was always on!

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

      Evolution lol. Show me creating life from non life. You dont get that as a gimme. Evolution trying to explain what happens AFTER life is already there is fun to think about....but its not science without showing life can just happen out of nowhere.

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

      @@perrystuart8035 he lied. There are lots of explanations for making life from non-life.

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

      @@KWifler Explanations are not science. You have to do it physically or it isnt in reality, just in your brain. Which is the entire point of my comment lol.

  • @Life_Someone
    @Life_Someone หลายเดือนก่อน +6

    Its just sooooooo impressive that just a 4 genome computer programmed organisation could evolve that much for just a hyper random selection. Great job!

  • @TylerRayPittman
    @TylerRayPittman หลายเดือนก่อน +6

    I ran 50 generations and changed a couple of the config parameters. Excited to play around with it more when I get home.

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

    David: we won't be simulating weather.
    Also David: Throws a comet at half the planet.

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

      Jim: Billy the weather channel said we are gonna be hit by a meteor within a few day
      Billy: God Dammit not again

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

      @@BoomBoomMushroom Just another day in Florida

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

    The reason why "kill" trait was bi-stable is because there's no selection pressure associated with it. Would be cool to add a "kill the killer" trait and see whether it leads to a larger group surviving. Or will it start wars? :)

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

      Can we please see this program simulated?

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

      Great insight

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

      you could either get a mob mentality that swarm the killers, (without consequences, ie 'legal kill') OR a couple of 'sherifs' evolve that seek out the killers........

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

      just what I was thinking, you should try to set it up to see if you can promote cooperation.
      One thought:
      if you have the kill gene, other individuals can see that and kill you ahead of time, you can call that the self defense gene.
      Another idea:
      Maybe then add Size gene to make individuals more likely to win a fight, However, being bigger will require you to collect more resources in order to survive.
      You can show it graphically by altering the actual size of the dots!

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

      @@mattsowerbutts4163 That's a great idea! mob swarm
      love it

  • @fabidoriomaccastuff5330
    @fabidoriomaccastuff5330 8 หลายเดือนก่อน +21

    David, I watched your video this morning after learning about The game of life. You stepped it up with the little brains and neural connections, genes and mutations. You are excellent in didactics. Please go on. Your channel is awesome.

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

    This video is amazingly well put together, it deserves way more views!

  • @Michael-px4oj
    @Michael-px4oj 2 ปีที่แล้ว +427

    It took just under a year for this video to start getting the traction and recognition it deserves

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

      viewers habits evolved to share it?

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

      TRUE STORY:
      Our owners like to steer us for a reason.
      I don't know where the journey ends,
      but the ride is very enjoyable.
      Long live Our Owners!

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

      He lost me at being the first person to ever claim breeders are evolved an focusing on breeding is evolution. I don't think anything outside of this software he programmed to act this way supports this. Even breeders hate being called breeders yet according to this software it would be like being Kobe Bryant.

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

      @@willyreeves319 youtube algorithm evolved to feed it to the right crowd

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

      That's pretty quick for TH-cam tbh

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

    Wow. The production quality, quality of content and narration - I'm speechless. This content is amazing and I wish you nothing but success. Very inspiring

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

      i knew a lot of this bc ive watched a LOOOOOT of evolution vids. but im soo happy he assumes nothing. i would prefer that. this is a grade A video for people who know nothing about this thing! And he keeps it engaging too

  • @bradenadams1761
    @bradenadams1761 7 หลายเดือนก่อน +2

    This is really one of the most brilliant things I have seen on TH-cam and I’m on here for hours a day!

  • @davidbornemeier856
    @davidbornemeier856 9 หลายเดือนก่อน +3

    I remember watching this a year ago and hoping for more, watching this again I appreciate it even more. Hope you come back David

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

    Just when I think there is no hope left for the TH-cam algorithm, it throws this absolute gem my way. Thank you so much for such a good video! I have done many programing thought experiments in my head trying to do something just like this but there were a few things I didn't quite understand or know how to achieve and this cleared them up for me. I'm very excited to get the code and try some things out for myself!

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

      If you want more, check out carykh evolution on TH-cam

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

      Facts

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

      My guy wrote a whole paragraph

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

      Zimmerman St. Charles is dead

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

      @@KitchenSinkGaming73 Holy shit a few words are an entire paragraph to you? This says a lot about you...

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

    13:10 "The vast majority of them, the moment they're born, they have the inborn instinct to head east and just keep going until they can't go any further." - As a German, I know that feeling.

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

      But isn't Argentina south west of Germany?

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

      @@ianmeade7441 goated reply

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

      @@ianmeade7441 it's north-east if you go far enough

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

      Fake you must be Russian

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

      @@ianmeade7441 wow

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

    This is awesome. Interesting, useful and well explained, both the concept and the idea of how it was done. There should be much more of this kind.

  • @techmonkie2199
    @techmonkie2199 7 หลายเดือนก่อน +2

    This was incredibly well done and enthralling to watch. I learned a lot, and stuff like this is legitimately inspiring. Thank you for all the effort you put into this.

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

    nothing gets you more excited than seeing some random dots trying to adapt to survive some random scenario! and seeing the way their brains were wired up to do so was just icing on the cake! perfect video!

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

      yes. riveting.

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

      @@VickMcbread I know right!

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

      Just like us

  • @cloj63
    @cloj63 ปีที่แล้ว +313

    Wait, so this is basically the only video he published?
    That's insane. Such an interesting topic and expertly explained, yet all done in a very accessible way.
    Thank you so much for sharing your work!

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

      He has a few more on Vimeo...

    • @QuantumElectroDynamic
      @QuantumElectroDynamic ปีที่แล้ว +11

      I am an old Irishman and can safely say this is a highly evolved and sophisticated individual who ain't got time for no youtube shenanigans! LoL Imagine them as like the hottest woman in the room. They ain't got no time for my silly shenanigans! It would take something special to draw their attention, or you must be lucky and witness their magnificence as it unfolds, as it did here with this video. Just discovering this myself, I imagine he works doing interesting things and, much like in this video, I imagine him doing these types of fun things in a world that doesn't involve youtube overly much. My own world doesn't include those things either. I am aware of this youtube thing right here, obviously, and love exploring the knowledge contained herein, but it isn't a priority. I am often busy just living life, in a world far far away, powered by an infinitely small, very subtle and basically nonexistent, singularity, within the singularity. It's something I fondly call the duality, the duality actually is Within the singularity. My world is like a black hole trapped inside a black hole, event horizon within event horizon. I couldn't make this up if I tried. How deep can we go? Perhaps not objectively real like the singularity, nor as magnificent, but my world is real enough for this old Irishman, and still magnificent because it was derived from such a perfect hottie of a singularity! Wow, what a babe, that source of my world. Can you imagine the magnificence of a hottie that is powerful enough to be the source of universes? Now THAT is a total babe right THAR! Right Thar! LoL haha sorry, shenanigans!

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

      @@QuantumElectroDynamic why are you so thirsty for this man lol

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

      @@QuantumElectroDynamic one of the best binary drinks I had

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

      @@QuantumElectroDynamic lmao 😭

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

    I never ever saw a hour long video on TH-cam. But I was glued to my screen. Excellently edited, fun, inspirational and entertaining. Please make more videos. This is what I’m here for. 🙏

  • @WilliamKiely
    @WilliamKiely 9 หลายเดือนก่อน +2

    This is a very high quality video and I'm very glad the algorithm recommended it to me. Commenting to pay it forward for future viewers!

  • @marcusr3666
    @marcusr3666 ปีที่แล้ว +706

    This was amazing. At no point in the video was I confused, bored, or even slightly distracted. I didn't even realize an hour had passed till you mentioned the the programs you used to make the simulator. Amazing talent and great idea, I loved every second of this. I can't wait to see the next video!

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

      Sin leads to hell, keep focused, the devil is on earth to destroy your soul. But God wants to give you everlasting Joy. But our sin is keeping this from happening. You must stop sinning and turn to Jesus Christ he is your only hope.
      He can save you from eternal suffering under the Earth, where hell is hot..
      Not everyone who calls me their Lord will get into the kingdom of heaven. Only the ones who obey my Father in heaven will get in.
      Matthew 7:21.....

    • @noche5241
      @noche5241 ปีที่แล้ว +20

      @@SINLEADSTOHELL Bro that's way off topic

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

      anyhow i loved when he just went to onto gen 50 and said "those are the great great- oh never mind"

    • @Mark-Wilson
      @Mark-Wilson ปีที่แล้ว +4

      @@SINLEADSTOHELL uh what?
      what does this have to do with the topic of the vid?

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

      @@Mark-Wilson your average extreme zealot I guess

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

    Interestingly, I think this also explains why some creatures have smaller brains than others… in your four corners experiment you would get to the point where having a massive brain has no advantage, if all they need to do is go is get to the corners reasonably competently. Our brains consume a large amount of energy, so in some situations having a larger brain to solve certain problems starts to have a disadvantage. It would be interesting to see a simulation that allows neurons to be added, but at a cost to find more ‘food’ then ramp up the challenges.

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

      yeah the next step of those might be a cool scenario where mutation can change the number of connections
      and having "food" factor, maybe making creatures that found more food, then they consume survive and reproduce.
      then having something like 1 food is worth like 10 connections.
      so a creature that have like 300 connections need 30 food to survive.

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

      A big brain is definitely evolved and maintained in a population only when life is a challenge that requires a brain. When survival is simple and intelligence is not required, a brain is an expensive luxury. There are primitive chordates called ascidians that have a brain as free-swimming larvae and lose most of it when they become stationary adults.

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

      One way to sort of simulate the effect of a larger brain could be to add a delay of one simulation step to each internal neuron. It would enable more complex behaviors with loops but cause more complex networks to potentially move slower. It would require modifying the simulation code quite a bit though as the state of each network would have to be carried over to the next simulation step.

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

      Add a consume action, so they can potentially cannibalize each other

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

      @@reyariass I think that would result in the population splitting into a "herbivore" majority and a "carnivore" minority.

  • @nosuchthing8
    @nosuchthing8 9 หลายเดือนก่อน +4

    This should have a billion views

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

    "This is a video about natural selection and evolution" first words after that "I wrote a little program..."

  • @Dedicatedfollower467
    @Dedicatedfollower467 ปีที่แล้ว +425

    This is genuinely one of my favorite videos on TH-cam. If I could point to one piece of media that genuinely changed my life forever, it would be this video, because it launched my interest in programming neural networks, which eventually led to me going from a freelance artist background to a data engineer.

    • @GwynC
      @GwynC 10 หลายเดือนก่อน +12

      That's amazing. I'm happy for you, friend

    • @TheEvolNemesis
      @TheEvolNemesis 6 หลายเดือนก่อน +7

      What's pretty interesting to me is that this exact method of programming neural net AIs is currently one of the most successful and promising machine learning models for many applications. It's a pretty perfect (and cool) example of the NEAT algorithm and a great illustration of how it works as a general method to make neural net AIs that are effective at solving all kinds of problems..

    • @Anonymous-8080
      @Anonymous-8080 3 หลายเดือนก่อน

      😂

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

      That’s amazing, what’s even more interesting is he hasn’t uploaded in 3 years. Bro probably has no clue he just changed the trajectory of your entire life

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

      You should be making videogames bro! At least one indie game from you would probably rock

  • @travislevell1329
    @travislevell1329 ปีที่แล้ว +1596

    So this guy came out here and dropped this absolutely banger of a video, got 3M views and 40K subscribers and said “I’m out!”
    I was hoping I could binge a ton of his videos. This was so captivating, entertaining and educational!

    • @ralphwiggum1203
      @ralphwiggum1203 ปีที่แล้ว +44

      fr like why we all getting this suggested now 😭

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

      Fr. Amazing work. The world needs more.

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

      @@AstraAstartes are you okay

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

      @@AstraAstartes He could be dead for all we know.

    • @slowsloth3809
      @slowsloth3809 11 หลายเดือนก่อน +2

      ​@@AstraAstartes that.. was a joke.
      you need help?

  • @avielaskira
    @avielaskira 23 วันที่ผ่านมา +2

    TH-cam algorithm's selection has finally brought this video to my recommendations!

  • @Justinhcohen
    @Justinhcohen 3 หลายเดือนก่อน +2

    What a beautiful illustration of natural selection, the importance of mutation, and the value of brain size. Thanks, David!

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

    "and it also has to be sufficiently socially adept to find a mate"
    ok man, there's no need to attack me like that.
    memes aside, this is a super fascinating video, i have skipped a total of 0 seconds.

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

      Being socially adept to find a mate, if included in the simm, it would yelled much different results in the Kill switch simm.

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

      Sad fuck

  • @Alejo.Berrutti
    @Alejo.Berrutti 2 ปีที่แล้ว +665

    "Your neurons are valuable!. Take care of them."
    0:00 --Introduction
    7:57 --Simulation #1 (how it works)
    20:07 Brain anatomy details (neural networks)
    27:16 Simulation #2 (mutation and adaptation)
    32:12 No mutation (mutation rate to 0)
    34:17 Different brain sizes
    35:52 Simulation #3 (brain sizes)
    41:13 Genome encoding
    42:42 Simulation #4 (the "kill" neuron) (kinda sus)
    49:57 Software used
    52:14 Simulation #4.2 (radioactive challenge)
    55:35 The end

    • @User-ed5tg
      @User-ed5tg 2 ปีที่แล้ว +11

      hardest quote 2021

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

      Your evolved!

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

      @@User-ed5tg
      But what the hell this is all about? 😂
      I don't understand anything

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

      Sussy

    • @Alejo.Berrutti
      @Alejo.Berrutti 2 ปีที่แล้ว +1

      @@lorenzo689 Sussy Begula

  • @michaelroqueburg
    @michaelroqueburg 6 หลายเดือนก่อน +3

    That little dot at 13:58 going the opposite way of every other dot is super relatable.

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

    I just watched this video. It totally deserves a podium in TH-cam. Thank you a lot for had taken the time to create such a quality and valuable video like this. ❤
    I think is the first time that I watched a whole one-hour video.

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

    Wow, I cannot believe I haven’t come across this video sooner. My interest in artificial intelligence began with the idea of natural selection simulation. You show your processes in such a way where there is inspiration to all viewers. I’ve taken away the logic and mathematic concepts in order to perform my own simulations in a more efficient and well thought out manner. I hope to see more AI from you in the future.

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

      Same

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

      Shut

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

      According to Vid-IQ TH-cam wasn't really promoting this year-old video until two months ago and then suddenly - Boom! Tons of views.

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

      You should explore complex systems

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

      This is really good. You need a Patreon!

  • @geronimo5537
    @geronimo5537 ปีที่แล้ว +333

    This man needs to rent a super computer to really do some amazing things. Lets get him there.

    • @the_Googie
      @the_Googie ปีที่แล้ว +10

      let him cook

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

      agreed need a super computer for sure

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

      Watch carefully what happens around 40 minute 🙂 increased capabilities doesn’t really affect organisms performance already, not nearly as much as going from 2 to 8 neurons. You can have whole computation power in the world, but it wont really unfold any discoveries. Regular computers are already very capable of doing very complex simulations, even what’s shown is amazing. Having more power is cool, but I guess what I want to say is that you can do a lot even with mediocre hardware, don’t think you need a supercomputer to carry those experiments.

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

    I loved this video, have watched it several times! I would love for you to do a similar experiment but one that forces multicellularity, like with volvox, where they develop the ability to stay together. Or with an obligate symbiosis where you start with separate strains (Like a bacterium and an algae.) Even better would be aminoacid strains developing different functions.

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

    Super cool video! Hope to see other projects on this channel

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

    "Awe man this is so cool, now give them the ability to *fight* for a grid point"
    "Now let's talk about, the *kill* neuron"

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

      lel

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

      @@flueepwrien6587 lel? a french lol?

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

      I was hoping they would use the pheromone for reproduction but also so the kill population can track them down. So the selection would be did they move to adjacent squares and were they similar enough to reproduce and the selection out of population would be did you get killed (eaten), or age > 100. run and see how long the eaters have before cannibalism and highlander (there can be only one) sets in or as it would be difficult to reproduce when you want to kill those beside you how long until the eaters die out.
      A hunger number would also be good. No more resetting the population to a known quantity just let it rock.

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

      Hi David
      I may have a simple solution for the kill neuron: change the scenery :)
      Most of the comments here assume that the genenpool needs (rather complex) additions to solve the problem of the kill gene. But that is not how evolution works. Evolution is blind, but is perfectly able to “control” the kill gene, probably even with as few as 2 existing genes and a few connections.
      Also David reasons backwards when he wonders about his kill gene. He forgets to think about one of the 5 key features that drives evolution. Selection.
      David creates selective environments, but wonders why evolution is so cruel to allow for a killer gene to kill so many, even when none of these environments selects for traits related to killing, because there is space enough for everyone to fit in the box. What does it mean?!
      It means that evolution is blind.
      His environments don’t select for killers, but they also don’t select for non killers. Evolution is blind. If the environment doesn’t care about killers, then evolution doesn’t care (that is.. as long as there is at least one survivor at the end of the generation to fulfill reproduction)
      To solve (control) the “issue” of the killer gene, create a selective environment that selects for it.
      The kill gene works by bumping into each other, right?
      Create a selective environment based upon bumping into each other for reproduction.
      If the kill gene is active they are not able to reproduce. 2 genes organisms in this environment would quickly select for not having a kill gene active.
      To maintain a kill gene but not use it always (control urge to kill) needs more intelligence, but could be achieved with maybe 3 to 5 genes already and a lot of connections. And of course a selective environment; by using the first rule (Mating) + an area too small to fit the whole population (competition for space) should do the trick.
      David thanx for the video! Hope you will continue making videos and research evolution. I’ll follow you

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

    As one of the "programmer's friends", I very much appreciate the details providing just enough info to give me the urge to just do it myself as well... very nice video. Thanks to Posthumanist for "reviving" it and hence bringing it to my attention.

  • @nerdolo748
    @nerdolo748 9 หลายเดือนก่อน +2

    I studied cognitive science as well as some SI related things during current data analysis MS and this is really an amazing work! You took a bunch of things I knew in theory and implemented them from scratch in such detailed manner. I'm pretty sure you could use this code to do something worth a scientific article.

  • @augustodamascenoai
    @augustodamascenoai 4 หลายเดือนก่อน +1

    I had this idea of the evolution of some entities composed by a neural network to read ambient inputs and produce behavior some time ago but never put it into practice. It's wonderful to see a similar idea materialize. Thanks!

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

    1:45 The conditions for evolution
    8:00 Simulation #1 - How it works
    20:28 Brain anatomy
    27:18 Simulation #2 - Mutation and adaptation
    34:20 Brain sizes
    35:50 Simulation #3 - Brain sizes
    41:15 Genome encoding
    42:44 Simulation #4 - The "KILL" neuron
    50:00 Software used
    52:15 Simulation #5 - Radioactive challenge

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

    I've seen hundreds of simulation videos like this in TH-cam. this is by far the greatest one I've ever seen. You are a talented scientist, programmer and educator.

  • @rrp2600
    @rrp2600 7 หลายเดือนก่อน +4

    I was working on my own evolution Sim game that I was getting bored with. I came here for some fresh ideas. This video delivered. The neural net stuff is next level.

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

      There is a similar algorithm used to train neural net AIs called NEAT. Genetic algorithms that work like this (testing groups of nets, keeping the survivors, replicate and either combine or mutate) are turning out to be one of the most successful AI machine learning models.

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

    Fascinating. Thanks to David for putting together this amazing video and thanks to the YT algorithm for deciding it's something I would like to see.

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

    "Those who don't [reproduce] were just unlucky with mutations, and they don't have the brain wiring to know how to make it to the spawning areas"
    And i took that personally

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

      I like this one

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

      well if it makes you feel better, mutations are just another word for cancer and vice versa.

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

      @@mikkirefur No??😂 Mutations don't necessarily result in cancer.

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

      @@timr3621 no that is right. Usually the hardware & software and self repairing nature of programmed dna can fix itself. What a design !

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

      Or they choose career over family and hit he "wall".

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

    I wish for an Evolution game like this where even non-programers can make their own input & output actions and many other things like resource, environment, speed, size... I seriously can't wait to see what I and many other people could come up with such a game. Love this video.

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

      Evolution and AI seems to be barred from games as an intelligence inhibitor.. which really sucks.. a game such as worldbox would be a great starting point but it, an many like it are run by.. evil.
      I'm not sure on the best strategy to fight this yet. Suggestions welcome.

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

      @@richardward6747 The ol' "if you want something done right, you gotta do it yourself" seems like the simplest way. Find some people that aren't greedy and evil and who share the same passion and do it. I'd help but... Today i was wrecking my brains trying to understand how to create classes and to count how many times a number occured in a list... In python... So yeah, good luck. I'd love a video game with hyper realistic characters and consequences. Also a great crafting, harvesting/gathering and skills system. But then again, if you were to acomplish what i imagine... You'd create a whole new, real world with real people, although seen as npcs by many of us (and i think we all know how gamers treat npcs)

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

      @@migolan6606 thanks man.. I would love to program a good game, while I ain't a great programmer I probably could.. but more important things require my attention at this time.. maybe eventually.

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

      @@richardward6747 do give me notice when you start, if you still remember. If i survive the wars, the ¥|RU$ and whatever else this decade throws at us and we still live in a 'peaceful' world, i'd love to make such a game too

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

      @@richardward6747 also good luck with whatever requires your attention

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

    This was fantastic! I'm tempted to spend several months of my life working on exploring this project

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

    One if the best videos I have ever watched on TH-cam. Bravo!

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

    This man is so wholesome in how he explains all of this stuff, it's like a 2nd Bob Ross. I wholeheartedly loved it.
    I love that I went down this rabbithole of weird minecraft glitches to Trackmania Tool Assisted Speedruns and then this gem of a video.
    You know, I hate to admit it, but sometimes the Algorhythm does not fail.

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

      I love how he calles his community "friends"

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

      I kid you not that is the same exact route I took to get here, Minecraft, TrackMania and then this beauty

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

      im actually confused, i watched someone build a computer in minecraft, watched a video about cheating in trackmania speedruns and then ended up here

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

      1pqqq

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

      @@larafields5169 I agree! Couldn't have said it better myself.

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

    This is by far the most elegant description of genetic algorithms I have ever seen. Thank you for sharing.

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

      Hopefully he programming the software made him able to explain how it works

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

      Couldn't agree more!

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

    Hoooly! I've been thinking about trying genetic programming for a while now, and this is probably my favorite video on YT now! Thank you so much for this! This is incredible.

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

    This is my favorite TH-cam video. Period. Incredible stuff.

  • @thienphuchuynhtrieu6063
    @thienphuchuynhtrieu6063 ปีที่แล้ว +50

    I love the way his voice becomes so menacing at 30:20. "but NOW, lets upset their peaceful little world". This is some supervillain stuff

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

    Oh my god this is the coolest shit ever. This would make an incredible video game. Instant subscription

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

      Not exactly a video game and I'm not sure how much/where it is still available but there used to be a pretty neat 3D evo sim called 3DVCE that evolved 3D creatures composed of evolved physical bodies that moved with simple, evolved neural networks. The selection options were pretty limited but you could get some really really interesting results if you ran the sim long enough.

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

      brainlet redditor take

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

      @@ayylmao394 cut them some slack

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

      @@ayylmao394 This video but interactive. Who wouldn't want that?

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

      The closest thing that I know of is bibits (check it out on TH-cam)

  • @hippiehillape
    @hippiehillape 14 วันที่ผ่านมา +1

    Dropped a.video, left the internet.
    This man ascended.

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

    Oh my days this video is amazing. Thank you for taking time to make this

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

    This was incredibly interesting as a biology student. I hope your channel grows and I get to see a lot more content like this. Best of luck to you.

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

      Thanks, and good wishes for your journey in the world of biology.

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

      Marine biology I assume?

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

      Is this a jojo reference!!!

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

      @@howlu9086 maybe...

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

      Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont make a joke about marine biology Dont

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

    I was hoping in the radioactive example that the mutation rate went up the more radiation a critter was exposed to. :)
    You totally inspired me. I am going to be coding instead of sleeping now. :)

    • @chrisharvie-smith486
      @chrisharvie-smith486 2 ปีที่แล้ว +7

      He's using radioactive Cytosine already. @3:42 The Nitrogen has 5 bonds rather than the usual 3 NH3= :-)

  • @PaymaanJafari
    @PaymaanJafari 6 หลายเดือนก่อน +1

    Amazing work. Why did I miss this for so long!

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

    Please make more videos. This is amazing. We need your knowledge.

  • @brandonmidkiff8200
    @brandonmidkiff8200 ปีที่แล้ว +400

    01:45 The Conditions for Evolution
    08:00 Simulation #1 - How it Works
    20:30 Brain Anatomy
    27:15 Simulation #2 - Mutation and Adaptation
    34:20 Brain Sizes
    35:50 Simulation #3 - Brain Sizes
    41:15 Genome Encoding
    50:00 Software Used
    52:15 Simulation #4 - Radioactive Challenge

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

      adoption?

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

      @@TheElectricalls Thank you for pointing that out.

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

      @@brandonmidkiff8200 o>

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

      You, Sir, are a gentleman and a scholar

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

      @@ChaineYTXF You are certainly most welcome.

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

    This is one of the best videos I've ever seen on youtube. And that's a lot. CONGRATULATIONS, amazingly well explained, programmed, everything. You can be sure that I'll share it as much as possible. Keep going!

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

      Yes! Amen to the video, and amen to you for noticing and appreciating the greatness of the video! Kudos all around!! 😁👍

    • @haroldi.6450
      @haroldi.6450 2 ปีที่แล้ว +2

      These mfing bots in the comment section having coversation 😭😭

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

    This is absolutely fascinating! Thank you for such a great video x

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

    You tell everything that needs to be told (tech, tools, background). This is awesome.

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

    Timestamps
    1:45 The conditions for evolution
    8:00 Simulation #1 - How it works
    20:30 Brain anatomy
    27:15 Simulation #2 - Mutation and adaption
    34:20 Brain sizes
    35:50 Simulation #3 - Brain sizes
    41:15 Genome encoding
    42:45 The "KILL" neuron
    50:00 Software used
    52:15 Simulation #4 Radioactive challenge

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

      Thank you

    • @Ara-ot2yq
      @Ara-ot2yq 2 ปีที่แล้ว +1

      There wasn’t a minute i wanted to skip.

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

      The conditions for evolution. 1 = create an intelligently designed software program. haha. the irony.

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

      I was just stamping for myself originally. thanks for the likes though 😀

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

    This was amazing to watch! As a biologist its sometimes hard to encapsulate the enormity of the genome but with small neural networks like this it can show evolution so succinctly, thank you!

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

      I see you want to create cat girls

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

      @@lollidomoni9523 Don't we all?

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

      @@fatitankeris6327 Lmao. Underrated comment.

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

    This is one of the best videos I've watched on TH-cam, ever! Thank you for this gem!

  • @squabdiggity743
    @squabdiggity743 6 หลายเดือนก่อน +3

    And just as mysteriously as he stepped into our lives, he was gone.

  • @nathanstrogulski9432
    @nathanstrogulski9432 ปีที่แล้ว +482

    This is one of the most well-explained videos I've seen in TH-cam lately. You have a talent that should be shared with the world!

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

      ie, He needs to reproduce wih some scientist or mathematician

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

      Bro He shared his creation in TH-cam so it will reach most of viewers around the world.

  • @stonewirz2581
    @stonewirz2581 ปีที่แล้ว +195

    As a Biologist myself and with only a rudimentary knowledge of coding this is very interesting and a joy to watch!
    Cheers :)

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

      38:30 How it works is when N0 activates, N1 suppresses N0, and suppresses itself as well. This little solution here has this result: N0 triggers, triggering N1, which suppresses N0 and itself, effectively resetting the neural network.

    • @noahgary6038
      @noahgary6038 11 หลายเดือนก่อน +12

      Don't be discouraged by your level of understanding of coding. I've been a developer for 10 years and 95% of my work is very rudamentary. It will also get better as you build new things. Take python and your best ideas and run with it! I took lots of biology classes in college and there's plenty of work to do in your field!

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

      I hope you didn't waste your time on the learn to code meme since chatgpt can do all the stuff for you now lmao

    • @ThecouncilOf8
      @ThecouncilOf8 2 หลายเดือนก่อน +1

      ​@@Noqtisyou are why idiocracy is a documentary not a comedy smh

  • @bluemond100
    @bluemond100 7 หลายเดือนก่อน +3

    I'm curious to see how they vary with more complicated selection processes, like having them struggle over food sources and finding a mate, and luckily he's given the source code. I've seen live evolution simulated in Unity by game developers, but the genomes usually just define some specific traits of the animal, while behavior is programmed, and mutation usually isn't introduced, only a randomization between two parents' traits.

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

    My friend...
    This was a great video.
    Please make more.
    It would be great to watch videos of these creatures evolving around different obstacles with different survival criteria.
    I honestly think you have a killer channel here, with an opportunity to also stir interest in this field.
    I wish you the best.
    But please... more videos.

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

    That was without doubt, one of the most fascinating videos I have seen on TH-cam for some time. Thank you for creating and posting it, David.

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

      800 generations at max and then drops nearly 1000x in 100 generations? and you are not doubting at all? :D im sorry to pull you back into reality but Jesus Christ is on the throne and the world is about to get judged.

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

      @@lt3742 uh?

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

      @@matteosposato9448 seek for Jesus Christ of Nazareth while He may be found

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

      @@lt3742 Errrm, what the heck has this to do with my reply. Nothing is what.

    • @Matityahu-the-God
      @Matityahu-the-God 2 ปีที่แล้ว

      @@lt3742 wtf are you on about? If God is real, he's a psychopath. I'll step to the left if his bastard son shows up, no way in hell would I spend an eternity with an emotional maniac like that.

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

    I wish I discovered this video while studying neural networks and genetic algorithms in school! This was very informative and very well done. I'd love to see more of your work in the future!

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

      Indeed so do i, too bad we were too scared to fail and copy pasted everything instead of being inspired to learn more!

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

    This is definitely one of the most interesting videos I have seen in a long, long time.

  • @cashel1111
    @cashel1111 8 หลายเดือนก่อน +5

    I initially thought that making the output neurons do explicit actions felt like cheating, however since the connections are chosen by the creature and they have to determine usefulness for themselves this is actually perfect!
    a great video would be just more scenarios, especially ones that change survival requirements at some part of the way through
    also, the radioactivity should make mutation frequency increase! so many possibilities!

  • @SoupyOatmeal
    @SoupyOatmeal ปีที่แล้ว +294

    David , you have had two and one half million views in less than 2 years. That should tell you that you are very good
    at mtaking a complicated subject and explaining it in a way that people will listen to. It is a shame that you called it
    quits.I for one wish you had not made that decision. Best to you and thank you for all the effort and work you put in.

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

      I was so disappointed when I went to his channel and couldn't binge years worth of content...damn it

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

      he quit? whered you find that info? did he say why he quit?

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

      Men in black took him in as a researcher. Now doing top secret work.

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

      "two and one half" never understood this americanism. wonder if you ever say "two and two halves" or "two and three halves"? plus it just sounds wrong

    • @strelnagaming
      @strelnagaming 11 หลายเดือนก่อน +2

      ​@@artanaillazentujin3449 he only has 2 videos on his channel and hasnt posted in 2 years, pretty safe to say he either quit or died or something

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

    This was great to watch. I'm really glad the algorithm worked in your favour. I wish there was an easily approachable way to try out your software, as a microbiologist I am not that versed in getting stuff to run on linux. In any case, this is a great video, your narration and explanations are awesome :) Thank you for all the effort you put into this

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

      Don't you mean this was "great great great great great great great great great great great great great great great great great great great great great great great great great great" to watch?

    • @Ty-mf3vz
      @Ty-mf3vz 2 ปีที่แล้ว +2

      worked in his "favor"? Shouldn't it be subjective, unbiased??

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

      I’m sure there will be iPhone apps for this in a few years

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

      @@Ty-mf3vz the term worked in someone's favour doesn't imply that it isn't subjective or unbiased. It means exactly what you want it to mean. It basically means that despite the inherent randomness he got lucky that it worked out the way it did.

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

      @@Ty-mf3vz Unbiased? What makes you think the TH-cam algorithm is unbiased? In fact, they make a point of telling us of at least some of the biases they employ.

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

    Intelligent design at work in the lab. Amazing!

  • @thereal4815
    @thereal4815 2 วันที่ผ่านมา +1

    Incredible video, sparked a bit of interest in me about simulating evolution

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

    38:32 oh my God. I think that's a primitive form of memory.
    I was thinking about the loop in the first run how the internal neuron had a negative loop to itself. I intuited that it was basically a flipper that flipped the neuron back and forth so that it wojld move randomly every other step.
    This seems to basically remember what it did for the last 2-3 steps. It's got the same negative self flipper but it also inverts itself into the neuron linked to thst sensor.
    N1 basically inverts itself every step while also adding influence back to N0. Which means certin locations of x over time will do different things, depending on the cycle.
    Basically it alternates between moving west and moving random, but not every cycle. Usually it will do this 50/50 but the higher Lx gets, the stronger the strength of each subsequent flip will be. But N1 also inhibits N0 so it only really does this every other step. OH! Because it only wants to strengthen it when it's already strong, otherwise it would become neutral on the off cycle. Brilliant!
    I see that Rnd (random?) is linked to move random. So basically the stronger N1's flips are it will eventually overpower Rnd and move west more often instead of random. Or if Lx is shrinking, it will move random more often than west.

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

      Good catch. It works similar to a computer memory latch

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

      40:18 lol you should check this one out, it looks extremely impressive however if we compare that to our brains its not even like 0.001%

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

      I'm trying to make my own (much simpler) project following the same ideas, but I'm stuck at the internal neurons. I don't understand what I want from them, and it seems like you might. I tried poking around in the linked code, but haven't found it yet. If you could point me in the right direction, or share a resource that explains the concept, I'd appreciate it :)

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

      @@Dnallohes They're just there to be generic intermediate nodes that are able to connect to each other and pass signals around. Just having them available for this increases the number of different possible ways that the input signals can flow through the brain and be linked to each other, and therefore the possible complexity of the AIs behavior. If you're familiar with electrical engineering, you'll see quickly that one of the things neurons can do, just by being connected to each other in certain ways with signals going through them, is form various kinds of circuits, including things like logic gates (AND/OR/XOR/NOT, etc), timers, and memory circuits. The signals from the inputs going through these circuits allow the neural net brains to hold and act on more possible informational states, process the inputs in more complex ways, and even learn to correlate them (since the internal neurons can connect to each other as well).
      The more neurons & connections available in a neural network, the more complex its circuitry, and therefore its processing, can ultimately get. It can develop memory, learn to recognize patterns, adapt to changing conditions, get and use feedback on the sensory results of its previous actions, etc, ALL just depending on precisely how the neural circuits in its brain are connected. The neat thing is you don't have to understand what it's doing or program the neurons to do any of this, just let them connect however they want and mutate randomly. Over generations of selection, the successful surviving neural networks will become smarter and smarter (up to their capacity), evolving the right wiring to succeed (and/or call down SkyNet... but that's what you get for activating the 'kill' neuron...)

    • @user-kh3bl1go9k
      @user-kh3bl1go9k ปีที่แล้ว +1

      @@blissful4992 it’s insane, the idea that their brains are that complicated for them to do something so simple makes me appreciate us as people

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

    40:45 One interesting thing is that in reality, neurons take energy to use so they increase the needs of the organism. And as you shown in the exemple there is diminishing return when it comes to the result of increasing brain size. The smallest brain size was awful, but just a few neurons were enough to make it almost as good as the biggest brain.
    This probably is one part of the explanation why most organisms in nature are extremely simple. Only the most successful creatures with bigger brain benefit from it, while smaller brains require less energy and have less pressure to succeed.
    It's obviously more complex than that but there is definitely a tension between the cost and benefit of brain size. While in your simulation if brain size could evolve alongside brain structure (a gene causing extra genes or neurons to appear in the next generation) there would probably be a complexity creep that would never stop because there is no limit to growth, at least until it becomes unsustainable and crashes your computer and oh my god this became a global warming analogy! Except that in this case they would rip the fabric of spacetime without even having any way to realize they have an effect on it. Creepy...

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

      This should be a movie

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

      @@jinminetics599 I mean, it's more or less the plot of gurren lagann.

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

      @@TH-camTookMyNickname.WhyNot You do sound drunk indeed xD hopefully you can clarify when you sober up cause I have no clue what you're trying to say

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

      @@Laezar1 😂

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

      An interesting related idea is the observation that brain size changes tend to lag behind body size changes, that is to say, if your body is growing in size over evolutionary history, your brain size doesn't increase at a proportional rate.
      This had led to the hypothesis that reduction or gain in body size primarily leads to disparities between brain and body sizes. I seem to recall reading about size reductions in our primate evolutionary history for instance.
      Non-migratory birds tend to have more encephalization when compared to migratory birds - likely because nervous tissue is too energetically costly when competing with similarly expensive migration patterns where birds might have to fly thousands of kilometers. Our large brained non migratory birds dont have to worry with competing costs, they just need to support their larger brains. It's hypothesized that larger brained birds are more behaviorally flexible and can capitalize on niches that aren't available to smaller brained individuals.
      This would stratify where certain individuals of a species can survive (based on individual brain differences), acting as a soft reproductive isolation. Which may have contributed to the diversity of avians fauna today

  • @JaneH1030
    @JaneH1030 4 หลายเดือนก่อน +2

    This is the most fascinating and brilliant video on how evolution works showing the beautiful simple and yet powerful mechanisms of the mother nature. Huge respect to David! I am so envigorated and inspired❤

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

    wow, wow, wow, wow, this is so inspirational and it's absolutely the best video on programming evolution ive seen

  • @keesdevreugd9177
    @keesdevreugd9177 ปีที่แล้ว +121

    Holy moly. After grinding coding challenges for three years I got a bit tired of the whole ordeal, but this one sure relights the fire.
    Can't wait to create a simplified version of this.

    • @tylermanning4321
      @tylermanning4321 6 หลายเดือนก่อน +5

      When you do can you link it? im genuinely wanting to run this for myself. Ill pay

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

      ​@@tylermanning4321I'm thinking about it too 😂

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

      how far did u get

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

      Since this isn't happening I'll just make it. Give me like a week tops.

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

      @@hellvet3 u got thisss

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

    You have the genuine skills of a documentary maker - I could happy sit through another hour of similar stuff. Also I'm super appreciative of the explanations, it's literally the first time my knowledge of neural networks has surpassed 0% (though I still don't get the "internal neuron" purpose).

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

      Me too! I've been combing through the code trying to figure out what the internal neurons do, and I can't find them. What I've been able to find in the code comments is what's explained in the video. I'd love to make something similar on a simpler scale, but I just don't know what's going on there.

    • @j.j.maverick9252
      @j.j.maverick9252 2 ปีที่แล้ว +12

      check out some videos about neural networks (keyword: perceptrons) which mention the XOR problem… sounds complicated when you don’t know and/or/not/xor logic, but it turns out to be really simple when explained well. The internal neurons allow XOR which is not possible with only two layers of neurons.

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

      @@j.j.maverick9252 Ahh thanks a bunch, I thought it'd be way more complex but your explanation makes a lot of sense.

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

      @@Dnallohes For that you need to learn bit about neural networks.... I would suggest watch video 'Perceptron' by Carnegie Mellon University Deep Learning

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

      @@j.j.maverick9252 Yes. Perceptrons have only one layer, so they can't determine parity differences. The more inside layers of interconnected neurons, the more intelligence. Humans have many layers in their visual processing, and that's before the visual information even makes it to the actual brain.

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

    Not exaggerating: The best video I have seen on TH-cam so far

  • @lliillIIIIIIIIiIiiilllllll
    @lliillIIIIIIIIiIiiilllllll 3 หลายเดือนก่อน +2

    You sir are truly a man of science. Your knowledge and attention to detail show profound wisdom. For example, while talking about your postulates for evolution you mention self replication. Over the screen you have a floating hydrocarbon! The molecule theorized to have given rise to cells and isolated organic environments. I have worked in a molecular biology lab for a few years now and I salute you.