Improving Adaptive Game Ai with Evolutionary Learning

Game AI is defined as the decision-making process of computercontrolled opponents in computer games. Adaptive game AI can improve the entertainment provided by computer games, by allowing the computer-controlled opponents to fix automatically weaknesses in the game AI, and to respond to changes in humanplayer tactics online, i.e., during gameplay. Successful adaptive game AI is based invariably on domain knowledge of the game it is used in. Dynamic scripting is an algorithm that implements adaptive game AI. The domain knowledge used by dynamic scripting is stored in a rulebase with manually designed rules. In this paper we propose the use of an offline evolutionary algorithm to enhance the performance of adaptive game AI, by evolving new domain knowledge. We empirically validate our proposal, using dynamic scripting as adaptive game AI in a real-time-strategy (RTS) game, in three steps: (1) we implement and test dynamic scripting in an RTS game; (2) we use an offline evolutionary algorithm to evolve new tactics that are able to deal with optimised tactics, which dynamic scripting cannot defeat using its original rulebase; (3) we translate the evolved tactics to rules in the rulebase, and test dynamic scripting with the revised rulebase. The empirical validation shows that the revised rulebase yields a significantly improved performance of dynamic scripting compared to the original rulebase. We therefore conclude that offline evolutionary learning can be used to improve the performance of adaptive game AI.

[1]  D. E. Goldberg,et al.  Genetic Algorithms in Search, Optimization & Machine Learning , 1989 .

[2]  Michael Buro,et al.  RTS Games as Test-Bed for Real-Time AI Research , 2003 .

[3]  Janet Wiles,et al.  Current AI in Games: A Review , 2002, Aust. J. Intell. Inf. Process. Syst..

[4]  Paul R. Cohen,et al.  Empirical methods for artificial intelligence , 1995, IEEE Expert.

[5]  Jonathan Schaeffer,et al.  A Gamut of Games , 2001, AI Mag..

[6]  Vidroha Debroy,et al.  Genetic Programming , 1998, Lecture Notes in Computer Science.

[7]  Eric O. Postma,et al.  On-line Adaptation of Game Opponent AI with Dynamic Scripting , 2004, Int. J. Intell. Games Simul..

[8]  Steve Rabin,et al.  AI Game Programming Wisdom , 2002 .

[9]  M. Gupta,et al.  Learning and adaptation , 1975, 1975 IEEE Conference on Decision and Control including the 14th Symposium on Adaptive Processes.

[10]  John E. Laird,et al.  It knows what you're going to do: adding anticipation to a Quakebot , 2001, AGENTS '01.

[11]  David B. Fogel,et al.  Evolutionary algorithms in theory and practice , 1997, Complex.

[12]  John E. Laird,et al.  Human-Level AI's Killer Application: Interactive Computer Games , 2000, AI Mag..

[13]  Peter Norvig,et al.  Artificial Intelligence: A Modern Approach , 1995 .

[14]  Julian Gold Object-Oriented Game Development , 2004 .

[15]  Adriano J. de O. Cruz,et al.  Online Coevolution for Action Games , 2002, Int. J. Intell. Games Simul..

[16]  I. Sprinkhuizen-Kuyper,et al.  DIFFICULTY SCALING OF GAME AI , 2004 .

[17]  Eric O. Postma,et al.  Enhancing the Performance of Dynamic Scripting in Computer Games , 2004, ICEC.