DiffDVC: Accurate Event Detection for Dense Video Captioning via Diffusion Models

Wei Chen, Jianwei Niu, Xuefeng Liu, Zhendong Wang, Shaojie Tang, Guogang ZhuAAAI 2025

Introduction

Dense Video Captioning (DVC) is a complex computer vision task that requires both identifying distinct events within a video (temporal event detection) and generating descriptive natural language for each (captioning). While diffusion models have revolutionized image generation and object detection, their direct application to video temporal localization has faced a significant hurdle: boundary insensitivity. DiffDVC addresses this by introducing a specialized architecture that forces the model to prioritize temporal boundaries, leading to state-of-the-art performance in event detection and caption quality.

The Boundary Sensitivity Problem

A core insight of the DiffDVC research is the fundamental difference between spatial boundaries in images and temporal boundaries in videos. In image object detection, the edges of an object are critical for its identification; removing the outer 20% of an image often causes classification accuracy to plummet because key structural information is lost.

In images, object identification is highly sensitive to spatial boundaries; cropping the edges (red arrows) significantly degrades classification performance.

In contrast, video actions like "flipping a pancake" or "running" are primarily identified by the frames in the middle of the event. Shifting the start or end times slightly does not change the "identity" of the action. Consequently, standard diffusion models adapted for video become "lazy," failing to produce precise timestamps because the error signal (loss) is too weak at the boundaries.

In videos, action classification is relatively insensitive to temporal shifts (red arrows), which often leads to "blurry" or imprecise event boundaries in standard models.

Proposed Method: DiffDVC

To overcome this insensitivity, DiffDVC introduces a Boundary-Sensitive Detector. The architecture consists of three main components:

  1. Video Encoder: Extracts multi-level features using backbones like I3D or TSN, enhanced by a Deformable Transformer to capture long-range temporal relationships.
  2. Diffusion Process: The model learns to reverse Gaussian noise added to ground-truth timestamps, iteratively refining random intervals into precise event boundaries.
  3. Boundary-Sensitive Detector: This is the critical innovation. Instead of classifying an event based on its entire duration, this module specifically samples frames in a dynamic range around the predicted start and end times. By focusing the classifier's attention on these transition points, the model receives a much stronger signal when its predicted boundaries are inaccurate.

Finally, an LSTM-based Caption Generator utilizes the refined event features to produce the final text descriptions.

Experimental Results

DiffDVC was evaluated on three major benchmarks, achieving state-of-the-art (SOTA) results:

  • ActivityNet Captions: The model achieved significant gains in CIDEr scores, showing a relative improvement of up to 9.01% over previous methods, indicating much higher similarity to human-written descriptions.
  • ActivityNet-1.3: It outperformed existing generative models in Mean Average Precision (mAP) for event detection.
  • YouCook2: In the challenging domain of fine-grained cooking videos, DiffDVC reached an F1 score of 31.22, a substantial jump from the previous best of 28.29.

Conclusion and Future Work

DiffDVC demonstrates that making diffusion models "aware" of temporal boundaries is key to accurate dense video captioning. While the model is highly effective, the iterative nature of diffusion models introduces computational overhead during inference. Future research may focus on optimizing this process or incorporating multi-modal data, such as audio and speech, to provide even richer context for caption generation.

Summary updated

BibTeX
@inproceedings{chen2025diffdvc,
  author = {Wei Chen and Jianwei Niu and Xuefeng Liu and Zhendong Wang and Shaojie Tang and Guogang Zhu},
  title = {{DiffDVC: Accurate Event Detection for Dense Video Captioning via Diffusion Models}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i2.32221},
}
Figure