Introduction
Expected Goals (xG) has become the gold standard metric in soccer analytics for quantifying the quality of scoring opportunities. By assigning a probability to every shot based on historical data, analysts can evaluate player performance and team tactics beyond simple goal counts. However, traditional xG models suffer from a significant blind spot: they are "pose-blind." Most models rely on event data (e.g., shot location, distance to goal) or 2D tracking coordinates, treating players as dimensionless points.
This approach fails to account for the physical difficulty of a shot. A simple tap-in and a high-difficulty bicycle kick might occur at the same coordinates, yet their likelihood of success is vastly different. Skor-xG is the first framework to bridge this gap by integrating 3D player skeletons into xG estimation. By leveraging Graph Neural Networks (GNNs) to model precise body postures, Skor-xG captures the biomechanical context that traditional models overlook.
Methodology: Graph-Based Pose Modeling
The core of Skor-xG is a Graph Attention Network (GATv2) architecture designed to process spatiotemporal data. The model represents each shot as a complex graph that captures the relationships between players, their individual joints, and the ball.
Graph Construction
The graph is constructed using 21 individual body joints for every player in the vicinity of the shot, along with the ball. The edges are defined to capture four critical dimensions of the play:
- Biological Skeleton: Connections between joints (e.g., knee to ankle) to maintain human anatomical structure.
- Temporal Dynamics: Connections between the same joint across consecutive frames to capture the momentum and velocity of movement.
- Ball-Player Interaction: Edges connecting the ball to every player joint, modeling how players position themselves relative to the ball.
- Spatial Relationships: Connections between players via their pelvis nodes to model defensive positioning and pressure.
Data Augmentation: The Open Goal Transformation
A common challenge in soccer modeling is the scarcity of goal events. To improve the model's robustness, the authors introduced a novel Open Goal Transformation. By synthetically removing the goalkeeper from existing shot data, they created "open goal" scenarios. This forced the model to learn the characteristics of high-probability, low-difficulty chances, which are underrepresented in standard professional datasets.
Datasets and Experimental Setup
The study utilized a massive proprietary dataset from TRACAB, consisting of 3D skeleton tracking from 457 professional matches in the MLS and Bundesliga. This dataset includes 9,622 individual shots, each sampled at 25 frames per second. The authors compared Skor-xG against industry-standard baselines, including Logistic Regression and XGBoost models trained on features from fbref.com.
Key Insights and Discussion
The primary advantage of Skor-xG lies in its ability to treat pose as tactical context. Traditional models often overestimate the probability of goals for acrobatic or off-balance shots simply because the player is close to the goal.
As shown in the figure above, a traditional 2D model might assign an xG of 0.10 to a specific shot based on proximity. However, Skor-xG identifies the extreme body posture required for the side-volley and adjusts the probability down to 0.05, reflecting the true difficulty of the execution.
Furthermore, Skor-xG serves as a "What-If" engine for tactical simulation. Because the model relies on skeletons, analysts can manually adjust a goalkeeper's limb positions in a simulation to see how specific movements—like a wider stance or a quicker dive—impact the probability of a goal.
Results
Skor-xG outperformed all baselines across several key performance indicators:
- Brier Score: Achieved 0.0810, indicating higher overall predictive accuracy than Logistic Regression (0.0832) and XGBoost (0.0833).
- ROC-AUC: Reached 0.796, demonstrating a superior ability to distinguish between successful goals and misses.
- Calibration: The model showed exceptional reliability, with an Expected Calibration Error (ECE) of 0.0055—nearly half that of traditional methods (0.0098). This means the model's predicted probabilities align closely with actual outcomes.
- Ablation Study: A version of the model using only 2D pelvis positions (ignoring skeletons) performed significantly worse, confirming that fine-grained body pose is the primary driver of the performance gains.
Conclusion and Future Work
Skor-xG demonstrates that 3D skeleton data is essential for the next generation of soccer analytics. While data scarcity remains a challenge for deep learning in sports, the use of GNNs and targeted data augmentation provides a path forward. Future research may explore unsupervised pre-training on general player movement data or the use of Spatio-Temporal Transformers to further refine the modeling of multi-player interactions.
Summary updated