Abstract
Multiple Object Tracking (MOT) has traditionally been constrained by the need for massive, human-labeled video datasets, which are expensive to produce and often fail to generalize to new domains. We introduce MASA (Matching Anything by Segmenting Anything), a universal framework that enables foundation models to track any object without requiring labeled video data. By leveraging the Segment Anything Model (SAM) on unlabeled static images, MASA learns to match object "fingerprints" across different views. Our approach achieves state-of-the-art zero-shot tracking performance and significant speedups over existing methods.
Introduction
The core challenge of Multiple Object Tracking lies in two distinct tasks: detection and association. While universal detectors have made significant strides, association remains largely domain-specific. A tracker optimized for urban traffic often fails in specialized environments like microscopy or animation. This lack of robustness stems from the data bottleneck; labeling every object in every frame of a video is a Herculean task. MASA addresses this by asking: Can we learn how to match objects using only unlabeled static images?
Methodology
The MASA pipeline is built on the realization that video-like changes can be simulated using static images and strong data augmentations.
Self-Supervised Correspondence
The framework takes an unlabeled image and applies two different sets of strong transformations (e.g., rotations, color shifts) to create two distinct "views." Because these transformations are known, pixel-level correspondence is automatically established.
SAM-Guided Learning
MASA uses the Segment Anything Model (SAM) to generate exhaustive object masks for these images. By combining these masks with pixel-level correspondence, the system automatically determines which object region in View A matches which region in View B. This allows the model to learn a universal similarity space that distinguishes between multiple similar-looking objects in the same scene.
The MASA Adapter
Instead of training a tracker from scratch, MASA employs a lightweight "universal adapter" plugged into frozen backbones (like SAM or Detic). This adapter uses Dynamic Feature Fusion to aggregate multi-scale information, making features more discriminative for tracking. Furthermore, SAM’s knowledge is distilled into a standard RCNN-based detection head, allowing for proposal generation that is roughly 10x faster than SAM’s original point-sampling method.
Experimental Results
MASA was trained on a 500k subset of the SA-1B dataset and evaluated across diverse benchmarks including TAO, BDD100K, UVO, and YouTube-VIS.
Zero-Shot Performance
On the TAO TETA benchmark, MASA (with a Detic backbone) achieved a score of 46.3, significantly outperforming the previous state-of-the-art fully supervised method, TETer (34.6). This demonstrates that learning from static images can lead to better generalization than training on limited video sequences.
Efficiency and Cross-Domain Mastery
As shown in the quantitative analysis, MASA provides a substantial speedup over SAM's "everything mode" while maintaining or improving segmentation quality. The model successfully tracked objects in domains entirely absent from its training set, such as complex underwater scenes and animated films, purely through zero-shot association.
Conclusion and Future Work
MASA demonstrates that robust object tracking can be learned without labeled video data by leveraging the rich priors of foundation models like SAM. While highly effective, the system remains dependent on the underlying detector's performance and currently lacks sophisticated long-term memory for handling extended occlusions. Future research will focus on improving temporal consistency and developing advanced re-identification strategies for long-term tracking.
Summary updated