Abstract
While computer vision has made significant strides in identifying events as they occur in sports broadcasts, the ability to predict future actions remains a formidable challenge. This paper introduces the SoccerNet Ball Action Anticipation (SN-BAA) dataset, the first structured benchmark for action anticipation in professional football. Alongside this dataset, the authors propose FAANTRA (Football Action ANticipation TRAnsformer), a baseline model designed to forecast events such as passes, shots, and crosses up to 10 seconds before they happen. Our findings highlight the critical role of multi-task learning and spatial resolution in understanding the adversarial dynamics of professional sports.
Introduction
In the realm of sports analytics, most research has historically focused on "reactive" tasks: action recognition (classifying a pre-clipped video) or action spotting (locating an event within a long broadcast). While useful, these tasks provide the model with access to the very frames where the action is already unfolding.
The true "holy grail" for applications such as automated broadcasting, tactical analysis, and real-time player decision-support is anticipation. Anticipation requires a model to predict an event before it occurs, using only past visual context. This is exceptionally difficult in professional football, an adversarial environment where players intentionally disguise their movements to deceive opponents. Unlike scripted daily activities (e.g., cooking or assembly), football is spontaneous and high-stakes, making the visual cues preceding an action incredibly subtle.
The SN-BAA Dataset
To facilitate research in this domain, the authors introduce the SoccerNet Ball Action Anticipation (SN-BAA) dataset. Derived from the established SoccerNet Ball Action Spotting (SN-BAS) dataset, SN-BAA is tailored specifically for the predictive task.
- Scope: The dataset features professional broadcast footage covering 10 distinct action classes, including Pass, Drive, Header, Cross, and Shot.
- Temporal Structure: The task is defined by a Context Window ($T_c$) of 5 seconds (the observed past) and an Anticipation Window ($T_a$) of 5 or 10 seconds (the predicted future).
- Significance: SN-BAA represents the first large-scale effort to move anticipation research from the domestic sphere (e.g., Epic-Kitchens) into the complex, high-speed world of professional sports.
Methodology: The FAANTRA Model
The authors propose FAANTRA (Football Action ANticipation TRAnsformer) as a baseline architecture. The pipeline is structured into three distinct stages:
- Feature Extraction: The model utilizes a RegNetY backbone—an efficient 2D CNN—augmented with Gate-Shift-Fuse (GSF) modules. This combination allows the model to capture both fine-grained spatial details (such as the ball's position) and local temporal shifts across frames.
- Transformer Encoder-Decoder: The encoder processes the context window. Notably, the authors found that local self-attention (restricting tokens to neighboring frames) outperformed global attention, likely because it prioritizes the immediate temporal dynamics leading up to an event. The decoder then employs learnable "queries" to represent potential future actions.
- Prediction Head: Each query generates three outputs: an "actionness" score (the likelihood of an event occurring), a class probability (the type of event), and a precise future timestamp.
A pivotal component of the training process is multi-task learning. FAANTRA is trained not only to predict the future but also to perform an auxiliary segmentation task—identifying actions occurring within the current context window. This forces the model to develop a robust semantic understanding of the present game state as a foundation for its predictions.
Key Insights and Results
The model was evaluated using mAP@$\delta$, measuring mean Average Precision across various allowed temporal errors ($\delta$) ranging from 1 to 5 seconds.
The Importance of the "Present"
One of the most significant findings was the necessity of the auxiliary segmentation task. Removing this requirement led to a massive drop in performance, suggesting that a model cannot accurately forecast the future without a deep understanding of the current game state.
Resolution and Precision
In football broadcasts, critical entities like the ball often occupy only a few pixels. The research demonstrated that reducing spatial resolution by half resulted in a 5-point drop in mAP, confirming that high resolution is non-negotiable for capturing the subtle cues of anticipation. Furthermore, while the model is relatively successful at predicting that an action will occur (mAP@$\infty$), it struggles with when it will occur (mAP@1s). Temporal localization remains the primary bottleneck for current anticipation models.
The Performance Gap
There remains a significant performance gap between anticipation and spotting. While state-of-the-art spotting models (which see the event) achieve ~63.85 mAP, FAANTRA achieves an average mAP of 24.08 for a 5-second anticipation window. As the window increases to 10 seconds, performance degrades further as the number of possible game trajectories multiplies.
Conclusion and Future Work
FAANTRA and the SN-BAA dataset establish a new frontier for sports AI. However, several challenges remain. The model currently struggles with the "long tail" of rare but high-impact events, such as shots or successful tackles. Future iterations may benefit from addressing data imbalance and improving temporal regression for more precise timestamps. Additionally, incorporating multimodal inputs—such as player tracking data or audio cues like crowd noise—could provide the additional context needed to bridge the gap between human-level intuition and machine-level prediction.
Summary updated