Slashdot Mirror


Next Gen Beautiful But Brainless?

Next Generation has up a short piece discussing a Guardian Interview with AI developer Steve Grand. Grand opines that next-gen graphics are deepening the uncanny valley. More than just plastic looks and inhuman faces, the weakness of game AI is increasingly becoming glaring compared to the graphical prowess in games. "AI isn't so much unappreciated as nonexistent. Most of what counts as AI in the games industry is actually a bunch of 'if/then' statements. If a computer character doesn't learn something for itself then the programmer must have told it what to do, and anything that does exactly what it's told and nothing else is not intelligent. This is changing, and neural networks and other learning systems are beginning to creep in. But games programmers tend to devalue the phrase 'artificial intelligence."

13 of 131 comments (clear)

  1. Re:The market will decide by Pope · · Score: 4, Insightful

    "The market" can't decide on something that it doesn't have a chance to buy in the first place, now does it?

    Nothing's stupider than some pithy comment about "the market." The market is people, and people can be irrational about a lot of things. The invisible hand deserves a rap on the knuckles from time to time.

    --
    It doesn't mean much now, it's built for the future.
  2. AI has never been important by Astarica · · Score: 4, Insightful

    You already have the suspend your sense of belief to really think that you will actually beat a computer in say a FPS where it can aim perfectly, or a fighting game where they can simply react to any move you might do. For example you can play the training mode in Soul Calibur and you'll quickly realize that the computer can guard counter every move you ever do forever, but of course they don't do that in the real game. Even on the super duper hard setting they give up after a while, even though they can do it forever on the training mode. Shin Akuma in various Street Fighter incarnations counters almost every move perfectly. You throw a fireball, he'll jump kick you. You jump kick him, he'll dragon punch, and the only way to beat him is hit him with moves that he isn't programmed to counter. There's no reason why the computer can't play like that aside from it'd make a very boring game when you repeatedly get owned by a computer.

    If by being smart means 'better at a game' the AI is already a super genius. If by smart means 'flailing your hands around while pretending to do something before losing to a human player', then whatever that creates the best sense of illusion works the best. If it's a bunch of if/else statements, why not? There's no reason any fancy technique will get you a fancier loser.

    1. Re:AI has never been important by sesshomaru · · Score: 4, Interesting
      The purpose of AI isn't to make the game more difficult, though, it's to make the game more fun. I'll admit, it doesn't make sense to adapt AI techniques that will not make a game more fun.

      Put it this way, have you ever had a conversation with a character in a PC RPG? Well, they don't have conversations do they? They just spit out a set of canned responses. Currently, part of AI research is the Turing Test which is to create a machine that can fool a person having a conversation with it into believing that there is a real person there.

      This isn't a win/lose scenario. The machine you are talking to may be an ally or a neutral character in a game. But it would make the game more interesting if the conversation you were having seemed realistic.

      There are other applications of AI as well. For example, they could add unpredictability to an enemy behaviour in a game. The enemy AI still wouldn't be the unbeatable uber player the machine would be, but you'd have to vary your tactics during a game to beat it. Yes, you are still "creating a loser," but a less predictable loser.

      What's the point? Well, the point of playing the computer is to learn the nuances of the game. Obviously, there's no great sense of accomplishment in beating a computer. If computers follow a predictable pattern, you eventually plateau on the useful knowledge you can learn from them.

      --
      "MIT betrayed all of its basic principles."
    2. Re:AI has never been important by Chris+Burke · · Score: 4, Informative

      You already have the suspend your sense of belief to really think that you will actually beat a computer in say a FPS where it can aim perfectly, or a fighting game where they can simply react to any move you might do. For example you can play the training mode in Soul Calibur and you'll quickly realize that the computer can guard counter every move you ever do forever, but of course they don't do that in the real game. Even on the super duper hard setting they give up after a while, even though they can do it forever on the training mode. Shin Akuma in various Street Fighter incarnations counters almost every move perfectly.

      That's absolutely true, but is in some ways dependent on the game. In a fighting game, you can always see what your opponent is doing, so if you had perfect reaction time you could counter every move. In this type of a game, a computer could theoretically play "perfectly" and never lose.

      In an FPS, this is not necessarily the case. Bots that can aim perfectly are quite potent, to be sure, but sometimes being smart can be just as important to actually winning. For example, if the AI bot has a predictible pattern through the map (as most bots I've played against do), then when you know where the bot's pathing takes them you can have fired a rocket at where they are going to be so it smacks into their feet right as they round the corner. Unless the bot "cheats", and sees your rocket through the wall, it won't be able to avoid it nor will it be able to retaliate because you've moved around the next corner already to line up your next ambush shot. An actual AI that attempted to learn your patterns, and change its own pattterns when it realizes that you've discovered them, would be a truly deadly opponent.

      This is where the difference between algorithmic precision and speed vs actual intelligence becomes obvious. Parts of the game that require fast reflexes and precise aiming are where the computer dominates. Parts of the game that require strategy are where the computer lags severely. One can compensate for the other to various degrees depending on the game. Look at chess. Simply by examining as much of the tree of potential moves as possible it can beat a human player even though it has none of the strategy or intuition that makes the human player good. And ridiculously powerful computers can only just barely compete with the top human players by using the massive computation model.

      But that's only talking about victory. To make an immersive experience, AI could do a much better job than if/else statements, at least in theory. An enemy character that reacted to your actions in a believable way would be much more immersive than one that only responds to a couple specific stimuli and has only a couple scripted strategies. A lot of FPS AIs I would call blatantly retarded and completely wooden and predictable, and that takes you out of the game regardless of whether you give the AI unnaturally perfect aim or not.

      On the other hand, I'm realistic, and AI that really behaves in a believable way without scripting is a long way off. For now, if/else is the most bang for the buck. I'm just saying good AI could make for a much better gaming experience, and much better opponents, ones that are truly vexing to beat without having to make use of perfect aiming/reaction times. And it wouldn't feel as cheap as Akuma to boot.

      --

      The enemies of Democracy are
  3. When was the game AI good? by jandrese · · Score: 4, Interesting

    There are always a handful of titles with good AIs, but over my years of playing many different games I can say with some certainty that the AI isn't getting any worse. In fact from what I've seen, the AI has been slowly but steadily improving over the years in general. It used to be in FPS games that the enemies always just walked straight at the player and shot. Nowadays they're likely to use cover, team tactics, and even a bit of misdirection. Sure it isn't as good as human players, but they're a lot better than the Doom or Wolfenstein AIs of old.

    RTS AIs are a mixed bag, but in general they're doing more with less cheating than ever before. A lot of the old games cheated a LOT to make the AI competitive, but often now you'll find that they do a decent job with only minimal cheating.

    Fighting games certainly aren't any easier than the ones of old, yet the AI seems to do fairly well. In some games it's almost punishingly good (Guilty Gear has some very hard AI opponents) and the player might even feel resentment over the computer's calculated reflexes.

    Driving game AI hasn't improved much but frankly that's because there's not a lot to think about with driving games. Stuff like Mario Kart where there are powerups and whatnot can require a bit more smarts, but even then it's pretty simple. It's not hard to program a bot to drive around a circle. On the other hand, it's clear that in today's driving games the computer has to do a lot more work to make it around the corners. This isn't like F-Zero on the SNES where the computer completely cheated by setting its cars not to slide (in a game where controlling your sliding was 90% of the challenge).

    --

    I read the internet for the articles.
    1. Re:When was the game AI good? by jtogel · · Score: 3, Interesting

      "Driving game AI hasn't improved much but frankly that's because there's not a lot to think about with driving games."

      If you were right in the second part of your statement, everything I've been doing in the last two and a half years would be completely meaningless. As I don't want to have wasted these years, I prefer to think that you are not right.

      There's a lot to do about driving game AI. First of all, learning to drive well on complicated tracks - without cheating - is not at all straightforward. Keeping the same performance when the user is allowed to create his own tracks is even harder - most racing games rely on knowing their prefabricated tracks well, tracks which are made from a set of standard segments in order to be tractable for the AI. When you introduce more than one car on the track it gets even trickier, as you have to deal with overtaking, collision avoidance, forcing collisions, etc.

      And these are just the challenges associated with generating good driving. Interesting driving has even more challenges - should you drive nicely or aggressively? How do you make the driving look human-like? How do you adapt your skill level to that of your opponents? Etc...

      You can see this blog post (with videos) and this paper for some of the research we are doing into this.

  4. Re:The market will decide by 7Prime · · Score: 4, Funny

    Me thinks the invisible hand needs a shiny new pair of handcuffs, from time to time, to teach it to stop groping people.

    --
    Multiplayer Gaming (defined): Sitting around, discussing single-player games with my friends, at the bar.
  5. Pre-programmed Learning System Invalid, Then? by _bug_ · · Score: 3, Insightful

    "AI isn't so much unappreciated as nonexistent. Most of what counts as AI in the games industry is actually a bunch of 'if/then' statements. If a computer character doesn't learn something for itself then the programmer must have told it what to do, and anything that does exactly what it's told and nothing else is not intelligent. This is changing, and neural networks and other learning systems are beginning to creep in. But games programmers tend to devalue the phrase 'artificial intelligence."

    First, a neural network is more of the same "if/else" logic as any other AI engine. It's only different in how the AI processes it's input. Sounds more to me like a programmer/theorist who's pissed at all the tricks in existence that can emulate (fairly well) basic intelligence without the use of any "classical" system like a neural network.

    Furthermore, neural-network-based AIs would have to come pre-programmed. This means a neural network that starts at a certain level of development rather than a blank slate. Should bad guys have to learn when and how to fire a gun while you're playing the game? It'd make for some boring encounters.

    Furthermore, most games are quite linear. There's a story to tell and you can't really insert many uncontrollable variables into a linear system and still be able to maintain consistent play experiences for your users.

    I wonder if this guy has seen Spore.

  6. Re:AI - non-existent by twistedsymphony · · Score: 4, Insightful

    With the already ridiculously high cost of development to bring graphics up to modern day standards for "bleeding edge" it's not like they have much time to develop a good system for something they can't show you a screenshot of. Spending the time to develop a real AI as you described doesn't really add much value to the game in terms of marketing.

    Another reason AI isn't advancing is because modern games in addition to concentrating on graphics also concentrate heavily on multiplayer and online aspects. Sure the "AI" in an FPS or RTS might not be all that great but how good does it need to be? most people will just breeze through the solo missions in a few short hours and then spend the next 6 months to a year playing online where AI doesn't even factor into it. Once again, some solid multiplayer features are much more valuable use of development time then computer AI.

    Honestly I see us moving to a point of being less depend on AI before AI actually gets better... it's just not a cost effective use of development.

  7. Re:AI - non-existent by Tha_Big_Guy23 · · Score: 3, Insightful

    most people will just breeze through the solo missions in a few short hours and then spend the next 6 months to a year playing online where AI doesn't even factor into it.
    I can see where you're coming from. There have been, however, several games where the cooperative modes in the game were nearly as entertaining as the multiplayer modes. The first example that leaps to mind is Halo. Just because the "in" thing is 400-way multiplayer deathmatch, etc, doesn't mean that you shouldn't spend time creating a great AI for cooperative mode.

    Imagine for a moment, you have a single player FPS. Now, take that FPS and add to it an outstanding AI. Then add in cooperative play for up to 8 players. Now, you have a game that you and your friends can play cooperatively, a computer that learns your tactics, and can develop new tactics on the fly. This to me seems so much more entertaining than fragging the same guys over and over again in a deathmatch. I'm pretty sure I'd buy it.
    --
    If you're looking here for something insightful or thought provoking, you're probably looking in the wrong place.
  8. Re:The market will decide by pureevilmatt · · Score: 3, Insightful

    i'm a fan of free markets... getting things without having to buy them is quite rewarding.

  9. Game AI is hard, but not nebulous. by MS-06FZ · · Score: 4, Informative

    Well, AI is not limited to what we'd classically think of as attempts to mimic thought. The term "Artificial Intelligence" also includes algorithms that solve problems that are merely difficult - things like combinatorial searches (A* and min/max searches, in particular) - and the general approach of attempting to model an AI character's actions based on their state and their goals, rather than going just for the desired effect of making them reasonably tough game opponents.

    In the context of this discussion, "AI" means broadening the use of those algorithms (they are already necessary in some situations anyway) and in general producing game AI that's more capable - better able to deal with obstacles in the environment, predict player strategies and determine which of its strategies are most effective against the player. The goal being to create automated opponents which don't need to rely on unfair advantages (such as superior car performance in a racing game) to compete against human players.

    In the context of, say, a mech combat game (as an example, racing games are a bit more of a static problem, and flight sims wouldn't require so much obstacle navigation), a capable AI would likely need the following:
    - A predefined set of tactics. These would be designed by the people who create the game. The important thing would be that the tactics are effective and that the game AI has sufficient information about when each tactic is useful. Supplying this kind of "playbook" information decreases the demands on the AI program significantly: they no longer need to be able to synthesize these tactics, they can merely choose the right one.
    - A system for selecting tactics to use: a good design would include considerations like the state of the AI's mech, the weapon being used against it, and general parameters of the enemy machine. (For instance, a good AI operating a sniper machine should know not to close to close range with a player machine that specializes in close combat... Likewise, if the AI's machine is running out of power, it shouldn't attempt an "overboost" move - unless it is clear that such a move could work sufficiently to win the fight.)
    - An adequate navigation system for moving around in the environment. This must be tied in to the tactics being used - so that attempts to dodge a missile, for instance, aren't foiled by collision with an obstacle.
    - An adaptive factor - a process that attempts to determine how effective various tactics have been against a particular opponent, and why certain tactics may have failed - so that tactics that are likely to fail again are disregarded.
    - A random factor - the AI's next move is randomly selected from among the best candidates.

    See, that's not so nebulous, is it? Pretty well-defined, I'd say. It's just, as you say, hard. It's hard to create a system that's dynamic and complex, it's hard to make sure you've got it right when you have created it - and the problem with game development is that there's so many other places that effort could be directed which aren't as easily dispensable as good AI. Most game AIs nowadays have a moderately good playbook (it's one of the easiest elements to add - humans know how to play the game and so they can record sequences the computer can repeat - so it's easy to add a small playbook - though providing good static information about how to choose a tactic from a larger playbook is harder), and a random factor is easy to introduce. Selecting tactics is often reduced to a static problem, and navigation is either made static, or solved by making the AI able to get through the environment in other ways, if necessary. (For instance, an AI that is always shooting and frequently moving forward - but gets caught behind a building - if the building is destroyed when the AI shoots, then moving forward no longer gets the AI stuck.) But navigation often is not tied in to the tactics and adaptive factors usually aren't adequately implemented in a way that makes a real difference.

    --
    ---GEC
    I'm but the humble pupil, seeking to snatch the scratchbuilt pebble from the master's fully articulated hand
  10. Work it from the other end by WilyCoder · · Score: 3, Funny

    Instead of making enemies smarter with better AI, lets make players dumber.

    Should even things out quite nicely IMHO.