Tap to unmute

I programmed some creatures. They Evolved.

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

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

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

    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 3 ปีที่แล้ว +201

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

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

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

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

      The algorithm has called us.

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

      Count me in for the algorithm summons

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

      boost

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

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

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

      Maybe the evolution stopped him 🤯

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

      and Shakespeare

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

      @@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 ปีที่แล้ว

      What are you blathering about@@lit22006

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

      He is active on github

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

    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 3 ปีที่แล้ว +11

      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

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

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

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

      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 6 หลายเดือนก่อน +2

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

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

      Clearly never watched charlie bit my finger 😂

  • @rm-g6481
    @rm-g6481 ปีที่แล้ว +962

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

    • @Lemjanmusic
      @Lemjanmusic ปีที่แล้ว +36

      If only he added tiktok sped up music

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

      Facts

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

      ​@@Lemjanmusicbruh 🌚

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

      @@Lemjanmusichell no

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

      @@soulslip 😂💀

  • @Michael-px4oj
    @Michael-px4oj 3 ปีที่แล้ว +490

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

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

      viewers habits evolved to share it?

    • @mrbrown6421
      @mrbrown6421 3 ปีที่แล้ว +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 3 ปีที่แล้ว

      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 3 ปีที่แล้ว +9

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

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

      That's pretty quick for TH-cam tbh

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

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

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

      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.

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

      @@benearhart1224 thank god your not smart enough to this

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

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

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

      @@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.

  • @MoonCrab00
    @MoonCrab00 ปีที่แล้ว +1070

    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 8 หลายเดือนก่อน +5

      inventive

    • @tonyennis1787
      @tonyennis1787 8 หลายเดือนก่อน +9

      did not skip

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

      Attention span passed ✅

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

      Shut up bro

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

      i did

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

    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 3 ปีที่แล้ว +382

      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 3 ปีที่แล้ว +119

      @@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 3 ปีที่แล้ว +64

      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 ปีที่แล้ว +37

      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 ปีที่แล้ว +77

      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.

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

    95 views.... it deserves millions!

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

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

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

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

    • @jaredjones6570
      @jaredjones6570 3 ปีที่แล้ว +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 3 ปีที่แล้ว +90

      16k now

    • @chri-k
      @chri-k 3 ปีที่แล้ว +41

      @@flyingsquirrelfpv4866 17K

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

    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!

    • @BluecoreG
      @BluecoreG 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 ปีที่แล้ว +1

      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...

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

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

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

    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 2 ปีที่แล้ว +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 2 ปีที่แล้ว +21

      @@SINLEADSTOHELL Bro that's way off topic

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

      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 2 ปีที่แล้ว +4

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

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

      @@Mark-Wilson your average extreme zealot I guess

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

    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 ปีที่แล้ว +6

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

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

      @@QuantumElectroDynamic one of the best binary drinks I had

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

      @@QuantumElectroDynamic lmao 😭

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

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

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

      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 ปีที่แล้ว +11

      Someone, think about the children!

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

      What GOD must feel as well.

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

      He’s the God we need lol

  • @geckoram6286
    @geckoram6286 ปีที่แล้ว +102

    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.

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

    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 ปีที่แล้ว +96

      Can we please see this program simulated?

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

      Great insight

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

      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 ปีที่แล้ว +57

      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

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

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

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

      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. 3 ปีที่แล้ว +6

      @@BoomBoomMushroom Just another day in Florida

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

    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

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

    I ran 50 generations and changed a couple of the config parameters. Excited to play around with it more when I get home. Edit: Ignore my previous edit. I did compile it in Windows, and will help anyone that wants to, but I found a repo that built this with SFML (usually used to make video games) and it's much better suited to a linux development environment. I really want to toy around with this code. There is a lot to learn from this guy.

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

      how do use the file?

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

      @@Zigiely you have to compile it or run it in docker. Docker is probably easier

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

      @@Zigiely if you still need help, just ask. Learning about how a compiler works is frustrating for sure

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

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

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

      Are you a progammer

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

      @@cookoreo6890 no, he es a football player

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

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

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

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

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

      a engineering student

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

    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 ปีที่แล้ว +14

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

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

      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 9 หลายเดือนก่อน

      😂

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

      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 8 หลายเดือนก่อน +2

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

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

    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

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

    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. 🙏

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

    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 3 ปีที่แล้ว +7

      Same

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

      Shut

    • @ScottSavageTechnoScavenger
      @ScottSavageTechnoScavenger 3 ปีที่แล้ว +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 3 ปีที่แล้ว +9

      You should explore complex systems

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

      This is really good. You need a Patreon!

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

    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 3 ปีที่แล้ว +3

      Thank you

    • @Ara-ot2yq
      @Ara-ot2yq 3 ปีที่แล้ว +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 😀

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

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

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

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

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

      @@AratjaUjotOurstories and the kill gene was always on!

    • @sunnydlite-t8b
      @sunnydlite-t8b 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

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

    • @sunnydlite-t8b
      @sunnydlite-t8b 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.

  • @whiteobama3032
    @whiteobama3032 9 หลายเดือนก่อน +566

    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.

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

      😂😂😂😂

    • @bijoychandraroy
      @bijoychandraroy 5 หลายเดือนก่อน +14

      understandable

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

      The guy became the god of creation

    • @WhitePerson-
      @WhitePerson- 3 หลายเดือนก่อน +4

      He just made east side survivalist(beware west),
      Btw why he just halved their world? He could have drawn graph lines from top to bottom and from left to right up until it still reaches 50% of the world land and then the mutations wont have a simple survival instinct to run east, they will be forced to have a more complex survival instinct as the whole world will be looking like square boxes of inhabitable lands .

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

      ​@@WhitePerson-he didnt think about it?

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

    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.

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

    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 ปีที่แล้ว +15

      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.

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

    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 3 ปีที่แล้ว +179

      But isn't Argentina south west of Germany?

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

      @@ianmeade7441 goated reply

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

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

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

      Fake you must be Russian

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

      Auf jeden Fall

  • @asoulinsearch4267
    @asoulinsearch4267 8 หลายเดือนก่อน +3

    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.

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

    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.

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

    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.

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

    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 3 ปีที่แล้ว +28

      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 3 ปีที่แล้ว +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 3 ปีที่แล้ว +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 3 ปีที่แล้ว +3

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

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

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

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

    I think this video just finally helped me understand what i was struggling most to understand about what it takes to develop my own ai models from scratch. Thank you very much! Now to put these thoughts into practice

  • @oldbear86
    @oldbear86 3 ปีที่แล้ว +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 3 ปีที่แล้ว +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 😭😭

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

    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 3 ปีที่แล้ว +11

      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 3 ปีที่แล้ว +2

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

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

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

    • @tomh5094
      @tomh5094 3 ปีที่แล้ว +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.

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

    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

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

    David come back please! We need more videos like this one!

  • @nathanstrogulski9432
    @nathanstrogulski9432 2 ปีที่แล้ว +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 2 ปีที่แล้ว

      ie, He needs to reproduce wih some scientist or mathematician

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

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

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

    "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-Seven-Teen
      @User-Seven-Teen 2 ปีที่แล้ว +12

      hardest quote 2021

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

      Your evolved!

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

      @@User-Seven-Teen
      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

  • @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

    • @suspiciousbacon
      @suspiciousbacon 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.

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

    Well it took 4 years for mr. Algorithm to understand that this content is valuable. Better late than never

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

      Generally happens to small channels where the creator died.
      YT is dirty.
      Don't expect any new videos.

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

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

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

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

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

      Couldn't agree more!

  • @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!

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

    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 2 ปีที่แล้ว +4

      adoption?

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

      @@TheElectricalls Thank you for pointing that out.

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

      @@brandonmidkiff8200 o>

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

      You, Sir, are a gentleman and a scholar

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

      @@ChaineYTXF You are certainly most welcome.

  • @SoupyOatmeal
    @SoupyOatmeal 2 ปีที่แล้ว +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 ปีที่แล้ว +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 ปีที่แล้ว +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

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

    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  3 ปีที่แล้ว +117

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

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

      Marine biology I assume?

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

      Is this a jojo reference!!!

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

      @@howlu9086 maybe...

    • @chunkle5655
      @chunkle5655 3 ปีที่แล้ว +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

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

    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 ปีที่แล้ว +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 ปีที่แล้ว +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 8 หลายเดือนก่อน

      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 8 หลายเดือนก่อน +1

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

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

    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.

  • @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 ปีที่แล้ว +5

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

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

      ​@@tylermanning4321I'm thinking about it too 😂

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

      how far did u get

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

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

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

      @@hellvet3 u got thisss

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

    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.

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

    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 3 ปีที่แล้ว +7

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

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

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

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

    Wow, have just watched a minute of this video and know it is going to be exciting

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

      ALL THEORY...Look up outa the tv mandates...g..trainz hew man isum..

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

      @@paulmillard9535 “g trainz hew man isum”
      - please articulate if you want anyone to appreciate what you may have to say

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

      its all bull shit data in dna is not undersude i believe in nateral satlicion but not evelution mutions are damiage

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

      @@stanleydavidson6543 though the credibility of your belief lacks legibility or factual reference, I’d dedicate time to follow up any sources you have if you can provide links as a counterpoint to this extremely detailed and widely respected area of study.
      Much more worthwhile to share links and peer reviewed scientific data than argue our relative understanding of this phenomenon

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

      For real, is any of the comments on this comment real?

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

    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 ปีที่แล้ว +13

      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 ปีที่แล้ว +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 2 ปีที่แล้ว

      @@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.

  • @fabidoriomaccastuff5330
    @fabidoriomaccastuff5330 ปีที่แล้ว +30

    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.

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

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

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

    "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 3 ปีที่แล้ว +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

  • @Kane-5263
    @Kane-5263 3 ปีที่แล้ว +45

    I started watching the vidéo, and it was already the end, that was really good, I didn't see the hour pass at all!
    Thank you for this great guide and for even sharing how you coded it, it really is great materiel to learn from!

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

      I was so upset seeing that red bar get longer and longer.

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

    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 ปีที่แล้ว +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 2 ปีที่แล้ว +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

  • @whisped8145
    @whisped8145 ปีที่แล้ว +57

    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.

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

      There is just one start codon: AUG, and there are actually three end/stop codons: UGA, UAA, and UAG. Also, it's spelled "ribosome"(unless you are talking about the band)
      Good info though 👍

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

      Does that not also exponentially increase the complexity and need for precise compatibility to survive and be a compatible mate with another genome (because the video states one requirement is to find a mate to reproduce)?

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

      Ooh

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

      Sure

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

    I would love to see a continuous simulation instead of a generational random redistribution. Instead, I think, adding a birth rate along with a slowly changing environmental challenge would be more analogous to what we see here on earth. This would replace simulation cycles with time, more like a real world circumstance.

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

      Step at a time.
      Such things always start oversimplified then grow in later iterations :)

    • @ita-or8ze
      @ita-or8ze 2 ปีที่แล้ว

      Maybe try to search the bibites

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

      Easy. Learn to code and do it!

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

      @@randallwalkerdiaz1002 good idea!

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

      @@Makebuildmodify you’ll basically be up there with Tesla if you do since you’re a great builder😏🤙🏽

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

    This one went straight to my favorites. I'll watch it and re watch it so many times I'll know the words from the top of my head.
    You, sir, are an awesome square on our grid.

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

    This is a very nice and interesting insight into evolution. I don't find it surprising though, that the kill neuron soon predominates the respective simulation. David accidentally incentivized killing contemporaries. The reason is, that his populations have the same overall size from generation to generation, but only survivors do reproduce. This means, that if fewer entities survived, the survivors will create more offspring (per survivor). So by killing others, his entities have more offspring, while reducing the offspring of the competition. It was unavoidable that his little creatures became murderous :) - on the plus side: Different environmental conditions (like in the real world) would incentivize different behavior, and thus not have this drastic an effect.

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

      I was sort of wondering about the reproduction factor too! Like what if the population is allowed to grow/shrink based on the number of survivors at the end of each generation, rather than entirely repopulating the beginning of each generation? It seems to me that this would have a significant impact on the applicability of the simulations' outcomes to nature.
      But then, I also see the advantage beginning each simulation with a standard population size. It just makes things so much cleaner and easier to compare, not to mention keeping CPU usage manageable. And I guess you can think of them as samples of a larger, unsimulated population? I feel like there's something wrong with that view but I can't put my finger on it.
      Super interesting video though! Makes we want to try all sorts of different configurations

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

      The real world almost certainly favours other traits than killing, until congestion happens.
      Unfortunately, direct cooperation is many tiers higher up in orders of required logic, and can therefore be preceded by the occurrance of congestion.

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

      I see this more as a clear simulation of intelligent design. unless this program wrote itself.

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

      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. We might all learn something of highly contemporary value. Because, nothing spills more blood than a bleeding heart.

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

      @@benearhart1224 we get it, you think you're smart, no need to copy and paste your own comments

  • @USMiner
    @USMiner 29 วันที่ผ่านมา

    This video changed my perception of life and the universe. Really great stuff, I re-watch it occasionally and this time I took notes. You've inspired me to finally try to create my own simulation. Thank you for a truly great video!

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

    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

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

    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)

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

    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 ปีที่แล้ว +43

      fr like why we all getting this suggested now 😭

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

      Fr. Amazing work. The world needs more.

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

      @@VanyaTheSlavic are you okay

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

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

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

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

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

    It's so nice listening to you. You are the Bob Ross of what ever it is you are doing here.

  • @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

  • @nono-ey8lx
    @nono-ey8lx 3 ปีที่แล้ว +77

    I haven't seen a video more thoroughly explain this concept, this is honestly a masterpiece.

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

    That was one of the most entertaining things I've seen for quite some time on YT. And the quality of the video is at a really good level
    Nicely done!!

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

    Easily one of the best videos I've ever seen anywhere.

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

    I would love to see sims with some kind of consumption requirement introduced. For example maybe, every 2 cycles inside a generation each individual must consume at least 1 bit. At the beginning of each cycle 95 bits to 100 individuals are introduced to the environment. Maybe a random mutation could allow for space to stockpile or another to only need 1 but in 3 cycles.

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

      That would be really cool but every additional behavior will make it take exponentialay harder to simulate. We need to get him more computing power so he can keep it going.

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

      @@wastedtalent1625 yes I can understand that. Just adding cycles inside the generations almost makes a single generation relative to an entire current sim. Still, I know he could do it. Wish I could somehow contribute even if it was just time proofreading code but I don't know how and I'm not working... There are now other sim games somewhat similar but I really like the user friendly results of these sims. Also, I feel the others are often biased towards increasing sales to non-scientific interest.

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

      @@wastedtalent1625 wonder if this could be done on a "folding at home" type thing. I forget the name, but there is a tool that can be used to convert a regular program into a "folding at home" type thing

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

      @@_ayohee is that a joke or are you being serious?

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

      @@wastedtalent1625 Well, I oversimplify, but it should be possible to divide the work, no?

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

    As a game designer whos very enthusiastic about procedural processes and evolution this was very informative and entertaining. I really liked the structure you gave the video and the way of narration. Although I am very inexperienced with neural networks I feel like I could reproduce this after this video and who knows maybe ill give it a try. Good Job!

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

      Id love to see your go at it!- :]

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

      @Lukas Eckart: Besides neural networks check out genetic algorithms. This is a combination of both concepts.

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

    I'm in biotechnology and this content is exactly what I'm looking for. Make some more of these. You are an amazing creator/teacher

  • @JaneH1030
    @JaneH1030 11 หลายเดือนก่อน +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❤

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

    As a 3D artist building my way through videogames industry, I think you just changed my future line. I know I may say some dreamy stuff right now but, I see a future where video games will be.. real. Just like in Tron film. Npcs will feel like really understanding their environment. I’m so dam curious to just create some basic 3d mesh with an AI that deforms it based on mutation factors. The AI could even change the rigging structure of the creature based on movement and animation necessities. There is so much free and non explored field in this... just imagine a new SPORE game released with those features

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

      This is your sign to go and do it!

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

      Free Guy

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

      It’s like the one used in that game that generates planets by mixing the characters up.

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

      My thoughts exactly.

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

      Rain World

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

    This has made me rethink what "learning" means. You can see here that learning could be considered a complex form of filtering. It also makes intelligence seem a lot less special, because intelligence is a side effect of survival selection based on progressively larger environmental challenges. The more environmental complexity there is, the more "intelligence" must develop by filtering to navigate it. Fascinating.

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

      Yep, and one machine learning technique used to design AIs involves doing exactly this. Genetic algorithms, which run many generations of concurrently running and competing AIs that likewise can be neural networks, but don't have to be, as long as they have a way to process inputs and map them to actions, a sufficiently complex brain, and a random factor (like mutation), which as we've seen here is all that is needed to allow you to allow the AIs to evolve adaptively in order to get better and better at solving a problem.

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

      Best comment I have read today !

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

      Im not sure I would use the term "learning" - Learning as I understand it implies some conscient action with the goal of expanding ones understanding.
      This is adaptability which in itself doesnt require any form of goal or conscient understandings. It is stored as innate abilities that the gene carries with them regardles of the mental capacity and/or intentions the carrier brings to the table. Its the same if its a earthworm or a human. And I dare claim we cant learn an earthworm anything. But they do have the reflexes/autonomous behavior that prevents them from drowning when it rain, or fry if the get exposed to high temperatures. They have adapted..

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

      Yes I was thinking on the similar lines that teaching and learning seem to be added functions of evolution . To transfer knowledge of survival, knowledge on top of your genomes knowledge/information on how to survive ( or the ones that could not be transferee through the genome )

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

      @@martinwinther6013 Traditional neural network implementations 'learn' more in the way you are thinking of... the system is 'trained' with input and programmed to get varying levels of reward from the results of its chosen actions which it uses to reinforce or weaken connections in its brain. This lets it learn what works to solve the problems it needs to... This is also more like how a real brain learns during an organism's lifetime. There are some problems with implementing this though, it gets complicated figuring out how many layers deep you should make the connections, how malleable the connections are, etc...
      The genetic algorithm technique here builds the connections in a different way, using selection, randomness, and evolution to build brains that already have wiring that can solve the problem... This is more like how real organism's brains evolve their base wiring, the things like instincts and effectively controlling the body. This has shown a lot of promise in developing AIs and is pretty much the new way AI developers are going.
      The term machine learning here is still valid though, since the end goal is getting an AI that is properly trained to solve a problem. This is still a process of giving the AI all kinds of input, observing their output, and rewarding successful results in some way (in this case, with 'survival' of its better qualities to pass on to further 'generations'), still these generations were really just repeated training iterations for the working AI that is the end result... When you look at this effect in nature, you see how it also almost has to result in intelligent (or rather, at least sufficient for survival in their environment) behavior in any species which can evolve. A species 'learns' its basic behaviors, those required for it to survive, as a population (or rather, the surviving portion of it...), in much the same way these things do.

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

    "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

    • @Its_A_Payne
      @Its_A_Payne 3 ปีที่แล้ว +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 ปีที่แล้ว +9

      @@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".

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

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

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

    Wow. Perfect presentation. The best I have seen. You sir deserve an award of something. Super interesting, well explained, it keeps one's attention all the way to the end. A master piece, well done. This was an inspiration.

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

    I'm so glad this video is finally getting views. This was an amazing watch. Honestly kinda sad more complex survival criteria weren't used. I would've loved to see solutions that make use of pheromone as a result.

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

      I'm wondering if that radiation simulation makes use of pheromone. So they know how to clump together or if it is all age and border distance based.

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

      @@NeoNthriller remember there are also sensory inputs for population density. They could've used those too.

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

      @@alacer8878 Ah true, I forgot about that one

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

      I guess it made it through the censorship gates and now it's been approved for our viewership by our master Google. God bless Google!

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

      @Aurora Peace Yes. I was one of the first few to watch it. It sat at less than a thousand views for a really long time. It's only recently that the algorithm picked it up.

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

    Wow. The video came up in my recommended last night and I added it to my watch later list. I'm glad I didn't try to watch this last night because I would have gone to bed an hour later than I wanted. The presentation in this video was amazing. You're explanations are great. And thank you for sharing the code.

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

    2:00 Evolution doesn't have to explain where the first self-replicating molecule came from. Chemistry does that just fine.
    Evolution takes place in the latter part of this inevitable chain of events in certain optimal conditions:
    1: Atoms form molecules. Happens quite often.
    2: Molecules are sometimes formed that oscillate and move.
    3: Molecules that oscillate and move sometimes happen to move in ways that construct other molecules.
    4: Sometimes molecules that construct other molecules happen to construct copies of themselves.
    6: Molecules that self replicate become super abundant. (evolution)
    7: Random events lead to errors in the copies (evolution, mutation)
    8: Molecules that happen to mutate to replicate faster or better become a the new fittest replicator.
    9: As atoms and molecules to build from become scarce, replicators that steal from other replicators keep replicating and become fittest.
    10: Replicators that happen to build little shields for themselves survive better and become fittest.
    It's all inevitable, and doesn't really require proof other than "chemistry" as a whole.

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

      Thanks for the explanation! Now the only deep questions remaining are located before the 1st step, one of which being "how are attoms formed?"
      But I guess the more we learn about this world, the more there is to question huh?

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

      @@firegator6853 Very true. Why does a universe arise, why does a universe behave as it does, can it behave differently, and so on. There’s no end to that.

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

      How were atoms made?

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

      @@ginsan8198 yeah, I don’t know that one either.

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

      So why doesn't it happen now if it was that simple? The hypothesis that early earth conditions somehow facilitated something thwt cannot happen now is just that, a hypothesis.

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

    This is nothing short of awesome! I hope you will continue with this work and share your findings!

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

      Thanks! And I look forward to more of your awesome tutorials on OpenMP.

  • @123khg
    @123khg ปีที่แล้ว +32

    My man, you are no less equal to Primer and other talented simulation programmers out there. How comes you have been so underrated. I hope the algorithm aids you as it has guided me to this masterpiece.

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

      he only has 1 other video.

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

    One of the best videos on TH-cam this year! Thank you for your hard work, what you presented here is truly fascinating!

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

    your voice is so davedamn soothing i might fall asleep to it

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

    I think it's counterintuitive that the kill neuron did not actually "kill" the other cells. That is, each next generation starts with the same number of cells.
    Also, killing usually has some kind of benefit associated with it. Most killing happens for sustenance. If a kill was rewarded with a higher reproduction rate, things would get more interesting.

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

      Those that are killed are replaced with the children of those who survived.
      If few survive they will have many children to get back up to full population size.

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

      the pheromones and genetic similarity sensory inputs could be used to preserve total population while minimizing deaths
      with more complex reproduction conditions that better utilize the extant pieces, you could easily get more interesting results. ironically, the built in evolution of the sensors was the least effective of all, as it was designed for an environment that the cells did not exist in. arbitrarily setting a zone to reach, then spreading the offspring at birth is foreign to say the least. the radiation example is better designed, as it allows the age or oscillation sensor to better direct the cells.
      tying any conclusion from this simulation to the real world, while the selection pressures are so vastly different between the two felt pretty silly as a cap to the video, though i am grateful that there is room for me to mess around with the code and answer my own questions

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

    I had to go look up what a hyperbolic tangent function is, which I needed to look up what Eulers equation was, which I then needed to look up what eulers number meant, all because I wanted to understand what was happening in the video. This is one of the first videos I’ve watched that made me so interested in something.

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

      Any askers?

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

      @@chrisdawson1776 askers?

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

      @@chrisdawson1776 yeh my thoughts exactly I couldn't see anyone asking for your comment

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

      @@chrisdawson1776 you seem like a hateful person

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

      That's good stuff man.

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

    "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

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

    your unique perspective on topics is what i look forward to!

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

    I can’t believe something THAT good would have 7k views. I loved It, can’t wait to see more of this.
    Biotech student btw

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

      its up to 70k views which is still nowhere near what it deserves

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

      wait, this had just 7k views 5 days ago?!

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

    Just got this recommended to me, i find simulated life extremely fascinating.

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

    It's a fantastic video. I'm always excited to see how a genetic algorithm turns out. It's like a film of the genre "they lived happily ever after," where the runtime could be anything.
    One thing to note is that this is your single TH-cam video. It's not possible, because this isn't the work of a first-timer. You must have created more documentaries/videos. Please share them with us.

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

      Probably a computer science lecturer

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

      He has a couple more on Vimeo

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

    I thoroughly enjoyed the video on neural networks and natural selection. I was mesmerized while watching it and didn't even realize when it ended. The video explains complex concepts in a clear and concise way, making it a must-watch for anyone interested in this field. I highly recommend checking it out on TH-cam. Thank you to everyone who contributed to this work

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

    This is great! I might have to dig into this because there's several things I want to play with (individually and in conjunction):
    * setting mutation rate as an output gene (what's optimal?)
    * setting neural complexity (# of both connections and internals) as output genes
    * making it so that reproduction happens specifically only between individuals ending next to each other (curious about how that would effect murder rates in particular, and would they evolve to use genetic similarity input to avoid killing potential mates)
    * food chain simulation; neural complexity as output gene as above, but higher complexity can starve and must "eat" (kill) to survive (curious how many will prioritize simpler non-eaters versus complex eaters)
    * like the radioactive challenge, but mutation rate depends on amount of exposure (will they evolve behaviour specifically to find best mutation rate, and will it match first item above)

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

      I bet the one about reproduction happening locally would result in a lot of polyamory :-)

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

      ​@@katiebarber407as tended to occur in human history!