A Unified Object Motion and Affinity Model for Online Multi-Object Tracking

Junbo Yin, Wenguan Wang, Qinghao Meng, Ruigang Yang, Jianbing Shen

Introduction

Multi-Object Tracking (MOT) is a fundamental computer vision task that involves following multiple targets across video sequences. Conventional "online" trackers typically separate this problem into two distinct components: motion models, which predict target localization in subsequent frames, and affinity models, which use re-identification (Re-ID) to associate tracklets with new detections. However, maintaining two separate deep networks is computationally expensive and leads to redundant feature extraction.

This paper introduces UMA (Unified Motion and Affinity), a framework that streamlines online MOT by merging motion prediction and object association into a single, efficient triplet network. By utilizing multi-task learning and a novel task-specific attention module, UMA achieves state-of-the-art performance while maintaining a significantly smaller footprint (~30MB) compared to traditional multi-model pipelines.

The UMA Framework

The core of UMA is a unified triplet architecture designed to handle both localization and identity association simultaneously. The network consists of three weight-sharing branches: an anchor (the target template), a positive instance (the same target in a different frame), and a negative instance (a different target).

The UMA triplet network architecture for multi-task learning.

To optimize this architecture, the authors employ multi-task learning with a combined loss function. This includes a standard Single Object Tracking (SOT) loss for motion prediction, alongside N-pair and Identification losses to ensure that the extracted features are sufficiently discriminative to distinguish between different individuals.

Task-Specific Attention (TSA)

A key challenge in unifying motion and affinity models is that the two tasks prioritize different information: motion prediction requires spatial context for localization, while affinity association relies on fine-grained local features for identity. To address this, the authors developed the Task-Specific Attention (TSA) module.

The Task-Specific Attention (TSA) module for feature re-weighting.

The TSA module uses a lightweight Squeeze-and-Excitation mechanism to adaptively re-weight feature channels. By "tuning" the shared backbone features specifically for either the SOT or the affinity task, the same 256-dimensional feature vector can effectively serve both objectives without requiring a larger, more complex network.

Key Results and Efficiency

UMA was evaluated on the MOT16 and MOT17 benchmarks, proving to be a top-tier performer among online trackers. On MOT17, it achieved a 53.1 MOTA (Multiple Object Tracking Accuracy) and a 54.4 IDF1 (Identity F1 score), outperforming many complex offline and online methods.

Beyond accuracy, UMA's primary advantage is its efficiency. By unifying the models, the framework reduces the total model size to roughly 30MB, whereas competing state-of-the-art methods often exceed 270MB. It operates at approximately 5.0 FPS on a standard GPU, making it significantly faster than many competitors and more suitable for deployment in resource-constrained environments.

Conclusion

UMA demonstrates that motion and identity features can be learned synergistically within a single network. Through the use of the TSA module and metric learning, the model achieves high discriminative power and localization accuracy with a fraction of the parameters required by traditional dual-model systems. Future work may involve integrating the object detector directly into the network to create a true "one-shot" tracking solution.

Summary updated

BibTeX
@inproceedings{yin2020unified,
  author = {Junbo Yin and Wenguan Wang and Qinghao Meng and Ruigang Yang and Jianbing Shen},
  title = {{A Unified Object Motion and Affinity Model for Online Multi-Object Tracking}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00680},
}
Figure