AI learns to WALK 3D (Part 2)

Sdílet
Vložit
  • čas přidán 20. 12. 2022
  • Get an Exclusive NordVPN deal here: nordvpn.com/CodeBullet It's risk-free with Nord's 30-day money-back guarantee!
    WATCH PART 1: • AI Learns to WALK 3D
    Twitter: / code_bullet
    Patreon: / codebullet
    Discord: / discord
    Art created by @Dachi.art / dachi.art

Komentáře • 5K

  • @CodeBullet
    @CodeBullet  Před rokem +1538

    Thanks again to NordVPN for sponsoring this video. Get an Exclusive NordVPN deal here: nordvpn.com/CodeBullet
    It's risk-free with Nord's 30-day money-back guarantee!

  • @aurellis
    @aurellis Před rokem +3406

    When you started rewarding them for facing the right way, but they just turned their heads and kept walking backwards was like the ultimate "fuck you".

  • @dazcar2203
    @dazcar2203 Před rokem +15610

    AI is finally being added to this AI project, and it only took half of a half hour video of homoerotic character rigging to get this far

  • @livelyy.
    @livelyy. Před rokem +1272

    Idea: co-evolve two AIs in a game of chase. Reward one for catching the other, and one for staying away. See if they learn different walking strategies

    • @danialrafid
      @danialrafid Před 10 měsíci +25

      There already is one, search for prey and predator ai simulation on yt

    • @lui5gif
      @lui5gif Před 10 měsíci +52

      ​@@danialrafid yeah but do those just squirm of the floor or prefer to walk backwards like our boys here?

    • @danialrafid
      @danialrafid Před 10 měsíci +6

      @@lui5gif It's not 3D, but some of them do walk backwards

    • @Naokarma
      @Naokarma Před 8 měsíci +4

      Isn't that literally what the Google AI did to beat DeepBlue?

    • @franktothemax
      @franktothemax Před 3 měsíci +4

      Well this should play out just fine in my dreams tonight. Hopefully they all stay the same size

  • @typeterson8376
    @typeterson8376 Před rokem +299

    Now you need to make a horror game where throughout the game, the enemies AI progressively gets better and better at walking as they chase you.

    • @Naokarma
      @Naokarma Před 8 měsíci +37

      It definitely wouldn't be able to train in realtime, given how many hours it took to train, but you could absolutely train an AI separately and save the state of every generation so that you can have the AI to switch to later generations at certain points.
      I'm imagining a slenderman-like game, but with a more complex map, and maybe more of them spawn over time?

    • @unponderable8143
      @unponderable8143 Před 7 měsíci +4

      Rainworld

    • @TAP7a
      @TAP7a Před 4 měsíci +5

      Especially if they enable the full 180 head turn over time too

    • @luminous3174
      @luminous3174 Před 29 dny

      underrated

  • @coopermarino2355
    @coopermarino2355 Před rokem +5208

    This guy is the most sane Aussie programmer I’ve seen

    • @enlightenedbanana
      @enlightenedbanana Před rokem +139

      I like how all the most popular aussie youtubers are also the “most sane”

    • @alex.g7317
      @alex.g7317 Před rokem +57

      low bar tbh

    • @EEEEEEEE
      @EEEEEEEE Před rokem +8

      E‎ ‎

    • @zach1425
      @zach1425 Před rokem +77

      @@enlightenedbanana it's like being the most lively corpse in the morgue

    • @Tenems941
      @Tenems941 Před rokem +26

      @@enlightenedbanana I think "How to Basic" is Australian. I know Max and Chad from "Cold Ones" are so maybe that levels the balance a little.

  • @IAEkimov
    @IAEkimov Před rokem +1833

    AI finding a loophole and looking backwards instead of learning how to walk forward is oddly relatable

    • @_charademon_
      @_charademon_ Před rokem +55

      Vitecplay - russian youtuber played the evolution style game, where he wanted to make a rolling circle, but it just kept collapsing on its own volution and then proceed to jump forward.

    • @theendersmirk5851
      @theendersmirk5851 Před rokem +100

      In fairness, I'm somewhere around 80% certain they're only doing that because CB accidentally made the back side heavier than the front, since they would, no matter what, always fall on their back when with humans that's more even between forwards and back, and walking is essentially falling forwards while continually catching yourself. Since they automatically fall backwards, they also learned to walk backwards.

    • @Red-Tower
      @Red-Tower Před rokem +70

      @@theendersmirk5851 yeah I was kinda thinking about that. To be fair, I think it started off falling any both directions, but somehow early on it found it could get closer to the goal by falling backwards, so it became intentional by the AI.
      The funny thing is, I think even if he had the "look at the target" parameter in place from the start, it still probably would have fallen backwards, assuming the model could tilt its head up/back enough to see the target from the ground. Amusingly, the "point your d!ck at the target" aka have the pelvis face the objective I think would have been the best option for getting it to walk forward, since it has the least freedom of rotation separate from the rest of the body, it would have basically forced it into a forward walk. (Although if that was the case before he forced it to stay on it's feet, it probably would have started humping the air...)

    • @ssholum
      @ssholum Před rokem +26

      ​@@Red-Tower Looking at the feet, the ankle joint might also be part of the cause for falling backwards all the time. Either it got reinforced to always go into plantar flexion early, or it doesn't have the joint mobility for dorsiflexion; either of those would encourage it to fall backwards, which would make the backwards walk the closer solution.

    • @EEEEEEEE
      @EEEEEEEE Před rokem

      E‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

  • @dtsprogramming
    @dtsprogramming Před rokem +482

    Started watching your videos a few years ago. Finished my degree in Game Programming last year. What you do is absolutely insane, and I don't fault you one bit for 2 - 4 videos a year. Having said all that... I need to see these boys walking forward, and you must absolutely bring back the death laser.
    EDIT: I made you a death laser and sent you a link to the repo.... soooo, you know, part three would be cool.

    • @strykerwaller3784
      @strykerwaller3784 Před rokem +43

      I admire you being the change you want to see in the world

    • @cheman9907
      @cheman9907 Před 8 měsíci

      @@strykerwaller3784me too. Don’t stop that

    • @Wall-knight
      @Wall-knight Před 4 měsíci +3

      23:20

    • @dtsprogramming
      @dtsprogramming Před 4 měsíci

      Laser Wall: czcams.com/users/shortscYxzTAuTYWM?si=M2atFnIMKVcFrUXi

  • @MoTab78
    @MoTab78 Před rokem +183

    I guess the models' feet are rigid, but the movement of toes plays an important role when walking and running, so adding another joint behind the toes might help a lot for AI to learn walking. (especially not backwards :)
    Additionally, I think instead of killing them when they fall, killing them only when their head touch the ground and giving serious penalty points for touching their body parts (may differ for front and back also) other than bottom of the feet, also giving less penalty points for hands may force them to learn getting up when they fall. This approach may make them learn to stand up properly and walk. Moreover, if you give them slight penalty points for touching the bottom of their feet than they may learn to jump towards the target which may lead them to learn to run even before walking :D
    All these might lead them learn to run on all fours at first, but they will learn to stand up eventually if the penalty and reward points are balanced well. If speed is rewarded more, then they will stay on all fours, but in this case if the height of the head is penaltied or rewarded, then standing on feet will be flourished. Maybe they can run like Tom Cruise some day :D
    Just speaking my mind, you are the expert :)

    • @xjerrylee22x
      @xjerrylee22x Před rokem +8

      You are absolutely right, be he will avoid doing that kind of work? And instead waste his time with insufficient methodologies :)

    • @appledognugget2267
      @appledognugget2267 Před měsícem

      I’m really sorry but you lost me at *TOES*

  • @stupit467
    @stupit467 Před rokem +4969

    Seeing the time lapses of the AI in their individual cubes feels disturbingly dystopian

    • @engineerxero7767
      @engineerxero7767 Před rokem +67

      Reminds me of the Truman Show

    • @Dolat1984
      @Dolat1984 Před rokem +58

      What's with the santa account that I assume is a bot given the obvious copy paste message all of them have

    • @stupit467
      @stupit467 Před rokem +85

      @@Dolat1984 AI learned to scam

    • @Dolat1984
      @Dolat1984 Před rokem +41

      @@stupit467 dear god AI is taking scammers jobs too hahaha

    • @allesman
      @allesman Před rokem +13

      @@stupit467 the next logical step

  • @gogopowertazer
    @gogopowertazer Před rokem +5254

    He really did have the second video ready. So proud Mr. Bullet.😊 With two videos in a week, I look forward to the next video in 2024.

    • @judex2559
      @judex2559 Před rokem +93

      @SiZzyVFX that’s being optimistic

    • @TheBuildMiner210
      @TheBuildMiner210 Před rokem +78

      I was so confused when the 2nd part came out earlier than 2 years later

    • @Inveist
      @Inveist Před rokem +29

      Think you misspelled it's 2034

    • @wify0241
      @wify0241 Před rokem +13

      Being a bit hopeful there aren’t we?

    • @wify0241
      @wify0241 Před rokem +12

      @@Inveist 3034*

  • @haydenadams3308
    @haydenadams3308 Před rokem +38

    They did pretty well considering they had no inner ear, spine or directional awareness related to their face, a working spine and the world. Something to give them priority for facing forward without twisting the neck, something to favour keeping the head relatively level with the horizon and something to favour holding a more upright position.

  • @nicholaskeenan7932
    @nicholaskeenan7932 Před rokem +58

    Makes ai walk and the first thing he does with it is make them do the fitnessgram pacer test

    • @xander9488
      @xander9488 Před rokem

      Ok who the mofo deleting all the comments telling telegram Evan bot to *shut*

  • @lightdark00
    @lightdark00 Před rokem +3513

    Part three? We still need to see them walk like humans.

    • @knownas2017
      @knownas2017 Před rokem +451

      Wait, you don't walk like this?
      wtf

    • @ludvigjansson5790
      @ludvigjansson5790 Před rokem +262

      What if they could actually run towards you. That woundn't be scary at all.

    • @juicetin6425
      @juicetin6425 Před rokem +48

      @@knownas2017 nah bruh we fly 💀

    • @lordyoofy5529
      @lordyoofy5529 Před rokem +53

      @@juicetin6425 Bro you don't conjure a bubble of blood and other fluids to swim along the ground in?

    • @outsider344
      @outsider344 Před rokem +46

      These aren't ever going to walk like humans. The human gait is caused by loads of factors that aren't being simulated here. Like specific joint structures

  • @Lesopal
    @Lesopal Před rokem +2661

    could milk a third video from this making them walk straight

    • @ConstantlyDamaged
      @ConstantlyDamaged Před rokem +74

      Oof. I mean, true, but oof.

    • @justsomeguy5628
      @justsomeguy5628 Před rokem +46

      Or make it animals walking on 4 legs

    • @Ceafto2007
      @Ceafto2007 Před rokem +1

      Girl they were sucking each other's dick within 2 hours of being created they would never be able to do something straight

    • @skippykay599
      @skippykay599 Před rokem

      That’s a big ask, does anything in this video seem straight to you?

    • @armoule8596
      @armoule8596 Před rokem +49

      To make them walk straight, he would need to articulate their feet and toes, essentially adding 2 beans per leg (on for foot and one for toes) and the beauties will run for sure

  • @WeegeeDX
    @WeegeeDX Před rokem +36

    this is genuinely one of the funniest videos I have seen in a loooong time, my throat hurts from laughing so hard. You're legendary CodeBullet.

  • @Xynic48
    @Xynic48 Před rokem +80

    I see a lot of comments complaining about the audio but I checked all parts and everything seem to be in synced. I think this is a youtube bug which only a few experience.
    Edit: Saw a comment saying in computrr browser it's desynced but in mobile it's fine. Seems highly likely this is in fact a weird youtube bug.

    • @RoughRider
      @RoughRider Před rokem +18

      Thank you!! I just went nuts trying to find out why it wasn't synced, and I didn't see any comments on it (you're the first comment I saw, 23 comments down)
      Just knowing that I'm not going crazy is good LMAO

    • @galacticprism
      @galacticprism Před rokem +6

      from what i see, on the phone, theres some video that gets cut out for some reason (like 26 seconds), and on the browser, it takes the audio that you hear on the phone, but puts it over the full video, which causes it to desync, since theres a good 26 seconds of audio missing.

    • @exredux3880
      @exredux3880 Před rokem +8

      It's desync'd for me as well for half the video. It's only this video, and I've never seen this before. I switched browsers and it's desync'd on chrome and firefox but not edge. I dunno wtf is going on.

    • @washington_pc3306
      @washington_pc3306 Před rokem +1

      On browser and seeing this.

    • @UnfundedNut
      @UnfundedNut Před rokem +4

      I had 30 seconds of regular audio describing the video but it was all nordvpn

  • @MarkusKH
    @MarkusKH Před rokem +338

    Part 3: Ai learns to run
    Part 4: Ai learns to hug
    Part 5: Ai learns love
    Part 6: I married my AI
    Part 7: WE GOT KIDS!

    • @urmum8540
      @urmum8540 Před rokem +35

      Part 8: Help

    • @blacklight683
      @blacklight683 Před rokem +27

      @@urmum8540 part8:the divorce

    • @audionewpaper1
      @audionewpaper1 Před rokem +24

      Part 9: depression

    • @RAFMnBgaming
      @RAFMnBgaming Před rokem +14

      @@audionewpaper1 Part 10: What was the AI cooking?

    • @EEEEEEEE
      @EEEEEEEE Před rokem

      E‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

  • @hugoedelarosa
    @hugoedelarosa Před rokem +1219

    Fellow fans of Code Bullet: it doesn’t matter if you watched the previous video before this one.

    • @flabort
      @flabort Před rokem +109

      Yeah, but I think this one hits different if you did. I personally think it was worth it.

    • @imperialphoenix1229
      @imperialphoenix1229 Před rokem +62

      It was totally worth watching but like.... Yeah you really don't need it for context

    • @tapferer1kater34
      @tapferer1kater34 Před rokem +56

      Honestly, I didn’t like the first video very much, this video is much better

    • @Red-Tower
      @Red-Tower Před rokem +6

      Well, if you're a fan of Code Bullet, it helps him out a lot if you watch both videos!

    • @forkleftism9692
      @forkleftism9692 Před rokem +25

      If you didn't watch the first one, how would you know humans are just beans?

  • @nathanjordan1782
    @nathanjordan1782 Před rokem +16

    9:12 “AI Learns to Eat Ass” video when?

  • @janluofficial
    @janluofficial Před rokem +5

    The fact that in one of the vr experiences, they were... Doing adult things... shows that your ai is more powerful then ChatGPT

  • @yourlocalgay1452
    @yourlocalgay1452 Před rokem +768

    It feels strange to have 2 codebullet videos to watch in the span of 3 years

    • @psgamer-il2pt
      @psgamer-il2pt Před rokem +11

      10*

    • @HiddenWindshield
      @HiddenWindshield Před rokem +14

      @@Diathan Don't reply to bots (even the "ironic" ones). It just makes them look more legit to the CZcams algorithm, and leaves a link to their channel in your post. Just report and move on.

    • @EEEEEEEE
      @EEEEEEEE Před rokem

      E‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

    • @yourlocalgay1452
      @yourlocalgay1452 Před rokem

      @@HiddenWindshield not a bot hahahah

  • @senpai2.054
    @senpai2.054 Před rokem +300

    "we're gonna have to force them to stand up" yeah because they were gonna evolve into crabs if left unchecked

    • @AkoSolius
      @AkoSolius Před rokem +19

      Because in this universe everything evolves into crabs eventually

  • @ssgjfox2089
    @ssgjfox2089 Před rokem +6

    23:40
    How tf did it take him so long to realize

  • @jean-pierrenovak6580
    @jean-pierrenovak6580 Před rokem +5

    3:26, Guy's almost pulled a DIO off

  • @francoistrempe
    @francoistrempe Před rokem +4734

    Hi Code Bullet,
    I think the backwards issue is related to the starting position. The T pose is just a bit back heavy, so they naturally fall back and continue there movement in that direction. If you where to start them with their arms forward, they would likely learn to walk in that direction.

    • @Jay7707
      @Jay7707 Před rokem +611

      There’s a lot of smart people on the Internet and this is one of them.

    • @alasdairsinclair916
      @alasdairsinclair916 Před rokem +3

      So the problem is that their booty is too _thicc_

    • @pixelblaze8284
      @pixelblaze8284 Před rokem +286

      Honestly there's just a lot of issues to address. Like part of why we walk on two legs and forward is energy efficiency, our toes and foot flexibility, needing to see where we're going, etc. So you would just need a lot more inputs to try to make it happen in a realistic way that isn't just forced like he tried to do

    • @minamagdy4126
      @minamagdy4126 Před rokem +59

      I believe it has more to do with the AI wanting to use the hips as little as possible, so it prefers a backward gait due to the fact that knees can't bend forward.
      EDIT: more like the knees as little as possible, but exploiting a nonzero knee angle for stability

    • @Xeroisawesome
      @Xeroisawesome Před rokem +92

      @@minamagdy4126 Well that's related to how the abdomen was simplified so much that the AI had much fewer option for maintaining it's balance than a person would. There were just a lot of problems relating this model to human movement, I doubt I could list them all. With that said, it was uncannily close in some ways despite those shortcomings.

  • @sejeralnebolin1459
    @sejeralnebolin1459 Před rokem +999

    I honestly thought he would just never do the rest. Finishing a project is very out of style, you go Evan!

    • @ZoltarDeathNnja
      @ZoltarDeathNnja Před rokem +18

      But he didn't finish. He gave up before getting them to walk forward or stand up after falling!

    • @brunogonzalez7453
      @brunogonzalez7453 Před rokem +12

      @@ZoltarDeathNnja bullet found a way of turning into a homoerotic fantasy AGAIN

    • @ZoltarDeathNnja
      @ZoltarDeathNnja Před rokem +2

      @@brunogonzalez7453 Did he find a way to do it, or did they AI force it upon us?

    • @vrcookingsimulator5458
      @vrcookingsimulator5458 Před rokem +1

      @@ZoltarDeathNnja Lol

    • @Red-Tower
      @Red-Tower Před rokem

      @@ZoltarDeathNnja If so, I'm a big fan of this AI

  • @vouvusbovus9100
    @vouvusbovus9100 Před rokem +3

    The buid up was so worth it, I thought they never even crawl elt alone majestically moon walk to the goal, big props dude you deserve a award.

  • @AssasinZorro
    @AssasinZorro Před rokem +8

    This two-part video contains an impressive amount of getting sidetracked. Hilarious, I might add.
    Watching AI fail at walking is an amazing and comforting sight. Laughing at real people falling feels bad because they get hurt, but watching an AI-controlled puppet fall in virtual 3D seems harmless

  • @StevenIngram
    @StevenIngram Před rokem +1197

    I think the proprioception idea is a good one, but I don't think its enough alone. In us humans, that sense is combined with the inner ear (which conveys a sense or roll, pitch and yaw) and vision (which provides directional targeting). So along with a sense of proprioception, you need to simulate an inner ear and a "cone of vision." Alas, you would have to train AIs to this task incrementally though. For example - you'd have to start training vision first (where it looks for a target in its cone of vision, and if it's not there, it turns its head/body until it finds it). The inner ear should already be working for this part of the training (so a sense of perceived direction and range emerges). And once it's learned to look at a target, then you can then try to train them to walk. As long as they learn to rotate themselves to look at the target first - they should walk forwards towards it.
    Moral of the story? They should look before they leap. :D

    • @StevenIngram
      @StevenIngram Před rokem +60

      (To be clear by what I mean by a cone of vision... it's basically an invisible non-clipping cone that extends from where the eyes would be that has the same field of vision and range as human vision. For it to register anything as "seen" it must be inside the cone).

    • @themonkeyman2547
      @themonkeyman2547 Před rokem +146

      Another important detail the AI is ignoring is effort. Walking upright in the human style is extremely efficient. Walking bent over backwards with arms flailing in the air like the AI did is extremely difficult. If they were made to minimize energy use, I think the results would improve

    • @EEEEEEEE
      @EEEEEEEE Před rokem +5

      E‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

    • @101k_with_no_video
      @101k_with_no_video Před rokem

      or fall to the ground like a ####### loser

    • @Betheno
      @Betheno Před rokem +32

      this is the guy code bullet is scared of

  • @Authaeosplays
    @Authaeosplays Před rokem +574

    I love how they immediately find a way to exploit the system to avoid walking forwards

  • @trey5169
    @trey5169 Před rokem +8

    Mate, this may have been a better comment on your last video but I didn't think of it until now...
    You going off of any form of script do your own thing and entertain while talking about a concept or idea that I'm interested in, is a breath of fresh air in a CZcams world full of video essays that clearly have to stick strictly to script.
    In the words of the great Code Bullet himself... I do what the fuck i want.
    Let me smash that like button as if it's the chosen one.

  • @cortwadlaserfoot2368
    @cortwadlaserfoot2368 Před rokem +5

    24:17
    Me and the boys walkin'

  • @TimeBucks
    @TimeBucks Před rokem +697

    Honestly love the line graph bit

  • @GenocideIsLethal
    @GenocideIsLethal Před rokem +100

    8 min in and I suddenly understand why so many animals evolve into a crab…

  • @ArtsyKnox25
    @ArtsyKnox25 Před rokem +1

    These videos are beautiful. Please never stop being chaotic Code.

  • @littleblueclovers
    @littleblueclovers Před rokem +3

    10:50 I love this guy’s humor and comedic timing. I can’t believe I’m saying this for the ad segment.

  • @OlivierDeSillegue
    @OlivierDeSillegue Před rokem +947

    At 0 hours of training, the AI behaves remarkably like a newborn infant. The movements are random because it has yet to develop "awareness" of its limbs and how to use them. I just thought it was a really interesting comparison.

    • @yahiaaymankamaly3518
      @yahiaaymankamaly3518 Před rokem +113

      If my baby started doing this im taking it to the hospital

    • @dieSpinnt
      @dieSpinnt Před rokem +27

      Yeah, computer science can be surprisingly childish.
      Which is strangely not a derogatory term, here. **g**

    • @keysersoju9823
      @keysersoju9823 Před rokem +13

      Imagine if he just left the crawling AI to learn for generations, I wonder if any of them would've evolved to walking like how a human learn to crawl first then learns to walk.

    • @rockyroadmagic4152
      @rockyroadmagic4152 Před rokem +33

      @@keysersoju9823 I doubt it. Newborns move on to walking eventually because crawling is more tiring, and hurts the hands and knees after a while, and also probably because they see everybody else walking. Without the punishment for parts other than feet touching the ground to simulate the discomfort of the first two reasons, it would not have any reason to stop crawling

    • @visyix2718
      @visyix2718 Před rokem +3

      So from the whole beginning I was just an AI

  • @vey2.050
    @vey2.050 Před rokem +432

    he finally mastered the art of making the audience believe he is dead and then boom he is back

    • @arfb01
      @arfb01 Před rokem +11

      Are we sure he isn’t a zombie

    • @theonly6blake911
      @theonly6blake911 Před rokem +4

      @@arfb01 Now that you mentioned it, his face does look awfully green...

    • @EEEEEEEE
      @EEEEEEEE Před rokem

      E‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

    • @swagmaster4396
      @swagmaster4396 Před 10 měsíci

      @@EEEEEEEEe

  • @pumbaa667
    @pumbaa667 Před měsícem

    By Golly, not only the themes you chose for your videos and your skill to actually do them and show them are more than on point, but also your editing and silly jokes are hilarious, I cried from laughter more than once.

  • @broderioustheturtle9027
    @broderioustheturtle9027 Před rokem +5

    These two videos might be the funniest videos you have ever made. Cannot stop laughing every time you get submerged in all these player models in VR

  • @TankEsq
    @TankEsq Před rokem +90

    This made me realize why crabs keep independently evolving

  • @TheNeonLynx
    @TheNeonLynx Před rokem +1782

    I think the main 2 reasons for the AI behaving the way it does is likely because:
    a) friction is not quite correct making it not actually use their legs to push forward but their lean over weight to pull them.
    b) I assume every bone is the same weight and every joint the same strength which causes strange priorities.
    Oh also there could be a added reward to keep the center of gravity beneath the head within a range that might also help

    • @besknighter
      @besknighter Před rokem +64

      Agreed. Also, there are a lot more things that could be done to improve it. For example: calculating the energy expenditure and rewarding the most economical ones; rewarding those that the time of arrival is closest to a specific set goal (having the remaining time as an input together with the distance to target will help) will also make them learn different kinds of gaits for different desired speeds.
      Of course, changing how much reward each variable gives will drastically change the outcome.

    • @somedude4487
      @somedude4487 Před rokem +4

      Technically we also use our weight to walk, so the friction is fine, the AI just found a local maximum to attach itself to

    • @TheNeonLynx
      @TheNeonLynx Před rokem +14

      @@somedude4487 Hmm how to describe this. Irl friction is a force that opposes movement. Pushing against it will let you use it to move i to the opposite direction of where friction goes. (Kind of think how high jumping with a stick works they use the elasticity of the stick and the opposing friction to propell themselves upward)
      However in this game friction presumably works closer to how magnets work. A magnet wont let you push against itself since it always pulls you back. A magnet will never push on you so you cannot use it to push yourself forward. So the Ai can only pull its feet off the groumd not push its body off the ground and thid movement is the result.

    • @duchuynhvuong1733
      @duchuynhvuong1733 Před rokem

      ok

    • @Middleseed
      @Middleseed Před rokem

      @Yara Yo The Chinese/Japanese (I don’t know either give me a break) bots have infected the English comment threads!

  • @ion_force
    @ion_force Před rokem

    I have never been so hyped for a part 2 video to drop.
    But I wish you had programmed them to actually walk normally.

  • @theobockholt2341
    @theobockholt2341 Před rokem +3

    Nice video as always! I think it would be really interesting to see how they would walk if you added "work" to their properties. So that they are trying tp walk with doing as little work as possible in relation to gravity and muscle strength. That way they would put their arms down and maybe try to stand straighter

  • @alexandermarsteller7848
    @alexandermarsteller7848 Před rokem +70

    It is honestly amazing that CB managed to get them to walk without falling over. I expected the usual AI exploits physics engine to happen and the guys to vibrate across the floor at light speed instead

    • @kivylius
      @kivylius Před rokem +5

      well the several constrain prevent that from happening.

    • @nikkiofthevalley
      @nikkiofthevalley Před rokem +3

      @@kivylius Plus he's using a much more popular physics engine (PhysX, Unity's physics engine), so most of the easy to trigger exploits are patched.

  • @SomeOne-vf1rs
    @SomeOne-vf1rs Před rokem +177

    It’s amazing seeing the AI use the arms to maintain balance

  • @iankengott7155
    @iankengott7155 Před rokem

    i love these ai learns to walk videos cant wait for what you do next

  • @pontushenrikssn
    @pontushenrikssn Před rokem

    This is by far the best and funniest codebullet video to date!

  • @JaedangFord
    @JaedangFord Před rokem +532

    it’s like watching infants learn, just like babies the AI only seems to know how to *push* at first lol. probably why it’s more comfortable moving backwards

    • @SilverWolf_-cj4qn
      @SilverWolf_-cj4qn Před rokem +35

      I think the balance is off on the ai models. I think there's more "weight" at the back of the model so they end up stumbling backwards because they can't fall forward

    • @abeke5523
      @abeke5523 Před rokem +12

      @@SilverWolf_-cj4qn cuz of all that cake

    • @blueninja012
      @blueninja012 Před rokem

      @Rahaf Ahmed THE BOTS ARE LEARNING NEW LANGUAGES
      GOD HELP US ALL

  • @elijahh2220
    @elijahh2220 Před rokem +31

    19:14 I love that they're so committed to the backwards thing that they hit the target, then _turn around so that they can still be backwards_ before heading to the next one.

    • @Kerostasis
      @Kerostasis Před rokem +2

      They never learned how to walk forwards. That was probably the same issue with the turning necks thing: he added the "face your target" reward to a bot that already only knew how to walk backwards, so rather than re-learn an entirely new skill, they just turned their heads as part of the existing skill.

  • @nathanrain796
    @nathanrain796 Před rokem

    so upset you only upload like 6 videos a year, every time i watch these i have to pause cus im laughing so hard. good shit man

  • @winter9087
    @winter9087 Před rokem +331

    The waiting for this series was worth it ngl
    Codebullet always delivers

  • @GregoryGaming942
    @GregoryGaming942 Před rokem +188

    10:18 He says he's connecting to habitable country while showing france truly the funniest person on the internet

    • @axeldasilva8060
      @axeldasilva8060 Před rokem +3

      I don't get it

    • @Red-Tower
      @Red-Tower Před rokem

      I mean, compared to Australia? As funny as "huhuhuh french people silly dumb cowards oui oui" is, Australia do be fucking savage.

    • @kal-muzel875
      @kal-muzel875 Před rokem +2

      @@axeldasilva8060 me neither

    • @TlalocTemporal
      @TlalocTemporal Před rokem +27

      @@axeldasilva8060 -- Australia is uninhabitable due to the temperatures and the spiders and a million other nasties.
      France is uninhabitable due to the French.

    • @kinggenderman1874
      @kinggenderman1874 Před rokem +5

      fr*nce 🤮🤢🤢

  • @MrDragonRyan13
    @MrDragonRyan13 Před rokem +18

    "You have lost suck privileges" - Code Bullet

  • @movingtarget268
    @movingtarget268 Před 10 měsíci +2

    24:29 Caught me all the way off guard while I was drinking. Almost ruined my keyboard lmao

  • @bahaaalroud3502
    @bahaaalroud3502 Před rokem +259

    i wanna see a part 3 where they walk like you know humans

  • @ShadowDrakken
    @ShadowDrakken Před rokem +260

    Give them a reward for moving in the direction of their front, a reward for keeping their shoulder height up (but penalized for shrugging XD), and a penalty that increases the longer their toes are on the ground without their heels also touching the ground, and make them have a vision cone for finding the target they have to move to :D

    • @Thk10188965
      @Thk10188965 Před rokem +13

      perhaps the toe stance discouragement could begin if there is 1 to 3 seconds of toe touch without a heel touch (possibly also the reverse to discourage heel walking too) making the foot a little rounded in the back and with a flexible front section (toes) might also help to better match real feet. as for rewarding standing, reward head above shoulders, shoulders above torso, torso above legs, upper arm above lower arm, upper leg above lower leg, lower leg above foot (probably by failure hurting score, rather than success helping it much)

    • @goldfndr
      @goldfndr Před rokem +15

      No need for a reward for moving in the direction of their front. Instead, penalize exponentially for head pivoting away from neutral.

    • @H4PPY_23
      @H4PPY_23 Před rokem

      What about friction? Wouldn't it be easier?

    • @elinhulldin5926
      @elinhulldin5926 Před rokem +4

      @@goldfndr Yes, that worked for me. I tried to walk like them and my neck started hurting after 5 seconds, so I turned around.

    • @Xboxiscrunchy
      @Xboxiscrunchy Před rokem +10

      Your comment made me realize this is pretty much exactly what pain does for humans.
      Maybe penalize the AI slightly any time it overextends or over taxes its joints? Cause that shit would hurt if a human tried it.

  • @DemonKing19951
    @DemonKing19951 Před rokem +1

    If you do a part 3 I'd actually suggest instead of the current resetting system you use you instead train them under the condition that they can keep their arms, chest, and knees in contact with the ground for at maximum 5 seconds at a time, and if their head, butt, back, or groin hit the ground they immediately reset. Obviously every moment of being in contact with the ground comes with negative reinforcement, but it this would mainly help with preventing backwards movement. Since they can somewhat safely fall forwards and catch themselves, rather than necessarily immediately resetting and hurting themselves in a real way. This would train them potentially get up and keep, combine this with randomly spawning obstacles, semi-random terrain between ice, neutral, and sand or simply spawning in 3 per a cubical with some ability to detect where each other are and you could probably have some very interesting movement out of them Potentially adding to the VR experience as they throw each other to side and grab objects to get to their prize.
    Could make for a really interesting game you could sell for like 3 dollars. Just a maze of you run around in VR as this guy chases you, using anything and everything they possible can to clear the distance between the two of you. Though that might be a bit ambitious since it'd go beyond just a random passion project.

  • @royalriding1720
    @royalriding1720 Před rokem +19

    Now if only we could get Enigma Part 2

  • @richardgoldberg2691
    @richardgoldberg2691 Před rokem +150

    Actually if he could get this working where they walk forward then change the avatar to a zombie then give yourself a shotgun I think he might have the start of a epic zombie game

    • @garrettcooper58
      @garrettcooper58 Před rokem +9

      That’s exactly what I was thinking. It could be an insane vr zombie game

    • @nezzled
      @nezzled Před rokem +13

      could be an interesting concept. A wave based shooter where the enemies gradually get smarter as the game progresses.

  • @goodboi650
    @goodboi650 Před rokem +24

    the fact that codebullet got a bunch of buff men to moonwalk at him chode-first is truly the peak of AI

  • @chazgilbert2434
    @chazgilbert2434 Před 7 měsíci

    At the beginning of the video when the guy was broken and it was just hopping around and it just expands. I need more of it. I like it when stuff doesn't work, especially when it's funny

  • @Gettenhart
    @Gettenhart Před rokem

    The good thing about your upload schedule is that since you upload every other blue moon, i can binge your whole channel when you actually happen to upload

  • @Mycatisinapiano
    @Mycatisinapiano Před rokem +312

    While I buy a dakimakura for my crippling loneliness, Code Bullet makes his own AI so he has friends which will follow him. Now that's some determination!

  • @Dark-Stryder
    @Dark-Stryder Před rokem +237

    Create a time limit on how long it takes them to reach the target so they have to learn to sprint

    • @Krell356
      @Krell356 Před rokem +16

      In theory they should already be getting rewarded more frequently based on the distance closing so a timer shouldn't be necessary.

    • @Dark-Stryder
      @Dark-Stryder Před rokem +1

      @@Krell356 it would speed up the process tho wouldn't it?

    • @Krell356
      @Krell356 Před rokem +12

      @@Dark-Stryder Not really. If you move half way to the target in the same time another version moves 75% of the way. The further one would have been rewarded more points. So the one that got further is less time is already being reqarded better.

    • @MythicTF2
      @MythicTF2 Před rokem +4

      @@Krell356 I'm not an AI specialist but, if theres multiple targets and no cap on the score said AI could get in a single generation, theoretically a timer would still make it go faster. It's probably not necessary for this and would probably lead to the AI just discovering something unintentional like leaping towards the target as the timer is about to run out.
      Without a timer though, the AI that moves 75% of the way to the target in the same time as the 50% of way would still be rewarded more points but, a target that moves 50% of the way in 3 minutes vs 50% of the way in 3 seconds is also a huge gap where a timer would improve it, and in turn teach it to go faster.

    • @Gelo2000origami
      @Gelo2000origami Před rokem

      I think that yes, this could be a weight that can be conditionally added into the model once the AI model manages to reach goal 1

  • @VivecAlmalexia
    @VivecAlmalexia Před rokem

    Watching this video makes me glad I'm not a coder but also this is the most entertaining video I have watched in a long time

  • @creationsmaxo
    @creationsmaxo Před 10 měsíci

    Insane great work!
    To fix the orientation issue, I would have put the facing rule to the chest (so that the chest is facing toward the target) and would make the head turn toward the target passively whenever it's possible to do it realistically.

  • @waifusmine6871
    @waifusmine6871 Před rokem +340

    I liked the video up until the point you made their necks twist 180 degrees to circumvent the back-facing walking, I would've loved to see them actually walking, I think the video was really funny and wish to watch part 3, with more accurate posture and speed, maybe less disjoined necks

  • @paulds
    @paulds Před rokem +72

    Pretty sure the reason they walked backwards is that they fell backwards in the default position, causing them to take a step backwards to prevent falling over. If you would just have tilted them forwards a little at the start, the first step would have been forwards and they would have continued walking forward. The backwards thing was funnier tho soI can see why you didn't try too long and hard to fix it.

    • @buckykattnj
      @buckykattnj Před rokem +11

      Interesting... I thought that the problem was that the feet seem to be modeled as one inflexible object... and obviously, feet don't work that way. I thought that at least making the feet hinge at the toes would avoid the backwards, tippy-toed approach the AI is using.
      Or is could be a little of both of our ideas together might finally get hem to walk forward.

    • @Ferrari255GTO
      @Ferrari255GTO Před rokem +2

      @@buckykattnj nah, the real fix is to put a clone with a machete behind them that already knows how to walk.

    • @Terrain239
      @Terrain239 Před rokem

      Also the first part (without touching penalty) could be interesting with forward falling -- sort of animal 4-leg walk

    • @axelmarora6743
      @axelmarora6743 Před rokem +2

      Maybe randomizing the falling direction as well as adding a vestibular sense would allow for a more robust locomotive system.

  • @Void2.smooth
    @Void2.smooth Před 8 měsíci

    I love the editing effort

  • @stevenbrown5246
    @stevenbrown5246 Před 3 měsíci

    The "laying down walk" finally made me understand why things tend to evolve into crabs, great work!

  • @AlexZSteinlauf
    @AlexZSteinlauf Před rokem +235

    Honestly love the line graph bit. It also totally would work. Hours Trained x Walkability.

  • @chrayez
    @chrayez Před rokem +137

    I wonder what would have happened if the “touching the floor” punishment were a reduction in score instead of immediate failure…

    • @jaydnrae9829
      @jaydnrae9829 Před rokem +30

      Or if instead of a penalty, it was a reward? I want to see how fast they could worm 🪱.

    • @poop9267
      @poop9267 Před rokem +9

      Rolling around at the speed of sound

  • @emptymilkcarton3361
    @emptymilkcarton3361 Před 10 měsíci +2

    Omg, a vr horror rougelike where the ai monsters progressively get better at chasing you

  • @kittgeekazaru5126
    @kittgeekazaru5126 Před rokem +133

    the long awaited sequel finally arrives

    • @MW_Green
      @MW_Green Před rokem +10

      It been 4 days but yep

  • @S0l0S
    @S0l0S Před rokem +351

    You should teach ai to code and make an endless loop.

    • @MultipleC9
      @MultipleC9 Před rokem +48

      teaching an A.I. to code would be very interesting but may end up creating skynet lol

    • @krishanSharma.69.69f
      @krishanSharma.69.69f Před rokem +15

      @@MultipleC9 that is exactly what most humans are trying to make ... a recursive self improving AI.

    • @samwilde8311
      @samwilde8311 Před rokem +6

      @@krishanSharma.69.69f didn't google successfully create an AI that created a new method for training AI?
      Edit: Because no one believes me I did some more research. The AI I'm thinking of is called AutoML, it uses an AI model built by Google to produce AI models faster and more accurately than those produced by human training.

    • @pablovirus
      @pablovirus Před rokem

      @@samwilde8311 nah, that's media bullshit

    • @knownas2017
      @knownas2017 Před rokem

      There already is an ai that can code btw.

  • @Klannahar
    @Klannahar Před rokem

    Merry X-mas Code Bullet and everyone else. Nice to see u still making videos. :)

  • @m1geo
    @m1geo Před 8 měsíci +2

    They walk backwards because they release from rest leaning backwards. You need to release them neutrally so they're not inclined to fall backwards. I'd probably add a random release wobble so they have to stabilise and each release is random.

  • @tylerbeaumont
    @tylerbeaumont Před rokem +652

    I find it interesting how similar this AI learns to walk as a baby does. Start off just randomly flailing with no real sense of what they’re doing, then slowly work out how to crawl towards an objective. It’s shockingly similar to real living things learning to walk, even considering all the jank

    • @__u__9464
      @__u__9464 Před rokem +10

      That's because ai literally works as our brains do

    • @-TheBugLord
      @-TheBugLord Před rokem +80

      @@__u__9464 It actually doesn't. That's a common misconception though.

    • @jtcoding6422
      @jtcoding6422 Před rokem +27

      @@-TheBugLord it’s like the same concept, neural networks r based off brains

    • @__u__9464
      @__u__9464 Před rokem +13

      @@-TheBugLord yes it does. It aims to recreate the function of a brain

    • @-TheBugLord
      @-TheBugLord Před rokem +60

      @@jtcoding6422 Yes. Based off, but does not work as our brains do. There are many differences. And, neuroscience isn't far enough to even determine how the brain actually works. But here's a simple example to show the differences. Neurons in neural networks are not like brain neurons at all. A brain's neuron is either on or off. A neuron in a neural network, however, can be on from any range between 0 an 1. You can have a 0.5 activated neuron in a neural network. Yes, it is true, neural networks are based on how the brain works. But to say they work as the brain does is a misconception and false. And our scientific knowledge is not far enough to even determine something like that yet.

  • @fen4554
    @fen4554 Před rokem +20

    16:12 And in the end, it didn't even matter...

  • @masihnewbie0
    @masihnewbie0 Před rokem +1

    I got a better laugh for 26 minutes watching this video than I did in this year
    Thank you so much bro, what a quality content XD

  • @nerdynate
    @nerdynate Před rokem

    both of these videos is the living breathing proof of why I never progress in Unity when making games
    it's so entertaining to just mess with crap for hours on end

  • @Facio1
    @Facio1 Před rokem +131

    Well, we will never see him again, he learned how to walk away from us thanks to AI

    • @Red-Tower
      @Red-Tower Před rokem +2

      Made himself AI friends so he doesn't need us anymore 😭

    • @Ferrari255GTO
      @Ferrari255GTO Před rokem

      @@Red-Tower no, he'll be back, he still has to eat and without youtube, he is doomed

    • @EEEEEEEE
      @EEEEEEEE Před rokem

      E‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

    • @theblah4341
      @theblah4341 Před rokem +1

      @@Ferrari255GTO He can eat the AI

    • @Ferrari255GTO
      @Ferrari255GTO Před rokem

      @@EEEEEEEE E

  • @1XXL1
    @1XXL1 Před rokem +14

    I think that the sight of several men walking towards Bullet in the most unhuman way possible was worth all the effort he put into this.

  • @SafetySheepRnD
    @SafetySheepRnD Před 4 měsíci

    I think if you took a ray from the head to the destination (while keeping height fixed) you could calculate how far your head deviates from the center point, then call that "wobble." You might be able to optimize the way they walk a bit by adding a reinforcement where they try to limit the amount of wobble in their gait, and that may also fix backwards stumbling because they will be getting rewards for standing up straight. Another thing to try would be rewards based on time spent accomplishing a task to try and force them to walk faster (and hopefully more correctly or at least more efficiently).

  • @minds_and_molecules
    @minds_and_molecules Před rokem +1

    Hey! You can penalize multiple objectives and optimize them all, no need to choose one at a time. Can do distance away, chest and eyes both looking at, etc. It's not any harder to set up, check out penalized regression and/or penalized loss functions.

  • @AxelVoitier
    @AxelVoitier Před rokem +390

    So, we actually have neurons in our spines that generate cyclic rhythm for walking. Look up Central Pattern Generator. It's pretty cool to generate cyclic impulses out of just a bunch of neurons connected in a loop (albeit, that obviously does not fit the layers of neurons models you can find in most NN packages...). Second important thing in walking, is that proprioception is used for reflex acquisition. Eg. certain angles of certain joints trigger the next movement in the sequence. Which for "AI simplicity" can possibly be done as a feedback/reset input on some CPGs.

    • @clorax1357
      @clorax1357 Před rokem +14

      ^^^^Genius. I think rewarding them for having an average floor touches/second over a given amount of time (or whole run) would be a good way to implement this slowly, avoiding incessant steps.
      Another way you could diversify the AI’s ability would be to set the cyclic rhythm goal at a random value within a reasonable range.

    • @johnalogue9832
      @johnalogue9832 Před rokem +8

      It turns out walking is hard to replicate by wiggling joints at random until you get closer to a target point.

    • @revimfadli4666
      @revimfadli4666 Před rokem

      Joint angle proprioception determining the next timestep's angle outputs reminds me of ohmganesha's kinesthetic worms

    • @YoAndyZou
      @YoAndyZou Před 11 měsíci

      I saw a NN video the other day in which they simply included an oscillator as one of the inputs; perhaps giving the AI output control over the frequency of those oscillations might be a simple way for it to feed itself information... Just a handful of sine waves, etc?
      I get that with enough information it might be able to synthesize cyclical motion based on its current state, but wondering how many shortcuts/better architecture there is for locomotion activities.

  • @TheAnimeist
    @TheAnimeist Před rokem +4

    23:24 "My God that is hard to look at". No pun intended.
    Then proceeds to turn the camera back and look again.

  • @norioku2020
    @norioku2020 Před 11 měsíci

    I think one of the coolest parts of this video that may get overlooked is the ai that solved the problem without jumping. The interesting part of this, to me, is that this is something we see in nature all of the time. With our big brains we look at plants and wonder why they don't have black leaves, surely black leaves would be the most efficient means to absorb all the bands of light but why are leaves green and not black. The answer is that plants were successful enough just being green. So "Jump man", in this scenario, figured out how to be successful enough without jumping. What this tells me about ai development is that the environment, the rewards, and the punishment system are really important if you want to achieve a specific goal. Also, you'll probably need a bit of luck too. Yes, the form and function of entity you are creating is important but there are other factors which are just as important. Additionally, with these styles of brains I think we are creating very specialized motor groups for very specialized use cases, and not creating a central nervous system that uses muscle groups to solve problems.

  • @pudellok9319
    @pudellok9319 Před 10 měsíci +1

    4:30 bro turned into a dragon mid way and then flew away

  • @DJPrice-cc9lg
    @DJPrice-cc9lg Před rokem +316

    Dude! Two videos in less than a week! Oh my GOD. That never happens. Looks like the AI that writes the script for the videos has been fine-tuned quite a bit...

  • @realdragon
    @realdragon Před rokem +14

    17:22 this is how nature intended humans to walk

  • @Ruhrpottpatriot
    @Ruhrpottpatriot Před 5 měsíci

    In Reinforcement Learning, the reward is one of the most important things. For better results and no weird neck twists. You should use the _negative sum of the dot product between the actor's forward vector and the vector that points towards the target, the dot product between the head's forward vector and the vector that points towards the target, the distance to the target_ as the reward for each step (scale appropriately). This the first summand makes sure the actor doesn't walk backwards, while the second makes sure the actor looks at the target. Since we don't need the actual distance to the target, but rather an indicator if the actor moves towards it, we can also use the squared distance and remove the expensive sqrt.
    Furthermore, falling over should give a big penalty while reaching the target should give a big bonus reward. Don't give a positive reward just for staying upright. While this is important, it could also incentivize the actor to stand still at one position. Discount the upright reward.

  • @CSDragon
    @CSDragon Před 8 měsíci

    IMO it might have been best to start with rewards for standing up, then adding "and pointing head towards the destination", THEN rewards based on distance traveled.

  • @jaopao3227
    @jaopao3227 Před rokem +56

    You did the unthinkable, you wanted to do something as simple as walk and ended up making AI generated JoJo poses

  • @aspl5717
    @aspl5717 Před rokem +60

    They call him code bullet because he's slow (like a bullet)

  • @EisenJourdan
    @EisenJourdan Před rokem

    I don't watch your videos because I have some idea about programming - maybe a very little idea. The main reason I watch them is because I find you likeable and entertaining. And I might learn a little bit :)

  • @ryanm.191
    @ryanm.191 Před rokem +1

    I’m watching this at 3am and I have a 10h shift at 6am
    Thank you for the dark bg

  • @BuiHieuDong
    @BuiHieuDong Před rokem +173

    This man is making the line "AI is taking over the world" come into real life even faster.