Scale-Invariant Reinforcement Learning in Real-Time Strategy Games

  • Marcelo Luiz Harry Diniz Lemos UFMG
  • Ronaldo E. Silva Vieira UFMG
  • Anderson Rocha Tavares UFRGS
  • Leandro Soriano Marcolino Lancaster University
  • Luiz Chaimowicz UFMG

Resumo


Real-time strategy games present a significant challenge for artificial game-playing agents by combining several fundamental AI problems. Despite the difficulties, attempts to create autonomous agents using Deep Reinforcement Learning have been successful, with bots like AlphaStar beating even expert human players. Many RTS games include several distinct world maps with different dimensions, which may affect the agent’s observation and the representation of game states. However, most current architectures suffer from fixed input sizes or require extensive and complex training. In this paper, we overcome these limitations by combining Grid-Wise Control with Spatial Pyramid Pooling (SPP). Specifically, we employ the encoder-decoder framework provided by the GridNet architecture and enhance the critic component of PPO by adding an SPP layer to it. The new layer generates a standardized representation of any game state regardless of the initial observation dimensions, allowing the agent to act on any map. Our evaluation demonstrates that our proposed method improves the models’ flexibility and provides a more effective and efficient solution for training autonomous agents in multiple RTS game scenarios.
Palavras-chave: RTS games, game-playing AI, reinforcement learning
Publicado
06/11/2023
LEMOS, Marcelo Luiz Harry Diniz; VIEIRA, Ronaldo E. Silva; TAVARES, Anderson Rocha; MARCOLINO, Leandro Soriano; CHAIMOWICZ, Luiz. Scale-Invariant Reinforcement Learning in Real-Time Strategy Games. In: SIMPÓSIO BRASILEIRO DE JOGOS E ENTRETENIMENTO DIGITAL (SBGAMES), 22. , 2023, Rio Grande/RS. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2023 . p. 11–19.