NaQ: Leveraging Narrations as Queries to Supervise Episodic Memory

Santhosh K. Ramakrishnan, Ziad Al-Halah, K. Grauman
2/14/2026

No official code found. Best implementation: srama2512/NaQ (17 stars, MIT, PyTorch, last commit 2024-01-26).

Abstract

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 fewshot NLQ, and improved performance on queries about long-tail object categories. Code and models: http://vision.cs.utexas.edu/projects/naq.

View on arXivView PDF

Code Implementations(1)

srama2512/NaQCommunity100%
PyTorchMIT

NaQ: Leveraging Narrations as Queries to Supervise Episodic Memory. CVPR 2023.

171Shell, PythonMar 24, 20232 years agoMIT
ego4depisodic-memorypytorchvision-and-language

Similar Papers

Cite this paper

@article{ramakrishnan2026naq,
  title  = {NaQ: Leveraging Narrations as Queries to Supervise Episodic Memory},
  author = {Santhosh K. Ramakrishnan and Ziad Al-Halah and K. Grauman},
  year   = {2026},
  eprint = {2301.00746},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2301.00746},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.00746.svg)](https://codeofpaper.com/paper/2301.00746)

Discussion