Learning Representations in Video Game Agents with Supervised Contrastive Imitation Learning

Carlos Celemin, Joseph Brennan, Pierluigi Vito Amadori, Tim Bradley
9/15/2025
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

This paper introduces a novel application of Supervised Contrastive Learning (SupCon) to Imitation Learning (IL), with a focus on learning more effective state representations for agents in video game environments. The goal is to obtain latent representations of the observations that capture better the action-relevant factors, thereby modeling better the cause-effect relationship from the observations that are mapped to the actions performed by the demonstrator, for example, the player jumps whenever an obstacle appears ahead. We propose an approach to integrate the SupCon loss with continuous output spaces, enabling SupCon to operate without constraints regarding the type of actions of the environment. Experiments on the 3D games Astro Bot and Returnal, and multiple 2D Atari games show improved representation quality, faster learning convergence, and better generalization compared to baseline models trained only with supervised action prediction loss functions.

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{celemin2025learning,
  title  = {Learning Representations in Video Game Agents with Supervised Contrastive Imitation Learning},
  author = {Carlos Celemin and Joseph Brennan and Pierluigi Vito Amadori and Tim Bradley},
  year   = {2025},
  eprint = {2509.11880},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.11880v1}
}

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

Discussion