Skip to main content
QUICK REVIEW

[Paper Review] Attention is all you need for Videos: Self-attention based Video Summarization using Universal Transformers

Manjot Bilkhu, Siyang Wang|arXiv (Cornell University)|Jun 6, 2019
Multimodal Machine Learning ApplicationsComputer Science36 references10 citations
TL;DR

This paper proposes a self-attention-based video summarization model using Universal Transformers and 3D CNNs (C3D, Two-stream I3D) for feature extraction. It achieves state-of-the-art performance on MSVD and ActivityNet datasets, demonstrating superior attention to relevant video segments even when large portions are irrelevant, with competitive BLEU scores and improved robustness due to weight sharing.

ABSTRACT

Video Captioning and Summarization have become very popular in the recent years due to advancements in Sequence Modelling, with the resurgence of Long-Short Term Memory networks (LSTMs) and introduction of Gated Recurrent Units (GRUs). Existing architectures extract spatio-temporal features using CNNs and utilize either GRUs or LSTMs to model dependencies with soft attention layers. These attention layers do help in attending to the most prominent features and improve upon the recurrent units, however, these models suffer from the inherent drawbacks of the recurrent units themselves. The introduction of the Transformer model has driven the Sequence Modelling field into a new direction. In this project, we implement a Transformer-based model for Video captioning, utilizing 3D CNN architectures like C3D and Two-stream I3D for video extraction. We also apply certain dimensionality reduction techniques so as to keep the overall size of the model within limits. We finally present our results on the MSVD and ActivityNet datasets for Single and Dense video captioning tasks respectively.

Motivation & Objective

  • To address the limitations of recurrent models (LSTMs/GRUs) in video captioning by replacing them with attention-based architectures.
  • To explore the effectiveness of Universal Transformers—weight-shared, iterative transformers—for video summarization tasks.
  • To evaluate the model on both single and dense video captioning benchmarks (MSVD and ActivityNet) to assess scalability and performance.
  • To investigate whether attention mechanisms in Transformers can better identify salient video segments compared to recurrent models.
  • To improve model efficiency and generalization through dimensionality reduction and fine-tuning of feature extractors.

Proposed method

  • Employs C3D and Two-stream I3D 3D CNNs to extract spatio-temporal features from video inputs, reducing video to a sequence of fixed-size feature vectors.
  • Uses a Universal Transformer as the caption generation network, which applies shared weights across layers and iteratively refines representations through multiple layers.
  • Applies dimensionality reduction techniques to control model size and computational cost while preserving performance.
  • Trains the model end-to-end using cross-entropy loss on ground-truth captions for both single and dense captioning tasks.
  • Fine-tunes the C3D and I3D feature extractors on the training set to adapt them to the specific captioning task.
  • Introduces a masked self-attention mechanism in the Universal Transformer to handle variable-length outputs and improve training stability.

Experimental results

Research questions

  • RQ1Can a Universal Transformer-based architecture outperform standard RNN-based models in video summarization tasks?
  • RQ2How effective is self-attention in capturing long-range dependencies and salient temporal segments in videos compared to recurrent units?
  • RQ3To what extent do dimensionality reduction and weight sharing in Universal Transformers improve generalization and reduce overfitting?
  • RQ4How does the model perform on both single and dense video captioning benchmarks, particularly in handling irrelevant video frames?
  • RQ5Can fine-tuning of 3D CNN feature extractors improve captioning performance compared to using pre-trained models?

Key findings

  • The model achieves competitive BLEU scores on both MSVD and ActivityNet datasets, indicating strong performance in video captioning.
  • The Universal Transformer learns to attend to relevant video segments even when over 50% of frames are non-informative, demonstrating robust attention mechanisms.
  • Despite similar BLEU scores, the Universal Transformer generates more diverse captions than standard Transformers, likely due to weight sharing reducing overfitting.
  • The model successfully generates coherent captions for subjects and action sequences in complex videos, as shown in qualitative examples on ActivityNet.
  • Failure cases reveal challenges in forming coherent paragraphs despite correct identification of subjects and actions, indicating room for improvement in sentence structuring.
  • Fine-tuning the C3D and I3D feature extractors improved performance, suggesting that task-specific adaptation enhances feature relevance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.