Visual-Textual Capsule Routing for Text-Based Video Segmentation

Bruce McIntosh, Kevin Duarte, Yogesh S. Rawat, Mubarak Shah

Introduction

Text-based video segmentation aims to generate pixel-level masks for actors and their actions based on natural language queries. Unlike traditional segmentation which uses fixed categories, this task requires understanding complex relationships, such as identifying a "woman in a green top standing on the left." Current methods often struggle with inefficient fusion of visual and textual features and frequently fail to maintain temporal consistency across all video frames. This paper introduces a novel capsule-based network designed to address these challenges through a unique visual-textual routing mechanism.

Methodology

The proposed architecture leverages the strengths of capsule networks to model part-to-whole relationships more effectively than standard convolutional neural networks (CNNs).

Detailed architecture of the proposed capsule-based network, highlighting the visual-textual routing and upsampling components.

Architecture Components

  1. Video Capsules: Spatio-temporal features are extracted using an I3D (Inflated 3D ConvNet) backbone and converted into a grid of video capsules.
  2. Sentence Capsules: Natural language queries are processed via Word2Vec and 1D convolutions to generate textual capsules representing the description.
  3. Visual-Textual Routing: This is the core innovation. Using a modified Expectation-Maximization (EM) routing algorithm, sentence capsules "vote" on relevant video capsules. High agreement between textual requirements and visual content leads to strong activation of specific capsules.
  4. Upsampling and Masking: Predicted "actor capsules" are masked and passed through 3D convolutional transpose layers to produce full-resolution pixel masks for every frame in the video.

Experimental Results

The model was evaluated on several benchmarks, demonstrating significant improvements over existing state-of-the-art (SOTA) methods. On the Actor-Action Dataset (A2D), the model achieved a mean Average Precision (mAP) of 30.3%, representing an 8.8% absolute improvement over previous benchmarks. Notably, the model excels at high Intersection-over-Union (IoU) thresholds ([email protected] and [email protected]), indicating that the generated masks are highly precise and closely follow actor contours.

Qualitative results demonstrating the model's ability to segment complex actions and multiple actors across video frames based on diverse text queries.

Generalization and Robustness

The model demonstrated strong zero-shot generalization on the JHMDB dataset, outperforming existing methods at higher IoU thresholds without fine-tuning. This suggests that the learned visual-textual representations are robust and transferable across different video domains.

Discussion and Conclusion

The visual-textual routing mechanism acts as a high-dimensional coincidence filter, effectively matching specific visual properties to textual descriptions. By extending the A2D dataset with per-frame annotations and utilizing 3D upsampling, the model maintains superior temporal consistency compared to single-keyframe approaches.

While the model performs exceptionally well, it faces challenges with very small objects and highly cluttered scenes where textual descriptions may be ambiguous. Future research will focus on developing more specialized video encoders to enhance the extraction of meaningful video capsules, further improving localization for complex scenes.

Summary updated

BibTeX
@inproceedings{mcintosh2020visual,
  author = {Bruce McIntosh and Kevin Duarte and Yogesh S. Rawat and Mubarak Shah},
  title = {{Visual-Textual Capsule Routing for Text-Based Video Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.00996},
}
Figure