Moment of Untruth: Dealing with Negative Queries in Video Moment Retrieval

Kevin Flanagan, Dima Damen, Michael Wray

TL;DR

Current video moment retrieval models suffer from a fundamental "forced-choice" flaw: they assume the text query is always present in the video, leading to confident but completely hallucinated timestamp predictions for irrelevant queries. To fix this, the authors introduce Negative-Aware Video Moment Retrieval (NA-VMR), establishing new benchmarks and a lightweight classification framework that rejects irrelevant queries with up to 98.4% average accuracy while preserving precise localization performance.

What Problem Does This Paper Address?

Video Moment Retrieval (VMR) is the task of pinpointing the exact start and end times of an action in a video based on a text query (e.g., locating "a person opening an oven" within a 10-minute cooking vlog).

While state-of-the-art (SOTA) models excel at this task, they operate under a dangerous closed-world assumption: every query is guaranteed to match something in the video. If you give a standard model a video of someone eating dinner and ask it to find where "the gazelle leaped over the shrubs," it won't tell you the query is irrelevant. Instead, it will confidently output a random timestamp.

Figure 1. Video moment retrieval models are designed to predict start and end times in a video given a query sentence. Regard- less of whether the text query is positive (exists in the video), in- domain negative (from the same domain but not present) or out- of-domain negative (from an entirely different scenario), current models such as UniVTG still produce a start-end time prediction.

This inability to handle "negative queries" limits the reliability of visual-language models in real-world applications, such as video search engines or AI assistants, where user inputs are frequently noisy or irrelevant.

Methods

The authors formalize the NA-VMR task, requiring models to output a prediction score ($\tilde{y}$) alongside the traditional start/end times. If $\tilde{y} = 0$, the query is rejected.

They categorize negative queries into two distinct types:

  • In-Domain (ID) Negatives: Queries that describe plausible actions within the video's general context but do not happen in this specific video (e.g., "the person opens the microwave" in a kitchen video where they only used the stove).
  • Out-of-Domain (OOD) Negatives: Queries from an entirely different context or scenario (e.g., sports actions queried against a household video).

To solve this, the authors propose a flexible framework that can adapt existing SOTA VMR models (like UniVTG, CG-DETR, and QD-DETR). They add a lightweight binary classification head on top of the base model.

Figure 3. The classification head for NA-VMR is added to a Video Moment Retrieval model (UniVTG in this case) via summation of the indicator and saliency scores, which are then passed through a recurrent layer and a feed forward layer before producing a single value output for classification.

For their primary model, UniVTG-NA, the framework sums the model's internal indicator scores (which measure moment matching likelihood) and saliency scores (which measure frame-level relevance). These combined features are passed through a Recurrent Neural Network (RNN) to maintain temporal awareness, followed by a Multi-Layer Perceptron (MLP) and a sigmoid function to output the final accept/reject decision.

During training, the loss functions are modified for negative queries: the boundary localization loss is set to zero, and the model is penalized if its indicator and saliency scores for negative queries are high.

Datasets

The authors created new negative-aware evaluation benchmarks for two widely used VMR datasets:

  1. QVHighlights: A dataset consisting of vlogs and news reports.
  2. Charades-STA: A dataset focused on indoor, scripted household activities.

To generate the negative queries:

  • ID Negatives were created by shuffling video-sentence pairs within the datasets. To prevent accidental true matches (false negatives), they used CLIP embeddings to calculate pseudo-similarity scores, ensuring shuffled sentences were assigned only to videos in the lowest 50th percentile of similarity.
  • OOD Negatives were generated using Large Language Models (Claude-3-Opus and GPT-4o) prompted to create diverse, short action descriptions for completely unrelated topics (e.g., "physics laboratory," "competitive sports").

Key Insights and Ideas

  • Standard Models are Blind to Irrelevance: The authors discovered that standard VMR models generate nearly identical indicator score distributions for both positive and negative queries. They treat a completely irrelevant query with the same confidence as a correct one.
  • Saliency is the Key to Rejection: While standard localization features fail to separate negative queries, frame-level saliency scores are much more discriminative. By forcing the model to explicitly minimize saliency for negative queries during training, the distributions become highly separable.
Figure 4. Histograms of indicator and saliency scores from UniVTG, CG-DETR and QD-DETR on the positive and negative queries. Bottom row: Indicator and saliency scores from UniVTG-NA.
  • ID and OOD Negatives are Complementary: Ablation studies revealed that training a model only on OOD negatives makes it fail at rejecting ID negatives (dropping to ~33% accuracy). Training on both types provides a complementary training signal that yields robust performance across the board.

Key Results

UniVTG-NA achieved outstanding performance on the new benchmarks, proving that models can learn to reject bad queries without sacrificing their ability to localize good ones:

  • High Rejection Accuracy: On the QVHighlights dataset, UniVTG-NA achieved 100% OOD rejection accuracy and 96.84% ID rejection accuracy.
  • Minimal Performance Trade-off: The model retained its positive moment retrieval capabilities, staying within a minor 3.87% Recall@1 margin compared to the original, non-negative-aware baseline.
  • Outperforming Baselines: It significantly outperformed traditional post-processing classifiers (like an external SVM trained on saliency scores), which suffered from high false-negative rates (incorrectly rejecting valid positive queries).
Figure 5. Qualitative result of UniVTG-NA on QVHighlights.

Limitations and Future Work

The authors note two primary limitations:

  1. The Performance Trade-off: There remains an inherent tension between maximizing localization recall and maximizing negative rejection accuracy.
  2. Dependence on Quality Saliency Data: For datasets like Charades-STA that lack human-annotated frame saliency, models must rely on "pseudo-saliency" generated from boundary timestamps. This weaker training signal resulted in lower ID rejection accuracy (~64%) compared to datasets with rich saliency annotations. Future work will likely focus on improving pseudo-saliency generation for unannotated datasets.

Summary updated

BibTeX
@inproceedings{flanagan2025moment,
  author = {Kevin Flanagan and Dima Damen and Michael Wray},
  title = {{Moment of Untruth: Dealing with Negative Queries in Video Moment Retrieval}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2025},
}
Figure