Fingerprinting Chess Players by Their Move Timings

There are many ways to fingerprint human behavior, and I was curious to what extent chess moves could betray a person's identity. While training a small model to learn more about this area of chess research, I was surprised at the amount of signal that comes from the chess clock. And so I took ahold of this "move timings" thread and gave it a good pull.

During my adventures here, I discovered what appear to be three novel facts:

  • Titled chess players (GM, IM, etc., who are hard to fingerprint in general) can be identified by their move timings alone with a 34.1% chance.
  • Tilt (playing differently/worse after a loss) is visible in the clock even when moves don't significantly change.
  • Inside this chess fingerprint, the order of move timings is significant.

My headline numbers:

(Note to chess players: skip the next few sections here to get to the results.)

The Question

The question that this project aimed to answer at the start was "Given some chess games, which of N players played them?" Where N = 1,490 titled players on Chess.com, and "some games" = 20 games of 3-minute blitz (3+0).

To answer this question, we need a system that can describe any player's games in a way that makes that same person look the same in their other games too. It's gotta recognize people who weren't in the training data (otherwise that's cheating).

A good analogy for the type of solution we need is roughly how Apple's Face ID works at a high level. On your iPhone, there's a model that was trained on other people's faces. Apple had a dataset of >1 billion face images, and trained the model to be accurate at matching unlock attempts to the original scan inputs.

Turning Games Into Numbers

A program doesn't look at a chess board the same way that we do. But that's fine because we can turn it into numbers that it can understand. We want our program to think and care about moves, so each move is turned into a row of numbers.

For the clock model, this is five numbers:

  • How long the player thought for.
  • That thinking time ÷ 3min.
  • How much time was left on their clock.
  • Which move number it was.
  • Whether it was an instant move (aka premove).1

Rather than just providing the pure offsets like [ 1.3 s, 10.4 s, ... ] etc., we do something called feature engineering to create a richer/more context-aware representation that exposes behavioral signals. The alternative would rely on the model to infer this stuff from raw offsets but: it being possible to learn such a relationship is not the same thing as being able to learn it efficiently!

The moves model is split up into the move itself along with 20 facts, as you can see in the diagram below. A chess move is far more "dimensional" compared to move timings, so there's more we can do to inject our domain knowledge about which parts of chess behavior are more likely to be relevant.

The 20 facts here are straightforward to collect from the game state but the move itself (e.g. Black Nc6) is handled differently. Each of the 6,000 most common moves gets its own row of 128 numbers in a lookup table. These rows start out random and are learned during training (just like the rest of the model).

But we can't give the model a move's ID as a number because IDs are arbitrary: if Black Nc6 were 9 and Black d5 were 10, the model would treat them as very nearly the same move. A learned row lets a move pick up whatever matters for a fingerprint. Whether that's something simple like "player X really likes his knight on Y" or more subtle like "player Y avoids putting his knights on the edge of the board".

So far we have a row of 128 numbers for every move. But we want to identify players from their moves which means we need a process to go from many moves to a single game, and then from many games to a player.

Let's start with "moves to a game". A transformer is a kind of model that reads a sequence (like words in a book, or moves in a chess game, or just the move timings) and lets each of the sequence items look at every other item before deciding what it means. Spending 3.5 s on a recapture means something different than spending that same 3.5 s on a promotion. The transformer's function then, is to let each move's row carry the context of where it occurs.

As far as transformers go, ours is small. 3 layers, where each layer is a round of "every move looks at the others and updates itself". After this runs, all the rows are squashed down into one point by taking the average, and how much it varies, for each of the 128 columns. So for the input of one game, we get one point (128 numbers) out.

During training the model is scored on a test where we show the model games from 3,952 players and ask "whose game is this?" over and over. After every guess, each weight is nudged a little towards a better answer. When training starts, a player's games are scattered at random but as training proceeds, they are separated into their own little clusters (away from everyone else's!).

I think it's worth saying that this project is doing standard/sophomore-ish machine learning things. If I've been successful, it's because I had the intuition and the desire to ask the right questions and then the interest to follow it through until the end.

Real data of 8 training players, 60 games each, and the headline model at every epoch.

This example uses 8 real training players and it shows 16% of games being closer to their own player's cluster than to any other before training. After 20 epochs (passes over the data), it has increased up to 73%.

