AICLGTLGAug 2, 2020

The Chess Transformer: Mastering Play using Generative Language Models

arXiv:2008.04057v550 citations
AI Analysis

This shows transformers can model strategic gameplay from text archives, potentially applicable to other strategy games with rule-based annotations.

This work demonstrates that a fine-tuned GPT-2 transformer can generate plausible chess moves and strategies after training on 2.8 million chess games, achieving identifiable classic openings like the English or Slav Exchange.

This work demonstrates that natural language transformers can support more generic strategic modeling, particularly for text-archived games. In addition to learning natural language skills, the abstract transformer architecture can generate meaningful moves on a chessboard. With further fine-tuning, the transformer learns complex gameplay by training on 2.8 million chess games in Portable Game Notation. After 30,000 training steps, OpenAI's Generative Pre-trained Transformer (GPT-2) optimizes weights for 774 million parameters. This fine-tuned Chess Transformer generates plausible strategies and displays game formations identifiable as classic openings, such as English or the Slav Exchange. Finally, in live play, the novel model demonstrates a human-to-transformer interface that correctly filters illegal moves and provides a novel method to challenge the transformer's chess strategies. We anticipate future work will build on this transformer's promise, particularly in other strategy games where features can capture the underlying complex rule syntax from simple but expressive player annotations.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes