Slashdot Mirror


AI Researchers Produce New Kind of PC Game

Ken Stanley writes "In an unusual demonstration of video game innovation with limited funding and resources, a mostly volunteer team of over 30 student programmers, artists, and researchers at the University of Texas at Austin has produced a new game genre in which the player interacively trains robotic soldiers for combat. Unlike most games today that use scripting for the AI, non-player-characters in NERO learn new tactics in real-time using advanced machine learning techniques. Perhaps projects such as this one will encourage the video game industry to begin to seek alternatives to simple scripted AI."

34 of 342 comments (clear)

  1. Coral Cache by Anonymous Coward · · Score: 5, Informative

    Slashdotted before it even went live. Here is a working link. Downloads are currently at 511, I hope their counter has more than 9 bits...

    1. Re:Coral Cache by TCM · · Score: 5, Interesting

      What has become of simple HTTP downloads with relative paths? The whole binary could have been picked up by Coral. But nooooo, it has to be a fancy "download.php" with a parameter "go=yes"?! WTF? Is everyone growing retarded these days?

      </rant>

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    2. Re:Coral Cache by slashdotnickname · · Score: 5, Funny

      Is everyone growing retarded these days?

      http://everyone.com/growing.php?retarded=yes

  2. If it's fun... by InferiorFloater · · Score: 5, Insightful

    If this technique provides for fun gameplay, or more importantly, a notable difference in the experience, then sure, it might become more common.

    Keep in mind though - entertainment is meant to be entertaining, not neccesarily realistic or academically advanced.

    --

    ---------
    Get back to me when my brain starts working.
    1. Re:If it's fun... by bratboy · · Score: 4, Interesting
      as an ex-game programmer, i can tell you that developing AI is hard mostly because you don't want the game to be too hard. developing AI which will always win is easy. in this case it's a somewhat specialized "core wars"-style genre, but in most games (in which AI interacts with players) overly potent AI is more of an issue.

      and then there's the fun factor. i seem to remember an article about one of the Id games in which they developed all sorts of interesting behaviors for the AIs, played with in for a while, and eventually came to the conclusion that "turn and move toward player" gave much better gameplay.

      on a separate note, i remember a game from the late 80's in which you had to program logic circuits to get a robot to perform tasks of increasing difficulty... not a game with a lot of commercial appeal, i'm sure, but i spent many hours trying to solve problems using those little graphical circuit boards...

      daniel

    2. Re:If it's fun... by InferiorFloater · · Score: 3, Insightful

      Well, training machine-learning agents to fight in a digital battlefield isn't really result in "realistic" behavior - those agents are just going to behave in the optimal manner they've learned.

      The goal of most game AI is to get a lifelike and entertaining behavior, which can be pretty easily approximated in very simple algorithms.

      I'm not knocking the game there either; I haven't played it. There was just a hint of "why don't games use advanced AI techniques" academic frustration in the post - I was pointing out that entertainment and academia are two seperate problem spaces.

      --

      ---------
      Get back to me when my brain starts working.
    3. Re:If it's fun... by DerWulf · · Score: 5, Insightful

      I've heard that before. Now, are you really telling me you could do an rts AI that could kick my ass by 'thinking' instead of:-knowing the map beforehand
      -having an increased production rate
      -having fights tweaked to the AI's favor
      -starting with more units
      -always being aware of all movement on the map, regardless if it'd be visible to that player
      -controlling everything at once
      -receiving all relevant information at once

      I really don't think so. It's driving me nuts in all games that harder settings *always* means 'AI can cheat more'. This is the reason I don't like RTSs and hardly can stand to play CiV. Omnipotence and Omnipresence is not AI. AI (in games) should emulate how a human would play (advanced planning, patteren recog. etc) with all the strengths and weaknesses that come with that. A good AI in that sense would hardly overwhelm the player seeing how sucessful multiplay games are. Just face it, technology and AI research is just not capabable of pulling it of. Just say that instead of 'well, you really wouldn't want it'.

      --

      ___
      No power in the 'verse can stop me
  3. What is old is new again by jockm · · Score: 4, Interesting

    One of the earliest forms of AI I ever learned about was MENACE. A pre-computer means of training a system to play and win Tic-Tac-Toe. I will confess to loosing more than a little time "training" my system.

    --

    What do you know I wrote a novel
  4. Brains in the Training Loop by Al+Mutasim · · Score: 5, Insightful

    This is a neat concept, with or without the "neuroevolution" approach (evolving artificial neural networks with genetic algorithms). Including human brains in the training loop for algorithm development is key. The reason so many AI algorithms have found limited application in fielded physical systems (such as weapon systems) is because the competing approach--dozens of smart engineers, working long hours, tweaking human-readable algorithm code and Monte Carlo simulating the tweaked designs over and over for years--is so effective.

  5. Or perhaps... by Prof.Phreak · · Score: 4, Funny
    Perhaps projects such as this one will encourage the video game industry to begin to seek alternatives to simple scripted AI.

    The DOD will get interested, and use a similar technique to train -real- robots?

    --

    "If anything can go wrong, it will." - Murphy

    1. Re:Or perhaps... by Planesdragon · · Score: 4, Funny

      The DOD will get interested, and use a similar technique to train -real- robots?

      The DOD is perfectly capable of creating robots that kill people. The hard part is making those robots NOT kill the people you don't want them to kill.

    2. Re:Or perhaps... by PsiPsiStar · · Score: 4, Interesting
      --

      ___
      It's the end of my comment as I know it and I feel fine.
    3. Re:Or perhaps... by pete-classic · · Score: 5, Insightful

      I'm going to be harder on you than I would/will be on the OP, since you decided to jump in.

      I'm sure that you think that link is a slam dunk, but I think that it is telling that you haven't a single word of your own on the topic.

      I think that your conception of combat is naive. I think these poor sons-of-bitches in the tanks that fired on their comrades made a gut-wrenching decision under impossible circumstances. In the dark, in a foreign land, in abject and immediate fear for their own lives they saw what appeared to be hostile troops firing on them.

      These weren't guys who had been "in country" for weeks and months, and had developed an instinct for differentiating an RPG hit from enemy cannon fire. This was some 20-something guy, maybe a year out of West Point, or two out of ROTC, and some enlisted men, maybe 19 or 20. If they had the presence of mind to formulate a though more complex than, "Fuck! Those bastards are trying to kill me!" then they are probably better men than you or me.

      Combat isn't like a game of chess. One can't sit back an contemplate the possible repercussions of one's actions. It's smoky, dark, dirty, hot, and freezing, windy, rainy mess. It's being hungry, scared, and confused. Sleeping standing up, and having rashes in places that we don't talk about in mixed company.

      Now, I'm in favor of any technique or technology that you can come up with that reduces fratricide. But smug, flippant comments that show no application for the realities of combat make me sick.

      -Peter

  6. Not at all new by Digital+Avatar · · Score: 5, Informative

    This isn't entirely a new idea. CROBOTS, for example, put one in the position of designing AIs that control tanks and then pits them against one another in an arena.

  7. Geek Robots? by pin_gween · · Score: 5, Funny

    Oh hell, you know this will taken over by /.'ers AND do /.'ers know a damn thing about soldiering?

    Probably not, but beware -- you may just create a robotic system administrator/repairman. Don't put yourselves out of a job!!!

    --
    Ignorance is not a crime; neither should it be a way of life

    Congress control $ = inmates run the asylum
  8. Greetings, Professor Falken. by infonography · · Score: 4, Interesting

    Joshua: Greetings, Professor Falken.
    Stephen Falken: Hello, Joshua.
    Joshua: A strange game. The only winning move is not to play. How about a nice game of chess?

    For those of you who actually look on a user's history of posts, yes this is a variant of another post I did, however it's apropos here as well.

    --
    Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
  9. hopefully it will by Saven+Marek · · Score: 4, Insightful

    > Perhaps projects such as this one will encourage the video game
    > industry to begin to seek alternatives to simple scripted AI.

    hopefully it will encourage the video game industry to begin seeking alternatives to Yet Another High Resolution First Person Shooter.

  10. What about this by eric_ste · · Score: 3, Funny

    Imagine a beowolf cluster of trained anonymous cowards imagining a beowolf cluster of these....

    Maybe, after all, such a cluster exists because there is such a post on everything remotely clusterable.

  11. Sounds like "Galapagos" by metamatic · · Score: 4, Interesting

    "Galapagos" by Anark had a robot creature with some kind of neural net, and you had to teach him to navigate around by providing him with appropriate stimuli and rewards.

    It could get frustrating--sometimes if he hit a particular deadly obstacle too often, he'd become traumatized, and would then refuse to go anywhere near it, which could make the level impossible until you had allowed him to wander around and petted him and calmed him down.

    Great game, though. I wish there were more like it.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  12. Re:University of Texas. by Fallingcow · · Score: 5, Funny

    If it's UT anywhere but Austin, you say where.

    If it's UT and it's anything but Unreal Tournament, you say what it is.

  13. Torrent by TaxSlave · · Score: 4, Informative

    Only for the purposes of helping distribution, and for a limited time, torrent available at nerogame.exe.torrent

    1. Re:Torrent by TaxSlave · · Score: 4, Insightful

      Trust everyone, but count the cards. I'm just sharing the file I downloaded, but I don't expect you to trust me any more than I trust you. Scan it. Run it on a testbed machine. I could be evil.

      I'm not, but I could be.

  14. Good, but... by badbit · · Score: 3, Insightful

    Is it fun to play?

  15. The AI Problem...From the Publisher's Perspective by CodeBuster · · Score: 5, Insightful

    The problem with expensive investments in AI is that the publisher must have a series of successful games built on the fruits of that labor before there is any profit. This could possibly be mitigated somewhat by licensing this engine for use by other companies, but this is also weighed by the fact that your competitors are now using the same or similar types of advanced artificial intelligence in their games which may hurt sales of your own games. Large publishers, such as EA and Microsoft, have the resources and wherewithal to make these long term bets, but the smaller boutique firms have neither the willingness nor the ability to finance the development of these types of advanced engines in house. It may be useful to look at some numbers from 2004, courteously compiled by the http://www.shrapnelcommunity.com/blog/2005/02/24/" >shrapnelgames blog.

    The total revenue for the game industry in 2004 was 1.2 billion dollars which was down 100 million from 2003. During this same period only two games had sales of over 500,000 units, but there were 18 games which had sales of 250,000 or more. Based upon the varying definitions of what constitutes a "new release" there were roughly 1,100 games released in 2004 of which maybe 6% earned a profit. The average budget for a competitive game is said to be around two million dollars with an average break even point of around 110,000 units sold. The average retail game price is $24.45 with only 5,000 total units sold.

    Clearly, the open source community is willing to undertake these efforts on their own initiative or for other reasons related to research, as was the case with the student produced game. I am in no way denigrating the efforts of these students, what they produced with the resources available to them was simply amazing and of surprising quality. However, in the world of retail games it takes a certain amount of marketing, advertising, and Wal-Mart end caps to rise above the background noise, unless you are like the aforementioned established game companies and the reputation speaks for itself, at least until they release a real stinker. At the end of the day, when all things are factored in, there is simply not enough money in the budget of the average game to make this type of advanced artificial intelligence worth the risk and expense, at least right now. However, if there is any constant in the game industry it is change and this will probably change in the years to come. I would like to see some new and innovative games too, instead of Madden 2017, but it looks like we will have to wait a while yet.

  16. My cousin is in the military.. by Sir+Pallas · · Score: 4, Funny

    ..and he says that's what the Marines are. But really, the DoD does fund a lot of machine learning; however, the current state of the art only allows machine to solve specific problems. You need a traning metric, etc. and that's not trivial.

    1. Re:My cousin is in the military.. by wowbagger · · Score: 4, Funny
      ..and he says that's what the Marines are


      Hey now - let's not get insulting here: robots are much smarter than Marines, and Marines are much tougher than robots!

      (Note: JOKE! My brother was a Marine before he worked for NASA, my insurance agent is a Marine, and there are few people I'd rather have guarding my ass than Marines.)
  17. Re:AI? on a video card? by adam31 · · Score: 4, Informative
    but floating point operations aren't exactly optimal for things like AI.

    False.

    FLOPs are not generally useful for things like scripted AI which are very branch heavy with a lot of indirection, and many possible branch targets and data requirements.

    The techniques described in this game are highly mathematical in nature with a small memory foot-print, (adaptive neural networks and genetic programming via Kenneth Stanley's NEAT algorithm) and would benefit hugely from parallel vector proccessing.

    Additionally, at the end of the day, the AI decision making is not nearly as expensive as the proximity-query and pathfinding routines that affect the decisions. These routines also benefit hugely from vector processors and high bus-bandwidth.

    So fittingly, the AI will only suffer if the human intelligence can't adapt and make the fairly obvious decision to move toward more mathematical AI routines.

  18. Re:begin? by Surt · · Score: 4, Interesting

    Diablo II, I'm Doug M.

    --
    "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
  19. can they learn suicide runs? by potus98 · · Score: 3, Insightful

    I'd like to know if the NEROs can evolve more advanced tactics such as:

    When its health is less than 5% and likely to die, make a final kamakaze run at a tough enemy to deliver a mega bomb, draw fire, etc...

    Gang beat downs - Even though the NERO is closer to enemy tank B, focus your fire on enemy tank A since its damage is critical and about to be pushed over the edge.

    Unload power ups - Before picking up a weapons upgrade that would replace my super grenade, go ahead and lob all of my super grenades before picking up the power-up.

    Waiting for power ups to cycle - In some games, a power-up changes every few seconds. Could the NEROs learn to wait for spread-fire on one level versus lazer fire on another level? Okay, levels is too easy, how about depending on the situation, what my friends have, etc...

    And most importantly, could NERO's be taught to perform "ethical cheats"? By ethical cheat, I mean take advantage of the game engine or environment in a way not intended by the developers. -Not by patching code or using network sniff bots.

    Sure, these seem like pretty simple tactics, but YOU try programming this kind of AI. It's next to impossible!

    --
    This one gang kept wanting me to join cause I'm pretty good with a bo staff.
    1. Re:can they learn suicide runs? by jtogel · · Score: 3, Interesting

      As for what you call "ethical cheats", that is what evolutionary algorithms are really, really good at. Trust me. You have design your fitness function (scoring system) very carefully for this not to happen. It is a major source of frustration, disappointment and thoughts of getting a normal job among neuroevolution researchers. E.g., you want evolution to come up with a nice neural network that drives smoothly around a track, but evolution (that bastard!) finds out that it can actually score higher faster by creating something that drives in circles, bounces between walls etc.

      I don't know about the other tactics, but it is certainly not impossible, given that NEAT is more open-ended that most NE systems out there. Let's find out!

  20. Re:begin? by Surt · · Score: 4, Funny

    So look me up in the credits already!
    If you can suggest how better to prove that I worked on it, let me know.

    --
    "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
  21. pac-man with emotion-like behavior by 0111+1110 · · Score: 3, Interesting

    Does anyone remember a research 'game' which was sort of like Pacman but with real motivation. IIRC, the Pacman character was programmed to seek pleasure and avoid pain. Certain pellets were considered positive reinforcements and others were considered negative reinforcements. It ended up having some almost spooky emergent behavior, like hiding in a corner if there were too many negative reinforcement pellets. It seemed to develop responses almost like fear. Stuff like that. I can't recall the details unfortunately. I think it was done as a university project or something, maybe in the late 80s. The idea of generating unpredictable emergent behavior from a relatively simple computer program has stayed with me.

    I think that will be the next stage of computer characters: to make them unpredictable even for the programmers. Rule-based learning can get you somewhat complex behavior, but it is all predictable. What we need is genuine example-based learning. So that the resulting behavior would be impossible for anyone to predict and constantly changing and evolving. Of course I am thinking along the lines of various neural network, connectionist architectures. Their unpredictability is generally considered a downside, but for a game the black box aspect seems perfect.

    --
    Quite an experience to live in fear, isn't it? That's what it is to be a slave.
  22. Re:The problem with this... by dummyname12 · · Score: 5, Funny

    That kind of game may have a very sizeable market. My girlfriend seems to enjoy a game in which she turns me on and then leaves the room... heh heh... girlfriend... I almost kept a straight face...

  23. Finally!! Geeky Gameplayer Employment! by smchris · · Score: 3, Informative


    Will these things be marketable? "Ma, I'm not playing games, I'm training my robo-warrior!"