Papers › MomentDiff: Generative Video Moment Retrieval from Random to Real

MomentDiff: Generative Video Moment Retrieval from Random to Real

6 Jul 2023NeurIPS 2023 11arXiv:2307.02869archive 2025-07-28

Pandeng Li, Chen-Wei Xie, Hongtao Xie, Liming Zhao, Lei Zhang, Yun Zheng, Deli Zhao, Yongdong Zhang

Video moment retrieval pursues an efficient and generalized solution to identify the specific temporal segments within an untrimmed video that correspond to a given language description. To achieve this goal, we provide a generative diffusion-based framework called MomentDiff, which simulates a typical human retrieval process from random browsing to gradual localization. Specifically, we first diffuse the real span to random noise, and learn to denoise the random noise to the original span with the guidance of similarity between text and video. This allows the model to learn a mapping from arbitrary random locations to real moments, enabling the ability to locate segments from random initialization. Once trained, MomentDiff could sample random temporal segments as initial guesses and iteratively refine them to generate an accurate temporal boundary. Different from discriminative works (e.g., based on learnable proposals or queries), MomentDiff with random initialized spans could resist the temporal location biases from datasets. To evaluate the influence of the temporal location biases, we propose two anti-bias datasets with location distribution shifts, named Charades-STA-Len and Charades-STA-Mom. The experimental results demonstrate that our efficient framework consistently outperforms state-of-the-art methods on three public benchmarks, and exhibits better generalization and robustness on the proposed anti-bias datasets. The code, model, and anti-bias evaluation datasets are available at https://github.com/IMCCretrieval/MomentDiff.

PaperPDFConference PDFCodeCode Syntology ran

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="2307.02869")

Code

Syntology Ran 7 of 11 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 1 ran · our draft was wrong; 4 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

imccretrieval/momentdiff officialmentioned in paperpytorchNOASSERTION report

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

11 samples harvested; 7 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
1ran · our draft was wrong
4ran
4unverified

Licence: 11 of the 11 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 imccretrieval/momentdiff. “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.

build_position_encoding imccretrieval/momentdiff/momentdiff/position_encoding.py official repository ran no licence file found · pointer only · d6ca656c20df137a · report
get_list imccretrieval/momentdiff/momentdiff/matcher.py official repository ran licence not identified · pointer only · 42c73359ca76f61d · report
inverse_sigmoid imccretrieval/momentdiff/momentdiff/model.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 6897880b6ce14c94 · report
mask_logits imccretrieval/momentdiff/momentdiff/text_encoder.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 1c17153fb5488283 · report
prepare_batch_inputs imccretrieval/momentdiff/momentdiff/start_end_dataset.py official repository ran no licence file found · pointer only · fbfeec7963c6a061 · report
prepare_batch_inputs_audio imccretrieval/momentdiff/momentdiff/start_end_dataset_audio.py official repository ran no licence file found · pointer only · 1c76f7707e1343b4 · report
span_cxw_to_xx imccretrieval/momentdiff/momentdiff/span_utils.py official repository ran · violated contract fingerprinted no licence file found · pointer only · b7639c2e8b83837b · report
accuracy imccretrieval/momentdiff/momentdiff/misc.py official repository unverified no licence file found · pointer only · 081c8abd57d082fd · report
multi_head_attention_forward imccretrieval/momentdiff/momentdiff/attention.py official repository unverified no licence file found · pointer only · a82091666b9db8cf · report
span_xx_to_cxw imccretrieval/momentdiff/momentdiff/span_utils.py official repository unverified no licence file found · pointer only · 7114f025044af9b4 · report
temporal_iou imccretrieval/momentdiff/momentdiff/span_utils.py official repository unverified no licence file found · pointer only · e4ae5582a2533cdb · report

Tasks

Moment RetrievalRetrieval

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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