MomentMix Augmentation with Length-Aware DETR for Temporally Robust Moment Retrieval

Seojeong Park, Jiho Choi, Kyungjune Baek, Hyunjung Shim

Finding a needle in a haystack is hard, but finding a three-second clip in a ten-minute video is often harder for today’s AI. While DEtection TRansformer (DETR)-based models have revolutionized Video Moment Retrieval (MR) by making it faster and end-to-end, they suffer from a "short-moment malaise."

In their recent paper, "MomentMix Augmentation with Length-Aware DETR for Temporally Robust Moment Retrieval," researchers from KAIST and Sejong University diagnose why these models fail on short segments and propose a two-pronged cure: a smarter way to generate data and a decoder that finally understands that size matters.

TL;DR

DETR-based video retrieval models struggle to find short moments because of limited data diversity and inherent prediction biases. This paper introduces MomentMix, a two-stage augmentation strategy, and a Length-Aware Decoder (LAD) that uses length-specific "expert" queries to achieve state-of-the-art performance, particularly boosting short-moment retrieval by up to 16.9% in mAP.

What Problem Does This Paper Address?

Video Moment Retrieval (MR) is the task of localizing the start and end points of a video segment that matches a natural language query (e.g., "a person flips a pancake").

The authors observed a startling performance gap: while a model like UVCOM achieves an mAP of 44.90 for middle-length moments (10–30s), it plummets to just 10.67 for short moments (under 10s). As shown in Figure 1, this isn't an isolated incident; it's a systemic failure across DETR-based architectures.

Figure 1. (a) Performance (mAP) of previous moment retrieval (MR) DETR-based methods [26, 32, 36] on QVHIGHLIGHTS test set by the lengths of the moment. Notice that the mAP drops sig- nificantly in capturing short-moment, where MR can be best uti- lized. (b) Short moment performance (mAP) comparison.

Through rigorous analysis, the authors identified two root causes:

  1. Data Scarcity & Simplicity: Short moments in training sets lack visual diversity. Their features tend to be tightly clustered in latent space, making it hard for models to generalize to new contexts.
  2. Prediction Bias: Models struggle to find the center of short moments. Figure 3 shows that for short moments, only 37% of predicted centers actually fall within the ground truth, compared to over 80% for long moments.
Figure 3. Model Perspective Analysis. We analyze the top-1 pre- dictions of QD-DETR on the QVHIGHLIGHTS val set. [Left] Per- centage of predictions where the predicted center falls within the ground truth. Only 37% of center predictions for short moments have their centers within the ground truth, indicating substantial errors in center prediction. [Right] Confusion matrix displaying predicted moment lengths (x-axis) versus ground-truth moment lengths (y-axis) across various durations. Short moments (high- lighted in red) show a high rate of length prediction errors.

Methods

The authors propose two main innovations to tackle these issues:

1. MomentMix Augmentation

To solve the diversity problem, MomentMix creates "synthetic" short moments in two stages:

  • ForegroundMix: It takes long, feature-rich foreground segments and cuts them into multiple short pieces, shuffling them to create new samples.
  • BackgroundMix: It replaces the original background with random clips from other videos that are semantically dissimilar to the current query. This forces the model to learn exactly what distinguishes the target action from a variety of irrelevant contexts.

2. Length-Aware Decoder (LAD)

Standard DETR decoders treat all queries the same. LAD introduces Length Conditioning:

  • Length-wise Expert Queries: The model categorizes moments into classes (short, middle, long). Specific decoder queries are assigned to be "experts" for these classes using class-pattern embeddings.
  • Length-wise Bipartite Matching: During training, the model only matches "short" queries with "short" ground-truth moments. This prevents the "length confusion" that plagues standard models and allows the decoder to focus its attention patterns based on the expected duration.

Datasets

The researchers evaluated their approach on three major benchmarks:

  • QVHighlights: A large-scale dataset of 10k+ YouTube videos covering diverse daily and political activities.
  • Charades-STA: Focused on indoor activities, where moments are predominantly short (under 20s).
  • TACoS: Cooking-related videos that are very long, containing many short, fine-grained actions.

Key Insights and Ideas

  • Inside vs. Boundary Attention: A fascinating finding (Figure 7) is that for long moments, models naturally attend to the boundaries (start/end). However, for short moments, focusing on the center (inside attention) is more efficient. LAD allows the model to switch between these strategies based on the query's length class.
  • Feature Concentration: The paper quantifies that short moments have a significantly smaller "confidence ellipse" in feature space (Figure 2/5), proving they provide less signal for the model to learn from without augmentation.
  • Few-Shot Robustness: MomentMix is so effective at generating useful training signals that the model trained on only 10% of the data with MomentMix outperformed the baseline trained on the full 100% dataset.

Key Results

The proposed method, LA-DETR, sets new state-of-the-art records:

  • QVHighlights: Achieved a 16.9% gain in average mAP (moving from 39.84 to 46.61).
  • Short Moment Mastery: On QVHighlights, short-moment mAP increased by over 6% across multiple baselines (QD-DETR, TR-DETR, UVCOM).
  • Generalization: The model showed consistent improvements on TACoS and Charades-STA, proving the length-aware approach isn't just over-fitting one specific dataset.

Limitations and Future Work

While the model excels at temporal localization, it still faces challenges with visual-text alignment in complex scenes. The authors note failure cases involving strong window reflections or "picture-in-picture" scenes that create visual ambiguity.

Future work aims to extend these augmentation strategies to non-DETR architectures and develop more sophisticated "temporal-aware" augmentations that can handle even more complex temporal dependencies.

Summary updated

BibTeX
@inproceedings{park2026momentmix,
  author = {Seojeong Park and Jiho Choi and Kyungjune Baek and Hyunjung Shim},
  title = {{MomentMix Augmentation with Length-Aware DETR for Temporally Robust Moment Retrieval}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2026},
  doi = {10.1109/wacv61042.2026.00116},
}
Figure