From Player Tracking to Tactical Intelligence: A Spatiotemporal Deep Learning Framework for Predicting Team Actions and Evaluating Decision Quality in Football
DOI: 10.66838/ma.265
|
Abstract Football decisions are made in continuous space and time, yet most quantitative analysis still reduces them to counted events. This paper builds a spatiotemporal deep learning framework that starts from raw player and ball tracking and pursues two goals: predicting the next on-ball action of the team in possession (pass, carry, shot or loss of possession), and evaluating the quality of the decision actually taken against the options that were available. The study uses the two anonymised Metrica Sports sample matches (25 Hz tracking of all players and the ball, with synchronised event data), from which 2,268 possession decision points are extracted. Four prediction targets are derived from the event stream and the ball trajectory: 1,204 passes, 536 carries, 37 shots and 491 losses. A logistic regression, an XGBoost model, an LSTM and a Transformer encoder are compared under a strict cross-match protocol, in which models are trained on one match and tested on the other, in both directions. Sequence models are evaluated alone and together with hand-crafted contextual features describing pressure, passing lanes and team shape. Sequence-only models perform only modestly (macro AUC 0.72–0.73). Adding contextual features lifts the LSTM and Transformer to a log-loss of 0.925 and 0.927 against 1.083 for the class prior, and to macro AUC of 0.785 and 0.782. A well-regularised logistic regression on the same contextual features is nearly as good in macro-F1 and AUC (0.527 and 0.786), so the advantage of the deep models is confined to probabilistic quality, and part of it comes from averaging five seeds. SHAP and gradient-based saliency show that goal geometry drives shot prediction, that carrier speed and the nearest defender separate passes from carries, and that the last 0.8 s of the window holds 42% of temporal attribution. A decision-quality module combines a pass-success model and a data-driven possession-value surface into an expected-threat value for each option. Across 1,850 passes the chosen receiver was the highest-valued option in 13.8% of cases (10.9% expected by chance) and in the top three in 47.0% (32.7% by chance). Players chose safer, lower-value options than a greedy value maximiser would. Limitations are substantial: two matches, four derived action classes with only 37 shots, a simplified pitch-control model, and failed-pass receivers inferred geometrically․
Keywords
football analytics, player tracking, spatiotemporal deep learning, LSTM, Transformer, next-action prediction, pitch control, decision quality, SHAP., |