Towards Discriminative Representation: Multi-view Trajectory Contrastive Learning for Online Multi-object Tracking

En Yu, Zhuoling Li, Shoudong HanOpenReview 2022

Abstract

Discriminative representation is crucial for the association step in multi-object tracking. Recent work mainly utilizes features in single or neighboring frames for constructing metric loss and empowering networks to extract representation of targets. Although this strategy is effective, it fails to fully exploit the information contained in a whole trajectory. To this end, we propose a strategy, namely multi-view trajectory contrastive learning, in which each trajectory is represented as a center vector. By maintaining all the vectors in a dynamically updated memory bank, a trajectory-level contrastive loss is devised to explore the inter-frame information in the whole trajectories. Besides, in this strategy, each target is represented as multiple adaptively selected keypoints rather than a pre-defined anchor or center. This design allows the network to generate richer representation from multiple views of the same target, which can better characterize occluded objects. Additionally, in the inference stage, a similarity-guided feature fusion strategy is developed for further boosting the quality of the trajectory representation. Extensive experiments have been conducted on MOTChallenge to verify the effectiveness of the proposed techniques. The experimental results indicate that our method has surpassed preceding trackers and established new state-of-the-art performance.

Introduction

Multi-Object Tracking (MOT) involves identifying and tracking multiple objects across a video sequence, maintaining unique identities for each. The "association" phase—linking detections in the current frame to existing trajectories—is central to this task. Most contemporary trackers rely on appearance features extracted from single frames or adjacent frame pairs. While effective in clear conditions, these local features often fail during prolonged occlusions, fast motion, or significant lighting changes.

The core limitation of existing methods is their inability to leverage the holistic information contained within an object's entire trajectory. To address this, we introduce MTrack, a framework designed to learn discriminative representations by considering the full temporal history of an object rather than just its most recent appearance.

Methodology

MTrack introduces three primary innovations to enhance the robustness and discriminative power of object representations:

1. Multi-view Trajectory Contrastive Learning (MTCL)

Traditional contrastive learning in MOT typically involves comparing a detection to its appearance in a previous frame. MTrack evolves this by utilizing a Trajectory-center Memory Bank (TMB). This bank stores a representative vector (a "center") for every active trajectory in the training set. During training, a trajectory-level contrastive loss is applied, pulling an object's current feature toward its specific trajectory center while pushing it away from all other centers. This global comparison ensures that the model learns features that are unique across the entire dataset, not just between two frames.

2. Learnable View Sampling (LVS)

Standard trackers often extract features from the geometric center of a bounding box. However, the center point may be occluded or uninformative. MTrack employs Learnable View Sampling, which adaptively selects multiple informative keypoints on the target. By aggregating features from these multiple "views," the model creates a richer, more resilient representation. This is particularly effective for tracking partially occluded objects, where peripheral parts (like limbs or head) might remain visible even if the center is hidden.

3. Similarity-guided Feature Fusion (SGFF)

During online inference, the tracker must update its internal representation of an object as new frames arrive. Not all detections are of equal quality; a blurry or partially occluded detection can "poison" the trajectory's feature history. Similarity-guided Feature Fusion adaptively weights the contribution of new detections based on their similarity to the existing trajectory history. High-quality detections are given more weight, while low-similarity (potentially noisy) detections are suppressed, maintaining the purity of the trajectory representation.

Experimental Results

The proposed framework was evaluated on the MOTChallenge benchmarks, including MOT15, MOT16, MOT17, and the high-density MOT20 dataset.

Performance on MOTChallenge

MTrack established new state-of-the-art results across several metrics:

  • MOT20: In extremely crowded environments, MTrack achieved an IDF1 of 69.2% and a MOTA of 63.5%, significantly outperforming previous benchmarks like FairMOT.
  • MOT17: The model reached an IDF1 of 73.5%, representing a substantial improvement over the CenterTrack baseline (64.7%).

Qualitative Analysis

Visualization using t-SNE embeddings demonstrates that MTrack produces tighter clusters for individual identities and maintains larger margins between different objects compared to standard frame-based methods. This improved feature separation directly results in fewer Identity Switches (IDSW), a critical metric for tracking stability.

Discussion and Conclusion

The success of MTrack highlights the importance of moving beyond local, frame-to-frame association. By representing trajectories as unified entities in a memory bank and utilizing multi-view sampling, the model achieves a level of discriminative power that is robust to the common pitfalls of MOT, such as occlusion and motion blur.

While MTrack is highly effective, it remains a "tracking-by-detection" system, meaning its performance is partially capped by the accuracy of the initial object detector. Future work may involve tighter integration between the detection and association modules or extending the trajectory-level contrastive approach to other video-based tasks like action recognition or video person re-identification.

Summary updated

BibTeX
@misc{yu2022towards,
  author = {En Yu and Zhuoling Li and Shoudong Han},
  title = {{Towards Discriminative Representation: Multi-view Trajectory Contrastive Learning for Online Multi-object Tracking}},
  year = {2022},
  eprint = {2203.14208},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.14208},
  howpublished = {OpenReview},
}
Figure