Skip to main content
QUICK REVIEW

[Paper Review] End-to-end Dense Video Captioning as Sequence Generation

Wanrong Zhu, Bo Pang|arXiv (Cornell University)|Apr 18, 2022
Multimodal Machine Learning ApplicationsComputer Science16 citations
TL;DR

This paper proposes an end-to-end dense video captioning framework that unifies event localization and caption generation as a single sequence-to-sequence task using a multimodal Transformer. By formulating both segmentation and captioning as sequence generation, the model leverages large-scale pretrained text models (e.g., T5) and achieves competitive performance on YouCook2 and ViTT, demonstrating that joint modeling improves segmentation accuracy and enables effective use of general and domain-specific pretraining.

ABSTRACT

Dense video captioning aims to identify the events of interest in an input video, and generate descriptive captions for each event. Previous approaches usually follow a two-stage generative process, which first proposes a segment for each event, then renders a caption for each identified segment. Recent advances in large-scale sequence generation pretraining have seen great success in unifying task formulation for a great variety of tasks, but so far, more complex tasks such as dense video captioning are not able to fully utilize this powerful paradigm. In this work, we show how to model the two subtasks of dense video captioning jointly as one sequence generation task, and simultaneously predict the events and the corresponding descriptions. Experiments on YouCook2 and ViTT show encouraging results and indicate the feasibility of training complex tasks such as end-to-end dense video captioning integrated into large-scale pretrained models.

Motivation & Objective

  • To address the limitations of two-stage dense video captioning pipelines that use separate models for event localization and captioning.
  • To explore whether complex multimodal tasks like dense video captioning can be unified under a single sequence generation paradigm.
  • To enable the use of large-scale pretrained text models (e.g., T5) for end-to-end dense video captioning by reformulating the task as sequence generation.
  • To evaluate the impact of general-purpose (T5) and domain-specific (WikiHow) pretraining on performance in dense video captioning.
  • To investigate whether joint modeling of segmentation and captioning improves performance compared to isolated task training.

Proposed method

  • The model treats dense video captioning as a single sequence-to-sequence generation task, where the target sequence encodes both event boundaries and corresponding captions using a structured token format.
  • The authors design multiple task formulations—such as SimpleConcat and EmbTime—to embed temporal boundaries and captions into a single text sequence for end-to-end training.
  • A multimodal Transformer encoder-decoder architecture is used, with visual features from video frames and textual embeddings from the target sequence.
  • The model is fine-tuned on YouCook2 and ViTT using pretraining on general-purpose (T5) and domain-specific (WikiHow) text corpora.
  • The approach enables joint optimization of segmentation and captioning through a single decoder, avoiding the need for separate architectures or pipelines.
  • The method supports multi-task pretraining and reuses existing infrastructure for large-scale sequence generation models.

Experimental results

Research questions

  • RQ1Can dense video captioning be effectively modeled as a single sequence generation task, enabling end-to-end training with pretrained language models?
  • RQ2Does joint modeling of event localization and captioning improve performance compared to two-stage pipelines?
  • RQ3What is the impact of pretraining on general-purpose (T5) versus domain-specific (WikiHow) text corpora for dense video captioning?
  • RQ4Can the benefits of task-agnostic and task-specific pretraining be combined, and does one still benefit from general pretraining even with domain-specific data?
  • RQ5How does the choice of sequence formulation (e.g., SimpleConcat vs. EmbTime) affect model performance and training stability?

Key findings

  • The proposed end-to-end sequence generation approach achieves competitive performance on YouCook2 and ViTT, outperforming prior two-stage methods in segmentation accuracy.
  • Pretraining on T5 and WikiHow leads to significant gains, with the combination (T5 + WikiHow) yielding the largest improvement.
  • Even with domain-specific pretraining on WikiHow, further pretraining on T5 provides measurable additional gains, indicating complementary benefits.
  • Joint modeling of segmentation and captioning improves segmentation mIoU compared to a model focused only on localization.
  • When segment predictions have high IoU (≥90%), the average ROUGE-L score for captions reaches 30.18 on YouCook2 and 44.33 on ViTT, indicating high caption quality when localization is accurate.
  • The EmbTime formulation shows non-trivial improvement over SimpleConcat in some settings, though results are mixed and variance is high in training-from-scratch setups.

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.