Abstract
Video captioning is challenged by the high redundancy of visual information and the difficulty of aligning temporal sequences with natural language. We present the Semantic Grouping Network (SGN), a novel framework that dynamically organizes video frames into semantic groups based on partially decoded captions. By leveraging textual feedback to "re-read" the video, SGN effectively identifies relevant visual clusters for next-word prediction. Our approach, supported by a Contrastive Attention (CA) loss for unsupervised alignment, achieves state-of-the-art performance on MSVD and MSR-VTT benchmarks, significantly improving the CIDEr-D metric.
Introduction
Generating natural language descriptions for video is a complex task due to the inherent redundancy in visual data. Consecutive frames are often nearly identical, and many segments may be irrelevant to the primary narrative. Traditional methods typically address this by discarding frames or using fixed segmentation based solely on visual cues, often ignoring the evolving textual context.
As humans describe a video, their focus shifts based on the information already conveyed. The SGN architecture mimics this behavior by using previously generated words to find the most relevant visual clusters for the next word. This "text-guided vision" allows the model to adapt its representation of the video at every time step.
Methodology
The SGN framework consists of four primary components designed to create a dynamic feedback loop between visual and textual information:
- Visual Encoder: Extracts appearance and motion features from sampled video frames using 2D and 3D CNNs.
- Phrase Encoder: Constructs "phrase" representations from generated words using self-attention. Phrases (e.g., "man with glasses") provide more concrete semantic anchors than individual words.
- Semantic Grouping: This core component includes a Phrase Suppressor to filter redundant information and a Semantic Aligner that groups video frames based on their relevance to specific phrases.
- Decoder: A recurrent network that utilizes "semantic attention" to weigh these groups and predict the subsequent word.
To optimize these alignments without frame-level annotations, the authors introduced a Contrastive Attention (CA) loss. This loss function penalizes the model for aligning phrases with frames from irrelevant "negative" videos, forcing the network to discover more accurate visual-textual correspondences.
Experimental Results
The SGN model was evaluated on the MSVD (Microsoft Video Description) and MSR-VTT (MSR Video-to-Text) benchmarks. It demonstrated superior performance, particularly in the CIDEr-D metric, which aligns closely with human judgment:
- MSVD: SGN outperformed the previous state-of-the-art by 2.1%p in CIDEr-D.
- MSR-VTT: The model achieved a 2.4%p improvement over the runner-up in CIDEr-D.
Qualitative analysis shows that SGN captures context more accurately than baseline models. For example, it can distinguish between a general action like "singing" and a more specific context like a "band performing" by effectively grouping relevant visual cues.
Conclusion
SGN introduces a powerful mechanism for temporal grouping in video captioning by utilizing textual feedback. While the model excels at temporal alignment, it does not yet explicitly exploit spatial structures within frames, such as object locations. Future research may focus on integrating spatial awareness—applying semantic grouping to specific image regions—to further enhance descriptive accuracy. Despite the added complexity of the grouping process, SGN maintains high efficiency with inference latencies well under 10ms per video.
Summary updated