TL;DR
ViewSAM is the first weakly supervised framework for Cross-view Referring Multi-Object Tracking (CRMOT), a task that tracks language-specified objects across multiple cameras. By repurposing foundation models as pseudo-label generators and introducing view-aware cross-modal semantics, ViewSAM eliminates the need for expensive frame-level spatial and identity annotations while achieving state-of-the-art performance.
What Problem Does This Paper Address?
Imagine trying to track a specific person—say, "a man wearing a black coat and black trousers"—across a network of security cameras in a crowded plaza. This task is known as Cross-view Referring Multi-Object Tracking (CRMOT). To train models to do this accurately, existing methods rely heavily on massive datasets annotated with dense, frame-level bounding boxes, language descriptions, and cross-camera identity links. Collecting these annotations is incredibly expensive and scales poorly to real-world applications like autonomous driving or smart city surveillance.
To bypass this bottleneck, researchers have looked toward vision foundation models like SAM2 and SAM3. However, as shown in Figure 1, these models suffer from severe limitations when applied directly to CRMOT: they struggle to understand complex referring expressions, easily drift to visual distractors under occlusion (tracking bias), and fail to maintain consistent global identities across different camera viewpoints due to drastic changes in lighting, angles, and object appearance.
This paper introduces a weakly supervised paradigm (WSCRMOT) that requires only coarse-grained object category labels (e.g., "man") and raw multi-view videos during training, completely eliminating the need for manual spatial or cross-view identity annotations.
Methods
The authors propose a two-stage framework that cleverly separates label generation from robust model training:
Stage 1: Pseudo-Label Generation
Instead of using foundation models to track directly, the authors repurpose them as high-quality pseudo-label generators:
- Affinity-guided Cross-view Re-prompting: The system first uses SAM3 to generate single-view tracklets based on generic category labels. It then calculates cross-view cosine similarities to link these tracklets across cameras, creates an aggregated identity prototype, and uses this prototype to bidirectionally re-prompt SAM3 to refine the trajectories and eliminate noise.
- LLM-driven Grouping: A multimodal large language model (Qwen3-VL-8B) generates detailed attribute descriptions for the refined trajectories. Trajectories with highly similar descriptions are grouped under a single referring expression, forming the final pseudo-labels.
Stage 2: The ViewSAM Model
Built on top of a frozen SAM2 base, ViewSAM introduces three lightweight, trainable modules (adding only ~10% extra parameters) to handle view variations explicitly:
- View-conditioned Cross-modal Alignment (VC-CMA): Rather than trying to force the model to ignore viewpoint changes, ViewSAM treats them as learnable conditions. It introduces a dynamic View Token that captures view-specific visual contexts and modulates how the text and image features interact.
- Bias-aware Recalibration (BAR): To combat tracking drift, this module compares the standard memory-guided (potentially biased) tracking features with a memory-free branch (unbiased, current-frame only). If it detects a discrepancy (indicating the tracker has drifted to a distractor), it adaptively recalibrates the prediction.
- Consistency-guided Cross-view Tracking (CGCT) Head: This module projects tracklets into a view-invariant embedding space using a two-level loss function: intra-consistency (ensuring temporal smoothness within a single view) and inter-consistency (aligning view-specific features to a global identity prototype).
The complete architecture pipeline is illustrated in Figure 3.
Datasets
The framework was evaluated on the CRTrack benchmark, the standard dataset for cross-view referring multi-object tracking.
- In-domain evaluation was performed on the Circle, Gate2, and Side splits.
- Cross-domain evaluation tested the model's generalization on unseen environments: Garden1, Garden2, and ParkingLot.
- Additionally, the VC-CMA and BAR modules were pre-trained on the single-view Ref-YoutubeVOS dataset before being fine-tuned on the generated pseudo-labels.
Key Insights and Ideas
- Foundation Models as Generators, Not Solvers: Foundation models like SAM2/3 are exceptional at localized tracking but poor at global semantic consistency. The key insight is to use them to bootstrap training data rather than relying on them for zero-shot inference.
- Embracing View Variance: Traditional cross-view tracking often tries to project features into a completely view-agnostic space immediately. ViewSAM argues that modeling view-induced variations as explicit, learnable semantic conditions (via the dynamic View Token) bridges the cross-modal gap much more effectively.
- Sanity-Checking Memory: While temporal memory loops (like those in SAM2) are vital for smooth tracking, they act as an echo chamber for errors. Introducing a memory-free parallel branch provides an effective "sanity check" to catch and correct tracking drift.
Key Results
ViewSAM achieves state-of-the-art performance under weak supervision and remains highly competitive with fully supervised methods:
- In-Domain Superiority: On the CRTrack benchmark, ViewSAM achieved a Cross-view Referring IDF1 (CVR-IDF1) of 38.80 and a Matching Accuracy (CVR-MA) of 26.95, significantly outperforming the previous weakly supervised baseline, CRTracker (33.06 CVR-IDF1 / 21.40 CVR-MA).
- Cross-Domain Generalization: In zero-shot cross-domain transfers, ViewSAM outperformed weakly supervised CRTracker by +3.36 in CVR-IDF1 and +3.55 in CVR-MA, proving that its view-aware semantics generalize well to entirely new environments.
- Efficiency: The model achieves these results while keeping the massive SAM2 backbone frozen, training only roughly 10% additional parameters.
Limitations and Future Work
Despite its strong performance, the authors note a few limitations:
- Error Propagation: Because Stage 2 relies entirely on the pseudo-labels generated in Stage 1, any initial tracking errors made by SAM3 or misalignments across views can propagate downstream and degrade final model performance, particularly in highly crowded scenes.
- System Complexity: The pipeline relies on a complex stack of external components, including SAM3, off-the-shelf ReID models, and MLLMs, which increases overall computational overhead during data preparation.
- Complex Language Grounding: ViewSAM still faces challenges when dealing with highly ambiguous text descriptions or intricate multi-object interactions, leaving room for future improvements in temporal and linguistic reasoning.
Summary updated