Papers › NaQ: Leveraging Narrations as Queries to Supervise Episodic Memory

NaQ: Leveraging Narrations as Queries to Supervise Episodic Memory

2 Jan 2023CVPR 2023 1arXiv:2301.00746archive 2025-07-28

Santhosh Kumar Ramakrishnan, Ziad Al-Halah, Kristen Grauman

Searching long egocentric videos with natural language queries (NLQ) has compelling applications in augmented reality and robotics, where a fluid index into everything that a person (agent) has seen before could augment human memory and surface relevant information on demand. However, the structured nature of the learning problem (free-form text query inputs, localized video temporal window outputs) and its needle-in-a-haystack nature makes it both technically challenging and expensive to supervise. We introduce Narrations-as-Queries (NaQ), a data augmentation strategy that transforms standard video-text narrations into training data for a video query localization model. Validating our idea on the Ego4D benchmark, we find it has tremendous impact in practice. NaQ improves multiple top models by substantial margins (even doubling their accuracy), and yields the very best results to date on the Ego4D NLQ challenge, soundly outperforming all challenge winners in the CVPR and ECCV 2022 competitions and topping the current public leaderboard. Beyond achieving the state-of-the-art for NLQ, we also demonstrate unique properties of our approach such as the ability to perform zero-shot and few-shot NLQ, and improved performance on queries about long-tail object categories. Code and models: {\small\url{http://vision.cs.utexas.edu/projects/naq}}.

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

Code

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

By repository: official repository: 15 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.

srama2512/NaQ officialmentioned on GitHubpytorchMIT 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

15 samples harvested; 5 ran; 2 honoured the contract we drafted; 10 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.

2ran · honoured contract
1ran · our draft was wrong
2ran
10unverified

Licence: 0 of the 15 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 srama2512/NaQ. “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.

swish srama2512/NaQ/ReLER/ms_cm/bert_layers.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 0f786c407fb1ee4c · report
gelu srama2512/NaQ/ReLER/ms_cm/bert_layers.py official repository ran · honoured contract fingerprinted MIT (permissive) · 3c06d11eadebd504 · report
load_json srama2512/NaQ/ReLER/ms_cm/vslnet_utils.py official repository ran MIT (permissive) · a8ccf61e0ee23809 · report
load_pickle srama2512/NaQ/ReLER/ms_cm/vslnet_utils.py official repository ran MIT (permissive) · 259b0af842be3b00 · report
mask_logits srama2512/NaQ/ReLER/ms_cm/model.py official repository ran · honoured contract fingerprinted MIT (permissive) · 60df4d5a1eee1b92 · report
build_model srama2512/NaQ/ReLER/ms_cm/clip_model.py official repository unverified MIT (permissive) · 9312610a229b4ebf · report
count_parameters srama2512/NaQ/ReLER/utils/model_utils.py official repository unverified MIT (permissive) · edb929dece68582e · report
filter_glove_embedding srama2512/NaQ/VSLNet/utils/data_gen.py official repository unverified MIT (permissive) · 094900ebac5a22d2 · report
get_em_clips srama2512/NaQ/utils/create_naq_dataset.py official repository unverified MIT (permissive) · e46b6ba1c089129f · report
load_glove srama2512/NaQ/VSLNet/utils/data_gen.py official repository unverified MIT (permissive) · 623b22c7208a83a3 · report
load_json srama2512/NaQ/utils/create_naq_dataset.py official repository unverified MIT (permissive) · 21e3f8885442c5f3 · report
load_lines srama2512/NaQ/ReLER/ms_cm/vslnet_utils.py official repository unverified MIT (permissive) · f319d88d5afe29f2 · report
load_narrations_data srama2512/NaQ/utils/create_naq_dataset.py official repository unverified MIT (permissive) · 32e7ce1faa537e14 · report
pad_text_tenor_list srama2512/NaQ/ReLER/ms_cm/model.py official repository unverified MIT (permissive) · 4789ccc84c2e515c · report
vocab_emb_gen srama2512/NaQ/VSLNet/utils/data_gen.py official repository unverified MIT (permissive) · 76e886ecae69991a · report

Tasks

Data AugmentationNatural Language Queries

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