TL;DR
GenTac is a diffusion-based generative framework that models open-play soccer tactics by simultaneously forecasting continuous multi-player trajectories and predicting discrete semantic events. By treating tactical evolution as a stochastic process rather than a deterministic path, GenTac enables realistic long-horizon simulations, style-conditioned forecasting, and controllable counterfactual analysis that generalizes across multiple team sports.
What Problem Does This Paper Address?
Modeling open-play tactics in association football (soccer) is notoriously difficult due to its highly fluid, multi-agent, and non-deterministic nature. A single off-the-ball run or unexpected pass can cause a match to branch into completely different tactical scenarios.
Existing AI approaches typically fall short in two ways: they either focus on highly structured, static set-pieces (like corner kicks) or rely on deterministic trajectory forecasting models that output a single "average" future path. These methods fundamentally fail to capture the natural variance, strategic nuances, and branching possibilities of real-world match play. GenTac addresses this gap by shifting the paradigm from deterministic prediction to probabilistic, context-conditioned simulation.
Methods
GenTac conceptualizes soccer tactics as a dual-pronged generative process combining a trajectory forecasting module ($\Phi_{\text{traj}}$) and a tactical event recognition module ($\Phi_{\text{event}}$).
┌───► Trajectory Forecasting (Diffusion Denoising)
Historical Data ──┼─► Spatiotemporal Attention Backbone
└───► Tactical Event Recognition (Hierarchical MLP)
- Multi-Agent Trajectory Encoding: Continuous 2D coordinates of all 22 players and the ball are tokenized into a dense spatiotemporal representation. Crucially, the model injects three distinct learnable embeddings to preserve structural priors: temporal order, group affiliation (Team A, Team B, or ball), and individual entity identity.
- Spatiotemporal Attention Backbone: GenTac utilizes a factorized spatiotemporal attention architecture (adapted from TimeSformer) to capture instantaneous multi-player interactions at each timestamp, followed by the dynamic evolution of individual players over time.
- Autoregressive Sliding-Window Rollout: To stably generate long-horizon futures, the trajectory module uses a causal sliding window (typically $0.2\text{s}$) to iteratively denoise and sample consecutive future segments via a reverse diffusion process.
- Contextual Conditioning: The framework supports rich conditional inputs, allowing users to guide the generation based on opponent behavior, specific team styles (e.g., Auckland FC), league styles (e.g., Bundesliga vs. A-League), or strategic objectives (offensive vs. defensive guidance).
- Hierarchical Event Recognition: The semantic module uses an attention pooling mechanism to compress the spatiotemporal grid into a global feature vector. A Multi-Layer Perceptron (MLP) with parallel classification heads then predicts a hierarchical tactical event space consisting of 5 broad macro-categories and 15 nested subtypes.
Datasets
The authors introduce TacBench, a new unified benchmark for soccer tactical forecasting and analysis. It is constructed from both public tracking data and broadcast-derived data resampled to 25 frames per second (FPS):
- TacBench-Trajectory: 2,838 15-second segments spanning diverse matches from SkillCorner (Australian A-League), Sportec DFL (German Bundesliga), and Metrica Sports.
- TacBench-Event: 423 trajectory segments with explicit tactical annotations mapped into 15 distinct fine-grained subtypes (e.g., Ball Win, Progression, Clearance, Shot Saved).
To demonstrate cross-sport generalization, the model was also evaluated on:
- Basketball: 66,498 6-second clips from NBA SportVU (5 FPS).
- American Football: 19,154 clips from the NFL Big Data Bowl 2021 (10 FPS).
- Ice Hockey: 33 match periods from the Big Data Cup 2026 (30 FPS).
Key Insights and Ideas
- Grounding Semantics in Physics: Unlike prior works that extrapolate tactical event labels directly from historical event sequences, GenTac first simulates the physical multi-player trajectories and then infers the semantic event outcome from the generated future. This ensures that event forecasting is fundamentally trajectory-grounded.
- Embracing Unpredictability: By generating $K=20$ diverse rollouts from the same historical context, the model naturally induces a probability distribution over possible future events, mimicking the inherent uncertainty of sports.
- Controllable Counterfactuals: The objective-conditioned configuration allows coaches or analysts to run "what-if" simulations. For instance, forcing the model to simulate a "defensive guidance" scenario structurally alters the generated player trajectories to maximize spatial control and suppress expected threat metrics.
Key Results
- Geometric Precision: Incorporating future opponent trajectories (opponent-conditioned forecasting) drastically reduces errors. At a 5-second prediction horizon, the minimum Average Displacement Error (ADE) and Final Displacement Error (FDE) decreased by over 70% compared to unconditioned joint forecasting, bringing the minimum ADE down to $1.30\text{m}$.
- Structural Consistency: GenTac successfully preserves collective team structures (e.g., team length, width, surface area, and centroid displacement) during long-horizon rollouts. Enforcing team-specific conditioning (e.g., Auckland FC) significantly reduced structural metric deviations over a 5-second horizon.
- Event Accuracy: For tactical event grounding, GenTac achieved a top-1 accuracy of 71.2% and a top-3 accuracy of 97.4% across the 5 macro-categories. At the 15-subtype level, top-1 accuracy reached 53.7%.
- Cross-Sport Generalization: Without structural changes to the core architecture, GenTac successfully adapted to other sports. At a 5-second horizon under opponent conditioning, it achieved a minimum ADE of $0.32\text{m}$ in basketball, $1.06\text{m}$ in American football, and $1.04\text{m}$ in ice hockey.
Limitations and Future Work
While GenTac represents a major leap forward, the authors note several limitations:
- Latent Cognitive Factors: The model operates purely on observable tracking data. It cannot account for unobserved variables like coaching intent, real-time player communication, psychological pressure, or physical fatigue.
- Data Dependency: The framework relies heavily on high-fidelity, structured tracking coordinates.
As a next step, the authors suggest extending the framework to ingest richer, more accessible multimodal sources, such as extracting trajectories and pose estimations directly from raw broadcast video streams.
Summary updated