Towards Interactive Training of Non-Player Characters in Video Games

Igor Borovikov, Jesse Harder, Michael Sadovsky, Ahmad Beirami
6/3/2019
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

There is a high demand for high-quality Non-Player Characters (NPCs) in video games. Hand-crafting their behavior is a labor intensive and error prone engineering process with limited controls exposed to the game designers. We propose to create such NPC behaviors interactively by training an agent in the target environment using imitation learning with a human in the loop. While traditional behavior cloning may fall short of achieving the desired performance, we show that interactivity can substantially improve it with a modest amount of human efforts. The model we train is a multi-resolution ensemble of Markov models, which can be used as is or can be further "compressed" into a more compact model for inference on consumer devices. We illustrate our approach on an example in OpenAI Gym, where a human can help to quickly train an agent with only a handful of interactive demonstrations. We also outline our experiments with NPC training for a first-person shooter game currently in development.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{borovikov2019towards,
  title  = {Towards Interactive Training of Non-Player Characters in Video Games},
  author = {Igor Borovikov and Jesse Harder and Michael Sadovsky and Ahmad Beirami},
  year   = {2019},
  eprint = {1906.00535},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.00535}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1906.00535.svg)](https://codeofpaper.com/paper/1906.00535)

Discussion