TL;DR
This paper introduces a deep learning framework that analyzes team sports by looking at player trajectories rather than just video pixels. By applying 1D convolutional neural networks (CNNs) to raw $(x, y)$ coordinate data, the researchers successfully recognized specific game events (like passes and shots) and could even identify professional NBA teams with 95% accuracy based solely on how their players moved on the court.
Introduction: Beyond Video Pixels
Analyzing group activities in large spaces—like a hockey rink or a basketball court—is notoriously difficult. Standard computer vision techniques often rely on "action recognition" from video pixels (e.g., looking at the movement within a bounding box). However, sports broadcasts are often blurry due to fast motion, and pixels alone don't easily capture the "big picture" of how players interact across the field.
While player trajectories (the paths they take over time) are rich with intent and strategy, most previous research relied on "hand-crafted" features—mathematical descriptions designed by humans that might miss subtle patterns. The authors sought an "end-to-end" way to let a neural network learn these trajectory representations directly from raw coordinate data.
Methods
The authors propose two distinct architectures using 1D Temporal Convolutions, treating the $x$ and $y$ coordinates of players as separate signal channels over time.
1. Shared-Compare Trajectory Network
This model is designed for event recognition. It uses a "shared" network to extract features from every player's path. It then uses a "compare" network to look at pairs of players relative to a "key player" (the one with the ball/puck). This captures the interaction cues necessary to identify a pass or a block.
2. Stacked Trajectory Network
This model is designed for group dynamics. It "stacks" the trajectories of all players and the ball/puck into a single multi-channel input. This allows the network to see the entire team formation at once, making it ideal for identifying high-level team strategies or identities.
Datasets
The study utilizes two high-quality sports datasets:
- SPORTLOGiQ NHL Dataset: Contains trajectories and video from 8 professional hockey games. Trajectories were estimated from broadcast video using homography (mapping pixels to rink coordinates). It includes annotations for 6 event classes: pass, shot, carry, puck protection, and two types of "dump-ins."
- STATS SportVU NBA Dataset: A massive dataset of 1,076 games from the 2013-2014 season. This uses professional-grade optical tracking data (2D coordinates at 25Hz) for all 10 players and the ball.
Key Insights
- Trajectories as "Clean" Data: In fast-moving sports, video frames are often a mess of motion blur. Trajectories provide a low-dimensional, "clean" representation that bypasses visual noise while retaining the semantic essence of the play.
- The "DNA" of a Team: The most striking insight is that a team's tactical identity is embedded in their movement. The "Stacked" model could identify which NBA team was playing just by looking at a few seconds of their movement patterns, suggesting that teams have unique "spatio-temporal signatures."
- Relative vs. Absolute Motion: For events like passing, the relative motion between the passer and receiver is more important than where they are on the court. The "Shared-Compare" architecture explicitly models these pairwise relationships.
Key Results
- Event Recognition (NHL): The proposed model achieved a Mean Average Precision (mAP) of 39.54%, significantly outperforming the state-of-the-art hand-crafted trajectory features (IDT at 26.32%) and even beating deep learning models that use raw video pixels (C3D at 30.83%).
- Team Identification (NBA): Using the Stacked Trajectory Network, the researchers achieved 95.91% accuracy in identifying the correct NBA team by aggregating predictions over all possessions in a game.
- Visualizing Strategy: The filters learned by the CNNs showed recognizable patterns, such as "Z," "S," or "M" shaped movements, which act as the building blocks for complex plays like the "pick-and-pop."
Limitations and Future Work
- Dependency on Tracking: The system's performance is tethered to the quality of the input trajectories. If the underlying player tracker fails or the homography is inaccurate, the model's performance will degrade.
- Key Player Identification: The event recognition model performs better when it knows who the "key player" (puck carrier) is. Automating this detection more robustly is a suggested area for improvement.
- Generalization: While tested on hockey and basketball, the approach could potentially be applied to other domains like pedestrian traffic analysis or surveillance.
Summary updated