SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.02869 · 2023

MomentDiff: Generative Video Moment Retrieval from Random to Real

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 2 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2307.02869.json · badge: /api/ran/2307.02869.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
imccretrieval/momentdiff canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
FunctionStatusWhere it lives
build_position_encoding Ran
ran; our contract draft was wrong, not the code
imccretrieval/momentdiff/momentdiff/position_encoding.py
pointer only (licence: NONE); the stored copy get_code serves, from zxccade/SHINE, is pointer only (licence: NOASSERTION) · get_code("d6ca656c20df137a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_list Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
imccretrieval/momentdiff/momentdiff/matcher.py
pointer only (licence: NOASSERTION) · get_code("42c73359ca76f61d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, imccretrieval/momentdiff (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

inverse_sigmoid Ran
ran; our contract draft was wrong, not the code
imccretrieval/momentdiff/momentdiff/model.py
pointer only (licence: NONE); the stored copy get_code serves, from wjun0830/qd-detr, is pointer only (licence: NOASSERTION) · get_code("6897880b6ce14c94")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mask_logits Ran
ran, honoured the contract we drafted
imccretrieval/momentdiff/momentdiff/text_encoder.py
pointer only (licence: NONE); the stored copy get_code serves, from songpipi/amdnet, is pointer only (licence: NONE) · get_code("1c17153fb5488283")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_batch_inputs Ran
ran; our contract draft was wrong, not the code
imccretrieval/momentdiff/momentdiff/start_end_dataset.py
pointer only (licence: NONE); the stored copy get_code serves, from EdenGabriel/TaskWeave, is pointer only (licence: NOASSERTION) · get_code("fbfeec7963c6a061")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_batch_inputs_audio Ran
ran; our contract draft was wrong, not the code
imccretrieval/momentdiff/momentdiff/start_end_dataset_audio.py
pointer only (licence: NONE); the stored copy get_code serves, from EdenGabriel/TaskWeave, is pointer only (licence: NOASSERTION) · get_code("1c76f7707e1343b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

span_cxw_to_xx Ran
ran, violated the contract we drafted
imccretrieval/momentdiff/momentdiff/span_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from mingyao1120/TR-DETR, is pointer only (licence: NOASSERTION) · get_code("b7639c2e8b83837b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

span_xx_to_cxw Ran
ran; our contract draft was wrong, not the code
imccretrieval/momentdiff/momentdiff/span_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from Zhuo-Cao/QV-M2, is pointer only (licence: NONE) · get_code("7114f025044af9b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

temporal_iou Ran
ran; our contract draft was wrong, not the code
imccretrieval/momentdiff/momentdiff/span_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from Zhuo-Cao/QV-M2, is pointer only (licence: NONE) · get_code("e4ae5582a2533cdb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

accuracy Not yet run
unverified (harvested, no recorded run)
imccretrieval/momentdiff/momentdiff/misc.py
pointer only (licence: NONE); the stored copy get_code serves, from Zhuo-Cao/QV-M2, is pointer only (licence: NONE) · get_code("081c8abd57d082fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

multi_head_attention_forward Not yet run
unverified (harvested, no recorded run)
imccretrieval/momentdiff/momentdiff/attention.py
pointer only (licence: NONE); the stored copy get_code serves, from wjj1wjj/Nodule-DETR, is pointer only (licence: NONE) · get_code("a82091666b9db8cf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, imccretrieval/momentdiff when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 10 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 2 the same month, 10 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
inverse_sigmoid 28 other papers
7 dated earlier, 20 later, 1 same year, order not determinable · 10 only as an assembly brick
2201.12329 (2022-01)
DAB-DETR: Dynamic Anchor Boxes are Better Queries for DETR
2203.01305 (2022-03)
DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
2209.13306 (2022-09)
Embracing Consistency: A One-Stage Approach for Spatio-Temporal Video Grounding
and 25 more not named here
multi_head_attention_forward 24 other papers
3 dated earlier, 21 later
2203.01305 (2022-03)
DN-DETR: Accelerate DETR Training by Introducing Query DeNoising
2203.03605 (2022-03)
DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection
2206.02777 (2022-06)
Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentation
and 21 more not named here
accuracy 14 other papers
1 the same month, 13 later
2307.16715 (2023-07)
UniVTG: Towards Unified Video-Language Temporal Grounding
2308.06947 (2023-08)
Knowing Where to Focus: Event-aware Transformer for Video Grounding
2311.08835 (2023-11)
Correlation-Guided Query-Dependency Calibration for Video Temporal Grounding
and 11 more not named here
mask_logits 13 other papers
6 dated earlier, 7 later · 1 only as an assembly brick
1904.11574 (2019-04)
TVQA+: Spatio-Temporal Grounding for Video Question Answering
2001.09099 (2020-01)
TVR: A Large-Scale Dataset for Video-Subtitle Moment Retrieval
2005.06409 (2020-05)
Dense-Caption Matching and Frame-Selection Gating for Temporal Localization in VideoQA
and 10 more not named here
span_cxw_to_xx 10 other papers
1 dated earlier, 9 later · 2 only as an assembly brick
2107.09609 (2021-07)
QVHIGHLIGHTS: Detecting Moments and Highlights in Videos via Natural Language Queries
2311.08835 (2023-11)
Correlation-Guided Query-Dependency Calibration for Video Temporal Grounding
2401.01529 (2024-01)
Glance and Focus: Memory Prompting for Multi-Event Video Question Answering
and 7 more not named here
build_position_encoding 9 other papers
1 the same month, 8 later
2307.16715 (2023-07)
UniVTG: Towards Unified Video-Language Temporal Grounding
2308.06947 (2023-08)
Knowing Where to Focus: Event-aware Transformer for Video Grounding
2311.16464 (2023-11)
Bridging the Gap: A Unified Video Comprehension Framework for Moment Retrieval and Highlight Detection
and 6 more not named here
span_xx_to_cxw 9 other papers
9 later
2311.08835 (2023-11)
Correlation-Guided Query-Dependency Calibration for Video Temporal Grounding
2312.00083 (2023-12)
BAM-DETR: Boundary-Aligned Moment Detection Transformer for Temporal Sentence Grounding in Videos
2401.01529 (2024-01)
Glance and Focus: Memory Prompting for Multi-Event Video Question Answering
and 6 more not named here
temporal_iou 8 other papers
8 later
2311.08835 (2023-11)
Correlation-Guided Query-Dependency Calibration for Video Temporal Grounding
2401.01529 (2024-01)
Glance and Focus: Memory Prompting for Multi-Event Video Question Answering
2401.02309 (2024-01)
TR-DETR: Task-Reciprocal Transformer for Joint Moment Retrieval and Highlight Detection
and 5 more not named here
prepare_batch_inputs 2 other papers
2 later
2312.00083 (2023-12)
BAM-DETR: Boundary-Aligned Moment Detection Transformer for Temporal Sentence Grounding in Videos
2404.09263 (2024-04)
Task-Driven Exploration: Decoupling and Inter-Task Feedback for Joint Moment Retrieval and Highlight Detection
prepare_batch_inputs_audio 2 other papers
2 later
2312.00083 (2023-12)
BAM-DETR: Boundary-Aligned Moment Detection Transformer for Temporal Sentence Grounding in Videos
2404.09263 (2024-04)
Task-Driven Exploration: Decoupling and Inter-Task Feedback for Joint Moment Retrieval and Highlight Detection

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2307.02869")
get_code_for_paper("2307.02869")
have("2307.02869")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2307.02869.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2307.02869.svg)](https://syntology.ai/paper/2307.02869)

Connect an agent — have() is free.