Abstract
Dense Video Captioning (DVC) involves the dual challenge of localizing events within a video and generating descriptive captions for each. Existing end-to-end models typically rely on a single set of "event queries" to perform both tasks, which often leads to task interference—where the requirements for precise temporal regression conflict with those for rich semantic generation. We present Decomposed Dense Video Captioning (DDVC), a novel framework that addresses this by decomposing queries into task-specific versions. By integrating Contrastive Semantic Optimization (CSA) and Joint Supervised Label Assignment (JSLA), DDVC achieves superior performance on major benchmarks like YouCook2 and ActivityNet Captions, producing more detailed and temporally accurate captions.
Introduction
The goal of Dense Video Captioning is to provide a comprehensive textual summary of a video by identifying all meaningful events and describing them. While recent models have transitioned to end-to-end architectures using learnable queries, they suffer from a fundamental "identity crisis." Event localization requires sharp temporal boundaries, whereas event captioning demands deep linguistic and semantic understanding. When these tasks share a single query representation, the model struggles to balance them, often resulting in imprecise boundaries or generic, repetitive text.
The DDVC Framework
The authors propose the Decomposed Dense Video Captioning (DDVC) framework to resolve task interference through three primary innovations.
1. Task-Specific Query Decomposition
Instead of a monolithic query, DDVC derives two distinct queries from a shared source: a localization query ($q^{loc}$) and a captioning query ($q^{cap}$). A lightweight generator allows the captioning query to specialize in semantic content while maintaining the necessary context from the localization query.
2. Contrastive Semantic Optimization (CSA)
To ensure effective specialization, DDVC employs contrastive learning:
- Localization Alignment: This pulls localization queries toward the average visual features of their corresponding video segments, grounding them in the temporal visual context.
- Captioning Alignment: Utilizing a pretrained CLIP text encoder, this pulls captioning queries toward the actual textual semantics of ground-truth descriptions, leveraging large-scale vision-language pretraining.
3. Joint Supervised Label Assignment (JSLA)
Standard training uses the Hungarian algorithm for label assignment based primarily on localization accuracy. DDVC introduces JSLA, which incorporates captioning loss into the matching cost. This ensures that ground-truth labels are assigned to queries that are semantically capable of describing the event, not just those that are temporally close.
Experimental Evaluation
The model was evaluated on two standard DVC benchmarks: YouCook2 (~2,000 cooking videos with dense events) and ActivityNet Captions (~20,000 videos of diverse activities).
Key Results and Insights
DDVC sets a new state-of-the-art for models without external retrieval:
- YouCook2: Achieved a 38.75 CIDEr score (a 22% improvement over the previous SOTA) and a 33.73 F1 score for localization.
- ActivityNet Captions: Reached a 35.48 CIDEr and 56.12 F1 score, outperforming existing end-to-end architectures.
Qualitative analysis reveals that DDVC produces significantly more detailed descriptions. For instance, where previous models might output a generic "Mix ingredients," DDVC correctly identifies specific components like "olive oil, lemon juice, and worcestershire sauce."
Conclusion
DDVC demonstrates that decomposing queries into task-specific representations effectively mitigates task interference in dense video captioning. By aligning these queries semantically and improving label assignment, the model achieves a better balance between "where" an event happens and "what" is occurring. Future work may explore structural disentanglement within the Transformer decoder itself to further isolate these tasks.
Summary updated