English

Transformers as Game Players: Provable In-context Game-playing Capabilities of Pre-trained Models

Machine Learning 2024-11-03 v1 Computer Science and Game Theory Information Theory Machine Learning Multiagent Systems math.IT

Abstract

The in-context learning (ICL) capability of pre-trained models based on the transformer architecture has received growing interest in recent years. While theoretical understanding has been obtained for ICL in reinforcement learning (RL), the previous results are largely confined to the single-agent setting. This work proposes to further explore the in-context learning capabilities of pre-trained transformer models in competitive multi-agent games, i.e., in-context game-playing (ICGP). Focusing on the classical two-player zero-sum games, theoretical guarantees are provided to demonstrate that pre-trained transformers can provably learn to approximate Nash equilibrium in an in-context manner for both decentralized and centralized learning settings. As a key part of the proof, constructional results are established to demonstrate that the transformer architecture is sufficiently rich to realize celebrated multi-agent game-playing algorithms, in particular, decentralized V-learning and centralized VI-ULCB.

Keywords

Cite

@article{arxiv.2410.09701,
  title  = {Transformers as Game Players: Provable In-context Game-playing Capabilities of Pre-trained Models},
  author = {Chengshuai Shi and Kun Yang and Jing Yang and Cong Shen},
  journal= {arXiv preprint arXiv:2410.09701},
  year   = {2024}
}

Comments

Accepted to NeurIPS 2024