TL;DR
A tennis rally looks like a long, intricate chess match, so you might assume predicting the next shot requires tracking deep rally histories and specific player quirks. By analyzing over four million professional shots, this paper shows that player behavior is surprisingly "short-sighted": almost all predictive power lives in just the last four shots, and knowing how those shots unfolded matters far more than knowing who is holding the racket. Building on this insight, the authors introduce HITinnes, a lightweight probabilistic model that predicts multiple interdependent shot attributes simultaneously—even when training data is messy and incomplete.
What Problem Does This Paper Address?
Imagine freezing a tennis broadcast right before a player's racket meets the ball. What are they going to do next? In sports analytics and sequential event modeling, forecasting human decisions in competitive rallies presents two distinct puzzles.
First, what context actually matters? Previous models throw everything into the blender—long rally histories, spatial tracking, scorelines, and player identities—under differing experimental setups, making it hard to tell which signals actually drive predictability.
Second, a tennis shot isn't a single label; it's a bundle of coupled choices that change depending on the phase of play. A serve requires picking a direction; a return involves stroke type, direction, and depth; a rally shot involves stroke and direction.
Predicting these attributes independently ignores obvious physics and tactics (your stroke type heavily dictates where and how deep you can aim). Conversely, treating every possible combination as its own giant category fragments the output space—and wastes real-world datasets where human annotators recorded a shot's direction, for example, but forgot to log its depth.
Methods
After running a preliminary study to pinpoint a compact 4-shot history window, the authors build HITinnes around a standard two-layer causal Transformer encoder paired with three clever domain- and structure-specific twists:
- Receiver-Relative Encoding: Raw data logs court directions (left, middle, right). However, hitting "left" means attacking a right-hander's forehand, or a left-hander's backhand. HITinnes explicitly translates raw directions + receiver handedness into tactical target wings (forehand, backhand, middle) before feeding events into the Transformer.
- Phase-Dependent Conditional Factorization: Instead of independent classifiers or one massive joint table, HITinnes chains predictions using conditional probability. For a return, it predicts stroke from context, direction given context + stroke, and depth given context + stroke + direction.
- Partial-Label Supervision & Exact Marginal Inference: Because predictions are factored into steps, an event missing a "depth" label isn't thrown away during training—it still supervises the stroke and direction heads. At test time, rather than greedily locking in the single likeliest stroke to predict direction, HITinnes sums exact probabilities across all possible upstream attributes, smoothly propagating uncertainty.
Datasets
The authors evaluate their work on men's-singles records from the crowdsourced Match Charting Project (spanning 2010–2026). The dataset contains 4.62 million valid shot events across 5,568 professional matches and 705 players. Splits are strictly match-disjoint, ensuring models cannot memorize match-specific conditions. No new dataset is introduced, though the authors establish a clean, controlled multi-attribute evaluation protocol over these categorical records.
Key Insights and Ideas
Predictive gains from adding shot history vs. identities, and diminishing returns past a 4-shot window.
- Tactical memory is remarkably short: Adding recent shot history drops prediction error (Macro-NLL, or negative log-likelihood, where lower means sharper probability estimates) by 11.9% compared to just knowing the score and state. Yet those gains saturate almost completely at 4 preceding shots, with the single immediately preceding shot carrying the vast majority of the signal.
- The rally matters more than the name on the jersey: Once you know the current state and the last few shots, adding player and opponent identities yields tiny diminishing returns (reducing Macro-NLL from 0.9631 to just 0.9427). Immediate physical constraints trump personal tendencies.
- Tactical semantics beat raw geometry: Translating court directions into "forehand vs. backhand" (target-wing encoding) delivers the single biggest representation boost—confirming that players think in terms of attacking weaknesses, not abstract court coordinates.
- Salvaging incomplete data pays off: Out of 73,273 return shots in training, nearly a third lacked complete attribute tuples. Factor-wise supervision rescued over 22,000 stroke labels and 19,000 direction labels that a standard joint classifier would have discarded.
Key Results
Evaluated across all six phase-specific targets, HITinnes outperforms count-based Markov models, standard neural sequence backbones (MLP, BiLSTM, CNN–LSTM, Transformer), and alternative multi-attribute heads:
- Overall Accuracy & Calibration: HITinnes achieves the lowest Macro-NLL of 0.8931 and highest Macro-F1 of 0.3021. Under matched inputs and encoders, it reduces Macro-NLL by 2.96% relative to independent prediction heads (0.9203) and easily beats flat joint classification (0.9472).
- Downstream Attributes Win Big: Conditional modeling shines brightest at the end of the probability chain. Compared to independent heads, HITinnes slashes NLL most dramatically on return depth (-0.0570 nats), rally direction (-0.0422), and return direction (-0.0420).
- Uncertainty Propagation Works: Summing over all upstream possibilities (exact marginal inference) beats greedy argmax inference (0.8931 vs. 0.8993 Macro-NLL).
Limitations and Future Work
Because the study relies on categorical, human-charted event logs, HITinnes operates without continuous 3D ball trajectories, shot speeds, or fine-grained player court coordinates (such as Hawk-Eye tracking data), and leaves player identities out of its final core configuration. Furthermore, the empirical findings currently reflect only professional men's singles. The authors suggest extending this structured probabilistic framework to richer multimodal/spatial observations (like video and tracking data) and broader player populations, such as women's singles or amateur play.
Summary updated