ClawCraneNet: Leveraging Object-level Relation for Text-based Video Segmentation

Chen Liang, Yu Wu, Yawei Luo, Yi Yang

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.

Conceptual comparison between traditional bottom-up methods (a) and the proposed top-down ClawCraneNet (b).

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.
The ClawCraneNet architecture pipeline, featuring Object Feature Construction, the Text-guided Semantic Relation Module, and the Temporal Relation Module.

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

Abstract

Text-based video segmentation is a challenging task that segments out the natural language referred objects in videos. It essentially requires semantic comprehension and fine-grained video understanding. Existing methods introduce language representation into segmentation models in a bottom-up manner, which merely conducts vision-language interaction within local receptive fields of ConvNets. We argue that such interaction is not fulfilled since the model can barely construct region-level relationships given partial observations, which is contrary to the description logic of natural language/referring expressions. In fact, people usually describe a target object using relations with other objects, which may not be easily understood without seeing the whole video. To address the issue, we introduce a novel top-down approach by imitating how we human segment an object with the language guidance. We first figure out all candidate objects in videos and then choose the refereed one by parsing relations among those high-level objects. Three kinds of object-level relations are investigated for precise relationship understanding, i.e., positional relation, text-guided semantic relation, and temporal relation. Extensive experiments on A2D Sentences and J-HMDB Sentences show our method outperforms state-of-the-art methods by a large margin. Qualitative results also show our results are more explainable.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
A2D SentencesClawCraneNet (+ PRM + TSRM + TRM)[email protected]48.9Text Based Video Segmentation
Source quote
L280: + PRM + TSRM + TRM │ 70.4 │ 67.7 │ 61.7 │ 48.9 │ 17.1 │ 49.4 │ 63.1 │ 59.9
A2D SentencesClawCraneNet (+ PRM + TSRM + TRM)mAP (0.5:0.95)49.4Text Based Video Segmentation
Source quote
L280: + PRM + TSRM + TRM │ 70.4 │ 67.7 │ 61.7 │ 48.9 │ 17.1 │ 49.4 │ 63.1 │ 59.9
A2D SentencesClawCraneNet (+ PRM + TSRM + TRM)Mean IoU59.9Text Based Video Segmentation
Source quote
L280: + PRM + TSRM + TRM │ 70.4 │ 67.7 │ 61.7 │ 48.9 │ 17.1 │ 49.4 │ 63.1 │ 59.9
BibTeX
@misc{liang2021clawcranenet,
  author = {Chen Liang and Yu Wu and Yawei Luo and Yi Yang},
  title = {{ClawCraneNet: Leveraging Object-level Relation for Text-based Video Segmentation}},
  year = {2021},
  eprint = {2103.10702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.10702},
}
Figure