Abstract
Dense video captioning involves identifying and describing multiple events within a video sequence. Traditional "offline" models face significant computational bottlenecks due to the quadratic complexity of self-attention and often struggle to capture fine-grained actions. We present a novel factorized autoregressive decoding approach that operates in an online, streaming fashion. By processing video in localized segments and maintaining context through a memory-based transformer, our model achieves state-of-the-art results on major benchmarks while reducing compute by 20% and scaling linearly with video length.
Introduction
Standard video captioning typically produces a single global summary for an entire clip. In contrast, dense video captioning requires pinpointing the start and end times of every distinct event and providing detailed descriptions for each. Most existing solutions are "offline," requiring the entire video to be processed simultaneously. This leads to two primary issues:
- Computational Inefficiency: The quadratic cost of standard Transformers makes processing long videos prohibitively expensive.
- The Granularity Gap: Models often mimic sparse human annotations, missing many subtle but important actions.
Researchers from Google Deepmind address these challenges with a factorized architecture designed for efficient, high-granularity online captioning.
Methods: Factorized Autoregressive Decoding
The proposed architecture treats video as a continuous stream of segments. The process involves several key components:
- Video Encoding: Visual features are extracted from short segments using TubeViT. A secondary transformer reduces these features into a compact set of tokens.
- Autoregressive Memory: An Autoregressive Transformer serves as the model's memory. It processes tokens sequentially, allowing the model to incorporate historical context without needing access to future frames.
- Factorized Text Decoding: Unlike global decoders, a single shared text decoder is applied to each segment independently. This ensures that computational complexity grows linearly with video length.
- Cross-Segment Masking: A specialized training strategy simulates online constraints while allowing parallelized learning across the entire sequence.
Experimental Setup and Datasets
The model was pre-trained on the HowTo100M dataset using noisy ASR transcripts. Evaluation was conducted on three major dense video captioning benchmarks:
- ViTT: 8,000 instructional videos (avg. 250s).
- YouCook2: 2,000 long cooking videos.
- ActivityNet Entities: Diverse human activities.
Results and Discussion
The factorized approach achieved state-of-the-art performance on ViTT and YouCook2, notably reaching an F1 score of 47.4 on ViTT (compared to the previous best of 37.7).
Efficiency and Scalability
The model demonstrated an 18-20% reduction in GFLOPs compared to global decoder baselines. Because the decoder is factorized, the memory footprint remains manageable even as video duration increases, enabling real-time streaming applications.
Overcoming the Granularity Gap
A key insight is that the model often produces more detailed captions than human annotators. While this can lead to lower scores on metrics like CIDEr that penalize "extra" information, qualitative analysis shows the model captures subtle actions (e.g., "picking up a glass") that humans typically omit.
Conclusion and Future Work
This work demonstrates that factorizing the decoding process allows for more efficient and detailed video understanding. However, challenges remain:
- Evaluation Metrics: Current metrics are often ill-suited for models that exceed the detail of ground truth annotations.
- Segment Sensitivity: The model's output frequency is tied to segment selection; future work may explore dynamic segment lengths.
- Subjectivity: Event boundary detection remains inherently subjective, presenting a persistent challenge for temporal localization.
Summary updated