Action Anticipation from SoccerNet Football Video Broadcasts

Mohamad Dalal, Artur Xarles, Anthony Cioppa, Silvio Giancola, Marc Van Droogenbroeck, Bernard Ghanem, Albert Clapés, Sergio Escalera, Thomas B. Moeslund

TL;DR

This paper introduces the novel task of action anticipation in professional football broadcasts, requiring AI models to predict and precisely localize future events (like passes or shots) 5 to 10 seconds before they happen using only past video context. The authors release the SoccerNet Ball Action Anticipation (SN-BAA) dataset as a benchmark and propose FAANTRA, a transformer-based baseline that demonstrates the feasibility—and extreme difficulty—of forecasting highly spontaneous sports events.

What Problem Does This Paper Address?

While computer vision has made massive strides in sports analytics for tasks like action recognition (classifying what happened) and action spotting (localizing when an event occurred given the full video), action anticipation remains largely unchartered territory.

Anticipating actions in sports is uniquely challenging compared to standard action anticipation datasets (which usually focus on highly structured, predictable daily activities like cooking). Football is fast-paced, adversarial, and highly spontaneous; players actively try to deceive their opponents, making future actions incredibly difficult to forecast from video alone. Solving this problem could revolutionize automated broadcasting (allowing cameras to proactively track a unfolding play), enhance tactical analysis for coaches, and power real-time decision-support systems for athletes.

Figure 1. Overview of our new action anticipation task for sports. Action anticipation aims to predict and temporally local- ize future actions in an anticipation window of Ta seconds using information from a preceding observed context window of Tc sec- onds. Unlike action spotting, where models can access the entire video sequence to detect actions, action anticipation requires pre- dicting future events without access to future frames.

Methods

The authors propose the Football Action ANticipation TRAnsformer (FAANTRA), which adapts the state-of-the-art Future Transformer (FUTR) framework for the sports domain.

FAANTRA consists of three main components:

  1. Feature Extractor: An end-to-end trained RegNetY 2D backbone enhanced with Gate-Shift-Fuse (GSF) modules to capture local spatial-temporal features from the observed context window ($T_c$).
  2. Transformer Encoder-Decoder: The encoder processes the video features using local self-attention (restricting tokens to a neighborhood of $k$ frames) rather than global attention to enforce a temporal locality bias. The decoder takes a set of learnable queries to reason about potential future actions.
  3. Prediction Head (Q-Act): A query-based head that outputs three parallel predictions for each query: an "actionness" score (whether an action occurs), the action class, and the precise relative timestamp within the future anticipation window ($T_a$).

Crucially, the model is trained via multi-task learning. Alongside the anticipation loss, it uses an auxiliary action segmentation task (AST) to force the encoder to classify actions occurring within the past context window, which helps the model learn the underlying semantics of the game.

Figure 2. FAANTRA Architecture Overview. FAANTRA processes context video frames by extracting per-frame representations through a backbone (BB). These features are fed into a transformer encoder to capture temporal dependencies. A set of learnable queries, repre- senting action predictions, are initialized in the transformer decoder and refined through multiple layers, leveraging information from the encoder. Each refined query is then processed by a prediction head (PH) to output three components representing the anticipated actions: action detection (i.e., actionness), action class, and temporal position.

Datasets

The primary benchmark introduced is the SoccerNet Ball Action Anticipation (SN-BAA) dataset, derived from the popular SoccerNet Ball Action Spotting dataset.

  • It contains 11.4 hours of video across professional football matches.
  • It features 10 distinct ball-related action classes (rare events like goals and free-kicks were removed to ensure metric stability).
  • Compared to existing action anticipation datasets (like EpicKitchens or Ego4D), SN-BAA is characterized by its "Very High" spontaneity, making it a much more volatile and challenging benchmark.

To boost performance, the authors also leverage the original SoccerNet Action Spotting (SN-AS) dataset (500 additional games) for joint training.

Key Insights and Ideas

  • The Past Has a Expiration Date: Performance plateaus or slightly declines when the context window ($T_c$) is extended beyond 5 seconds. In a sport as fast-moving as football, distant history adds little predictive value and mostly introduces redundant noise.
  • Locality Bias Wins: Using local self-attention in the transformer encoder outperforms global self-attention. Forcing the model to focus on localized temporal neighborhoods first allows it to build better hierarchical representations of game dynamics.
  • You Must Understand the Present to Predict the Future: The auxiliary action segmentation task is absolutely vital. Removing it caused the model's average performance to plummet from 20.30 mAP to 7.13 mAP. If the network cannot accurately parse what just happened, it has no hope of guessing what happens next.
  • Spontaneity is the Enemy of Accuracy: Models excel at predicting frequent, structurally continuous actions like passes and drives. However, highly spontaneous, reactive actions like shots, ball-player blocks, or successful tackles remain incredibly difficult to anticipate.

Key Results

The authors evaluated the models using a modified mean Average Precision metric ($\text{mAP}@\delta$), where $\delta$ represents the allowed temporal tolerance in seconds.

  • Baseline Performance: FAANTRA (using a 400MF backbone trained jointly on SN-BAA and SN-AS) achieved an average $\text{mAP}$ of 24.08% for a 5-second anticipation window ($T_a = 5$).
  • The Horizon Penalty: Extending the anticipation window to 10 seconds dropped the average performance to 19.90%, illustrating how quickly predictability decays over time.
  • The Upper Bound Gap: To show how difficult anticipation is, the authors compared FAANTRA to a state-of-the-art action spotting model (T-DEED) given full access to the future frames. T-DEED achieved 63.85% mAP, revealing a massive performance gap that highlights how much room for improvement remains for true predictive models.
Main results comparing FAANTRA against the T-DEED upper bound.

Limitations and Future Work

The primary limitation of FAANTRA is its struggle with rare and highly adversarial actions (e.g., shots and tackles), where visual cues are sudden and brief. Furthermore, precise temporal localization within the future window remains a major hurdle.

The authors suggest that future work should focus on developing architectures better suited for long-tail distributions, improving the localization components of query-based models, and exploring multi-modal approaches (such as integrating player tracking data or audio commentary) to better capture player intent.

Summary updated

BibTeX
@inproceedings{dalal2025action,
  author = {Mohamad Dalal and Artur Xarles and Anthony Cioppa and Silvio Giancola and Marc Van Droogenbroeck and Bernard Ghanem and Albert Clapés and Sergio Escalera and Thomas B. Moeslund},
  title = {{Action Anticipation from SoccerNet Football Video Broadcasts}},
  booktitle = {Workshops @ CVPR},
  year = {2025},
}
Figure