QDTrack: Quasi-Dense Similarity Learning for Appearance-Only Multiple Object Tracking

Tobias Fischer, Thomas E. Huang, Jiangmiao Pang, Linlu Qiu, Haofeng Chen, Trevor Darrell, Fisher Yu

TL;DR

QDTrack (Quasi-Dense Tracking) shifts the focus of Multiple Object Tracking (MOT) from complex motion models to a highly discriminative, appearance-only feature space. By training on hundreds of "quasi-dense" regions per image pair using a multi-positive contrastive loss, it achieves state-of-the-art performance across diverse benchmarks, proving that robust appearance features can replace traditional motion priors.

What Problem Does This Paper Address?

Most contemporary MOT methods follow the "tracking-by-detection" paradigm, where objects are detected in each frame and then associated over time. To handle association, researchers typically rely on spatial proximity (like IoU between frames) or motion models (like Kalman filters).

However, these location-based priors are brittle. They fail when objects move non-linearly, when the camera shakes, or when the video frame rate is low. While appearance features are often used as a secondary cue, they are typically trained only on sparse ground-truth bounding boxes. This ignores the vast majority of informative regions in an image, resulting in a feature space that isn't discriminative enough to handle association on its own.

Methods

The core innovation is Quasi-Dense Similarity Learning. Instead of just matching ground-truth boxes, the authors sample hundreds of region proposals on a pair of images.

  1. Training Pipeline: As shown in Figure 1, the model extracts feature embeddings for these dense samples. It uses a Multi-Positive Contrastive Loss (an extension of InfoNCE) to ensure that all regions belonging to the same object are pulled together in the embedding space, while all other regions (including background and other objects) are pushed away. Training pipeline showing dense matching and embedding space optimization
Fig. 1: Training pipeline. After we extract feature embeddings for all quasi-dense samples on a pair of key and reference images, we apply dense matching between them and optimize the learned representation with multiple positive contrastive learning. The resulting embedding space effectively discriminates different instances.
  1. Inference Pipeline: During tracking, the model uses a bi-directional softmax similarity metric. This enforces a "mutual nearest neighbor" constraint: a detection in the current frame is only associated with a track if they are each other's best match. Inference pipeline showing bi-directional softmax and track management
Fig. 2: Inference pipeline. First, we extract object detections and their corresponding feature embeddings from the current frame. Next, we use bi-softmax to measure the instance similarity between all detections and matching candidates. Finally, we associate objects with a simple nearest neighbor search in the feature space and update our track history.
  1. Backdrops: The system maintains a set of "backdrops"—unmatched objects from previous frames. These act as hard negatives during inference, helping the model filter out false positives that might otherwise cause identity switches.
  2. Static Image Training: Surprisingly, the authors show that by using strong data augmentations (like MixUp and Mosaic) on static images, the model can learn effective similarity features without ever seeing a video during training.

Datasets

The authors evaluated QDTrack on a wide array of challenging benchmarks:

  • MOT17 & MOT20: Standard pedestrian tracking in crowded environments.
  • BDD100K: A large-scale, diverse driving dataset (100k videos).
  • Waymo Open Dataset: High-quality autonomous driving data.
  • DanceTrack: A dataset specifically designed to test tracking under complex motion where appearance is the primary cue.
  • TAO: A long-tail dataset with 482 different object categories.

