Papers › DiffusionRet: Generative Text-Video Retrieval with Diffusion Model
DiffusionRet: Generative Text-Video Retrieval with Diffusion Model
Peng Jin, Hao Li, Zesen Cheng, Kehan Li, Xiangyang Ji, Chang Liu, Li Yuan, Jie Chen
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.
In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.09867")
Code
Syntology Ran 5 of 6 code samples harvested from 1 repository linked to this paper; 1 has no recorded run. Of those that ran: 5 ran with no contract checked.
By repository: official repository: 6 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
6 samples harvested; 5 ran; 0 honoured the contract we drafted; 1 has no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.
Licence: 0 of the 6 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.
Harvested from jpthu17/DiffusionRet. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.
Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.
Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.
a8984912b201c0e2 · report
862a183cbe47818a · report
54d61676ebbe2fec · report
2c961a941bf02a05 · report
29b441f9817457ba · report
6963fb4ce6b8de6c · report
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | text-to-video Mean Rank | 6.8 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | text-to-video Median Rank | 2.0 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | text-to-video R@1 | 48.1 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | text-to-video R@10 | 85.7 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | video-to-text Mean Rank | 6.7 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | video-to-text Median Rank | 2.0 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | video-to-text R@1 | 47.4 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | video-to-text R@10 | 86.7 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet+QB-Norm | video-to-text R@5 | 76.3 | #18 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | text-to-video Mean Rank | 6.5 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | text-to-video Median Rank | 2.0 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | text-to-video R@1 | 45.8 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | text-to-video R@10 | 86.3 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | text-to-video R@5 | 75.6 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | video-to-text Mean Rank | 6.3 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | video-to-text Median Rank | 2.0 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | video-to-text R@1 | 43.8 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | video-to-text R@10 | 86.7 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | ActivityNet | DiffusionRet | video-to-text R@5 | 75.3 | #22 of 31 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | text-to-video Mean Rank | 14.1 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | text-to-video Median Rank | 2.0 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | text-to-video R@1 | 48.9 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | text-to-video R@10 | 83.3 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | text-to-video R@5 | 75.5 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | video-to-text Mean Rank | 10.3 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | video-to-text Median Rank | 1.0 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | video-to-text R@1 | 50.3 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | video-to-text R@10 | 82.9 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet+QB-Norm | video-to-text R@5 | 75.1 | #26 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | text-to-video Mean Rank | 14.3 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | text-to-video Median Rank | 2.0 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | text-to-video R@1 | 46.7 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | text-to-video R@10 | 82.7 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | text-to-video R@5 | 74.7 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | video-to-text Mean Rank | 10.7 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | video-to-text Median Rank | 2.0 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | video-to-text R@1 | 46.2 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | video-to-text R@10 | 82.2 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | DiDeMo | DiffusionRet | video-to-text R@5 | 74.3 | #31 of 40 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | text-to-video Mean Rank | 40.7 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | text-to-video Median Rank | 8.0 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | text-to-video R@1 | 24.4 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | text-to-video R@10 | 54.3 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | text-to-video R@5 | 43.1 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | video-to-text Mean Rank | 40.2 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | video-to-text Median Rank | 9.0 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | video-to-text R@1 | 23.0 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | video-to-text R@10 | 51.5 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | LSMDC | DiffusionRet | video-to-text R@5 | 43.5 | #19 of 38 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | text-to-video Mean Rank | 12.1 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | text-to-video Median Rank | 2.0 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | text-to-video R@1 | 49.0 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | text-to-video R@10 | 82.7 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | text-to-video R@5 | 75.2 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | video-to-text Mean Rank | 8.8 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | video-to-text Median Rank | 2.0 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | video-to-text R@1 | 47.7 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | video-to-text R@10 | 84.5 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet | video-to-text R@5 | 73.8 | #21 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | text-to-video Mean Rank | 12.1 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | text-to-video Median Rank | 2.0 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | text-to-video R@1 | 48.9 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | text-to-video R@10 | 83.1 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | text-to-video R@5 | 75.2 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | video-to-text Mean Rank | 8.5 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | video-to-text Median Rank | 2.0 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | video-to-text R@1 | 49.3 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | video-to-text R@10 | 83.8 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSR-VTT-1kA | DiffusionRet+QB-Norm | video-to-text R@5 | 74.3 | #22 of 63 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | text-to-video Mean Rank | 15.6 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | text-to-video R@1 | 47.9 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | text-to-video R@10 | 84.8 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | text-to-video R@5 | 77.2 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | video-to-text Mean Rank | 4.5 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | video-to-text Median Rank | 1.0 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | video-to-text R@1 | 60.3 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | video-to-text R@10 | 92 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet+QB-Norm | video-to-text R@5 | 86.4 | #15 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | text-to-video Mean Rank | 15.7 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | text-to-video Median Rank | 2.0 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | text-to-video R@1 | 46.6 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | text-to-video R@10 | 84.1 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | text-to-video R@5 | 75.9 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | video-to-text Mean Rank | 4.5 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | video-to-text Median Rank | 1.0 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | video-to-text R@1 | 61.9 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | video-to-text R@10 | 92.9 | #18 of 24 | Archive leaderboard | report |
| Video Retrieval | MSVD | DiffusionRet | video-to-text R@5 | 88.3 | #18 of 24 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections