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

Chengshuai Shi, Kun Yang, Jing Yang, Cong Shen
10/1/2024

No official code found. Best implementation: ShenGroup/ICGP (0 stars, last commit 2024-10-29).

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.

View on arXivView PDF

Code Implementations(1)

ShenGroup/ICGPCommunity63%

The official code implementation for the Neurips 2024's paper "Transformers as Game Players: Provable In-context Game-playing Capabilities of Pre-trained Models"

00Oct 29, 20241 years ago

Cite this paper

@article{shi2024transformers,
  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},
  year   = {2024},
  eprint = {2410.09701},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.09701},
  url    = {https://arxiv.org/abs/2410.09701},
  journal = {NEURIPS 2024 2024}
}

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

Discussion