CVMar 17, 2023

DiffusionRet: Generative Text-Video Retrieval with Diffusion Model

Peking U
arXiv:2303.09867v295 citationsh-index: 86Has Code
AI Analysis

This addresses the problem of handling out-of-distribution data in text-video retrieval for AI and multimedia applications, offering a novel paradigm rather than an incremental improvement.

The paper tackles text-video retrieval by shifting from a discriminative to a generative approach, modeling joint probability with a diffusion framework, and achieves superior performance on five benchmarks including MSRVTT and ActivityNet Captions, with strong out-of-domain results.

Existing text-video retrieval solutions are, in essence, discriminant models focused on maximizing the conditional likelihood, i.e., p(candidates|query). While straightforward, this de facto paradigm overlooks the underlying data distribution p(query), which makes it challenging to identify out-of-distribution data. To address this limitation, we creatively tackle this task from a generative viewpoint and model the correlation between the text and the video as their joint probability p(candidates,query). This is accomplished through a diffusion-based text-video retrieval framework (DiffusionRet), which models the retrieval task as a process of gradually generating joint distribution from noise. During training, DiffusionRet is optimized from both the generation and discrimination perspectives, with the generator being optimized by generation loss and the feature extractor trained with contrastive loss. In this way, DiffusionRet cleverly leverages the strengths of both generative and discriminative methods. Extensive experiments on five commonly used text-video retrieval benchmarks, including MSRVTT, LSMDC, MSVD, ActivityNet Captions, and DiDeMo, with superior performances, justify the efficacy of our method. More encouragingly, without any modification, DiffusionRet even performs well in out-domain retrieval settings. We believe this work brings fundamental insights into the related fields. Code is available at https://github.com/jpthu17/DiffusionRet.

Code Implementations4 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes