Deep Policy Networks for NPC Behaviors that Adapt to Changing Design Parameters in Roguelike Games

12/07/2020
by   Alessandro Sestini, et al.
0

Recent advances in Deep Reinforcement Learning (DRL) have largely focused on improving the performance of agents with the aim of replacing humans in known and well-defined environments. The use of these techniques as a game design tool for video game production, where the aim is instead to create Non-Player Character (NPC) behaviors, has received relatively little attention until recently. Turn-based strategy games like Roguelikes, for example, present unique challenges to DRL. In particular, the categorical nature of their complex game state, composed of many entities with different attributes, requires agents able to learn how to compare and prioritize these entities. Moreover, this complexity often leads to agents that overfit to states seen during training and that are unable to generalize in the face of design changes made during development. In this paper we propose two network architectures which, when combined with a procedural loot generation system, are able to better handle complex categorical state spaces and to mitigate the need for retraining forced by design decisions. The first is based on a dense embedding of the categorical input space that abstracts the discrete observation model and renders trained agents more able to generalize. The second proposed architecture is more general and is based on a Transformer network able to reason relationally about input and input attributes. Our experimental evaluation demonstrates that new agents have better adaptation capacity with respect to a baseline architecture, making this framework more robust to dynamic gameplay changes during development. Based on the results shown in this paper, we believe that these solutions represent a step forward towards making DRL more accessible to the gaming industry.

READ FULL TEXT

page 2

page 4

research
12/03/2020

DeepCrawl: Deep Reinforcement Learning for Turn-based Strategy Games

In this paper we introduce DeepCrawl, a fully-playable Roguelike prototy...
research
03/14/2018

Learning to Play General Video-Games via an Object Embedding Network

Deep reinforcement learning (DRL) has proven to be an effective tool for...
research
09/11/2020

The Design Of "Stratega": A General Strategy Games Framework

Stratega, a general strategy games framework, has been designed to foste...
research
01/20/2021

Shielding Atari Games with Bounded Prescience

Deep reinforcement learning (DRL) is applied in safety-critical domains ...
research
01/24/2019

Combinational Q-Learning for Dou Di Zhu

Deep reinforcement learning (DRL) has gained a lot of attention in recen...
research
08/09/2023

Adversarial Deep Reinforcement Learning for Cyber Security in Software Defined Networks

This paper focuses on the impact of leveraging autonomous offensive appr...

Please sign up or login with your details

Forgot password? Click here to reset