Stay in your Lane: Role Specific Queries with Overlap Suppression Loss for Dense Video Captioning

Seung Hyup Baek, Jimin Lee, Hyeongkeun Lee, Jae Won Cho

TL;DR

The paper introduces ROS-DVC, a dense video captioning framework that resolves multi-task interference and redundant predictions by decoupling localization and captioning into independent, role-specific queries. By combining these specialized queries with a novel Overlap Suppression Loss and Cross-Task Contrastive Alignment, the model generates distinct, non-overlapping event descriptions and achieves state-of-the-art performance on major benchmarks.

What Problem Does This Paper Address?

Dense Video Captioning (DVC) is the task of automatically identifying when distinct events occur in an untrimmed video (temporal localization) and describing what happens in each segment (captioning).

Modern end-to-end DVC models typically rely on a single set of learnable queries (similar to the DETR architecture in object detection) to handle both localization and captioning simultaneously. However, the authors identify two major flaws in this shared-query approach:

  1. Multi-Task Interference: Forcing a single query to learn both geometric boundaries and complex language semantics causes muddy attention distributions. The query fails to focus sharply on either task.
  2. Temporal Redundancy: Multiple queries often latch onto the exact same video segment, leading to highly repetitive, overlapping event predictions and redundant captions (e.g., generating "fry the chicken" three times for slightly different timestamps).
Comparison of the proposed method against baseline architectures showing how shared queries cause redundant captions and indiscriminate attention.

Methods

To force queries to "stay in their lane," the authors propose Role-Specific Query with Overlap Suppression Dense Video Captioning (ROS-DVC). The architecture introduces three core components:

  • Role-Specific Query Initialization: The query space is explicitly split into two independent sets: localization queries (which learn to broadly attend to temporal context for boundary estimation) and caption queries (which focus intensively on keyframes to extract fine-grained semantic details).
  • Cross-Task Contrastive Alignment (CTCA) Loss: Because the queries are decoupled, they risk falling out of sync. CTCA uses an asymmetric contrastive learning objective to pull matched localization and caption queries closer together in the embedding space while pushing unrelated ones apart.
  • Overlap Suppression Loss (OSL): To eliminate redundant predictions without relying on non-maximum suppression (NMS), OSL penalizes high Intersection-over-Union (IoU) between different predicted event boundaries. Crucially, it uses a ground-truth-aware weighting factor ($\alpha$) so that valid, closely occurring events aren't accidentally suppressed, while poorly aligned redundant predictions face heavy penalties.
Figure 2. An overview of our proposed ROS-DVC framework. The input video is first fed into the pretrained encoder, and a transformer encoder processes it to generate frame-level features. In the decoding stage, two types of queries are independently initialized and retrieve their role-specific information from the frame-level features. The output localization queries are trained with the Overlap Suppression Loss to minimize mutual overlap and are matched with ground truths via the Hungarian algorithm. Subsequently, the CTCA loss is employed to semantically align the caption queries with their corresponding localization queries. Finally, these processed queries are fed into respective heads to obtain the predictions for event-number, localize timestamps, event captions, and event-level concepts.

Additionally, the authors introduce a Concept Guider, a lightweight auxiliary head that trains the caption queries to predict a multi-hot vector of top nouns and verbs (concepts) from the training text. This enriches the query representations with high-level semantics without adding any computational overhead during inference.

Datasets

The model was evaluated on two standard DVC benchmarks:

  • YouCook2: 2k untrimmed cooking videos across 89 recipes, featuring an average of 7.7 annotated segments per video.
  • ActivityNet Captions: 20k untrimmed videos covering a broad range of human activities, averaging 3.65 localized sentences per video.

Key Insights and Ideas

  • Specialization Beats Generalization: Decoupling the query space proves that a "jack of all trades" query hurts performance. Letting localization and captioning optimize independently allows each to converge much more effectively.
  • Dynamic, Smart Suppression: Traditional suppression techniques can be overly aggressive. By modulating the overlap penalty based on how well a query aligns with the actual ground truth, the model learns a nuanced boundary distribution.
Figure 3. Mechanism of the Overlap Suppression Loss. This loss discourages overlap among queries. The suppression strength is inversely modulated by the query’s IoU with the ground truth (GT). Queries with high GT IoU receive weak suppression, while queries with low GT IoU receive strong suppression.
  • Implicit Semantics via Bag-of-Words: Predicting a simple set of target nouns and verbs during training acts as an excellent regularizer, guiding the captioning head to generate more contextually accurate descriptions without needing a heavy external memory bank.

Key Results

ROS-DVC achieves highly competitive performance against state-of-the-art methods, particularly outperforming all other non-pretrained models (models that do not use massive video-text pretraining).

  • YouCook2: ROS-DVC achieved a CIDEr score of 39.18, a substantial leap over the baseline PDVC (29.69) and the previous best non-pretrained model, MCCL (36.09). It also achieved the highest localization F1-score (32.03).
  • ActivityNet Captions: The model achieved a CIDEr score of 35.04, outperforming competing non-pretrained architectures like $E^2DVC$ (33.63) and CM$^2$ (33.01).
  • Qualitative Improvements: As shown in the video timeline evaluations, ROS-DVC successfully eliminates the repetitive "ghost" predictions common in baseline models, yielding a clean, sequential narrative of the video events.
Figure 4. Qualitative results of dense video captioning on YouCook2. We compare the localization and captioning results with the ground truth, the baseline (PDVC), and ours. Each arrow represents localization boundaries and its corresponding caption is provided below. We find that while PDVC captures redundant events with the same captions, our model avoids this phenomenon.

Limitations and Future Work

While ROS-DVC excels within standard end-to-end architectures, it utilizes a standard LSTM for caption generation. Consequently, its raw language fluency is naturally limited compared to models that plug directly into Large Language Models (LLMs) like GPT-2 (e.g., DDVC), even though ROS-DVC achieves superior localization accuracy.

The authors suggest that future work could involve scaling this role-specific query mechanism to interface with massive pretrained foundation models or autoregressive LLM decoders to capture the best of both precise localization and fluent text generation.

Summary updated

Abstract

Dense Video Captioning (DVC) is a challenging multimodal task that involves temporally localizing multiple events within a video and describing them with natural language. While query-based frameworks enable the simultaneous, end-to-end processing of localization and captioning, their reliance on shared queries often leads to significant multi-task interference between the two tasks, as well as temporal redundancy in localization. In this paper, we propose utilizing role-specific queries that separate localization and captioning into independent components, allowing each to exclusively learn its role. We then employ contrastive alignment to enforce semantic consistency between the corresponding outputs, ensuring coherent behavior across the separated queries. Furthermore, we design a novel suppression mechanism in which mutual temporal overlaps across queries are penalized to tackle temporal redundancy, supervising the model to learn distinct, non-overlapping event regions for more precise localization. Additionally, we introduce a lightweight module that captures core event concepts to further enhance semantic richness in captions through concept-level representations. We demonstrate the effectiveness of our method through extensive experiments on major DVC benchmarks YouCook2 and ActivityNet Captions.
BibTeX
@inproceedings{baek2026stay,
  author = {Seung Hyup Baek and Jimin Lee and Hyeongkeun Lee and Jae Won Cho},
  title = {{Stay in your Lane: Role Specific Queries with Overlap Suppression Loss for Dense Video Captioning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=4nWKyOIt4T},
}
Figure