Introduction
Most modern Multi-Object Tracking (MOT) systems are rigidly constrained to tracking specific object categories, such as pedestrians or vehicles. These systems typically rely on Re-Identification (ReID) models trained on massive, category-specific datasets. Consequently, tracking a new class—like animals in a wildlife documentary or parts on an assembly line—requires the costly process of curating a new dataset and retraining the model from scratch.
This paper introduces MOTS, a novel two-stage tracking system that leverages few-shot learning to track arbitrary, unseen object categories out-of-the-box. By combining a computationally efficient adaptive spatial matching module with a deep metric learning network, MOTS achieves competitive tracking performance across more than 31 categories without sacrificing real-time processing speeds.
System Architecture
The core challenge in general MOT is learning a discriminative feature comparison metric that generalizes beyond its training data. MOTS addresses this through a two-stage online tracking pipeline supported by intelligent trajectory management.
Stage 1: Self-Adaptive-Matching (SAM)
To maintain high efficiency, MOTS first attempts to associate targets using spatial overlap (Intersection over Union, or IOU). Unlike standard trackers that use a fixed IOU threshold, the SAM module calculates an adaptive basic IOU value for each target based on its motion history over the previous five frames. This adjustment accounts for varying target speeds and erratic camera movements, allowing "easy" targets to bypass the deep learning stage entirely.
Stage 2: Fine-Match Network
Targets that cannot be matched via spatial overlap—often due to occlusion or large gaps between frames—are passed to a few-shot learning network. The system formulates the association problem as an $M$-way 1-shot task.
As shown in the architecture above, an embedding module (based on ResNet-256) extracts deep features from both the current detections and the unmatched tracks. An association module, consisting of a 5-layer CNN, then calculates a similarity score to determine the best match.
MV-Aware Trajectories Deletion
To further optimize performance, the authors introduced a plug-and-play module that distinguishes between targets that are temporarily occluded and those that have exited the camera's field of view. By analyzing a target's velocity and its proximity to the image boundary, the system quickly deletes tracks that have naturally left the frame, preventing the Fine-Match Network from processing unnecessary data.
Datasets: TRACK-REID
Because standard few-shot learning datasets are designed for classification rather than identity tracking, the authors curated TRACK-REID. This comprehensive dataset includes cropped targets from 30 categories in ImageNet VID, realistic tracking conditions from OTB100, and several existing person and vehicle ReID datasets (such as MSMT17 and Market1501). The MOT16 dataset was specifically utilized to train and evaluate the adaptive IOU matching module.
Key Results and Performance
The integration of the Self-Adaptive matching and MV-Aware deletion modules significantly improved both accuracy and operational speed.
As detailed in the experimental results, the full MOTS configuration (B&SA&MA) increased the system's speed from 7.5 FPS to a real-time 26.4 FPS, while simultaneously boosting the Multiple Object Tracking Accuracy (MOTA) from 57.1% to 59.1%.
Beyond speed, the system demonstrated remarkable generalization. In tests where specific categories (e.g., Bus, Lion, Motorcycle) were entirely removed from the training set, the Fine-Match network successfully tracked these unseen classes with accuracies ranging from 81% to 91%. While specialized trackers like DeepSORT still hold a slight edge in their specific categories (e.g., pedestrians), MOTS provides a robust, general-purpose alternative capable of tracking over 31 distinct categories with a single model.
Conclusion
MOTS shifts the tracking paradigm from semantic recognition to similarity learning. By treating data association as a few-shot metric learning problem, the system learns how to compare objects rather than what specific objects look like. Future work will focus on refining the Fine-Match Network to further close the performance gap between general-purpose trackers and category-specific ReID systems.
Summary updated