Detecting Individual Decision-Making Style: Exploring Behavioral Stylometry in Chess

Reid McIlroy-Young, Russell Wang, Siddhartha Sen, Jon Kleinberg, Ashton Anderson

Introduction

The advent of machine learning models that surpass human decision-making ability in complex domains has initiated a movement towards building AI systems that interact collaboratively with humans. A central building block for this collaboration is the algorithmic characterization of human behavior. While much of the existing work focuses on aggregate or "average" human behavior, an important long-range goal is to develop behavioral models that specialize to individual people and can differentiate among them.

To formalize this process, researchers have introduced the concept of behavioral stylometry: the task of identifying a specific decision-maker from their actions alone. By adapting techniques from speaker verification to the domain of decision-making, this work demonstrates that our choices carry a unique "fingerprint" that persists even across different skill levels and game phases.

What Problem Does This Paper Address?

Most AI research into human behavior predicts what a generic human might do in a given situation. However, for AI to truly collaborate with us, it needs to understand individual style.

The authors tackle this challenge using chess as a "model system" because it provides a massive, publicly available trace of human decisions. The challenge is significant: how do you distinguish one player from thousands of others when they are all playing the same game, often following the same "book" openings, and aiming for the exact same goal (winning)?

Methods

The authors propose a three-stage neural architecture that treats a sequence of chess moves much like a sequence of words in natural language processing or audio snippets in speech recognition.

Model Architecture
  1. Move-level Feature Extraction: Using residual CNN blocks (similar to the architecture of AlphaZero), the model encodes the board state before and after a move into a 320-dimensional vector.
  2. Game-level Aggregation: These move vectors, combined with positional encodings, are fed into a modified Transformer Encoder. Unlike standard transformers that use a "classification token," this model averages the output vectors to create a single, comprehensive "game vector."
  3. Player-level Characterization: A player’s identity is represented by the centroid (the average) of their game vectors in a high-dimensional embedding space.

To train the model, the researchers adapted the Generalized End-to-End (GE2E) loss, a technique originally designed for speaker verification. This loss function forces games played by the same person to cluster tightly together in the embedding space while pushing games by different players far apart.

Datasets

The study primarily utilizes data from Lichess, an open-source chess platform.

  • The "Universe": Millions of games from over 40,000 players.
  • Seen vs. Unseen: The model was trained on a subset of players ("seen") but evaluated on its ability to identify "unseen" players it had never encountered during training.
  • High-ranking Players: A separate dataset of Grandmasters and top-tier players from Lichess and Chess.com was used to test how the model generalizes to elite-level play.

Key Insights and Ideas

  • Style Exists Beyond "The Book": Even when the researchers stripped away the first 15 moves of every game (the "opening" phase where players often move from memory), the model could still identify players with high accuracy. This proves that "style" is baked into creative mid-game decisions, not just memorized patterns.
  • The Attention Decay: By analyzing the Transformer’s attention heads, the authors found that earlier moves are generally more informative for identifying a player than late-game moves.
  • Zero-Shot Generalization: Perhaps most surprisingly, a model trained only on amateur players (1000–2000 rating) was still able to identify world-class Grandmasters. This suggests that the fundamental "signatures" of individual decision-making style transcend skill levels.
  • Stylistic Clusters: When visualizing the player embeddings, the researchers found that players who prefer similar openings naturally clustered together, even if those opening moves were hidden from the model during the identification task.

Key Results

The model demonstrates remarkable proficiency in distinguishing individual players, significantly outperforming baseline approaches.

Identification Accuracy Results
  • Near-Perfect Identification: Given 100 labeled games, the model achieved 98% accuracy (shown as ~0.98 in the $k=0$ condition) in identifying a player from a pool of thousands of candidates when using the full game.
  • Mid-game Robustness: When ignoring the first 15 moves ($k=15$), the model still achieved 86% accuracy. For comparison, a baseline model looking only at opening moves achieved only 23.4%.
  • Scalability: The method is significantly more data-efficient and scalable than previous "personalized" models, which required training a separate neural network for every single player.

Limitations and Future Work

The authors are transparent about the ethical implications of this work. If an AI can identify you by your chess moves, could similar models identify you by your driving patterns, typing rhythm, or financial decisions? This raises significant privacy concerns regarding the de-anonymization of behavioral data.

Technically, the model's performance drops when moving from amateurs to Grandmasters (though it still outperforms baselines). This suggests that at the highest levels of play, "optimal" play might begin to squeeze out individual "style," or that elite styles are simply more subtle and complex than the current architecture can fully capture. Future work may explore applying these stylometry techniques to other high-stakes domains like medical decision-making or professional collaboration.

Summary updated

BibTeX
@inproceedings{mcilroyyoung2021detecting,
  author = {Reid McIlroy-Young and Russell Wang and Siddhartha Sen and Jon Kleinberg and Ashton Anderson},
  title = {{Detecting Individual Decision-Making Style: Exploring Behavioral Stylometry in Chess}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=9RFFgpQAOzk},
}
Figure