Introduction
Text-based video segmentation aims to generate precise masks for objects described by natural language queries, such as "the guy in all black kicking a ball." Traditional methods often adopt a "bottom-up" approach, attempting to fuse linguistic features with image pixels within local receptive fields. However, these methods frequently struggle with the high-level relational context—spatial, semantic, and temporal—inherent in human language, leading to noisy or ambiguous results.
The "Claw Crane" Paradigm
ClawCraneNet addresses these limitations by shifting to a "top-down" retrieval strategy. Instead of pixel-level classification, it treats the task as identifying and "grabbing" the correct object from a set of candidates, much like a claw crane machine. This approach moves away from local pixel fusion toward global object reasoning.
Methodology
The ClawCraneNet architecture is designed to mimic human cognition: perceive entities first, then parse their relations. The pipeline consists of several key stages:
1. Candidate Generation
The process begins by identifying all potential object candidates in every frame using an off-the-shelf instance segmentation module (e.g., CondInst). This establishes the discrete "objects" the model will reason about, effectively filtering out background noise early in the process.
2. Relational Modules
To disambiguate the target object from other candidates, the model employs three specialized modules:
- Positional Relation Module (PRM): Encodes absolute coordinates and relative rankings (e.g., "second from the left") to handle spatial queries.
- Text-guided Semantic Relation Module (TSRM): Acts as the system's "brain," using the text query to emphasize relevant object interactions. For a query involving "kicking," it learns to focus on the relationship between a "person" candidate and a "ball" candidate.
- Temporal Relation Module (TRM): Ensures consistency by linking objects across frames into "tracks" using a tracking-based strategy (Hungarian algorithm) based on visual similarity and mask overlap.
3. Retrieval
Finally, the model calculates a matching score between the linguistic embedding and the visual embeddings of the generated object tracks to select the best referent described by the user.
Experimental Results
ClawCraneNet was evaluated on the A2D Sentences and J-HMDB Sentences benchmarks, achieving state-of-the-art (SOTA) performance across multiple metrics.
- Accuracy: On A2D Sentences, it reached a 70.4% [email protected] and a 59.9% Mean IoU, representing a significant absolute improvement (approx. 7%) over previous SOTA methods.
- Efficiency: Despite its multi-stage approach, the model operates at 9.27 FPS, nearly doubling the speed of several recent bottom-up competitors (e.g., Ning et al. at 5.42 FPS).
- Robustness: When trained on A2D and tested on J-HMDB without fine-tuning, ClawCraneNet maintained its lead, demonstrating strong generalization capabilities through object-level reasoning.
Conclusion and Future Work
By reframing video segmentation as an object-level retrieval problem, ClawCraneNet effectively captures the complex relationships described in natural language. While highly effective, the model's performance is currently bounded by the quality of the initial object detector. Future work may focus on improving sensitivity to small objects and handling extreme visual ambiguities like high-speed motion or reflections that can disrupt object tracking.
Summary updated