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).
Architecture Components
- Video Capsules: Spatio-temporal features are extracted using an I3D (Inflated 3D ConvNet) backbone and converted into a grid of video capsules.
- Sentence Capsules: Natural language queries are processed via Word2Vec and 1D convolutions to generate textual capsules representing the description.
- 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.
- 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.
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