Skip to main content
QUICK REVIEW

[Paper Review] Neural Fictitious Self-Play on ELF Mini-RTS

Keigo Kawamura, Yoshimasa Tsuruoka|arXiv (Cornell University)|Feb 6, 2019
Reinforcement Learning in RoboticsComputer Science20 references5 citations
TL;DR

This paper applies Neural Fictitious Self-Play (NFSP) to Mini-RTS on the ELF platform, combining policy gradient reinforcement learning with NFSP to find a less exploitable, game-theoretic strategy. Pretraining the NFSP agent with raw self-play significantly improves scalability and convergence speed, yielding a strong, stable strategy despite the lack of theoretical convergence guarantees in self-play.

ABSTRACT

Despite the notable successes in video games such as Atari 2600, current AI is yet to defeat human champions in the domain of real-time strategy (RTS) games. One of the reasons is that an RTS game is a multi-agent game, in which single-agent reinforcement learning methods cannot simply be applied because the environment is not a stationary Markov Decision Process. In this paper, we present a first step toward finding a game-theoretic solution to RTS games by applying Neural Fictitious Self-Play (NFSP), a game-theoretic approach for finding Nash equilibria, to Mini-RTS, a small but nontrivial RTS game provided on the ELF platform. More specifically, we show that NFSP can be effectively combined with policy gradient reinforcement learning and be applied to Mini-RTS. Experimental results also show that the scalability of NFSP can be substantially improved by pretraining the models with simple self-play using policy gradients, which by itself gives a strong strategy despite its lack of theoretical guarantee of convergence.

Motivation & Objective

  • To develop a game-theoretic solution for real-time strategy (RTS) games using NFSP, addressing the challenge of non-stationarity in multi-agent environments.
  • To apply NFSP to Mini-RTS, a non-trivial, imperfect-information RTS game on the ELF platform, to compute a strategy profile close to Nash equilibrium.
  • To improve the scalability and training efficiency of NFSP by pretraining its reinforcement learning component with raw self-play using policy gradients.
  • To evaluate whether pretraining with fast but unstable self-play can enhance the performance and stability of NFSP in complex RTS settings.

Proposed method

  • NFSP is applied to Mini-RTS as a two-player, zero-sum, extensive-form game with imperfect information.
  • The NFSP agent uses a dual-head neural network: a reinforcement learning (RL) head for best response policy and a supervised learning (SL) head for strategy averaging.
  • The RL component uses Proximal Policy Optimization (PPO) to compute best responses to the opponent's averaged strategy.
  • The SL component maintains a replay buffer of past strategies and computes a weighted average to form a meta-strategy.
  • Pretraining is performed by first training the RL head with raw self-play using PPO, then initializing the SL head with the same policy parameters.
  • The pretraining process enables faster convergence and better stability by leveraging the fast learning of PPO while retaining the theoretical convergence guarantees of NFSP.

Experimental results

Research questions

  • RQ1Can NFSP be effectively combined with policy gradient reinforcement learning to find a stable, less exploitable strategy in Mini-RTS?
  • RQ2How does pretraining the NFSP agent with raw self-play using PPO affect its scalability and convergence speed?
  • RQ3Does pretraining improve the performance of NFSP compared to training from scratch, despite the lack of theoretical convergence guarantees in raw self-play?
  • RQ4Can the pretraining strategy maintain or enhance the performance of the final agent against strong baseline AIs like AI-Simple and AI-Hit-and-Run?
  • RQ5To what extent does pretraining mitigate the slow convergence of NFSP while preserving its game-theoretic stability?

Key findings

  • Pretraining the NFSP agent with raw self-play using PPO significantly accelerates the learning process and improves scalability compared to training NFSP from scratch.
  • The pretraining method results in a strategy that maintains strong performance against baseline AIs, with the win rate stabilizing at a high level even when the base self-play strategy is slightly weaker.
  • The NFSP agent trained with pretraining outperforms non-pretrained NFSP and achieves a more stable and less exploitable strategy profile.
  • The pretraining approach successfully leverages the fast learning of PPO while preserving the convergence guarantees of NFSP, resulting in a robust and scalable training pipeline.
  • The experimental results show that the pretraining method reduces computational time and is effective even when the self-play algorithm oscillates, suggesting practical advantages for complex game environments.

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.