Abstract
Identifying individual players in broadcast sports video is a critical component of automated sports analytics. In ice hockey, this task is particularly challenging due to high-speed motion, frequent occlusions, and bulky equipment that masks physical characteristics. This paper presents a multi-task learning (MTL) framework that recognizes jersey numbers by simultaneously processing them as holistic units and individual digits. Using a ResNet-34 backbone, the proposed model achieves 89.6% accuracy on a new large-scale NHL dataset, demonstrating superior performance and regularization compared to single-strategy approaches.
Introduction
Ice hockey presents a "nightmare mode" for computer vision-based player identification. Unlike basketball or soccer, where facial features or body morphology can assist identification, hockey players wear helmets and identical team uniforms that obscure almost all biometric data. Consequently, jersey numbers serve as the primary reliable identifier. However, recognizing these numbers is notoriously difficult due to motion blur, jersey folding, and stick/player occlusions. This research addresses these challenges by moving beyond traditional single-classification or sequence-based methods, proposing instead a multi-task approach that leverages both global and local numerical features.
Methodology
The core of the proposed architecture is a ResNet-34 backbone used for feature extraction. The innovation lies in the branching output heads that process the extracted 512-dimensional features.
As shown in the architecture diagram, the network splits into three parallel heads:
- Holistic Head: Predicts the entire jersey number as a single class (81 possible labels).
- Digit 1 Head: Predicts the first digit (0-9 + null).
- Digit 2 Head: Predicts the second digit (0-9 + null).
The total loss ($L_{tot}$) is optimized as a weighted sum of cross-entropy losses from these three tasks: $$L_{tot} = \alpha L_{holistic} + \beta L_{digit1} + \gamma L_{digit2}$$
Ablation studies revealed that weighting the digit-wise loss more heavily ($\alpha=0.3, \beta=\gamma=0.35$) yielded the best results, as the holistic head serves primarily as a regularizer to maintain context during partial occlusions.
Dataset
A significant contribution of this study is the introduction of a new, large-scale dataset comprising 54,251 player bounding boxes extracted from 25 NHL games at 720p resolution. This dataset is substantially larger than previous benchmarks (e.g., Gerke et al. or Liu et al.) and captures real-world broadcast challenges. To ensure robust generalization, the data is split at the game level, preventing the model from over-fitting to specific lighting or camera configurations of a single arena.
Key Results and Discussion
The multi-task approach consistently outperformed single-task baselines across all metrics. The MTL model achieved an accuracy of 89.6% (91.2% F1 score), compared to 87.6% for a holistic-only model and 88.1% for a digit-wise-only model.
The performance gap, visualized in the validation accuracy plot, highlights how the combined representation helps the model navigate the complexities of the hockey environment. When tested against existing state-of-the-art models designed for soccer, the proposed MTL framework showed significantly higher resilience to the motion blur and fabric distortion inherent in hockey broadcasts.
Conclusion
By framing jersey number recognition as a multi-task learning problem, this research provides a robust solution for player identification in high-speed sports. The combination of holistic and digit-wise features allows the model to maintain accuracy even when numbers are partially obscured or distorted. Future work will focus on scaling the backbone architecture and addressing extreme viewpoints where jersey folds render numbers unrecognizable even to human observers.
Summary updated