Slashdot Mirror


IEEE Spectrum Surveys Current Games' AI Technology

orac2 writes " IEEE Spectrum has an article on the AI technologies used in the current crop of video games. State machines, learning algorithms, cheating, smart terrain, etc are discussed. Game developers interviewed include Richard Evans, of Black and White fame, who talks about Lionhead's upcoming Dmitri project and Soren Johnson who created Civ III's AI."

21 of 172 comments (clear)

  1. Re:Only one problem by NintenDoctor · · Score: 2, Interesting

    Yes, let's stop working on AI, so that when we have the hardware to do it we won't know how.

    Bright idea.

    Besides, what is a human being besides a complex system of input and output anyway?

    --
    I've moved on.
  2. Re:Only one problem by Randolpho · · Score: 3, Interesting

    If you're referring to simulating human thought, computers will *never* be that advanced. At least not if we continue down the path we've been on, and engineering techniques make that unlikely. Artificial sentience (Sci-fi AI) is a design problem, not a speed problem. I think it's possible, but not on your PC.

    --
    "Times have not become more violent. They have just become more televised."
    -Marilyn Manson
  3. AI = my biggest complaint with the games industry by wackybrit · · Score: 5, Interesting

    I have a 56k modem, and no chance of getting broadband, so while massive online fragfests might seem like fun, they're not really accessible to me (RTCW was bearable till PunkBuster slowed it to shit).

    Unfortunately, the games industry seems to have focused on turning out hundreds of online fragfest games that bring in the $$ but leave little to the imagination. Even 'The Sims' are at it.

    AI doesn't necessarily have to be 100% realistic for a rewarding offline game. But even the bots in UT2003 aren't that hot, so it's clear AI and single player games are taking a backseat to the online money spinners.

    Hopefully some big breakthroughs in AI will turn the tide, but with the games industry already ignoring AI, I'm not optimistic for AI's future in games.. since everyone would rather play their dumb neighbor anyway.

  4. An interesting Link by Anonymous Coward · · Score: 3, Interesting

    I just found an interesting web site which is dedicated to the topic of Artificial Intelligence (AI) in games. Check it out.

  5. Ethics, IP, amd AI by USC-MBA · · Score: 5, Interesting
    This article brings up an interesting issue regarding Artificial Intelligence, Intellectual Property, and human/nonhuman rights.

    Namely, what happens if some researched finally stumbles across an application that passes the Turing test? One that for all intents and purposes appears to be a conscious life form?

    The resulting ethical problems will be myriad:

    • Will the AI life form be the property of the person or corporation that developed it?
    • Will the AI life form be copyrightable?
    • Will the creator of the AI life form be obligated to keep it "alive" (i.e. keep the power running, etc.) as long as possible?
    • Will the AI life form have the same rights as an ordinary human being?
    • Will distributing the souce code for the AI life form be regulated under anti-cloning statutes?
    • Will the AI life form be allowed to earn money as a result of its efforts in controlling entities in videogames?
    • Will the AI life form be entitled to royalties as a participant in the creator of the videogame?
    As a libertarian I am torn between my concerns about keeping markets free and unregulated, and my concerns for the freedoms and rights of potential AI life forms. Interesting times...
    1. Re:Ethics, IP, amd AI by MoonBuggy · · Score: 2, Interesting

      Doesn't the turing test test for intelligence, not whether something is alive or not?

    2. Re:Ethics, IP, amd AI by deranged+unix+nut · · Score: 3, Interesting

      In a way, both and neither.

      The turing test is to see if a person can tell the difference between another person over a teletype terminal and a computer.

      If you can't tell the difference between a computer and a human, is the computer alive? However, if it is inorganic, is it alive?

    3. Re:Ethics, IP, amd AI by Anonymous Coward · · Score: 1, Interesting

      Why would should a piece of source code have rights?

    4. Re:Ethics, IP, amd AI by hawkestein · · Score: 5, Interesting

      No matter how smart you can make a computer look, it is still performing the same fetch-execute cycle on primitive instructions like "add," "shift," and "branch." If that is a conscious life form, then so is a pencil and piece of paper on which you perform all these primitive instructions manually.

      Fan of John Searle, are you?

      How's this for a thought experiment. Take a human being, and swap one of his neurons for an electronic circuit that behaves identically to a neuron. One at a time, swap out each real neuron and swap in an electronic one. Is he still concious when his brain is entirely made up of electronic neurons instead of organic ones? OK, now swap out each neuron, and swap in a tiny computer that can simulate the I/O behavior of a neuron. Swap these in one at a time. Is he still concious? OK, now start swapping out groups of neurons for computers that can simulate the I/O behavior of the group. Proceed until his entire brain is just one computer. When did he go from a human being to a soulless automaton?

      --
      -- Will quantum computers run imaginary-time operating systems?
    5. Re:Ethics, IP, amd AI by Orne · · Score: 5, Interesting
      Ok, take a step back for a second. An artificial intelligence is essentially code running in a state machine... heck, "threads" of code running in an asynchronous processor pretty much defines biological life too, doesn't it? The difference is that we have a top-down design control with AI that we don't have with biology (yet). The meta-question that we haven't answered yet is: Is the intelligence in the code being run, or is it in the processor running the code?

      Let me throw some more questions into the mix:
      • Suppose you can save the "state" of every variable in the process, and write it to disk. Does your AI "die" if you halt the processor, or does it "pause"? If you reload from disk, the AI has no sense of time loss... from its internal viewpoint, no time has elapsed between processor clock ticks.
      • Is "death" now defined as never re-executing the code? Or, if the AI has the ability to move its code stream from one processor to another, do we say that the entity "moved", or that the original stream "died" and a second one was "born" on the new process... because in theory, the original code can keep processing after forking the copy to the 2nd processor...
      • Now save the state, launch a second processor from the same data while executing the 1st... you've just cloned the AI. What would happen if you bring AI(original) to meet AI(clone)? Unlike biological replicants, there is no "age" difference between the copies, and a 100% history/memory duplication.. what kind of psychological damage will occur?
      • Assume a human programmer writes the initial code, and pipes it into the processor, and through self-modification, the AI drifts from the original specs. Should the human be paid for running the processor, or should the human be paid for the original code?
      • If an AI earns money for playing games, should it pay for the processor time that keeps it alive? After all, humans work, then go to the grocery store to pay for food that keeps our bodies going...
      And lastly, I heard a different version of your closing quote... Ancient Chinese Curse: May you live in interesting times. :)
    6. Re:Ethics, IP, amd AI by CoughDropAddict · · Score: 3, Interesting

      Fan of John Searle [utm.edu], are you?

      The argument was evident to me before I ever heard of John Searle, but yes, I do agree with him.

      How's this for a thought experiment. Take a human being, and swap one of his neurons for an electronic circuit that behaves identically to a neuron. One at a time, swap out each real neuron and swap in an electronic one. Is he still concious when his brain is entirely made up of electronic neurons instead of organic ones?

      I don't believe such a thing is possible. But let's assume that it is. Now try this for a thought experiment: instead of swapping out biological neurons for mechanical ones, take an instantaneous state snapshot of an entire brain. Now find a person for every neuron and give them a set of instructions for how to behave exactly like a neuron, making telephone calls to communicate with the other neurons (if it's possible to create an electronic circuit modeling a neuron, it must be possible to codify the behavior into a set of human-understandable instructions). Give them the initial state of the brain you are copying. Is this vast network of people following instructions a conscious (albeit vastly slower) clone of the brain whose state was surveyed?

      Repeat the above, but only use two people to simulate two random neurons from the surveyed brain. It is conscious? Now try three. Is that conscious? What is the magic threshold that can achieve consciousness?

      I think your position of "consciousness is no more than the sum of the brain's neurons" is a much more perilous position to defend than the claim that there's something going on there that we don't understand.

    7. Re:Ethics, IP, amd AI by Scarblac · · Score: 3, Interesting

      If you like thinking about these sort of questions (what's the consequence of running a mind on a computer - what happens if we compute all its subjective instants on another computer in a worldwide cluster, etc) then you should read Permutation City by Greg Egan, which takes this discussion to extremes, with rather deep consequences.

      Obviously the book is fiction, speculation, but still rather good - every time you finally wrap your brain around a new idea, you go "wow" as you get it, the next paragraph takes this new idea to its extremities :-)

      --
      I believe posters are recognized by their sig. So I made one.
  6. MMRPG "societies." by Boogaroo · · Score: 5, Interesting

    QUOTE: For a project code-named Dmitri, Evans is now focused on improving the ability of AI to interact socially. Agents' behavior will be controlled by their membership in overlapping social groups.
    ----

    So how long until the AI gets good enough that we don't need it to be truly multiplayer and can all play on our local machines with AI characters that can chat with us about our real lives instead of just the game?

    -

  7. Re:AI = my biggest complaint with the games indust by Maul · · Score: 5, Interesting

    I have yet to find an FPS where I felt the bots had really believable AI.

    In most FPS games, the bots simply have really good "aim" and really good "dodging ability" in the higher difficulty levels, coupled with the fact that the computer technically knows where you are all the time. Even so, a player will usually develop reflexes that will allow them to outgun the bots.

    Players without the "reflexes" to beat the bots' super aim can still beat them, as the bots will repeatedly fall for the same tricks over and over.

    To have realistic bots, they need to be able to learn from their mistakes. Bots fail to learn things such as the following:

    1) The player's favorite weapons.
    A common technique in games like Quake is to "control" the weapons. If you are playing against someone who is great with the rocket launcher, but not so hot with the other weapons, you can try to limit their access to that weapon. Bots don't pick up that you use the RL all the time, and thus don't really do a great job of stopping you from getting it.

    2) The player's techniques.
    Obviously, if a player likes to re-use certain techniques (circle strafing, etc.) too much, other players will pick up on it. Bots, however, don't really anticipate what the player might do in this fashion.

    3) Mistakes.
    At the same time, the bots will often reuse the same techniques as well. However, the human player will pick up on it. Bots need to learn what tactics it has used that have failed, and try something else.

    --

    "You spoony bard!" -Tellah

  8. Morrowind's AI by dreamfactory · · Score: 2, Interesting

    I have been playing Morrowind for quite a while and the AI of the characters is simply breathtaking. I must admit it has been the only game that had me talking to people "And suddenly this big whale like creature jumps out at me so I run as fast as I can to a house and hide inside" ... "So I goes outside and the coast looks clear.. the monster is only hiding *behind* the house peaking out and then charges for me"

    Morrowind, if you have not played it, you must. But make sure you have a fast processor 1ghz+ ;)

  9. Re:AI = my biggest complaint with the games indust by Kashif+Shaikh · · Score: 3, Interesting

    1) The player's favorite weapons.
    A common technique in games like Quake is to "control" the weapons. If you are playing against someone who is great with the rocket launcher, but not so hot with the other weapons, you can try to limit their access to that weapon. Bots don't pick up that you use the RL all the time, and thus don't really do a great job of stopping you from getting it.


    In my experience human players are no different in Q3A, UT2k3 or BF1492 in those 32+player servers. I mean there are so many players like "3l33t-b0rg" or "lick my pu$$y"(no joke), that the focus is more on "I killed 'BFGFucker9000'!" than strategy that requires both team-work and (gasp) thinking.

    Now if you're talking about clan games or one-on-one matches, then yes, humans move to a higher level of strategic thinking to block resources that give opponents advantages.

    For an AI subsystem to perform this type of thinking requires lots of dynamic("oh shit he has a rocket launcher...time to sniper") and static analysis("grab rocket launcher so he doesn't kick my ass and own me").

  10. The Major Problem by Sigma+7 · · Score: 3, Interesting

    After observing a large number of games, the major problem with game AIs is that the developer puts very little effort into the AI itself. While there are a few good/excellent AI systems out there, these are the exception and not the rule.

    Naturally, the AI has the shortest time frame in the software engineering, but there is no reason it should remain stagnent across the future patches. From these patches, the developers can identify the shortfalls of the old AI, and correct them. This is very rarly done, and is only performed across versions.

    It's also very difficult to find a game with a decent or challenging AI, since mose formal reviews ignore that portion of the review entirly. Most people will look for the 9/10 IGN Review award as opposed to the real deal in the message boards (the AI in the game is a cheating piece of c***).

    1. Re: The Major Problem by Black+Parrot · · Score: 5, Interesting


      > Naturally, the AI has the shortest time frame in the software engineering, but there is no reason it should remain stagnent across the future patches.

      Another problem is that lots of games are just engines that support an 'official' dataset plus whatever modpacks the players care to come up with, but even the cheatAI that ships with the game won't work worth a damn on the modpacks.

      I hope in the future machine learning methods can help with both of these problems. I.e., a couple of months before release when the code is fairly stable and the graphics are in production, turn on the old Beowulf cluster and let reinforcement learning or an evolutionary algorithm train a good AI for the game. As for modpacks, the vendors could support something like sourceforge, where gamers could upload their modpacks and have the Beowulf cluster automagically re-tune the AI to work right with them.

      And of course, the machine learning could continue in the background for as long as people were interested in the game, allowing them to download "new improved" AIs every few months.

      --
      Sheesh, evil *and* a jerk. -- Jade
  11. Re:Indeed, Godel's theorem merely. . . by Prune · · Score: 2, Interesting

    > all computers are. They are *computational* devices with a preprogramed logic. *That* logic is subject to Godel.
    Consider the analogous statement you get when you substitute the word "brains" for "computers". And indeed that is a valid substitiution:
    1) Brains are computational, because they work based on the same fundamental physics, which is computational (Penrose notwithstanding).
    2) Brains are preprogrammed no less than computers -- except that evolution did the programming; indeed, we now know (see Pinker et al) that the brain is mostly optimized for special-purpose information-processing (i.e. vision, running autonomic body processes, etc.) and abstract logical thought is far far slower than a planning algorithm or theorem prover running on a general purpose computer; indeed it is to a large extent the common sense that is so specialized to our environment through millions of years of evolution that makes us better in it than computers are (thus the 'situated agent' concept in AI).
    Regarding 'understanding' -- there's nothing mysterious about this term -- it is simply a certain level of familiarity with a subject, and being able to answer to some detail 'how' and 'why' questions about it; people like Penrose misguidedly (is that a word?) try to suggest there's more to that. But Penrose's crap has been disproved a thousand times over.

    --
    "Politicians and diapers must be changed often, and for the same reason."
  12. Some real info on Game AI by fosh · · Score: 3, Interesting

    Here is one of the sites we used for new ideas in my CS class at cmu

    http://www.seanet.com/~brucemo/topics/topics.htm

    Here is another one

    Enjoy

  13. The Attention Problem by MonkeyBoyo · · Score: 2, Interesting
    Sigma 7 wrote: AI has the shortest time frame in the software engineering, but there is no reason it should remain stagnent across the future patches. From these patches, the developers can identify the shortfalls of the old AI, and correct them.

    The major problem in AI is the Attention Problem - what features should be paid attention to in order to make a decision and how to ignore the huge ammount of irrelevant information (without explicitly examining that information to determine that it is irrelevant).

    Game engines often present a very small "world view" (in terms of feature space) to AI agents because for every simulation cycle each agent has to check facts in its world view to guide its action, and the more complicated the world view the more CPU cycles are used by each agent.

    For example, an agent might be exposed to the same fact in 3 ways:
    near(a, b)
    distance(a, b, 20)
    pos(a, 241, 43)& pos(b, 261, 43)
    The first uses a hard-coded definition of what near means (that can be precomputed by the engine), the second allows the agent to use its own definition of nearness, while the third allows the agent to decide what distance means (if it has access to map information).

    While the 3rd definition is the most flexible, it is also the most computationally expensive particularly when this computation may be run every simulation cycle.

    So, what I was trying to say is that much of the flexiblity possible to an AI agent is limited by the feature space it has access to, and this feature space is usually very limited for efficiency purposes.

    To improve the behavior of an AI agent, script tweaking may help some, but what is often needed is for the underlying physical engine to expose slightly more information. For example, the above "near" might be split into "sortof-near" and "really-near".