Visual Encoders for Data-Efficient Imitation Learning in Modern Video Games

Lukas Schäfer, Logan Jones, Anssi Kanervisto, Yuhan Cao, Tabish Rashid +5 more
12/4/2023
cs.LGcs.AIcs.CV

No official code found. Best implementation: microsoft/imitation_learning_in_modern_video_games (14 stars, MIT, last commit 2026-03-12).

Abstract

Video games have served as useful benchmarks for the decision-making community, but going beyond Atari games towards modern games has been prohibitively expensive for the vast majority of the research community. Prior work in modern video games typically relied on game-specific integration to obtain game features and enable online training, or on existing large datasets. An alternative approach is to train agents using imitation learning to play video games purely from images. However, this setting poses a fundamental question: which visual encoders obtain representations that retain information critical for decision making? To answer this question, we conduct a systematic study of imitation learning with publicly available pre-trained visual encoders compared to the typical task-specific end-to-end training approach in Minecraft, Counter-Strike: Global Offensive, and Minecraft Dungeons. Our results show that end-to-end training can be effective with comparably low-resolution images and only minutes of demonstrations, but significant improvements can be gained by utilising pre-trained encoders such as DINOv2 depending on the game. In addition to enabling effective decision making, we show that pre-trained encoders can make decision-making research in video games more accessible by significantly reducing the cost of training.

View on arXivView PDF

Code Implementations(1)

MIT

Accompanying code for "Visual Encoders for Data-Efficient Imitation Learning in Modern Video Games" publication

141Shell, PythonJul 10, 20247 months agoMIT

Cite this paper

@article{schfer2023visual,
  title  = {Visual Encoders for Data-Efficient Imitation Learning in Modern Video Games},
  author = {Lukas Schäfer and Logan Jones and Anssi Kanervisto and Yuhan Cao and Tabish Rashid and Raluca Georgescu and Dave Bignell and Siddhartha Sen and Andrea Treviño Gavito and Sam Devlin},
  year   = {2023},
  eprint = {2312.02312},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.02312v3}
}

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/2312.02312.svg)](https://codeofpaper.com/paper/2312.02312)

Discussion