Sports Video Analysis on Large-Scale Data

Dekun Wu, He Zhao, Xingce Bao, Richard P. Wildes · DOI

Abstract

This paper investigates the modeling of automated machine description on sports video, which has seen much progress recently. Nevertheless, state-of-the-art approaches fall quite short of capturing how human experts analyze sports scenes. There are several major reasons: (1) The used dataset is collected from non-official providers, which naturally creates a gap between models trained on those datasets and real-world applications; (2) previously proposed methods require extensive annotation efforts (i.e., player and ball segmentation at pixel level) on localizing useful visual features to yield acceptable results; (3) very few public datasets are available. In this paper, we propose a novel large-scale NBA dataset for Sports Video Analysis (NSVA) with a focus on captioning, to address the above challenges. We also design a unified approach to process raw videos into a stack of meaningful features with minimum labelling efforts, showing that cross modeling on such features using a transformer architecture leads to strong performance. In addition, we demonstrate the broad application of NSVA by addressing two additional tasks, namely fine-grained sports action recognition and salient player identification.

Introduction

While general video captioning has seen significant advancements, sports video analysis remains a "boss level" challenge for AI. Existing models struggle due to data scarcity, generic descriptions that lack expert-level detail, and the high cost of pixel-level annotations. To bridge this gap, the authors introduce NSVA (NBA dataset for Sports Video Analysis), a massive new public benchmark of over 32,000 video clips paired with professional-grade captions.

The NSVA Dataset

The NSVA dataset is the cornerstone of this research, containing 32,019 video clips and 44,649 sentences derived from 132 NBA games. Unlike previous datasets like SVN or MSR-VTT, which often provide generic descriptions (e.g., "basketball player are playing basketball"), NSVA leverages official NBA play-by-play data to provide expert-level, identity-aware captions.

Overview of the NSVA dataset tasks compared to existing benchmarks.

The dataset supports three primary tasks:

  1. Captioning: Generating detailed descriptions (e.g., "Doncic three-point 26' jump-shot missed and DeAndre Ayton rebound").
  2. Action Recognition: Identifying fine-grained actions from a hierarchy of 172 categories.
  3. Identity Identification: Determining which specific players are involved in the play.

Methodology: A Unified Transformer Approach

The proposed framework uses a multi-level feature extraction pipeline feeding into a Cross-Encoder Transformer architecture.

  • Coarse Contextual Modeling: A TimeSformer captures the global temporal dynamics of the video.
  • Fine-Grained Object Modeling: Instead of expensive pixel-level masks, a YOLOv5 detector identifies the ball, basket, and players. The model specifically attends to "ball-player" interactions, filtering out irrelevant background players to reduce noise.
  • Position-Aware Module: To understand spatial context (e.g., the difference between a layup and a 3-pointer), a pix2pix network generates court-line segmentations. This provides a geometric map that helps the model learn the significance of the 3-point line and the paint.
  • Unified Decoding: These heterogeneous features—global context, player/ball crops, and court maps—are concatenated and processed by a transformer decoder to generate outputs for all three tasks.

Key Results and Insights

The NSVA-based model significantly outperforms existing baselines. In captioning, it achieved a CIDEr score of 1.139, nearly doubling the performance of the previous state-of-the-art (UniVL + S3D at 0.717). Ablation studies confirmed that each component—ball detection, basket detection, and position-awareness—contributed to the performance boost.

For action recognition, the model achieves 61.2% accuracy on coarse actions (e.g., "Shot"). However, the authors found that Identity Identification remains a significant bottleneck. The success rate for identifying the correct player was only 4.63%, highlighting the difficulty of tracking players through motion blur and jersey occlusions.

Conclusion and Future Work

The NSVA dataset and the unified transformer framework represent a major step toward expert-level sports video analysis. Future work will focus on improving player identification through better temporal tracking and exploring advanced video backbones like the Video Swin Transformer.

Code and dataset are available at https://github.com/jackwu502/NSVA.

Summary updated

BibTeX
@inproceedings{wu2022sports,
  author = {Dekun Wu and He Zhao and Xingce Bao and Richard P. Wildes},
  title = {{Sports Video Analysis on Large-Scale Data}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19836-6\_2},
}
Figure