At this point, we throw everything the model knew about those 3,952 players away and we keep the part that turns a game into a point. Meaning we've arrived at our fingerprint generator.

To go from games to a player, we take 20 of the player's earlier games and turn them into an averaged point i.e. their fingerprint (Enrol). In a real life system, we'd do this for many players and build up a "library of fingerprints". Then, when we want to identify, say, who some anonymous player is given 20 of their later games, we average those games into a new point and measure the distance to the known fingerprints, and the nearest point wins (Identify).

Real data of five titled players from Chess.com.

I was very interested to learn about the contributions of each signal here. And I trained three separate models with the same recipe and size, changing only what they're allowed to read:

  • Clock alone (no move or board facts): 34.1%.
  • Moves alone (no clock data): 51.5%.
  • Both combined: 75.5%.

The combined model does better than joining the two separate models (73.1%), probably because it allows a single model to learn about complex relationships like "how long a player thinks about specific types of moves".

Making It Fair

All of the headline numbers in this post come from the same kind of fair test which is repeated for each of the 1,490 titled test players (who weren't in the training data). And it works by taking one player's earlier games in order to make their fingerprint, followed by 20 of their later games to make a point. The check is whether their own fingerprint is the nearest one.

A positive result is when their own fingerprint is in fact the nearest. And it happened 75.5% of the time for the 1,490 test players.

With these kinds of tests you have to take a lot of care to avoid fooling yourself. During my early iterations, I had some clock-only results of ~99% (!) which turned out to be from mistakes on how I'd set up the test. I ended up with three rules that I considered to meet the required fairness bar here:

  1. Test players are never trained on. Otherwise, the model can just remember the player instead of recognizing the player. Or to put it another way, your iPhone being able to perform Face ID well should not require you to have submitted your face during iOS's development!
  2. Enrol on earlier games and identify on later ones. I came to this rule during the middle of this project. And I added it because, if you pick games at random, you will often get two games from e.g. the same evening on both sides of the test (same player mood, same opening they were drilling at the time, etc.). We don't want the model to match "what was the player doing on that day" instead we want to match on the player's more general habits. Also, in real world tests, you are usually trying to match the current to previous behavior. A random split made the combined model look much better (90% vs. 73%) and the clock model even more so (46% vs 30%). But it was unfairly so. Just to really go the distance on proving the potential unfairness here: things like time of day and session length could pick out 24% of players with a random split but it dropped down to 1.3% with time-ordered games.
  3. No shared opponents. If you play against the same person in your Enrol games and your Identify games, it's very likely you were queuing at the same time and getting matched over and over. And then they play their favorite opening and you play your favorite reply. This shared history makes the two sets of games look similar for reasons that are not due to your fingerprint. So, any Identify game against someone from your Enrol games is dropped.

So when I say 75.5%, it means: a player the model has never seen, from games played later than the ones it enrolled on, against different opponents, out of the 1,490 possible candidates. With our fair test designed, the question of "does this work?" is fairly answered.

My follow-up question was: what in the clock is providing such a signal?

What the Clock Knows

When I started this project, my intuition was that strong players would be easier to identify but it's actually the opposite: identifying strong players is hard. Researchers in 2021 (McIlroy-Young et al. 2021, moves only)2 found that amateurs with lots of games could be identified 98% of the time (out of 2,844 candidates) but top-ranked players could only be identified 55% of the time (out of 2,157 candidates). They found a similar effect to my work, in that the opening contributes a lot of signal i.e. top-ranked player identification dropped from 55% -> 31% when openings were hidden. And then I suppose that amateur players are doing all kinds of wacky stuff like unique and suboptimal strategies.

As far as I can tell, the chess clock's effect when it comes to fingerprinting hasn't really been studied. But I had some interesting results! A summary of someone's "think times" (a histogram of 0–0.15 s, 0.15–0.35 s, etc., along with their average think in four stretches of the game) only finds the right player 6.8% of the time. Rating alone (guessing the player whose rating is nearest) gets 0.8%.

Building on top of this, I trained a model that only sees the think times but with each game's think times randomly shuffled, and then I ran the usual test with Enrol/Identify games shuffled too. So that model, trained and tested on a "bag" of think times, did better than the histogram at 9.9% chance of identifying. The same kind of model trained and tested on think times in the real order they appear jumps up to 23.4%. Proving that time-order is significant.

Picking the right player out of 1,490 never-seen titled players from clock only.

So this "shape" of time throughout a whole game betrays you. We are creatures of chess habits. This got me thinking where in the game is the fingerprint strongest? So I cut the test player games down to windows of 15 moves and ran the tests again. The pool of games for this is a bit smaller because it needs games with at least 45 of the player's own moves (1,134 players).

The findings here match existing research: the opening is extremely high signal for moves, with it being possible to find the right player 38.2% of the time. And then it drops way off: moves 16–30 get 3.1%, and moves 31–45 get 0.9%.

But! The clock fades much more gently: 12.8%, then 5.7%, then 5.3%, and still 5.1% for the last 15 moves of the game. By moves 31–45, the clock is around five times as useful as the moves are (5.3% vs 0.9%).

Hikaru Nakamura / game 185811591402 / 57 moves

Within the moves, it seems to be the fast moves that carry the greatest clock signal. If the model only gets to see moves played in under one second, the clock is still able to find the right player 21.1% of the time (1,131 players). But if we take the opposite, moves of 5+ seconds, it drops down to 2.4%.

My suspicion here is that fast moves is where physicality comes into play. Your reaction time, how you move the mouse (or thumb), and whether you're comfortable premoving. And premoving itself is a very clear behavioral habit: across players, the share of premove-like moves ranges from 0% to 23% which is also stable over time (split-half correlation 0.89, and still 0.83 a year later).

Slow moves seem to allow more "brain noise" to affect the signal. Rather than following some fixed-time intuition, you're exploring and thinking and meandering away from clear behaviors.

Interestingly, the moves played in under a second are also high signal (38.2%). Again, I think it's for the same reason as the clock: when you move instantly you're playing on autopilot. It's worth noting that some of this overlaps with the opening where a lot of fast moves are.

Where Strong Players Spend Their Time

Some moves in chess need less thinking and carry less risk, and these moves are generally agreed upon by strong players. So before calling something a personal habit, I compared each move against the player's usual thinking time at that point in the game (same clock and move number).

Across 7.6 million moves:

Think time vs the same player's usual at the same clock & move number, across 7.6M moves.

All 25 of the slowest thinking common positions are early in the opening, where the main reply isn't obvious and players are still picking which line to go down. The slowest is the Elephant Gambit (1.e4 e5 2.Nf3 d5) with White to move, at 2.1 s median (2.1 s sounds quick but in blitz this opening is kinda played on autopilot).

This lines up with what strong players/coaches say. On blitz time management, GM Daniel Naroditsky starts by saying that "Hikaru's speed is difficult to match by any mortal" and then proposes a 15-second rule: "In general, you should only spend 15 seconds or more on a particular move when you believe that a critical position has been reached." Compared with classical chess, he says, in blitz "the consequences of being faced with an unexpected move or series of moves can be fatal."3 And Magnus: "In blitz, we don't have that luxury. So [you] have to go with what your intuition tells you, so that's basically what's going on. There's not so much thinking."4

There's research on this too. A 2025 study of online chess found that "players spent more time thinking in board positions where additional computation was more beneficial", and that the slowest moves come in the middle, with faster moves at the start/end because "humans likely predecide on openings".5

Here's where titled players spend the most time thinking in blitz on Chess.com, across nine of the slowest common positions (median think, and the two most played moves):

One of my favorite findings, or confirmations, is being able to put numbers to the experience of copying a player's tempo. In my own 3-minute blitz games, when someone's playing fast, my gut says they're going to beat me in the middlegame and endgame because they'll have a bunch of extra thinking time! And when someone plays slowly, their moves feel like they have more weight behind them, and I end up feeling like I want to match that.

Across 15.6 million moves from 3,670 titled players, after an opponent's instant reply, the next think is ×0.77 (median) of that player's usual. After the opponent thinks for 16 seconds+, it's ×1.50. Every player follows their opponent's pace to some extent. Hikaru follows more than most (88th percentile), while Magnus keeps more of his own pace (19th percentile).

Graphing Tilt

It's widely known in sports psychology that wins and losses affect us. But rather than showing that you lose more after a loss (or win more after a win), what's interesting in my results is that your fingerprint is more like you after a win.

I measured how much each game's clock looks like the player's usual fingerprint, and then compared them by the result of the game played just before it in the same session. After a win, the next game looks a little more like them, and after a loss a little less. Their moves don't change at all. With the game's own result, and rematches and position in the session all controlled for, a previous loss costs 0.057 on the clock (this is in units of the player's own game-to-game variation) and 0.007 on moves (not significant). 61% of players dip after a loss and losing streaks make it worse. After a loss, the first 10 moves get played a bit faster, and players end the game with 2.4 s more on their clock.

1,500 never-seen players, 297k blitz games: similarity of each game to the player's own usual fingerprint. SD = that player's own game-to-game variation; 0 = an average game for them.

I suppose that intuitively, if you've just won, you'd act more like yourself. You feel good, and you play your default. After a loss, you're more likely to want to correct something. This is online chess, so you're going through lots of games, and you're aware that you're losing (and your Elo is dropping). Speaking from my much-much lower-rated experience, losing a lot of games makes me want to try something new, or something safer.

How Long Until a Fingerprint Fades

Chess is a game of growth and experience, especially at a high level. Day to day, people play the same chess, but as the months stretch into years they play differently. Some of the drift is just noise (you start playing at different times of day, or on your phone instead of desktop), and I wish I could have filtered that out, but the data wasn't available.

To measure it, I used Lichess, where the public database goes back years. I enrolled strong Lichess players on their January 2024 games and then tried to identify the same 184 players from games played a month, six months, a year, and almost three years later (October 2026). On a combined model trained on Lichess games, each player picked out of 1,967 candidates: 80.0%, then 71.8%, then 64.2%, and still 57.7% after two years and nine months. With most of this fading happening in the first year.

For a strong player, I think the most interesting thing is that the signal is still there nearly three years later. I don't know what it's like to be a strong player, but I don't play the same chess I played three years ago. I suppose that, on reflection, if you've played an opening at a high level, it's always there and available to you. But it's interesting how long it lasts.

One thing I really wanted to know is whether a fingerprint works across sites. I think that's a real test of my theories, right? If it's really you, it shouldn't matter whether you're playing on Chess.com or Lichess.

To get a dataset here, I looked for accounts that are very likely the same person: 144 pairs where the Lichess and Chess.com accounts share the same username and the same title, or where one profile links to the other. I trained a model on both sites' players, took each Lichess account, and looked for its partner among 1,482 Chess.com accounts.

The clock alone found 0.0% of them! One game's clock fingerprint gives away which site it was played on 88% of the time, so it turns out that the site leaves a bigger mark than the person does. One visible piece of this "accent" is that premove-like moves are 8.4% of moves on Lichess vs. 5.1% on Chess.com, and higher on Lichess for 96% of players.

To try and fix this, I took the accounts on each site that aren't in a known pair, averaged their fingerprints, and subtracted that average from every account on that site. Then the matching as usual. The clock goes from 0.0% to 8.3% (up to 14.6% with similar corrections), and moves + clock together link 50.7% of accounts (75.7% in the top 10).

With only 144 pairs these numbers are kinda rough: the clock's 8.3% (12 pairs) could plausibly be anywhere from 4% to 14%, and the 50.7% from 42% to 59%. But even the low ends are far above chance (1 in 1,482).

This is a bit easier to explain visually:

I don't know for sure why the sites differ. My suspicions in rough order are: premove handling, lag compensation, people playing on their phone more on one site (e.g. I know people much prefer Chess.com's app). The habits underneath do carry over though: a player's premove rate on the two sites correlates at 0.82.

Hiding Your Habits

It turns out that hiding your clock fingerprint is pretty cheap. If you add a random delay of 0–0.3 s to every move, it costs you about 6 seconds over a 3-minute game, and clock-only identification falls from 45.2% to 3.4% (this is a simpler test where games are picked at random rather than in time order, hence the higher starting point).

Behind the Scenes

I drove this project via agent (Opus 5.5 on Medium via Claude Code) with a lot of dictating, like my recent projects (The Math Behind Counter-Strike Surf and Introducing the World's Strongest Sokoban Solver). I found a lot of value in getting an adversarial review from a better model (so Fable 5.2 here) every two hours or so.

In this Age of Agents, I think the important thing is not what you know, but what you want to know. When I make good progress on a project at home on the weekend, or when I have a run of good days at work, I think it's because I'm seeking more than just the answer. My edge is my obsessions.

I see people talk about how to prompt like: you have to present your context in a certain way, or write your prompts in a certain style. But what I find works best is getting myself (and my head) out of the way. I succeed when I'm just talking. A year or two ago (with worse models), I'd be saying stuff like "okay now create a Python file". But now I'm more likely to steer using words like adventure and fun. I find alpha when I remove my filter.

After my last post, a few people asked me for advice on working with agents, the best I can come up with is: you gotta work on the symbiotic relationship with your agent. Especially in larger sized projects. Have lots of check-ins and ask lots of questions (or the wrong work gets done).

This project used ~50 GPU hours across my MacBook M1 and desktop GPU (AMD RX 7900 XT), roughly normalized to MacBook GPU hours. And ~30 CPU hours. It also took me a whole day to download the dataset (~24hrs for Lichess, limited by API speed, and ~6hrs for Chess.com where the bottleneck was request limits).

I'll finish with a graph of the journey and also what did/didn't help along the way:

Now that I've scratched this chess fingerprint itch, I can go back to losing blitz games :)

Footnotes

Re: data. All games in the main test come from Chess.com's public archive, from every titled account across five monthly snapshots (Jan 2024, Feb 2024, Jul 2024, Jan 2025 and Oct 2026), with clocks recorded to a tenth of a second. Keeping the 3+0 games leaves ~943,000 games from 5,452 players: 3,952 for training and 1,500 held back for testing. The fading and cross-site experiments use Lichess (its monthly database dumps, and its API for finer clocks).

Re: code. Here's a compressed form of all the key code bits (featurizer, encoder, training loss, evaluation). See code
# Compressed/collected by Opus:
# The core of the combined (moves + clock) model, cut down from the real scripts.
# Missing: downloading and parsing Chess.com's archive, picking players and games (3+0, 40+ plies,
# 40+ games per player, up to 120 sampled each), the training loop itself, confidence intervals,
# and every side experiment.
import chess, numpy as np, torch, torch.nn as nn, torch.nn.functional as F
L = 60 # a player's first 60 moves of the game
VAL = {chess.PAWN: 1, chess.KNIGHT: 3, chess.BISHOP: 3, chess.ROOK: 5, chess.QUEEN: 9, chess.KING: 0}
def board_feats(b, mv):
"""13 numbers about a move, from the mover's side. Pushes the move."""
me, cap, pt = b.turn, b.piece_at(mv.to_square), b.piece_at(mv.from_square).piece_type
mat = lambda c: sum(VAL[p.piece_type] for p in b.piece_map().values() if p.color == c)
rank = lambda sq: (chess.square_rank(sq) if me else 7 - chess.square_rank(sq)) / 7
f = [b.legal_moves.count() / 50, b.is_check(), (VAL[cap.piece_type] if cap else b.is_en_passant(mv)) / 9,
max(-1, min(1, (mat(me) - mat(not me)) / 20)), (mat(me) + mat(not me)) / 78,
rank(mv.from_square), chess.square_file(mv.from_square) / 7, rank(mv.to_square), chess.square_file(mv.to_square) / 7,
pt / 6, mv.promotion is not None]
b.push(mv)
return f + [len(b.attackers(not me, mv.to_square)) / 4, len(b.attackers(me, mv.to_square)) / 4]
def featurize(san, clk, side, vocab, base=180):
"""One player's side of one game -> 60 rows of 24 numbers, plus a move ID per row.
san: every move in the game. clk[i]: the mover's clock (s) after move i. vocab: the 6,000 commonest moves."""
x, tok, b, prev = np.zeros((L, 24), np.float32), np.zeros(L, np.int64), chess.Board(), base
dest = lambda m: m.rstrip("+#").split("=")[0][-2:]
for i, m in enumerate(san):
bf, j = board_feats(b, b.parse_san(m)), i // 2
if i % 2 != side or j >= L:
continue
t = max(0, prev - clk[i]) if j else 0 # think time (no increment in 3+0); the first move isn't timed
prev, om = clk[i], san[i - 1] if i else "" # om: the opponent's move just before
x[j] = [np.log1p(t), t / base, clk[i] / base, t == 0 and j > 0, j / L, # the clock's five numbers
"x" in m, "+" in m, "x" in om, "+" in om, "x" in m and "x" in om and dest(m) == dest(om), side, *bf]
tok[j] = vocab.get(f"{side}{m}", 1) # 0 = no move, 1 = a rare move
return x, tok
class Encoder(nn.Module):
"""A game's rows -> one point: 128 numbers, unit length."""
def __init__(self, n_in=24, n_moves=6002, d=128):
super().__init__()
self.inp, self.tok = nn.Linear(n_in, d), nn.Embedding(n_moves, d, padding_idx=0) # tok: a learned row per move
self.pos = nn.Parameter(torch.zeros(1, L, d))
self.tf = nn.TransformerEncoder(nn.TransformerEncoderLayer(d, 4, 4 * d, 0.1, batch_first=True, norm_first=True), 3)
self.out = nn.Linear(2 * d, d)
def forward(self, x, tok):
mask = (tok != 0).unsqueeze(-1).float()
h = self.tf(self.inp(x) + self.tok(tok) + self.pos, src_key_padding_mask=tok == 0)
mu = (h * mask).sum(1) / mask.sum(1) # average over the game's moves...
sd = (((h - mu[:, None]) ** 2 * mask).sum(1) / mask.sum(1)).clamp(min=1e-6).sqrt() # ...and their spread
return F.normalize(self.out(torch.cat([mu, sd], -1)), dim=-1)
def loss_fn(e, y, W, step, steps, s=16.0):
"""Training: pull each game toward its player's row in W (one learned row per training player), away from the rest.
Additive-margin softmax; the margin warms up over the first 20% of steps.
(20 epochs, batches of 512, AdamW lr 1e-3 + weight decay 1e-4 on the model and W, one-cycle schedule.)"""
margin = 0.2 * min(1, step / (0.2 * steps))
logits = s * e @ F.normalize(W, dim=-1).T - s * margin * F.one_hot(y, len(W))
return F.cross_entropy(logits, y)
def top1(E, user, when, opp, test_players, cohort, seed=0):
"""Enrol on earlier games, identify on later ones. Share of test players whose own fingerprint scores highest.
E: every test game's point. cohort: fingerprints of 1,500 training players (for AS-norm)."""
nz, rng, enrol, ident = lambda a: a / np.linalg.norm(a, axis=-1, keepdims=True), np.random.default_rng(seed), [], []
for u in sorted(test_players):
g = np.where(user == u)[0]
g = g[np.argsort(when[g], kind="stable")]
r, q = g[: len(g) // 2][-20:], g[len(g) // 2 :] # enrol: last 20 games of the first half; identify: the second half
q = q[~np.isin(opp[q], opp[r])] # no opponent in common with the enrol games
if len(r) == 20 and len(q) >= 20:
enrol.append(r); ident.append(rng.choice(q, 20, replace=False))
C = nz(np.stack([E[r].mean(0) for r in enrol])) # fingerprints
Q = nz(np.stack([E[q].mean(0) for q in ident])) # new points
S, K = Q @ C.T, nz(cohort)
# AS-norm: judge each score against how close each side usually is to strangers (its 200 nearest cohort players)
tq, tc = np.sort(Q @ K.T, 1)[:, -200:], np.sort(C @ K.T, 1)[:, -200:]
S = (S - tq.mean(1)[:, None]) / tq.std(1)[:, None] + (S - tc.mean(1)) / tc.std(1)
return (S.argmax(1) == np.arange(len(C))).mean()

¹ Chess.com records a premove as 0.1 s rather than 0 so it only fired on 1,388 of 44.6 million moves, so it's really more like four numbers. But the premove habit still shows up through the think time itself.

² McIlroy-Young et al., Detecting Individual Decision-Making Style: Exploring Behavioral Stylometry in Chess (NeurIPS 2021).

³ Daniel Naroditsky, The Art of Time Management, Chess.com.

⁴ Magnus Carlsen in conversation with Peter Thiel (2014), via VentureBeat.

⁵ Russek et al., Time Spent Thinking in Online Chess Reflects the Value of Computation, Cognitive Science (2025).