Skip to main content
QUICK REVIEW

[Paper Review] Deep Reinforcement Learning using Capsules in Advanced Game Environments

Per‐Arne Andersen|arXiv (Cornell University)|Jan 29, 2018
Artificial Intelligence in GamesComputer Science8 citations
TL;DR

This paper introduces Capsule Networks (CapsNet) for Deep Q-Learning in advanced game environments, proposing four new RL testbeds—FlashRL, Deep Line Wars, Deep RTS, and Deep Maze—to study RL agents in increasingly complex settings. It demonstrates that CapsNet can be successfully combined with DQN for game AI, showing comparable performance to ConvNets but with reduced data requirements, while also introducing a conditional generative model (CCDN) to synthesize training data, though scalability remains a limitation.

ABSTRACT

Reinforcement Learning (RL) is a research area that has blossomed tremendously in recent years and has shown remarkable potential for artificial intelligence based opponents in computer games. This success is primarily due to vast capabilities of Convolutional Neural Networks (ConvNet), enabling algorithms to extract useful information from noisy environments. Capsule Network (CapsNet) is a recent introduction to the Deep Learning algorithm group and has only barely begun to be explored. The network is an architecture for image classification, with superior performance for classification of the MNIST dataset. CapsNets have not been explored beyond image classification. This thesis introduces the use of CapsNet for Q-Learning based game algorithms. To successfully apply CapsNet in advanced game play, three main contributions follow. First, the introduction of four new game environments as frameworks for RL research with increasing complexity, namely Flash RL, Deep Line Wars, Deep RTS, and Deep Maze. These environments fill the gap between relatively simple and more complex game environments available for RL research and are in the thesis used to test and explore the CapsNet behavior. Second, the thesis introduces a generative modeling approach to produce artificial training data for use in Deep Learning models including CapsNets. We empirically show that conditional generative modeling can successfully generate game data of sufficient quality to train a Deep Q-Network well. Third, we show that CapsNet is a reliable architecture for Deep Q-Learning based algorithms for game AI. A capsule is a group of neurons that determine the presence of objects in the data and is in the literature shown to increase the robustness of training and predictions while lowering the amount training data needed. It should, therefore, be ideally suited for game plays.

Motivation & Objective

  • To investigate the feasibility of integrating Capsule Networks into Deep Reinforcement Learning for complex game environments.
  • To design and implement four novel game environments—FlashRL, Deep Line Wars, Deep RTS, and Deep Maze—targeted at advancing RL research in real-time strategy and navigation tasks.
  • To develop a conditional generative modeling approach (CCDN) that synthesizes artificial game states to augment training data for RL agents.
  • To evaluate the performance of CapsNet-based DQN agents in comparison to standard ConvNet-based DQN in terms of learning stability, data efficiency, and scalability.
  • To establish a foundation for future research on CapsNet in RL by demonstrating initial success and identifying key challenges such as scalability and training instability.

Proposed method

  • Proposed a novel Deep Reinforcement Learning ecosystem integrating CapsNet with DQN, using custom game environments to evaluate performance.
  • Designed four game environments with increasing complexity: FlashRL (Flash game platform), Deep Line Wars (turn-based strategy), Deep RTS (real-time strategy), and Deep Maze (navigation).
  • Developed a Conditional Convolutional Deconvolutional Network (CCDN) to generate artificial future game states from current states and actions, enabling data augmentation for training.
  • Reconfigured CapsNet architecture to function in RL settings by redefining capsule objectives beyond MNIST classification to capture spatial and hierarchical relationships in game states.
  • Trained DQN agents using both real and artificially generated data, evaluating performance across all four environments with ablation studies on CapsNet vs. ConvNet.
  • Applied a hybrid training pipeline combining real game data with synthetic data from CCDN to assess generalization and data efficiency.

Experimental results

Research questions

  • RQ1Can Capsule Networks be effectively integrated into Deep Q-Learning agents for advanced game environments beyond image classification?
  • RQ2How does the performance of CapsNet-based DQN compare to standard ConvNet-based DQN in terms of learning stability, sample efficiency, and final agent performance?
  • RQ3To what extent can conditional generative modeling (CCDN) produce high-quality synthetic game states that enable effective training of DQN agents?
  • RQ4What are the scalability limitations of CapsNet when applied to high-dimensional, continuous game environments such as Deep RTS?
  • RQ5Can artificial training data generated via CCDN successfully improve DQN learning when combined with real data?

Key findings

  • CapsNet-based DQN agents achieved performance comparable to ConvNet-based DQN in simpler environments like Deep Line Wars and Deep Maze, indicating feasibility for RL integration.
  • CapsNet demonstrated improved robustness and reduced data requirements in some experiments, supporting its potential for data-efficient learning in RL.
  • The conditional generative model (CCDN) successfully produced synthetic game states of sufficient quality to train DQN agents effectively when combined with real data.
  • Training instability was observed in CapsNet-based agents, particularly in complex environments, suggesting challenges in optimization and convergence.
  • CapsNet scalability was found to be inferior to ConvNets, especially in high-dimensional action and state spaces such as in Deep RTS, limiting its use in advanced games without architectural improvements.
  • The integration of artificial data from CCDN with real data enabled successful training of DQN agents, validating the potential of generative modeling for data augmentation in RL.

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.