GenTac: Diffusion-Based Soccer Tactics
- GenTac is a diffusion-based generative framework that models open-play soccer tactics as coupled sequences of multi-agent trajectories and discrete tactical events.
- It employs a conditional discrete diffusion process to forecast plausible future states by integrating context such as opponent behavior, team identity, and tactical objectives.
- Evaluations on TacBench demonstrate GenTac’s ability to achieve low displacement errors and maintain coherent team structures, with potential applications across various sports.
Searching arXiv for the specified paper and closely related context. GenTac is a diffusion-based generative framework for modeling and forecasting open-play soccer tactics as a stochastic process over continuous multi-player trajectories and discrete semantic events (Rao et al., 13 Apr 2026). It is designed for the setting in which match evolution is inherently multi-agent, stochastic, and branching, rather than adequately represented by a single deterministic future. In this formulation, a possession generates both stacked 2D positions for players and the ball and a fine-grained tactical event label at each time step, while optionally conditioning on contextual variables such as opponent behavior, team identity, league identity, or tactical objectives.
1. Formal problem statement
GenTac views an open-play soccer possession through two coupled sequences. The trajectory sequence is
where each frame contains the 2D positions of players on each of two teams plus the ball. The event sequence is
with each denoting one of 15 tactical labels. The optional context variable satisfies
corresponding respectively to no extra context, opponent’s full trajectory, a particular team identity, a league identity, or a tactical objective such as offense or defense. The joint task is to learn
This formulation places GenTac in a broader line of multi-agent sequence modeling, but with an explicit emphasis on open-play possessions rather than highly structured restarts. A common misconception is that tactical forecasting is adequately captured by a single best-guess rollout. GenTac is instead defined around the distribution of plausible futures, so sampling diversity is intrinsic rather than incidental (Rao et al., 13 Apr 2026).
2. Diffusion formulation and training objective
Trajectory generation is implemented as a conditional discrete diffusion process over each causal window of length . A clean history of length conditions a future segment 0 of length 1. In the forward process, Gaussian corruption is applied only to the future segment, while the history is kept exact. With linear noise schedule 2, and
3
the noising kernel is
4
which yields
5
The reverse process learns a neural network
6
that predicts the corruption noise. The reverse kernel is written as
7
with
8
The paper notes that 9 may equivalently be viewed as a score network 0 in the standard score-matching diffusion interpretation. Training minimizes the denoising objective
1
where 2 is sampled uniformly from 3 (Rao et al., 13 Apr 2026).
Methodologically, this makes GenTac a conditional generative forecaster rather than a deterministic regressor. This suggests that its principal modeling commitment is to recover a distribution over future tactical states while maintaining causal dependence on observed history.
3. Representation of trajectories and tactical events
At each frame, GenTac concatenates all player and ball coordinates into a token grid of shape 4. Over a sequence of length 5, the tensor is
6
Each 7 pair is projected via a learnable linear map into 8, after which three embeddings are added: a temporal embedding shared by all entities at the same time step, a group embedding distinguishing team 1, team 2, and the ball, and an entity embedding assigning a unique slot to each player and the ball.
The tactical event taxonomy grounds trajectories into 5 coarse types and 15 subtypes. The coarse types are Build-up, Transition, Threat, Set Piece, and Interruption (Stoppage). The listed subtypes are Ball Win and Progression under Transition; Goal, Shot Off Target, Shot Saved, Clearance, and Defended under Threat; and Corner, Free Kick, Penalty, Throw-in, Kick-off, and Goal-Kick under Set Piece. Build-up has 1 subtype.
The joint factorization is
9
where 0 is implemented by the diffusion forecaster, optionally conditioned on past events, and 1 by a small classifier on the encoded trajectory (Rao et al., 13 Apr 2026).
This coupling of continuous trajectories with discrete semantics is central to the framework’s scope. It avoids treating event labels as mere post hoc annotations and instead makes them part of the tactical state space. A plausible implication is that the event layer serves both interpretability and downstream tactical summarization.
4. Contextual conditioning and counterfactual control
GenTac injects context in two distinct ways. For opponent-conditioning, the opponent’s future trajectory is appended to the condition channels, while only the target team’s future is masked as noise. For style- or objective-conditioning, a learnable vector of dimension 2 is embedded, concatenated or added after the spatiotemporal encoder, and allowed to modulate subsequent attention layers, analogously to FiLM layers or cross-attention keys and values. In this contextualized form, the reverse kernel can be written as
3
with 4 taking 5, and optionally the last event 6, as input (Rao et al., 13 Apr 2026).
Full-horizon generation proceeds autoregressively in windows of length 7. For each sample, GenTac initializes noisy futures, denoises them through 8 reverse steps, appends each generated window to the current history, and repeats until the horizon is covered. Repeating this procedure 9 times produces a distribution of rollouts rather than a single path.
Counterfactual simulation is realized by swapping the context embedding to an “offensive” or “defensive” embedding and then re-sampling. According to the description, this shifts the learned diffusion vector field and yields rollouts with systematically higher expected threat under offense or more compact spatial structures under defense. This operationalizes tactical “what-if” analysis in a generative setting rather than through deterministic perturbation.
A frequent misunderstanding in tactical simulation is to treat conditioning as a simple metadata tag. In GenTac, conditioning is part of the denoising dynamics themselves, so style, opposition, and objectives influence the geometry of generated futures rather than merely labeling outputs.
5. Evaluation on TacBench
Evaluation is organized around geometric accuracy, collective structural consistency, and tactical outcomes. Geometric accuracy uses Average Displacement Error (ADE) and Final Displacement Error (FDE): 0
Collective structural metrics operate on team positions 1 with centroid 2. The reported metrics are stretch index, surface area, team width, team length, Frobenius norm, centroid displacement, and Kuramoto order 3. Errors are reported as the absolute deviation 4 from ground truth. Tactical outcome metrics use a precomputed EPV grid and include off-ball expected threat (OBET), depth/width threat, defensive disruption, and defensive dominant region.
The reported quantitative findings are as follows (Rao et al., 13 Apr 2026):
- Unconditioned forecasts with 4 s history and 0.2 s window achieve 5 m and 6 m.
- Opponent-conditioning reduces 7 to 8 m.
- Team-conditioning on Auckland FC preserves structural consistency; for example, surface area error drops by 9 at 5 s, at the expense of slight geometric loss.
- League-conditioning improves short-horizon ADE by up to 0 for A-League versus German leagues.
- Objective-conditioning steers OBET by 1, depth/width threat by 2 units, and defensive metrics in the expected direction.
- Event grounding from real trajectories reaches type@1 3 and subtype@1 4.
- Event forecasting via generated rollouts yields top-3 type recall 5 and top-5 subtype recall 6.
Taken together, these results support four capabilities highlighted in the paper: geometric fidelity with collective structural consistency, simulation of team and league style, controllable counterfactual tactical shifts, and anticipation of future tactical outcomes. The emphasis on structural metrics is significant because low displacement error alone does not establish that a team shape remains tactically coherent.
6. Transfer to other sports, limitations, and extensions
GenTac is reported to generalize to other dynamic team sports by adapting only 7 and the frame rate, with all other modeling choices remaining identical. The reported settings are basketball at 5 fps with 8, American football at 10 fps with 9, and ice hockey at 30 fps with 0. The corresponding opponent-conditioned values are 1 m for basketball, 2 m for American football, and 3 m for ice hockey (Rao et al., 13 Apr 2026).
The stated strengths are that GenTac captures the full distribution of plausible futures rather than only a mean trajectory, unifies continuous trajectories and discrete events in one framework, supports rich context including opponent, club style, league style, and strategic objectives, enables counterfactual “what-if” tactical simulations, and generalizes across ball sports with minimal adaptation. The stated limitations are dependence on high-fidelity tracking data, the low-dimensionality of context 4, forecast quality decline at very long horizons as with all autoregressive models, and the use of coarse tactical-objective labels. Proposed extensions include learning continuous latent objectives via inverse RL rather than discrete labels, incorporating real-time broadcast video input for on-the-fly trajectory forecasting, integrating player-specific latent skill embeddings or fatigue models, and extending to mixed continuous/discrete controls in robotics or traffic forecasting.
These limitations help delimit the method’s present scope. In particular, the explicit note that latent cognitive factors are unobserved restricts any interpretation of the model as a complete theory of tactical intent. The proposed extensions suggest a broader research direction in which multi-agent diffusion forecasting becomes a general-purpose tool for structured dynamical systems. In the paper’s own summary, GenTac pioneers a diffusion-based generative paradigm for decoding and guiding the stochastic, multi-agent choreography at the heart of soccer and related team sports (Rao et al., 13 Apr 2026).