Cross-Modal and Hierarchical Modeling of Video and Text

Bowen Zhang, Hexiang Hu, Fei Sha

Introduction

Multi-modal learning aims to map disparate data types, such as video and text, into a shared semantic space. Traditional methods often treat these modalities as "flat" sequences, ignoring their inherent hierarchical structures. However, a video is naturally composed of semantically coherent clips, just as a paragraph consists of distinct sentences. Failing to model these levels can lead to a loss of fine-grained correspondence and difficulty in capturing long-range dependencies.

Local vs Global Embedding Spaces: Aligning sentences to clips (local) and paragraphs to videos (global).

The Hierarchical Sequence Embedding (HSE) Framework

To address these limitations, the Hierarchical Sequence Embedding (HSE) framework explicitly models the internal structures of both video and text. The architecture is built on three pillars:

1. Hierarchical Encoders

HSE employs a two-level encoding process. For text, word-level features are first aggregated into sentence embeddings, which are subsequently encoded into a global paragraph embedding. Similarly, for video, frame-level features are encoded into clip embeddings, which then form the overall video embedding.

2. Multi-level Matching and Reconstruction

The model is optimized using a dual-level matching loss. A Global Alignment ensures that the entire video and paragraph are proximal in the embedding space, while a Local Alignment enforces consistency between individual clips and their corresponding sentences.

The HSE Architecture: Detailed view of hierarchical encoders, multi-level matching losses, and reconstruction decoders.

To further regularize the learned representations, HSE incorporates layer-wise reconstruction decoders. These decoders attempt to reconstruct lower-level features from higher-level embeddings (e.g., reconstructing words from a sentence embedding), ensuring that the embeddings retain essential semantic information.

Experimental Results

The HSE model was evaluated on large-scale datasets including ActivityNet Dense Caption and DiDeMo.

  • Retrieval Performance: On ActivityNet, HSE achieved a Recall@1 of 44.4% for paragraph-to-video retrieval, significantly outperforming "flat" sequence embedding (FSE) baselines (18.2%).
  • Zero-Shot Action Recognition: By leveraging the learned clip-to-sentence alignments, the model achieved 51.4% Top-1 accuracy on unseen action classes in ActivityNet V1.3, demonstrating robust semantic transferability.
  • Ablation Studies: Results confirmed that both local alignment and unsupervised reconstruction tasks contribute positively to the final retrieval accuracy.

Conclusion

By respecting the natural hierarchy of video and text, the HSE framework provides a more structured and effective approach to cross-modal alignment. The synergy between local and global modeling not only improves retrieval performance but also enables powerful zero-shot capabilities, paving the way for more nuanced understanding of complex multi-modal content.

Summary updated

BibTeX
@inproceedings{zhang2018cross,
  author = {Bowen Zhang and Hexiang Hu and Fei Sha},
  title = {{Cross-Modal and Hierarchical Modeling of Video and Text}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01261-8\_23},
}
Figure