[Paper Review] Vid2Seq: Large-Scale Pretraining of a Visual Language Model for Dense Video Captioning
Vid2Seq is a multi-modal single-stage dense event captioning model pretrained on unlabeled narrated videos, jointly predicting event boundaries and captions from visual and transcribed speech inputs. It achieves state-of-the-art results on several dense video captioning benchmarks and generalizes to paragraph and clip captioning, plus few-shot settings.
In this work, we introduce Vid2Seq, a multi-modal single-stage dense event captioning model pretrained on narrated videos which are readily-available at scale. The Vid2Seq architecture augments a language model with special time tokens, allowing it to seamlessly predict event boundaries and textual descriptions in the same output sequence. Such a unified model requires large-scale training data, which is not available in current annotated datasets. We show that it is possible to leverage unlabeled narrated videos for dense video captioning, by reformulating sentence boundaries of transcribed speech as pseudo event boundaries, and using the transcribed speech sentences as pseudo event captions. The resulting Vid2Seq model pretrained on the YT-Temporal-1B dataset improves the state of the art on a variety of dense video captioning benchmarks including YouCook2, ViTT and ActivityNet Captions. Vid2Seq also generalizes well to the tasks of video paragraph captioning and video clip captioning, and to few-shot settings. Our code is publicly available at https://antoyang.github.io/vid2seq.html.
Motivation & Objective
- Motivate dense video captioning as a unified sequence-to-sequence task that jointly localizes events and generates captions in minutes-long videos.
- Leverage unlabeled narrated videos by reformulating transcribed speech boundaries as pseudo event boundaries for pretraining.
- Demonstrate that large-scale cross-modal pretraining improves dense captioning, paragraph captioning, and video clip captioning across multiple datasets.
- Show benefits of language-model size and pretraining data scale, and explore few-shot fine-tuning.
Proposed method
- Propose Vid2Seq, a multi-modal encoder-decoder that outputs a single sequence of tokens containing both text captions and special time tokens representing event timestamps.
- Augment a pre-existing language model with time tokens to enable joint generation of captions and temporal boundaries in one sequence.
- Construct output event sequences and input speech sequences by interleaving time tokens with text tokens; use a frozen CLIP ViT-L/14 visual backbone.
- Pretrain with two objectives on unlabeled narrated videos: a generative objective to predict transcribed speech from visuals, and a denoising objective to recover masked speech spans.
- Fine-tune for downstream dense video captioning by maximizing the likelihood of the event sequence, using beam search for inference.
- Demonstrate that pretraining on untrimmed narrated videos with time tokens improves performance, and that joint captioning and localization benefits localization metrics.
Experimental results
Research questions
- RQ1Can a single unified model generate dense video captions and their temporal grounding from multi-modal inputs?
- RQ2Does large-scale pretraining on unlabeled narrated videos with weak supervision improve dense video captioning across datasets?
- RQ3How do input modalities (visual only vs. visual plus speech) and pretraining objectives (generative and denoising) affect performance?
- RQ4What is the impact of language-model size and pretraining data scale on downstream dense video captioning tasks?
- RQ5Can Vid2Seq generalize to paragraph captioning, video clip captioning, and few-shot dense captioning?
Key findings
- Vid2Seq achieves state-of-the-art results on YouCook2, ViTT, and ActivityNet Captions for dense video captioning.
- Pretraining on untrimmed narrated videos with time-token integration yields substantial gains over baselines, and time tokens are crucial for leveraging speech boundaries.
- Jointly predicting event boundaries and captions improves localization metrics over localization-only variants.
- Larger language models (e.g., T5-Base) and larger pretraining data (YT-Temporal-1B, HowTo100M) yield stronger results, with notable gains when scaling pretraining data.
- Vid2Seq generalizes to video paragraph captioning and video clip captioning, and demonstrates benefits in few-shot settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.