Training AI Bots to Fight (they started dancing)
Vložit
- čas přidán 31. 07. 2024
- Twitter: / cozmouzz
Discord: / discord
Patreon: / cozmouz
Mail: cozmouz@gmail.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Video showcases AI trained using Deep Reinforcement Learning and Imitation Learning.
Music By Epidemic Sounds.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
artificial intelligence, ai, machine learning, ai learns, deep reinforcement learning, ai training, evolution, neural networks, cozmouz #ai
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Chapters:
00:00 - Intro
00:52 - Neural Networks
01:39 - Observations
02:40 - Actions
02:55 - Rewards
03:52 - 1st Training Session [ Failed ]
04:50 - 1st Training Session Analysis
05:38 - Transfer Learning & Imitation Learning
07:18 - Balance Training Session
08:50 - Balance Training Session Analysis
09:30 - Further Changes
10:04 - Fighting Training Session
10:39 - Final AI Agent Fight [ Best of 10 ] - Věda a technologie
For those curious, Tensor-Board graphs for the final trained model showed "block frequency" way higher than "punch frequency". For some reason the AI resorts to blocking more than punching. I will be sharing more data and answering questions regarding the simulation over on Twitter: x.com/cozmouzz
I know how to solve it @cosmouz make the punch rewards a quadratic function in punch velocity, currently yours seems linear
@cozmouz whats the music at 3:54 ??? Can i have the title? Could anyone provide me the title?
If they are trying to respond to each other's movements also, from the total begining, even before they learned how to stand, then you might be pushing them way too hard.
@@bluestone-gamingbg3498 Ben Elson - 89
sir, feed them some basic martial arts data and then challenge them with 5 more simulations. see if they improvise
I would say that you need to keep an energy parameter. The reason we don’t see fighters constantly using these dance movements is because it would drain their energy. Add a limited energy parameter and you see better results.
i see any human doing this dance movement will get tired extremely quickly
any machine will also wear before get into the fight
Yeah, so hopefully they would learn to min max their stamina
But that martial art already does exist it's called capoeira
@@philv2529Yeah and nobody in MMA fights like they are doing Capoeira... Besides, Capoeira is relatively slow, sweeping movements, not hectically spazzing out in random patterns. A human could do this for maybe 20 seconds before being exhausted
yes but they might get tired at the same time
Mfs had hundreds of millions of fights just to end up fighting like my drunk uncle
at the end of the day, thats amazing, its a energized rock that thinks by itself (the computer), and they're evoluting as our species did. if you let them train billions or trillions of fights, they gonna come with insane techniques i guess.
Already looks insane ;)
Nah this was funny 😂 made me laugh out loud
@@gat0anonimo hey! Are you my nephew? xD I'm better sober damnit
Have you considered that your drunk uncle is a synth?
That's what happened when there's no energy cost for every movement. The fighters' movements simply become erratic.
Not really cause you would still be able to be punched or kicked in the face and since your hands are just spasming everywhere you wouldn't be able to block it
2 boxers without stamina limit would be like 2 mike tysons, only in fighting and consistently shortening the distance as fast as possible
they move this way because they dont see the floor, only the movements'sopponent. so they dance with each other only
I think another big factor is they learned to balance. I don't know if they can feel balance the way people can. Their erratic movements are probably to some extent over-corrections.
@@KillaAhmadilla that only expains the overcorrection of the legs, the arms spasms is their failure at learning how to throw a punch
@where_is_sauce You're not wrong. A punch with a bad stance isn't going to be particularly strong though.
i am no longer afraid of AI killing off the human race
You’re fucked in a dance battle
Killing us with their awesome dance moves
The ai watched rumble the movie
@@Anthonybrother Yeah, we're going get served!
Remember a few months ago when AI couldn't draw a hand?
Then Sora happened.
Yellow: shallow and consistent strikes. White: either misses or leaves a crater in Yellow's ribcage
fr
I didn't see a single strike in the whole video
"ShAlLoW aNd CoNsIsTeNt StRiKeS"
also yellow (and white): 🤹♀🤹♀🕴🕴🏋♀🏋♀🤸♂🤸♂🤸♀🤸♀🤾♀🤾♀🤾♂🤾♂🤞🤞👉👉🚴♂🚴♂🏌♂🏌♂🚶♂🚶♂🧎♀🧎♀
@@alexbruns5082 went straight over bros head
Like Derrick Lewis
Fights outside the pub 3am in the morning 🥶
After drinking 1Million gallons of alcahol
@@10aelbeg22 Due to the speed, i'd certainly think there's some coke, meth or whatever "up" drug involved as well. Maybe all of them
The spastic synthwave dancing is genius
reminds me of czcams.com/video/cqPD4A-bKNA/video.html 😄
@@deeOOghI clicked this expecting you to be a bot comment, I was happily surprised, thank you for sharing drunk russian dancers with us
@@roux6715u thought they were a bot and still clicked?
@@nanja7773 well unlike bot comments the message actually makes sense as a reply to the original comment and wasn’t just ‘this is the clip you’ve all been looking for’ or whatever
That's literally the only reason I watched the whole video... then WATCHED IT AGAIN 😂😂😂
Fights with your brother be like:
they are worse than toddlers 😂
More like telling someone with adhd to stand still
More like your little brother trying to fight you
@@antonellisamuele6569plot twist: he is the little brother
@@rotorblade9508nuh uh
It might look dumb at first glance but they are feinting each other faster than a human could almost instantly leaving no openings so they have to constantly change their angle of attack and cancel it/turn it into a feint midway through, maybe you could get better results if you train 1 AI to be proficient at attacking an evasive target that could also block (likely with motion capture), another one to be defensive by evading and blocking, and then combine both.
Or maybe I'm just wrong and it will be the same result.
No, I read multiple tips in the comments thatcwill for sure aid the models in the end, including yours.
They just need a reaction time. If they reacted a few hundred milliseconds later to each movement of their opponent, they wouldn't do this.
That first thing you said is definitely not happening.
They aren't feinting each other because they weren't trained to feint, there are multiple situations where a normal hook would get them but they don't throw it cause they don't know it. When you are about to throw a punch but the person dodges you don't need to cancel the entire punch, you just adjust to where the person is or you throw another type of punch
They are not doing shit, they are figuring out how to punch. We know how to punch because we have innate information about the functioning of our bodies. They are not even aware of their bodies. They just move a certain combinations of joint around and if it satisfies some parameters they tend to repeat It. I think you should just leave them training for months and we will see progress.
They are trying to balance using their hands not standing on feet
69 👍
True, so do we... That is why we balance our arms as we walk and run.
Yeah gravity needs to be implemented here so that they're More planted
@@RenzitoARG Are you saying that you are incapable of standing up without using your hands for balance?
@@rumplstiltztinkerstein
One thing is standing up, another is to balance. there's a huge mechanical difference.
You can observe it in babies. They first learn to stand and then to walk.
I wonder what would happen if you were to add a reward of something like “making the least amount of movement, but causing the most impact to the opponent.”
“Bro fighting demons”
I think the reason it looks jittery is that they have the minimum possible reaction time. Meaning that they would react to the opponent's movement as soon as it happens. And if both avatars act like that, it would explain why the block frequency is higher than the punch frequency.. because both of them are reacting very quickly to any movements the opponent makes.
Also if you have this in mind while watching the fight, you'll realise how cool these combat robots are, and that humans probably wouldn't be able to fight them in the ring
It takes the human 160 milliseconds to register an opponents movement. The average punch travels 31.68 feet in that amount of time (starting at 0 mph and ending at 12 mph at impact). Part of fighting is learning to "read" the opponent, typically called "fight IQ," by experienced fighters. That's the part that AI will need in order to conquer mankind.
1 mean left hook and they're done
The AI just has ultra instinct, that’s why it can react so fast smh my head
you have to keep in mind that they have very limited experience and its incredibly difficult for them to learn from experiences with a real human fighter (or hell, even against each other).
came for the boxing, stayed for the dancing
At the beginning of the video i was thinking that the best part of these AI videos are seeing the guys just struggle and fall flat. I was proven wrong with those amazing moves. He secretly taught them to rave
The "damn bees attacking my face" dance
It can dance better than me at any rave
Wait until they understand how capoeira works
Rawe*
We all been watching 15 min to see a snail brain to learn fighting 😂
pretty sure snails have WAY more neurons XD
This feels like watching 2 stand users fight but I don't have a stand
This is a banger
Fr
Lmfaoooo
What happens when you want to be a boxer but you're epileptic :
...and you end up at a rave😂😂
End result looks like a Florida parking lot fight.
WtF … that’s not some new evolved combat technique. That’s two dudes having seizures.
Sound track was perfect for the silliness 😂
It was amazing!!
10:10 this is literally how school fights are 💀💀
Born to drunken fist,forced to box
"A ragdoll without a brain is merely a corpse; so lets give it a brain" Absolute BAR
"capable of balancing with ease"
*Agent continues to gyrate every limb uncontrollably*
But you gotta admit, that last dance-off was SICK 😂
Mf looks like he tryna rap battle with yellow at the end of the balance training
It's like watching 2 crackheads at a Detroit gas station fighting over some change on the ground.
4:00 I love how they look like they are dancing, can't stop laughing 😂😂
Me neither 😂😂😂
Dancing WHILE Boxing? Sounds like a mix of Boxing and Capoiera
Sounds like it but the end result is more spazoeira
You'd think so, wouldn't you, but actually its 2 puppets having seizures
That's fascinating. Almost like seeing a child learning to walk, but action filled
this looks so funny its like newborns are learning to fight and walk at the same time
I mean... it might have been a good fight... if it weren't for those damn bees!
3:52 The name of the catchy electronic track is Ben Elson - 89 (released by Epidemic Electronic).
I've recognized this track because Ben Elson's work is used as music for the video game Beltmatic (Notional Games), but normally I use algorithms for this kind of identification.
wait.. I totally did not realise that you were such a small channel....the video quality is awesome!
I thought like he has 200k
Good lord, AI learned crackhead fighting style
"dancing while boxing" bro thats just capoeira but for hands
I love how at the end of the video it becomes a techno dance battle/moshpit of two/drug addicts having a seizure
Great work! You put great effort in making the ai work as well as the editing of the video, keep it up!
Cool music makes those random twitchings soo much epicier
Its like two masters got drunk yet still can dodge while starting to punch
New video hype Always keep up the good work
Great work 47, your next mission is to stand up.
I hope this video gets the likes and views it deserves!
Dude,I just couldn't... lmao! The setup was so serious and planned out then to witness that mess..omg had me dyin! 😂☠️
Been waiting for someone to do this
the first training session is basically 2 people dancing without knowing the purpose of the arena
Excellent video and thank you for uploading in 4k60fps!
I'm so glad I found your channel 😊
The first training session just looks like a cool dance party
Nice video concept, hope we could see a part 2 of this with more factors involved like the others said energy cost. And Abt wat u mentioned Abt ai wanting to block more instead of attacking perhaps it cud be addressed on the next video, it be cool to c these ai become better and better at simulating a fight.
Absolutely loved the graphic transition between neural network and brain it is graphically awesome!
This is very comforting
well done sir!!
The art of fighting without fighting
4:00 why are they dancing lol 😂😂😂😂😂
It would have been funny to put a song there.
Underrated. Commenting to boost algorithm
Keep training interesting to see where it ends up
the first training session reminds me of a game where there are like these people that like stumble and try to fight each other
I love how your accent makes you say "obserwations" and "revards"
"Today's mission..." Freakbait sounds different
You might not like it, but this is what peak combat performance looks like.
well I don't think this model is quite ready for the next terminator but they do seem to have invented a new kind of artform/sport I would call artistic dance boxing :)
3:15 wouldnt you want to use the dot product between the punch velocity and surface normal so head-on punches are more valuable?
Really cool. They actually start developing some form of strategy and technique by the end. Also still prettier striking than UFC legend Ben Askren.
So thats a joke right?
0:44 "..but to ragdoll without a brain is merely a corpse" - my new favourite quote
In the failed training lesson why does it look like they are emoting at each other💀😭💀😭
Looks like any random street fight.
"Today's mission" being the opening line made me laugh more that it should have
A drunken fight ended with a drunken dance party.
Dude was slapping himself the the face a whole lot xD
At around 11:44 there was a frame where yellow’s fist was 1 cm away from white’s head, but it still counted to white 💀, also bro hit a new dance
ACTULLY SO UNDERATED
This 3D stickman dancing kinda reminds me of Toribash.
I've seen fights like these occurring outside English pubs for decades.
hey im intresetd in learning on how you develop AIs like this, do u have vid recommendations or r u gonna make one? thanks
Surely there is a way to make them less erratic
"I'll sting like a bee and dance like AI"
seem like a drunk fight. Another observation, the way yellow robot moves remember me 52 block
Yellow getting dropped by nothing is killing me
How I imagine Jake Paul and Mike Tyson fight be like💀
It really is so dope, there wobbling because the ai is firing inputs off of both there outputs at a high rate so there struggling to make a precise input that would get them to the goal while not being touched. I know it’s known but to think it’s capable is just fascinating.
I feel like it would be interesting to give them some form of stamina to make them try and be more steady and efficient with their movments.
7:20
When you and your buddy take the same amount at a festival but only one of you really feels it.
Yujiro hanma would stand no chance... We have witnessed the birth of ultra instinct.
What kind of program do you use to run and create the simulation?
'Today's Mission' guy really needs to see this video lol
Cozmouz: Fight!
AI: Nah, I'm gonna dance.
lol
A dance battle in the beginning😂
It's like drunk capoeira without the kicks and twirls, and sped up...
The Final AI Agent looks Like Tyson Fury
Idea: train the AI in a simulation, then make a robot irl with the exact same properties as the ai in the simulation and use your graphics card to make the ai behave the same way irl
The gravity is damped too much it should be set stronger also acceleration of musckes should risr linearly instead of "snap"
1st training session : i am ragdoll and ill be your freestyle dance teacher
Video idea: try teaching the bot to stand still
That was it? I haven't seen a single solid hit. The learning process looked fun tho.
This actually happens in the anime Baki. They appear to be doing nothing, but actually, they're reading every little one of their opponents' muscle movements and perfectly countering, but as they do, their opponent is also reading that resulting muscle movement, thus an indefinite stale mate is created. This is peak fighting 💯💯💯
4:01 Me hitting the dance floor
I like the yellow fighter's plucky attitude and the strong rearward lean.