Skip to main content
QUICK REVIEW

[Paper Review] Efficient Evolutionary Methods for Game Agent Optimisation: Model-Based is Best

Simon M. Lucas, Jialin Liu|arXiv (Cornell University)|Jan 3, 2019
Artificial Intelligence in GamesComputer Science13 references17 citations
TL;DR

This paper introduces a fast, simplified version of the real-time strategy game Planet Wars as a benchmark for evaluating hyper-parameter optimisation in game AI. It demonstrates that model-based evolutionary algorithms—particularly NTBEA and SMAC—significantly outperform non-model-based methods in noisy, high-dimensional optimisation, with NTBEA providing superior insight through variance-aware search and adaptive exploration strategies.

ABSTRACT

This paper introduces a simple and fast variant of Planet Wars as a test-bed for statistical planning based Game AI agents, and for noisy hyper-parameter optimisation. Planet Wars is a real-time strategy game with simple rules but complex game-play. The variant introduced in this paper is designed for speed to enable efficient experimentation, and also for a fixed action space to enable practical inter-operability with General Video Game AI agents. If we treat the game as a win-loss game (which is standard), then this leads to challenging noisy optimisation problems both in tuning agents to play the game, and in tuning game parameters. Here we focus on the problem of tuning an agent, and report results using the recently developed N-Tuple Bandit Evolutionary Algorithm and a number of other optimisers, including Sequential Model-based Algorithm Configuration (SMAC). Results indicate that the N-Tuple Bandit Evolutionary offers competitive performance as well as insight into the effects of combinations of parameter choices.

Motivation & Objective

  • To develop a fast, simplified version of Planet Wars that retains strategic depth while enabling efficient experimentation and compatibility with the General Video Game AI (GVGAI) framework.
  • To investigate the effectiveness of model-based versus non-model-based evolutionary algorithms in tuning game-playing agents under noisy, high-dimensional optimisation conditions.
  • To provide empirical evidence on the superiority of model-based methods like NTBEA and SMAC in handling noisy fitness evaluations common in game AI and game design.
  • To offer detailed insights into parameter interaction effects through the use of n-tuple models in NTBEA, enhancing interpretability beyond standard optimisation results.

Proposed method

  • Designed a lightweight, high-speed variant of Planet Wars (10M+ game ticks/sec) with a fixed action space to enable rapid evaluation and inter-operability with GVGAI agents.
  • Implemented a wrapper to expose the game via the standard GVGAI interface, allowing direct use of existing GVGAI agents without modification.
  • Applied multiple optimisation algorithms: non-model-based (random mutation hill climbing, simple genetic algorithm) and model-based (NTBEA, SMAC, CMA-ES variants, SWcGA, SMEDA).
  • Used a win-loss fitness function with repeated sampling to simulate noisy evaluations, reflecting real-world uncertainty from random initial states and stochastic agents.
  • Employed NTBEA’s n-tuple model to estimate expected fitness and variance for parameter combinations, enabling adaptive, informed sampling decisions.
  • Configured SMAC and NTBEA with tunable hyper-parameters (e.g., k, ε for NTBEA; sampling budgets for CMA-ES) to assess robustness and efficiency across different settings.

Experimental results

Research questions

  • RQ1How do model-based evolutionary algorithms compare to non-model-based methods in tuning game-playing agents under noisy, real-time game conditions?
  • RQ2To what extent does the use of surrogate models improve sample efficiency and convergence speed in hyper-parameter optimisation for game AI?
  • RQ3How do different model-based algorithms (NTBEA vs. SMAC vs. CMA-ES) perform in terms of final agent win rates and convergence stability?
  • RQ4What insights into parameter interaction and sensitivity can be gained from the statistical outputs of NTBEA’s n-tuple model?
  • RQ5Can a simplified, fast Planet Wars variant serve as a viable benchmark for evaluating and comparing game AI optimisation techniques?

Key findings

  • Model-based optimisers (NTBEA and SMAC) significantly outperformed non-model-based methods like random hill climbing and simple genetic algorithms in terms of final agent win rates.
  • NTBEA achieved competitive performance with SMAC, but provided richer statistical output, including estimated fitness and variance for each parameter combination across n-tuples.
  • The use of progressive widening (ε) and exploration control (k) in NTBEA allowed for explicit tuning of exploitation vs. exploration trade-offs, improving search efficiency.
  • CMA-ES variants with increased sampling budgets (5x and 10x) improved performance but still underperformed compared to NTBEA and SMAC, indicating limitations in sample efficiency.
  • Tuned agents achieved 84–100% win rates against untuned agents, demonstrating the critical impact of hyper-parameter tuning on agent performance.
  • The study confirmed that model-based methods are essential for efficient optimisation in noisy, high-dimensional game AI problems, where fitness evaluations are inherently stochastic.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.