Key Insights and Ideas

  • Density Matters: Moving from sparse ground-truth matching to quasi-dense sampling provides significantly more supervision. This allows the model to learn from "hard negatives" (regions that look like objects but aren't) and "multiple positives" (different crops of the same object).
  • Appearance is Sufficient: By learning a sufficiently discriminative feature space, QDTrack can perform association using a simple nearest-neighbor search, eliminating the need for complex displacement regression or motion priors.
  • Bi-directional Consistency: The bi-directional softmax is a powerful, simple trick to handle vanished objects and new entries. If an object doesn't have a clear "best friend" in the other frame that also considers it a "best friend," the association is rejected.
  • Robustness to Low FPS: Because it doesn't rely on spatial overlap, QDTrack is far more robust to low frame rates than motion-based competitors like ByteTrack or FairMOT. Ablation study showing QDTrack's stability at low frame rates compared to other methods
Fig. 3: Ablation study on video frame rate. We compare QDTrack to state-of-the-art tracking methods, namely ByteTrack [43] and FairMOT [47], on the MOT17 validation split at different video frame rates.

Key Results

  • BDD100K: Set a new state-of-the-art on this large-scale benchmark, outperforming previous methods by a significant margin (e.g., 42.4 mMOTA on the test set).
  • DanceTrack: Achieved highly competitive results (54.2 HOTA), proving its effectiveness in scenarios where motion is unpredictable.
  • Efficiency: The embedding head is extremely lightweight, adding only about 3ms (roughly 5%) to the total inference time of a standard detector like Faster R-CNN.
  • Ablation: The move from sparse to quasi-dense matching improved the Identification F1 (IDF1) score by 4.8 points on BDD100K.

Limitations and Future Work

  • Rapid Appearance Changes: The model still struggles when an object's appearance changes drastically and quickly, such as during severe partial occlusion.
  • Classification Errors: Since the model relies on discrete class labels to aid matching, errors in the detector's classification can lead to truncated tracks (e.g., a truck being misclassified as a car).
  • Localization Accuracy: Inaccurate bounding boxes can lead to "noisy" embeddings that include background pixels, making association harder.
  • Future Directions: The authors suggest that integrating temporal information directly into the detection stage could help smooth out classification and localization errors.

Summary updated

Abstract

Similarity learning has been recognized as a crucial step for object tracking. However, existing multiple object tracking methods only use sparse ground truth matching as the training objective, while ignoring the majority of the informative regions in images. In this paper, we present Quasi-Dense Similarity Learning, which densely samples hundreds of object regions on a pair of images for contrastive learning. We combine this similarity learning with multiple existing object detectors to build Quasi-Dense Tracking (QDTrack), which does not require displacement regression or motion priors. We find that the resulting distinctive feature space admits a simple nearest neighbor search at inference time for object association. In addition, we show that our similarity learning scheme is not limited to video data, but can learn effective instance similarity even from static input, enabling a competitive tracking performance without training on videos or using tracking supervision. We conduct extensive experiments on a wide variety of popular MOT benchmarks. We find that, despite its simplicity, QDTrack rivals the performance of state-of-the-art tracking methods on all benchmarks and sets a new state-of-the-art on the large-scale BDD100K MOT benchmark, while introducing negligible computational overhead to the detector.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
BDD100K · tracking test setQDTrack with YOLOX-XmMOTA42.4split: test · detector=YOLOX-X
Source quote
L593: On the test set, QDTrack with YOLOX-X achieves a high score of 42.4 mMOTA, 55.6 mIDF1, and 73.9 IDF1, outperforming all other methods by a significant margin.
BDD100K · tracking test setQDTrack with YOLOX-XmIDF155.6split: test · detector=YOLOX-X
Source quote
L593: On the test set, QDTrack with YOLOX-X achieves a high score of 42.4 mMOTA, 55.6 mIDF1, and 73.9 IDF1, outperforming all other methods by a significant margin.
BDD100K · tracking test setQDTrack with YOLOX-XIDF173.9split: test · detector=YOLOX-X
Source quote
L593: On the test set, QDTrack with YOLOX-X achieves a high score of 42.4 mMOTA, 55.6 mIDF1, and 73.9 IDF1, outperforming all other methods by a significant margin.
MOT17QDTrackHOTA63.5split: test · detector=YOLOX · detector-privacy=private
Source quote
L560: Notably, QDTrack obtains a high score of 63.5 HOTA on MOT17 and 60.0 HOTA on MOT20.
MOT20QDTrackHOTA60.0split: test · detector=YOLOX · detector-privacy=private
Source quote
L560: Notably, QDTrack obtains a high score of 63.5 HOTA on MOT17 and 60.0 HOTA on MOT20.
BDD100K · tracking validation setQDTrack (static-image training; image input, detection supervision)mMOTA36.3split: val · backbone=ResNet-50-FPN · training-data=static images
Source quote
L506: \checkmark │ \checkmark │ \checkmark │ 36.3 │ 48.0 │ 62.2 │ 67.8 │ 32.8
BibTeX
@article{fischer2023qdtrack,
  author = {Tobias Fischer and Thomas E. Huang and Jiangmiao Pang and Linlu Qiu and Haofeng Chen and Trevor Darrell and Fisher Yu},
  title = {{QDTrack: Quasi-Dense Similarity Learning for Appearance-Only Multiple Object Tracking}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2023.3301975},
}
Figure