English

Game-invariant Features Through Contrastive and Domain-adversarial Learning

Computer Vision and Pattern Recognition 2025-05-26 v1

Abstract

Foundational game-image encoders often overfit to game-specific visual styles, undermining performance on downstream tasks when applied to new games. We present a method that combines contrastive learning and domain-adversarial training to learn game-invariant visual features. By simultaneously encouraging similar content to cluster and discouraging game-specific cues via an adversarial domain classifier, our approach produces embeddings that generalize across diverse games. Experiments on the Bingsu game-image dataset (10,000 screenshots from 10 games) demonstrate that after only a few training epochs, our model's features no longer cluster by game, indicating successful invariance and potential for improved cross-game transfer (e.g., glitch detection) with minimal fine-tuning. This capability paves the way for more generalizable game vision models that require little to no retraining on new games.

Keywords

Cite

@article{arxiv.2505.17328,
  title  = {Game-invariant Features Through Contrastive and Domain-adversarial Learning},
  author = {Dylan Kline},
  journal= {arXiv preprint arXiv:2505.17328},
  year   = {2025}
}
R2 v1 2026-07-01T02:32:52.303Z