Abstract
Video captioning requires bridging the gap between high-dimensional visual data and structured linguistic descriptions. Existing approaches often struggle with visual noise or fail to capture the hierarchical relationship between objects and actions. This paper introduces the Hierarchical Modular Network (HMN), which decomposes the captioning task into three semantic levels: Entities, Predicates, and Sentences. By supervising these modules with linguistic embeddings, HMN effectively filters irrelevant visual information. Experimental results on MSVD and MSR-VTT datasets demonstrate that HMN achieves state-of-the-art performance, particularly in the CIDEr metric.
Introduction
Automatically generating natural language descriptions for video clips is a challenging task due to the "information-dense" nature of video. While a single clip may contain numerous objects and complex movements, human-authored captions typically focus on a few salient elements. Current video captioning models often fall into two categories: those that predict words sequentially without a deep understanding of scene structure (the "Word-by-Word" trap), and those that attempt to map entire videos to single vectors, losing fine-grained object-action relationships (the "Semantic Gap" trap).
To address these issues, we propose a hierarchy that mirrors linguistic structure, moving from discrete objects to specific actions and finally to global context.
Methodology: The Hierarchical Modular Network
The Hierarchical Modular Network (HMN) serves as a specialized video encoder divided into three distinct modules, each targeting a different semantic level.
1. Entity Module
Inspired by the Detection Transformer (DETR) architecture, the Entity Module processes all detected objects within a video to identify "principal objects"—those most likely to appear in the final caption. This module is supervised using nouns extracted from ground-truth text. By focusing on principal objects, the model significantly reduces visual clutter.
2. Predicate Module
The Predicate Module focuses on (verb + noun) pairs rather than isolated verbs. This approach helps disambiguate actions based on the objects involved; for instance, the visual representation of "playing" differs significantly between "playing a piano" and "playing soccer."
3. Sentence Module
The Sentence Module integrates outputs from the Entity and Predicate modules with global video features. It captures the overall "vibe" or context of the clip, forming a comprehensive semantic representation for the final description generator.
Training Strategy
The authors utilize pre-trained Sentence-BERT (SBERT) to convert ground-truth captions into linguistic embeddings, which provide supervision for each module. For the Entity module, the Hungarian Algorithm is employed to find the optimal match between predicted visual entities and the actual nouns present in the caption.
Experimental Results
The HMN model was evaluated on the MSVD (Microsoft Video Description) and MSR-VTT (Microsoft Research Video to Text) datasets. MSVD contains 1,970 short YouTube clips, while MSR-VTT is a larger dataset with 10,000 clips across 20 categories.
As shown in the table above, HMN achieves state-of-the-art (SOTA) results across multiple metrics. Notably, on the MSVD dataset, it reached a CIDEr score of 104.0, representing a +5.5 improvement over previous leading models. On MSR-VTT, it achieved a CIDEr score of 51.5.
Ablation studies revealed that the Entity Module is the most critical component of the architecture. Removing it led to a more significant performance decline than removing the Predicate or Sentence modules, confirming that identifying the primary "who" and "what" is fundamental to generating accurate captions.
Conclusion and Future Work
The Hierarchical Modular Network demonstrates that explicit hierarchical supervision can effectively bridge the semantic gap in video captioning. By filtering visual noise and aligning features with linguistic levels, HMN sets a new benchmark for the field.
However, the current model is primarily optimized for single-action videos. In complex scenarios involving sequential or simultaneous actions, the three-level hierarchy may require further extension. Future research will focus on adapting the hierarchy to handle multiple predicates and temporal events, enabling more nuanced and complex storytelling in automated video descriptions.
Summary updated