Self-Supervised Multi-Object Tracking with Path Consistency

Zijia Lu, Bing Shuai, Yanbei Chen, Zhenlin Xu, Davide Modolo

Abstract

In this paper, we propose a novel concept of path consistency to learn robust object matching without using manual object identity supervision. Our key idea is that, to track an object through frames, we can obtain multiple different association results from a model by varying the frames it can observe, i.e., skipping frames in observation. As the differences in observations do not alter the identities of objects, the obtained association results should be consistent. Based on this rationale, we generate multiple observation paths, each specifying a different set of frames to be skipped, and formulate the Path Consistency Loss that enforces the association results are consistent across different observation paths. We use the proposed loss to train our object matching model with only self-supervision. By extensive experiments on three tracking datasets (MOT17, PersonPath22, KITTI), we demonstrate that our method outperforms existing unsupervised methods with consistent margins on various evaluation metrics, and even achieves performance close to supervised methods.

Introduction

Multi-Object Tracking (MOT) is a cornerstone of computer vision, essential for applications ranging from autonomous driving to wildlife monitoring. Traditionally, training these models requires massive amounts of human-annotated data—specifically, unique IDs for every object across every frame. Labeling a single minute of crowded video can take hours, creating a significant bottleneck for scaling MOT systems.

Most MOT systems follow the "tracking-by-detection" paradigm: first, detect objects in every frame, then link them across time. Existing unsupervised methods generally rely on pseudo-labeling (using simple motion models to guess IDs) or temporal consistency (cycle-consistency between adjacent frames). However, these methods often fail during long-range occlusions where appearance changes significantly or objects disappear for many frames. This paper introduces Path Consistency, a self-supervised learning signal that trains models to bridge these temporal gaps without manual labels.

Methodology: The Path Consistency Framework

The core innovation is the Path Consistency Loss (PCL). The fundamental insight is that an object's identity remains the same regardless of which intermediate frames are observed during the tracking process.

The Path Concept

Consider tracking an object from a start frame to an end frame. We can define multiple "paths" by varying the intermediate observations:

  • Path 1: Observes every frame in the sequence.
  • Path 2: Skips certain intermediate frames.
  • Path 3: Skips even more frames, observing only the start and end.
The concept of path consistency: association results should remain identical regardless of which intermediate frames are skipped.

The final association result—identifying which candidate in the end frame matches the query object from the start frame—should be consistent across all these paths. By intentionally "blinding" the model to intermediate frames in some paths, we force it to learn high-level appearance features rather than relying solely on simple spatial proximity.

Training Pipeline and Loss Functions

As shown in the pipeline below, the model first uses an off-the-shelf detector to identify objects. It then samples query objects and generates multiple observation paths by randomly skipping frames. For each path, the model computes an Association Probability matrix.

The overall framework for learning path consistency, illustrating the sampling of query objects and the calculation of Path Consistency Loss across multiple observation paths.

The PCL minimizes the discrepancy between these different paths using KL Divergence. If Path 1 (full observation) identifies a match but Path 3 (sparse observation) is uncertain, the model is penalized. This encourages the model to develop features robust enough to maintain identity even across large temporal gaps. To prevent trivial solutions, the authors also incorporate a one-to-one matching loss and a bidirectional consistency loss (forward-backward matching).

Experiments and Results

The researchers evaluated their method on three major benchmarks: MOT17 (pedestrian tracking), PersonPath22 (large-scale crowded scenes), and KITTI (car tracking).

Key Performance Metrics

  • State-of-the-Art Unsupervised Performance: On MOT17, the method achieved a 65.0 HOTA (Higher Order Tracking Accuracy), outperforming the previous best unsupervised method (U2MOT) by 0.8%.
  • Closing the Gap with Supervised Methods: On the challenging PersonPath22 dataset, the method reached an IDF1 of 69.4. This performance is remarkably close to fully supervised benchmarks and significantly outperforms popular trackers like ByteTrack (66.8) and OC-SORT (68.2) in high-occlusion scenarios.
  • Robustness to Occlusion: In ablation studies with artificial occlusions of up to 60 frames, the path consistency approach maintained significantly higher accuracy than competitors, proving its efficacy for long-range re-identification.

Conclusion

This work represents a significant step toward label-free video understanding. By leveraging the inherent structure of video—the persistence of identity through time—Path Consistency provides a powerful supervision signal without human intervention. While the method currently relies on heuristic sampling and off-the-shelf detectors, it demonstrates that robust, long-range tracking can be achieved through self-supervised consistency alone. Future work may explore more advanced sampling strategies to further improve performance in highly complex scenes.

Summary updated

BibTeX
@inproceedings{lu2024self,
  author = {Zijia Lu and Bing Shuai and Yanbei Chen and Zhenlin Xu and Davide Modolo},
  title = {{Self-Supervised Multi-Object Tracking with Path Consistency}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=Q6N3yOtpIE},
}
Figure