Abstract
Multiple Object Tracking (MOT) is a complex task requiring the simultaneous localization of objects and the maintenance of their identities across time. While modern trackers perform well in controlled environments, they often suffer from catastrophic performance degradation when encountering domain shifts. This paper introduces DARTH, the first holistic test-time adaptation (TTA) framework designed specifically for MOT. DARTH adapts both detection and association components of the tracking pipeline using self-supervised consistency and a novel patch contrastive loss. By leveraging a teacher-student architecture, DARTH recovers significant tracking accuracy in diverse scenarios—including sim-to-real and contextual shifts—without requiring source data or target labels.
1. Introduction
Multiple Object Tracking (MOT) is fundamentally a "manifold" task: it necessitates a model that can both locate objects (detection) and maintain their identities over time (association). While deep learning models have reached high levels of maturity in these tasks, they remain brittle when deployed in the "wild." A tracker trained on synthetic, clear-weather data (Source) may fail entirely when deployed on real-world, rainy streets (Target) due to domain shift.
Existing Test-time Adaptation (TTA) methods—which update a pre-trained model on-the-fly using unlabeled target data—have focused almost exclusively on image classification or standalone object detection. However, in the context of MOT, detection and association are tightly coupled. Fixing one while ignoring the other is insufficient for robust tracking. DARTH (Detection and Association Robust Test-time Holistic adaptation) addresses this gap by providing a unified framework to adapt the entire tracking pipeline simultaneously.
2. Methodology
DARTH utilizes a Teacher-Student architecture to facilitate self-supervised learning. The "Student" model is updated via backpropagation, while the "Teacher" model is maintained as an Exponential Moving Average (EMA) of the student's weights. This setup provides stable pseudo-labels for the adaptation process. The framework introduces two primary novel components:
2.1 Detection Consistency (DC) Loss
To stabilize the detector against domain-specific noise, DARTH enforces consistency between the teacher and student outputs. The system applies different photometric augmentations (e.g., varying brightness, contrast, and saturation) to the same input frame. If the teacher identifies an object in the original image, the student is penalized if it fails to detect that same object in the augmented version. This process reduces "flickering"—the intermittent loss of detections—which is a primary cause of identity switches in tracking.
2.2 Patch Contrastive Learning (PCL)
Patch Contrastive Learning is the core of DARTH’s association adaptation. The model extracts Regions of Interest (RoI) or "patches" of detected objects. It then employs a contrastive loss to ensure that the appearance embedding for a specific object (e.g., a specific pedestrian) remains similar across different augmented views of the same frame, while remaining distinct from other objects in the scene. This helps the model learn domain-specific features that are crucial for distinguishing between similar-looking objects in the new environment, such as dancers in uniform or vehicles in low light.
3. Experimental Evaluation
The authors evaluated DARTH across several challenging domain shifts using a variety of datasets:
- SHIFT to BDD100K: A Sim-to-Real shift where a model trained on synthetic driving data is deployed on real-world streets.
- MOT17 to DanceTrack: A contextual shift where a model trained on standard pedestrian movement is tested on dancers with complex motion and high visual similarity.
- CrowdHuman: Used for pre-training robust source models to test if DARTH provides gains even for high-performing baselines.
3.1 Key Results
DARTH demonstrates substantial improvements over "No Adaptation" baselines and generic TTA methods:
- Sim-to-Real Recovery: In the SHIFT → BDD100K transition, the baseline model suffered a catastrophic failure with a MOTA (Multiple Object Tracking Accuracy) of -66.4. DARTH recovered this to a positive 8.3, representing a massive swing in practical usability.
- Association Accuracy: In the difficult DanceTrack environment, DARTH nearly doubled the Association Accuracy (AssA) compared to the non-adapted source model.
- Robustness to Strong Baselines: Even when starting with a high-quality source model pre-trained on CrowdHuman, DARTH provided significant gains (up to +4.0 DetA and +3.8 AssA), proving that it actively optimizes for the target domain rather than just correcting a broken model.
4. Discussion and Insights
A key finding of this research is that MOT components are highly interdependent. Adapting only the detector can actually degrade tracking performance if the association embeddings are not updated to match the new detection characteristics. DARTH proves that a holistic approach is mandatory for MOT.
Furthermore, the paper highlights the failure of standard TTA methods like Tent (entropy minimization) in the tracking context. Such methods can encourage the model to confidently predict incorrect bounding box locations, whereas DARTH’s consistency-based approach provides a more reliable self-supervisory signal by using the temporal and photometric consistency of video as a proxy for labels.
5. Limitations and Future Work
While DARTH represents a significant step forward, it has limitations. The current implementation is optimized for two-stage detectors (like Faster R-CNN). While adaptable to one-stage detectors, the primary evaluation remains centered on two-stage architectures. Additionally, TTA requires backpropagation during the inference phase, which introduces computational overhead. Future work may explore motion-based consistency across adjacent frames and methods to reduce the computational cost for real-time edge deployment in autonomous systems.
6. Conclusion
DARTH establishes a new baseline for Test-time Adaptation in Multiple Object Tracking. By treating detection and association as a unified problem and applying self-supervised consistency losses, it successfully bridges the gap between controlled training environments and the unpredictable nature of real-world deployment.
Summary updated