But how does it know what action is best in a given situation? In order to train it, you have to have an example of the best possible answer in every situation.
@Houshalter Maybe every time AI loses, its last move (or set of last few moves) is the basis for the back-propagated error signal? Simple game-learning by this technique has been around for decades - e.g. Martin Gardner, Further Mathematical Diversions (1969), chapter "A Matchbox Game-Learning Machine".
right, now code a FSM for a bunch of basic 'emotional' states the AI entity can be in, e.g. pain, fear, bravery, victory, etc, and implement a neural network underneath to handle the players moves accordingly -> evade when in pain or fearful due to player speed, attack when feeling brave or victorious due to players slow movement :)
Nice way to train the AI player against any particular human. I suppose in practice you could use a default neural network to begin and train using pseudo-rehearsal to strengthen particular input/output rules whilst interacting with the player. But If there is a winning strategy in this game then the NN may easily find it.
Did you use an engine that is avaliable to the public? I'm wanting to do Neural networks for my final project but having problems locating some code thats relevant.
The biggest problem i have noticed with neureal nets is that they can be trained to do on thing but if you train them to do another they will often not be able to complete the orginal task they were assigned. I had an idea for an AI i once that involved using neural networks to search relatioanal databases to reconize patterens in a players ablility but that was just a little to much for me. anyway great vid.
Great vid & idea. Backprop is prone to "catastrophic interference" Does your player have trouble initially retaining old skills when learning new ones?
Yes it does actually. It'll tend to forget some of the combos but that's kind of expected with the interference from other samples, like what you have mentioned. Seems like you have done quite a bit of research on this topic as well :)
Congrats! Very didactic and funny movie! I already know ANN's well, but if I didn't know it, sure I'd learn it with your video =) (at least the basic mechanism and the motivations)
By the time the AI had learned his combos....the computer player would have been defeated. Neural Networks can never be perceived as perfect as human perception.
Hmm, the time it takes us humans to figure out how to do things takes 10 to 20 years and sometimes even longer. Which we call growing up :) So the AI needs to grow up too. Just like you need to learn a new game the ai has to learn your abilities and how to react to them.
From the way you described it this game is no Neural Networks but just simple if statements. Dont post things like this when there are people actually trying to develop real methods.
It's kinda strange that you wrote that there's no neural networks involved. Have you watched the whole video? We have another version of the game which is running on Finite State Machine that uses if-statements. But that is used as a contrast and is not the feature of this game. Perhaps you can watch the later part of the video which talks about the neural networks.
Hi. I wonder how many human players trained the network? Fighting styles may differ from person to person. Is the A.I. fighter successful against another player who didn't train the network?
Actually we haven't had the chance to do extensive tests on it yet because we are busy with another project. We will probably release it to the gaming community some time later so that they can help us to train the network.
Yes this game exists. The game fighting parts above is done by capturing videos of the actual game itself. Unfortunately the game cannot be released yet due to some issues but we do have plans to release it some time this year.
You could try making advance AIs in UDK :D
EZbakeROFLcakes 1 year ago
Thats awesome. I hope that NPCs become super intelligent really soon.
xistoxs 1 year ago
you should have 2 train against each other...
TheReasonWhyGuy 1 year ago
Really nice background music!!!
CyberWalker2004 1 year ago
But how does it know what action is best in a given situation? In order to train it, you have to have an example of the best possible answer in every situation.
Houshalter 1 year ago
@Houshalter Keeping your health up and hurting the player reinforces the bot's learning because it complies with its objective.
virgildog1950 1 year ago
@virgildog1950 It could have been done the way you said (like TD-Gammon did), but they've used a different approach. It's on their site.
rcparts 1 year ago
@Houshalter Maybe every time AI loses, its last move (or set of last few moves) is the basis for the back-propagated error signal? Simple game-learning by this technique has been around for decades - e.g. Martin Gardner, Further Mathematical Diversions (1969), chapter "A Matchbox Game-Learning Machine".
dajwilkinson 1 year ago
I like your story telling method .)) fun! great job!
Ambakapu 1 year ago
right, now code a FSM for a bunch of basic 'emotional' states the AI entity can be in, e.g. pain, fear, bravery, victory, etc, and implement a neural network underneath to handle the players moves accordingly -> evade when in pain or fearful due to player speed, attack when feeling brave or victorious due to players slow movement :)
trisky1234 1 year ago
Epic video. I'm thinking of doing a neural network for a game. Try at least.
Dodekus 2 years ago
+1 Well done.
scop3nz 2 years ago
this video is beyond epic
its WICKED SICK!
clustro 2 years ago 3
excelente video.......
Genial el futuro de la I.A
fidonoso 2 years ago
Nice way to train the AI player against any particular human. I suppose in practice you could use a default neural network to begin and train using pseudo-rehearsal to strengthen particular input/output rules whilst interacting with the player. But If there is a winning strategy in this game then the NN may easily find it.
Illithan 2 years ago
Did you use an engine that is avaliable to the public? I'm wanting to do Neural networks for my final project but having problems locating some code thats relevant.
Skinnyram 2 years ago 3
Nope, it wasn't done using any engine. Some basic source codes can be found in neural network books I believe, so you can try digging into those.
skeelogy 2 years ago
The biggest problem i have noticed with neureal nets is that they can be trained to do on thing but if you train them to do another they will often not be able to complete the orginal task they were assigned. I had an idea for an AI i once that involved using neural networks to search relatioanal databases to reconize patterens in a players ablility but that was just a little to much for me. anyway great vid.
drowjam 11 months ago
I don't understand how the weights for the hidden layer inputs are calculated. How are we supposed to know the error for each of these hidden units?
Conscars 2 years ago
just as you would train a 'live' creature.. if you want to train it into something you know what the outcome is supposed to be.
KaarsUnderlost 2 years ago
Cool, just what I needed : an explained implementation of neural networks!!
You can find plenty of stuff on networks, but they never talk about a specific implementation, rendering it impossible to fully understand.
Thanks for the vid, and awesome work!!
Althar93 2 years ago 8
great vid, im trying to make a robot using neural networks, it makes a lot more sense now!
fopple13 2 years ago
Great video! I really needed an example like this, as I was a bit confused about what the inputs and outputs could represent. Cooool
blenderuser 2 years ago
Great vid & idea. Backprop is prone to "catastrophic interference" Does your player have trouble initially retaining old skills when learning new ones?
DrJBN 3 years ago
Yes it does actually. It'll tend to forget some of the combos but that's kind of expected with the interference from other samples, like what you have mentioned. Seems like you have done quite a bit of research on this topic as well :)
skeelogy 3 years ago
Good explanation my child
jopir 3 years ago 3
Nice Video, well done.
msj120 3 years ago
Very interesting example :)
adisharr 3 years ago
Impressive and very didactical video. Congrats and keep up with the excellent work.
lanflett 3 years ago 2
That's damn good
ppaaii1111 3 years ago
Congrats! Very didactic and funny movie! I already know ANN's well, but if I didn't know it, sure I'd learn it with your video =) (at least the basic mechanism and the motivations)
rcparts 3 years ago
Awesum!
dalyk 3 years ago
Fun and educational, congratulations! :)
A3A3adamsan 3 years ago
brilliant!!!GREAT WORK
mpeniak 3 years ago
thats why i always lose at tekken.
DR3TH 4 years ago
By the time the AI had learned his combos....the computer player would have been defeated. Neural Networks can never be perceived as perfect as human perception.
sd19matt 4 years ago
Hmm, the time it takes us humans to figure out how to do things takes 10 to 20 years and sometimes even longer. Which we call growing up :) So the AI needs to grow up too. Just like you need to learn a new game the ai has to learn your abilities and how to react to them.
red15nls 3 years ago 11
Our brains are nothing but really complex neural networks.
GBart 3 years ago
This video is good but I still don't understand very well. Does anyone know a good place to learn more?
8488463p0wnd 4 years ago
if you aren't a teacher, you should be lol!
einsena 4 years ago
OMG now i understand neural networks!!!!!1
danuthaiduc 4 years ago 2
¡Buena idea! Una forma muy divertida de experimentar con redes neuronales
UlisesyAfrodita 4 years ago
Great work guys. It provides a really interesting contrast between rule based systems verse neural networking.
jabbasaw 4 years ago 3
well done! interesting movie :)
nibble222 4 years ago
sweet, i like the story of how you taught the AI.
kirbyfan95 4 years ago 3
From the way you described it this game is no Neural Networks but just simple if statements. Dont post things like this when there are people actually trying to develop real methods.
futurehorizon24 4 years ago
It's kinda strange that you wrote that there's no neural networks involved. Have you watched the whole video? We have another version of the game which is running on Finite State Machine that uses if-statements. But that is used as a contrast and is not the feature of this game. Perhaps you can watch the later part of the video which talks about the neural networks.
skeelogy 4 years ago 6
Hi. I wonder how many human players trained the network? Fighting styles may differ from person to person. Is the A.I. fighter successful against another player who didn't train the network?
sevketcakir 5 years ago
Actually we haven't had the chance to do extensive tests on it yet because we are busy with another project. We will probably release it to the gaming community some time later so that they can help us to train the network.
skeelogy 5 years ago
does this game really exist, and if so, where can i find it?
Fromzon 5 years ago
Yes this game exists. The game fighting parts above is done by capturing videos of the actual game itself. Unfortunately the game cannot be released yet due to some issues but we do have plans to release it some time this year.
skeelogy 5 years ago
Excellent! I can't wait for this thing to come out!
frogger626 4 years ago