DiffVC: A Non-autoregressive Framework Based on Diffusion Model for Video Captioning

Junbo Wang, Liangyu Fu, Yuke Li, Yining Zhu, Ya Jing, Xuecheng Wu, Jiangbin ZhengarXiv 2026 · OpenReview

TL;DR

This paper introduces DiffVC, a novel non-autoregressive framework for video captioning that leverages diffusion models to generate captions in parallel, addressing the speed and cumulative error issues of traditional autoregressive methods. By employing a "discriminative denoiser," DiffVC enhances caption quality by better modeling the interplay between visual and textual information, achieving state-of-the-art performance among non-autoregressive approaches and competitive results with autoregressive models.

What Problem Does This Paper Address?

Generating accurate and coherent textual descriptions for videos is a challenging task in AI, requiring models to understand not just objects and scenes but also their temporal and spatial relationships. Existing video captioning methods predominantly use autoregressive encoder-decoder architectures. While these methods excel at capturing semantic logic by generating words sequentially, they suffer from two major drawbacks: slow generation speed, especially for longer captions, and a cumulative error problem where mistakes in early word predictions can cascade and degrade the quality of the entire caption.

While non-autoregressive methods offer parallel decoding and thus faster generation, they often struggle with generating high-quality captions. This is largely due to insufficient modeling of the complex correlations between visual and textual modalities, leading to issues like missing words or semantic inaccuracies. DiffVC aims to bridge this gap by combining the speed benefits of non-autoregressive generation with the high-quality generation capabilities of diffusion models, specifically designed to improve multimodal interaction.

Methods

DiffVC introduces a diffusion-based approach for non-autoregressive video captioning. The core idea is to treat text generation as a denoising process.

  1. Video Encoding: A visual encoder (specifically, RSFD [20]) processes the input video to extract a visual representation.
  2. Textual Representation Diffusion: During training, the ground-truth caption is encoded into a textual representation. Gaussian noise is then gradually added to this representation over a series of timesteps (forward diffusion process).
  3. Discriminative Denoiser: This is the key innovation. Instead of a standard Transformer denoiser, DiffVC employs a "discriminative denoiser." This module is designed to explicitly model the interactions between the visual representation (as a conditional constraint) and the noisy textual representation. It achieves this by separating the "query" (textual) and "key/value" (visual) paths within its attention mechanism. This allows the model to better distinguish the roles of visual and textual information, preventing the visual context from being "submerged" and improving the generation of semantically rich and accurate text.
  4. Non-autoregressive Language Model: The denoised textual representation is then fed into a standard Transformer-based non-autoregressive language model to generate the final caption.
  5. Inference: During inference, the process starts by sampling noise from a Gaussian distribution and feeding it, along with the visual representation, into the discriminative denoiser. The denoiser then iteratively refines the representation until a clean textual representation is obtained, which is then passed to the language model for caption generation. The paper also mentions using DDIM [21] for faster inference by employing fewer timesteps.

Datasets

The proposed DiffVC model was evaluated on three standard video captioning datasets:

  • MSR-VTT: Contains 10,000 videos with 20 captions each.
  • MSVD: Consists of 1,970 YouTube clips with approximately 40 English captions per clip.
  • VATEX: A larger dataset with 34,991 videos and 10 English annotations per video.

The paper uses standard public splits for training, validation, and testing for these datasets.

Key Insights and Ideas

  • Diffusion Models for Text Generation: Applying diffusion models, which have shown great success in image generation, to discrete data like text for captioning is a promising direction. The paper demonstrates its effectiveness in overcoming limitations of previous approaches.
  • The "Discriminative Denoiser": This is the core technical contribution. By explicitly decoupling the interaction paths of visual and textual information within the denoising process, the model can better leverage visual context for more accurate and semantically coherent caption generation, addressing a key weakness of prior non-autoregressive methods.
  • Balancing Speed and Quality: DiffVC successfully achieves both faster generation speeds (due to non-autoregressive nature) and improved caption quality, outperforming previous non-autoregressive methods and rivaling autoregressive ones.
  • Addressing Cumulative Error: The parallel nature of the diffusion and non-autoregressive decoding process inherently mitigates the cumulative error problem seen in sequential autoregressive models.

Key Results

  • Performance: DiffVC achieves state-of-the-art results among non-autoregressive methods on MSR-VTT and VATEX across all metrics (BLEU@4, METEOR, ROUGE-L, CIDEr). On MSVD, it achieves the best METEOR and CIDEr scores.
  • Comparison to Autoregressive Models: DiffVC demonstrates comparable performance to strong autoregressive models, with a maximum improvement of 9.9 on CIDEr and 2.6 on B@4 compared to some autoregressive baselines.
  • Speed: As shown in Figure 2, DiffVC exhibits significantly faster generation speeds compared to autoregressive methods, especially for longer captions, while maintaining high quality (Figure 3).
  • Ablation Studies:
    • Removing the "Discriminative Denoiser" significantly degrades performance, highlighting its importance.
  • Using a standard Transformer instead of the proposed language model also leads to a substantial drop in quality.
  • The optimal depth for the discriminative denoiser was found to be 12 blocks, and 6 blocks for the non-autoregressive language model.
  • An inference step of 20 timesteps provided a good balance between quality and speed.

Limitations and Future Work

  • Computational Cost: While faster than autoregressive models, diffusion models can still be computationally intensive. The paper mentions using DDIM for faster inference, suggesting further optimization in this area is valuable.
  • Discrete Data Challenges: The paper acknowledges that generation tasks for discrete data like text remain challenging for diffusion models, implying that further research into adapting diffusion for text could yield even better results.
  • Future Work: The authors suggest that their framework can be extended to other vision-language tasks. Further exploration into optimizing the diffusion process for text and improving multimodal interaction remains an open area.

Summary updated

BibTeX
@misc{wang2026diffvc,
  author = {Junbo Wang and Liangyu Fu and Yuke Li and Yining Zhu and Ya Jing and Xuecheng Wu and Jiangbin Zheng},
  title = {{DiffVC: A Non-autoregressive Framework Based on Diffusion Model for Video Captioning}},
  year = {2026},
  eprint = {2604.08084},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.08084},
}
Figure