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

Reid McIlroy-Young, Russell Wang, Siddhartha Sen, Jon M. Kleinberg, Ashton Anderson · DOI

This research, originally presented at NeurIPS 2021, investigates the concept of "behavioral stylometry"—the capacity to identify an individual based solely on their unique patterns of decision-making. Using chess as a high-dimensional, data-rich environment, researchers demonstrate that humans leave a distinct "stylistic fingerprint" in their choices, which machine learning models can detect with remarkable precision.

Abstract

Behavioral stylometry identifies individuals through their decision patterns. This study utilizes chess as a testbed, developing a transformer-based architecture to detect "stylistic fingerprints." The resulting model achieves up to 98% accuracy in identifying players from a pool of 1,000, maintaining high performance even when excluding opening moves or generalizing to world-class Grandmasters. These findings suggest that individual style is a robust biometric identifier in complex decision-making tasks.

The Challenge of Behavioral Stylometry

Most AI research into human behavior focuses on the "average" human—predicting what a typical person might do in a given situation. However, for AI to truly collaborate with or adapt to humans, it must understand individual style.

The authors address the challenge of identifying a decision-maker from their actions alone. While stylometry is well-established in linguistics (identifying authors by prose) and security (identifying speakers by voice), applying it to abstract decision-making in complex domains like chess is a new frontier. The core question is: are our choices unique enough to act as a biometric identifier?

Methods

The authors propose a three-stage neural network architecture that adapts techniques from speaker verification to the game of chess:

  1. Move-level Feature Extraction: A Residual CNN (similar to the architecture used in AlphaZero) processes 8x8 board states to extract features from individual moves.
  2. Game-level Aggregation: These move features are fed into a modified Vision Transformer (ViT). Unlike previous attempts using LSTMs, the Transformer better captures long-range dependencies and the relative importance of different phases of the game. It outputs a 512-dimensional "game vector."
  3. Player-level Representation: The model calculates a "centroid" (average vector) for all games played by a specific player, creating a unique stylistic embedding.
The three-stage neural network architecture used to generate game vectors from sequences of board states.

The model is trained using Generalized End-to-End (GE2E) loss, which forces the embeddings of games by the same player to cluster together while pushing embeddings of different players apart.

Datasets

The study utilizes a massive corpus of games from Lichess, an open-source chess platform:

  • The "Universe" Set: Over 60 million games from 16,000+ players, primarily in the 1000–2000 Elo rating range.
  • High-ranking Dataset: A specialized set of the top 1,500 players from Lichess and Chess.com, including Grandmasters and the World Champion, used to test how the model generalizes to elite play.
  • Bucketed Data: Players were categorized by the total number of games played (1K, 5K, 10K, etc.) to see if "practice" makes a style more or less identifiable.

Key Insights

  • Style Transcends Skill: One of the most surprising findings is that the model generalizes across skill levels. Even when trained only on amateur games, the model could identify Grandmasters significantly better than chance. This suggests that the "essence" of a player's style exists independently of their absolute skill.
  • The "Opening" Isn't Everything: To ensure the model wasn't just memorizing opening repertoires, the researchers tested a version where the first 15 moves ($k=15$) were deleted. The model still achieved approximately 86% accuracy, proving that stylistic signatures persist deep into the middle game.
  • Attention to Detail: The Transformer's attention mechanism revealed that the early and middle games are the most "identifiable" phases. As the game progresses into the endgame, moves become more mathematically "forced," leaving less room for individual expression.
  • Privacy Risks: The paper highlights a "privacy-utility trade-off." While these models could help AI adapt to a user's needs, they also mean that "anonymous" accounts can be linked to a person's real identity with very little data.

Key Results

The model demonstrates exceptional performance across various evaluation pools. Given 100 labeled games, the model identifies a player from a pool of 1,000 candidates with 98% accuracy ($k=0$). Even when the candidate pool was expanded to over 40,000 players, the model maintained a precision of 54% (where random guessing would be near 0%).

Performance comparison across different evaluation pools, showing accuracy with all moves (k=0) and with the first 15 moves removed (k=15).

As shown in the results table, the model remains highly accurate even when players have similar ratings, proving it isn't just discriminating based on skill level. It significantly outperformed previous state-of-the-art personalized move-prediction models and simple "opening-choice" baselines.

Limitations and Future Work

While the model generalizes to elite players, its raw accuracy on them is lower (roughly 30.8% vs 86% for amateurs). This suggests that world-class players may have more subtle or flexible styles that require more sophisticated modeling.

Furthermore, while this work is limited to chess, the authors suggest future work should explore other behavioral traces, such as driving patterns or mobile phone usage. They also briefly discuss "adversarial" play—changing one's opening repertoire to avoid detection—but note that a truly robust stylistic fingerprint might be very difficult for a human to consciously mask.

Summary updated

BibTeX
@inproceedings{mcilroyyoung2021detecting,
  author = {Reid McIlroy-Young and Russell Wang and Siddhartha Sen and Jon M. 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