Abstract
Dense Video Captioning (DVC) requires models to simultaneously localize and describe multiple events within a video. Traditional approaches typically employ a two-stage "detect-then-describe" pipeline, which often suffers from temporal redundancy and a lack of synergy between the detection and captioning modules. This paper introduces the Unified Video-Event-Text (UVET) framework, which reimagines event detection as a sequence generation problem. By treating events as a distinct modality and employing a multi-stream Transformer architecture with novel pre-training tasks, the proposed model achieves state-of-the-art results on the ActivityNet Captions benchmark and significantly reduces event overlap.
Introduction
Dense Video Captioning is a complex multi-modal task that bridges computer vision and natural language processing. It requires a model to identify when specific actions occur (event detection) and what those actions are (event captioning). Historically, these tasks have been optimized independently. However, this decoupling leads to two primary issues: a lack of synergy, where the captioning module cannot inform the detector, and high redundancy, where models predict multiple overlapping time windows for the same action because they lack an understanding of the video's temporal "grammar."
To address these challenges, the authors propose treating event detection as a sequence generation (ESG) task. By framing events as sequential data, the model can leverage the context of previously detected events to predict subsequent ones, much like a language model predicts the next word in a sentence.
Methodology: The UVET Framework
The core of the research is the Unified Video-Event-Text (UVET) framework. This framework treats "Events" as a first-class modality alongside raw Video and Text.
1. Events as a Modality
Rather than predicting start and end timestamps as continuous values, the model represents an event as an $N$-dimensional binary vector, where $N$ corresponds to the number of video frames. A value of '1' indicates the frame is part of the event, while '0' indicates it is not. This discrete representation allows the model to generate events one by one, using the history of detected events as context for future predictions.
2. Architecture
The UVET architecture utilizes a multi-stream Transformer design:
- Independent Encoders: Separate Transformers process raw video features (e.g., C3D or TSN), semantic concept features (CPT), event sequences, and text.
- Semantic Concepts (CPT): To bridge the gap between raw pixels and high-level language, the authors extract nouns and verbs for every frame, providing a mid-level semantic representation.
- Cross-Encoder: A multi-layer Transformer facilitates interaction between these diverse modalities, allowing the model to learn complex cross-modal dependencies.
3. Unified Pre-training
To synchronize these modalities, the authors implement a three-pronged pre-training strategy:
- Masked Language Modeling (MLM): Predicting missing words in a caption based on video features and event timing.
- Masked Video Feature Regression (MVFR): Reconstructing missing video frames using the text description as a guide.
- Masked Event Feature Modeling (MEFM): A novel task where the model predicts missing event boundaries based on surrounding events and video content.
Experimental Results
The proposed model, UEDVC, was evaluated primarily on the ActivityNet Captions benchmark, consisting of approximately 20,000 videos. To test scalability, the authors also pre-trained on out-of-domain datasets like MSRVTT, TGIF, and VATEX, which contain video-text pairs but lack dense event annotations.
Performance Metrics
UEDVC established new state-of-the-art benchmarks across several key metrics:
- Detection Accuracy: Average Recall improved to 59.00%, up from the previous best of 55.58% (PDVC).
- Redundancy Reduction: The model significantly outperformed traditional methods in event diversity. The "self-tIoU" (a measure of temporal overlap) dropped from 0.19 in traditional models to 0.02 in UEDVC.
- Captioning Quality: On the SODA metric, which is specifically designed to evaluate dense captioning robustness, the model scored 7.61, surpassing the previous state-of-the-art of 7.42.
Key Insights
The results demonstrate that events possess a natural context. By treating detection as sequence generation, the model learns that certain actions (e.g., "chopping vegetables") are logically followed by others (e.g., "placing them in a pot"). Furthermore, the unification of detection and captioning allows the tasks to "co-evolve," where improvements in linguistic understanding directly translate to more accurate temporal boundaries.
Discussion and Limitations
While the UVET framework represents a significant step forward, it faces certain constraints:
- Computational Cost: The use of multiple Transformer streams and a cross-encoder is computationally intensive, particularly as the number of events or video length increases.
- Temporal Resolution: The model currently utilizes a fixed maximum frame length (100 frames in experiments), which may limit its effectiveness on extremely long or high-resolution videos without more advanced sampling techniques.
Conclusion
By unifying event detection and captioning into a single sequence generation framework, this research provides a more holistic approach to video understanding. The UVET framework not only improves the accuracy of descriptions but also solves the long-standing problem of event redundancy, paving the way for more coherent and context-aware video AI systems.
Summary updated