TL;DR
Siamese-DETR introduces a streamlined approach to Template-Image-based Multi-Object Tracking (TIMOT) by natively embedding tracking logic into the object queries of a DETR architecture. By framing tracking as a query-propagation problem, it eliminates the need for complex data association algorithms and expensive vision-language pre-training, achieving state-of-the-art results using only standard static detection datasets like COCO.
What Problem Does This Paper Address?
Traditional Multi-Object Tracking (MOT) algorithms operate in a "closed-set" paradigm, meaning they are hardcoded to track specific, pre-defined categories like pedestrians or cars. To track arbitrary objects in the wild, researchers have turned to Generic MOT (GMOT). This is typically approached via Open-Vocabulary MOT (OVMOT, using text prompts) or Template-Image-based MOT (TIMOT, using an exemplar image of the target).
While OVMOT is flexible, it requires massive, computationally expensive vision-language models (e.g., CLIP) and laborious fine-grained annotations. On the other hand, existing TIMOT methods are cumbersome: they typically combine a Single Object Tracking (SOT) detector with a completely separate data association tracker (like SORT or DeepSORT). This multi-stage pipeline is complex, slow, and struggles to bridge the gap between single-object detection and multi-object tracking.
Methods
The authors propose Siamese-DETR, which unifies detection and tracking into a single end-to-end pass by leveraging the inherent power of transformer object queries.
The architecture relies on three core innovations:
- Multi-Scale Object Queries (MSOQ): Instead of using fixed, learned query contents, Siamese-DETR extracts hierarchical features from the provided template image using a shared backbone. These multi-scale features are mapped directly into the query contents, enabling the model to robustly detect target objects across a wide range of sizes.
- Tracking-by-Query (TbQ): Online tracking is simplified dramatically. Instead of running an independent data association algorithm (like the Hungarian algorithm) post-detection, the model feeds the tracked bounding boxes from the previous frame directly back into the transformer decoder as additional query boxes. Standard learned queries handle new or previously missed objects, while these tracked queries follow existing targets. The final association is resolved using simple Non-Maximum Suppression (NMS).
- Dynamic Matching Training Strategy (DMTS): To train the model without video data, the authors use standard static image detection datasets. For each training step, a category is randomly selected as the "template," turning a multi-class dataset into a dynamic two-category (positive/negative) task. Multiple templates are processed simultaneously using attention masks to maximize data efficiency.
Additionally, the authors introduce an Optimized Query Denoising strategy. Standard DETR query denoising introduces category noise that conflicts with the dynamic two-category setup. The authors optimize this by pairing all noisy query boxes strictly with positive template features to accurately mimic tracking scenarios on static images.
Datasets
- COCO: The primary dataset used for training (118K images, 80 categories).
- LVIS & Objects365: Used to analyze the impact of fine-grained annotations and larger data scales.
- GMOT-40: The main evaluation benchmark, consisting of 40 videos across 10 diverse categories (e.g., airplanes, balloons, insects).
- Urban Tracker: Used to evaluate multi-category tracking capabilities.
Key Insights and Ideas
- Tracking as Query Propagation: Passing previous bounding boxes as queries directly into the decoder bypasses the entire data association headache (motion models, appearance distance matrices, Hungarian matching).
- Negative Samples Matter: Instead of filtering datasets to keep only the target category during training, keeping other categories as explicit negative samples significantly boosts the model's discriminative power.
- Data Efficiency: By decoupling query content from query boxes, the model can be trained on standard static image datasets and generalize seamlessly to completely unseen categories at test time without needing video sequences for training.
Key Results
On the GMOT-40 benchmark, Siamese-DETR outperforms existing methods by a wide margin:
- When using a Swin-T backbone trained purely on COCO, Siamese-DETR achieved a MOTA of 35.9% and IDF1 of 42.8%, significantly outperforming the previous template-based baseline GlobalTrack + SORT (20.6% MOTA).
- It even beats sophisticated open-vocabulary methods like GLIP-T (B) + TbQ (27.5% MOTA) despite GLIP being pre-trained on massive vision-language datasets.
- Scaling up the backbone to Swin-B and training on Objects365 pushed the performance further to 50.0% MOTA and 51.3% IDF1.
Limitations and Future Work
- Appearance Blindness: The Tracking-by-Query mechanism relies heavily on spatial consistency (box locations) from frame to frame without explicitly modeling temporal appearance changes. This can lead to tracking failures or identity switches during severe, prolonged occlusions.
- Appearance Similarity Confusion: Because it is trained on a binary positive/negative task, the model can occasionally get confused and produce false positives if background objects look highly similar to the template image.
The authors suggest that future iterations could incorporate appearance-priors by pairing tracked boxes with instance-specific appearance features rather than just the generic category template features.
Summary updated