Multi-task Learning for Joint Re-identification, Team Affiliation, and Role Classification for Sports Visual Tracking

Amir M. Mansourian, Vladimir Somers, Christophe De Vleeschouwer, Shohreh KasaeiarXiv 2024 · DOI

TL;DR

The authors present PRTreID, a unified multi-task learning framework that jointly tackles person re-identification (ReID), team affiliation, and role classification (e.g., player vs. referee) for sports tracking. By integrating these tasks into a single part-based representation model, they achieve state-of-the-art results on the SoccerNet-Tracking dataset, demonstrating that semantic context significantly enriches player embeddings.

What Problem Does This Paper Address?

Tracking players in team sports like soccer is notoriously difficult. Unlike tracking pedestrians on a sidewalk, soccer players exhibit non-linear, high-speed motion and are often occluded by one another. Most critically, players on the same team wear identical uniforms, making appearance-based re-identification (ReID) extremely prone to errors.

Existing methods often treat tracking, team classification, and role identification as separate problems. This is inefficient and misses a key opportunity: the fact that knowing a person's role (referee vs. player) or team affiliation provides vital constraints that should, in theory, make ReID easier. The authors aim to bridge this gap with a unified model that learns these features simultaneously.

Methods

The core of the paper is the PRTreID (Part-based Role classification Team affiliation and person re-IDentification) model.

  1. Part-Based Representation: Instead of extracting a single global feature vector for a player, the model uses an attention mechanism to segment the body into five parts: head, upper torso, lower torso, legs, and feet. This makes the model robust to partial occlusions (e.g., if only a player's legs are visible behind another player).
  2. Multi-Task Learning: The model is trained with three distinct objectives using a shared HRNet-W32 backbone:
  3. Re-Identification: Uses a "Global identity Local triplet" (GiLt) loss to ensure embeddings for the same individual are close together across different frames.
  4. Team Affiliation: Uses a triplet loss on the foreground embedding to cluster players of the same team together, even for teams not seen during training.
  5. Role Classification: Uses a focal loss to classify individuals into four categories: player, goalkeeper, referee, and staff.
  6. PRT-Track: The authors integrate PRTreID into the StrongSORT tracking framework. They replace standard global features with their part-based embeddings and introduce a new offline post-processing module that merges short tracklets based on part-based appearance similarity.
Figure 2: Diagram of the proposed PRTreID method. An input image is fed into a shared backbone, which outputs an embedding for each part of the body. The foreground mask is created by combining all parts embeddings. The re-identification objective is trained with triplet loss and cross entropy loss on the body parts embeddings. Additionally, team affiliation and role classification objectives are trained with triplet loss and focal loss, respectively, on the foreground embedding. At inference time, the resulting multi-purpose embeddings can be utilized for person re-identification, team affiliation, and role classification tasks.

Datasets

  • SoccerNet-Tracking: A large-scale public dataset containing 100 soccer video clips with annotations for tracking, team, and role.
  • New ReID Dataset: The authors created a specialized ReID dataset by cropping objects from SoccerNet-Tracking. They used uniform sampling across frames to reduce redundancy, resulting in a benchmark with 1,352 training identities and 1,146 test identities.

Key Insights and Ideas

  • Synergy through Multi-Tasking: One of the most important findings is that training for team and role classification actually improves ReID performance. The additional semantic tasks force the model to learn richer, more discriminative features that a simple identity-based loss might miss.
  • Metric Learning for Teams: By formulating team affiliation as a metric learning problem (triplet loss) rather than a fixed classification task, the model can generalize to new teams it has never seen before by simply clustering embeddings in the feature space.
  • Part-Based Robustness: The attention maps (seen in Figure 4) show that the model successfully focuses on specific body regions. This is crucial in sports where players are frequently tangled; if the head is occluded, the model can still rely on the "legs" or "feet" embeddings to maintain the track.
Figure 4: Visualizations of two images from proposed ReID dataset and their attention maps of the foreground and each body part.

Key Results

The proposed PRT-Track method set a new state-of-the-art on the SoccerNet-Tracking challenge:

  • Tracking Accuracy: Achieved a HOTA of 90.77 using oracle detections, outperforming the previous best (CBIoU) at 89.20.
  • Embedding Quality: Qualitative t-SNE visualizations (Figure 3) demonstrate that multi-task training leads to much tighter and more distinct clusters for different teams compared to ReID-only training.
  • Ablation Studies: Adding team and role objectives improved the ReID mAP from 71.43 to 72.59, proving the benefits of the multi-task approach.
t-SNE plots show that multi-task training (right) produces much clearer team clusters than standard ReID training (left).

Limitations and Future Work

The authors note that their evaluation was limited to the SoccerNet dataset because few other open-source datasets provide the necessary joint annotations for ReID, team, and role.

A significant future direction is the integration of Jersey Number Recognition. In sports like ice hockey, where players wear bulky, identical gear that covers most of the body, appearance-based ReID is even harder. Adding a dedicated head for digit recognition could provide the final piece of the puzzle for perfectly distinguishing players in high-contact team sports.

Summary updated

BibTeX
@misc{mansourian2024multi,
  author = {Amir M. Mansourian and Vladimir Somers and Christophe De Vleeschouwer and Shohreh Kasaei},
  title = {{Multi-task Learning for Joint Re-identification, Team Affiliation, and Role Classification for Sports Visual Tracking}},
  year = {2024},
  eprint = {2401.09942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.09942},
}
Figure