Abstract
Video captioning is a challenging task that requires bridging the gap between visual content and natural language. We propose the Multimodal Semantic Attention Network (MSAN), which leverages high-level semantic attributes extracted from three distinct modalities: static frames, temporal video clips, and motion-based optical flow. By employing a novel attention-based LSTM decoder with attribute-dependent weight matrices, MSAN dynamically prioritizes relevant objects and actions during the generation process. Our evaluation on the MSVD and MSR-VTT benchmarks shows that MSAN significantly improves descriptive accuracy and achieves state-of-the-art results.
Introduction
The goal of video captioning is to automatically generate a natural language description for a given video clip. While standard encoder-decoder architectures using Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs) have made significant progress, they often fail to capture the high-level semantic nuances necessary for detailed descriptions.
Existing methods typically suffer from two main limitations. First, they often rely on a single modality—usually static image frames—which neglects the rich temporal and motion information inherent in video. Second, semantic attributes are often integrated statically as a fixed global vector, failing to adapt as the sentence unfolds. MSAN addresses these issues by fusing multimodal features and introducing a dynamic semantic attention mechanism.
Methodology
The MSAN framework consists of a two-stage process: multimodal encoding for attribute detection and an attention-based decoding phase.
Multimodal Encoding and Attribute Detection
To capture a comprehensive view of the video, MSAN processes three separate streams:
- Visual Frames: Extracted using a 2D CNN to identify static objects and scenes.
- Video Clips (C3D): Captured via 3D CNNs to represent short-term temporal dynamics.
- Optical Flow: Processed to capture explicit motion patterns, such as specific actions.
These features are integrated into a Multimodal Semantic Detector. This component acts as a multi-label classifier that predicts the probability of various semantic attributes (keywords) being present in the video. The model is trained with a joint loss function that optimizes both attribute classification and caption generation.
Attention-based LSTM Decoder
The core innovation of MSAN is its decoder. Unlike standard LSTMs with fixed weight matrices, MSAN uses an ensemble of attribute-dependent weight matrices. To maintain efficiency, these matrices are factorized into shared components and attribute-specific diagonal terms. At each time step $t$, a semantic attention mechanism calculates the relevance of each attribute based on the previous hidden state, allowing the model to shift its focus dynamically (e.g., focusing on "guitar" when generating the word "instrument").
Experimental Evaluation
We evaluated MSAN on two major benchmarks: the Microsoft Video Description (MSVD) dataset and the MSR-VTT dataset.
Quantitative Results
MSAN achieved state-of-the-art performance across multiple metrics, including BLEU, METEOR, and CIDEr. On the MSVD dataset, the full model ($MSAN_{f+o+c}$) reached a METEOR score of 35.3% and a CIDEr-D score of 79.6%. Ablation studies confirmed that the combination of frames, flow, and clips (multimodal fusion) consistently outperforms single-modality baselines, demonstrating the complementary nature of these features.
Qualitative Analysis
Qualitative results highlight MSAN's ability to generate more specific and relevant verbs and nouns compared to baseline models. By attending to motion-based attributes, the model can distinguish between similar actions more effectively.
Conclusion
The Multimodal Semantic Attention Network (MSAN) advances video captioning by effectively integrating multimodal semantic attributes into a dynamic attention-based decoding framework. By reshaping the internal logic of the LSTM based on detected content, MSAN produces more accurate and descriptive summaries. Future work may explore scaling the attribute vocabulary and incorporating temporal attention over video frames to further enhance performance.
Summary updated