Watch, Listen, and Describe: Globally and Locally Aligned Cross-Modal Attentions for Video Captioning

Xin Wang, Yuan-Fang Wang, William Yang Wang · DOI

TL;DR

This paper introduces HACA, a novel hierarchical cross-modal attention framework for video captioning that effectively fuses global and local temporal dynamics from both visual and audio modalities. By leveraging deep audio features and a unique hierarchical encoder-decoder structure, HACA achieves state-of-the-art performance on the MSR-VTT dataset, demonstrating the crucial role of synchronized multi-modal understanding.

What Problem Does This Paper Address?

Generating accurate and descriptive captions for videos is a complex task that requires understanding both visual and auditory information. While existing methods have explored multi-modal fusion, they often struggle to effectively capture and leverage the temporal structures within and across different modalities at various granularities. Specifically, the paper highlights two key challenges:

  1. Limited exploration of temporal structures: Many approaches don't adequately explore the layered temporal dynamics of multiple modalities, from high-level activities to fine-grained action components.
  2. Underutilization of audio: While visual features are standard, the potential of deep audio features for video captioning remains underexplored, with prior work often relying on hand-crafted features like MFCCs.

The authors aim to bridge this gap by proposing a method that can selectively fuse global and local temporal information from both visual and audio cues to generate more comprehensive video descriptions.

Methods

The core of the proposed method is the Hierarchically Aligned Cross-Modal Attention (HACA) framework, built upon an encoder-decoder architecture.

Encoder: * Feature Extraction: The paper utilizes pre-trained CNNs (ResNet for visual, VGGish for audio) to extract deep features. This is a key contribution, as it validates the use of deep audio features over traditional ones. * Hierarchical Attentive Encoder: For each modality (visual and audio), a hierarchical encoder is employed. This encoder consists of two LSTMs: a low-level LSTM that processes features at a fine-grained temporal resolution and a high-level LSTM that operates at a coarser resolution, capturing longer-term temporal transitions. An attention mechanism connects these two LSTMs, allowing the high-level encoder to attend to relevant segments of the low-level encoder's output. This results in both global and local representations for each modality.

Decoder: * Globally and Locally Aligned Cross-Modal Attentive Decoder: The decoder is designed to align and fuse the representations from the encoders. It features two decoders: * Global Decoder: Learns to align global contexts from different modalities and fuses them. * Local Decoder: Learns local cross-modal fusion contexts, combines them with the global context, and predicts the next word. * Cross-Modal Attention: Both decoders incorporate cross-modal attention mechanisms. These modules selectively attend to different modalities (visual, audio, and even the decoder's own previous states) to generate a fused context vector. This allows for dynamic fusion of information based on what's most relevant for caption generation at each step.

The overall objective is to learn and align both high-level (global) and low-level (local) temporal transitions across modalities.

Datasets

  • MSR-VTT: This is the primary dataset used for training and evaluation. It contains 10,000 video clips with 20 human-annotated captions each. The paper uses 6,513 videos for training, 497 for validation, and 2,990 for testing.

Key Insights and Ideas

  • Deep Audio Features Matter: The paper empirically demonstrates that deep audio features (VGGish) significantly outperform hand-crafted MFCC features for video captioning, highlighting their untapped potential.
  • Hierarchy is Key for Temporal Understanding: The hierarchical encoder effectively captures temporal dynamics at different granularities (global and local), which is crucial for understanding complex video sequences.
  • Aligned Cross-Modal Attention is Powerful: The HACA model's ability to align and fuse global and local contexts from different modalities leads to superior captioning performance, proving the effectiveness of synchronized multi-modal processing.
  • Decoder Attention Improves Captions: The inclusion of decoder attention helps mitigate issues like phrase repetition, leading to more coherent and natural language descriptions.

Key Results

  • State-of-the-Art Performance: The HACA model achieved new state-of-the-art results on the MSR-VTT dataset across multiple metrics, including BLEU-4, METEOR, ROUGE-L, and CIDEr.
  • Significant BLEU-4 Improvement: The BLEU-4 score was improved from 41.4 to 43.1, indicating better generation of n-grams.
  • Deep Audio Advantage: The CM-ATT model with VGGish audio features achieved a BLEU-4 score of 41.7, outperforming the same model with MFCC features (40.3).
  • Component Effectiveness: Ablation studies showed that the HACA model with aligned decoders significantly outperformed a similar model without alignment (HACA w/o align), validating the context alignment mechanism.

Limitations and Future Work

  • Supervised Learning Only: All reported results for HACA were obtained using supervised learning. The authors suggest that integrating HACA with reinforcement learning methods could further boost performance, as demonstrated by CIDEnt-RL which directly optimizes the CIDEr score.
  • Extensibility: The HACA framework is designed to be generic and can be extended to incorporate features from other modalities beyond visual and audio, such as optical flow and C3D features, for even richer video understanding.

Summary updated

BibTeX
@inproceedings{wang2018watch,
  author = {Xin Wang and Yuan-Fang Wang and William Yang Wang},
  title = {{Watch, Listen, and Describe: Globally and Locally Aligned Cross-Modal Attentions for Video Captioning}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-2125},
}
Figure