Abstract
Video Moment Retrieval (VMR) and Highlight Detection (HD) are critical tasks in video understanding. VMR aims to locate specific video segments corresponding to a natural language query, while HD focuses on identifying the most relevant or "highlight" moments within a video. Despite significant progress using Transformer-based architectures, existing methods struggle with semantic overlap in training data, insufficient capture of local temporal features, and inefficient decoding of complex multimodal information.
To address these challenges, we present LD-DETR (Loop Decoder DEtection TRansformer). Our model introduces three key innovations: a Distill Align module to improve cross-modal alignment, a Convolutional Fuser to capture local temporal context, and a Loop Decoder that iteratively refines predictions without increasing parameter count. LD-DETR achieves state-of-the-art performance on major benchmarks including QVHighlights, Charades-STA, and TACoS.
The LD-DETR Architecture
The LD-DETR architecture is designed to process video and text queries through a series of specialized modules that enhance feature alignment and extraction. Unlike previous models that rely solely on global attention, LD-DETR balances global context with local precision.
Distill Align
Standard contrastive learning often treats all non-matching pairs in a batch as absolute negatives. However, in video datasets, different queries often share semantic concepts (e.g., "a person walking" vs. "a person running"). Treating these as 100% negatives can confuse the model. Distill Align mitigates this by calculating a similarity matrix using a momentum queue and distilling it into a "soft" identity matrix. This allows the model to recognize shared semantics and learn from a much larger pool of samples efficiently without requiring massive GPU memory.
Convolutional Fuser
While Transformers excel at global context, they can overlook fine-grained local actions. The Convolutional Fuser integrates 1D convolutional layers into the fusion process between standard Transformer encoders. These layers have a restricted receptive field, making them ideal for capturing short-duration temporal correlations—specific movements or actions—that are often diluted in global attention mechanisms.
Loop Decoder
The Loop Decoder addresses the limitations of standard Transformer decoders. Instead of simply stacking more layers—which often leads to overfitting on smaller datasets—LD-DETR feeds the decoder's output back into itself as a new query for $N$ iterations. This iterative process allows the model to progressively refine the predicted boundaries and highlight scores using the same set of learned weights, maximizing the utility of the decoder's capacity without adding parameters.
Key Results and Visualizations
We evaluated LD-DETR on four major benchmarks: QVHighlights, Charades-STA, TACoS, and TVSum. LD-DETR achieved state-of-the-art results across these datasets. On QVHighlights, it reached a Recall@1 (IoU=0.5) of 66.80% and an Average mAP of 46.41%, significantly outperforming previous models like Moment-DETR and TR-DETR.
The effectiveness of the Loop Decoder is particularly evident when visualizing the predictions across successive iterations. As the model "loops," it hones in on the correct temporal boundaries.
As shown in the visualization, the initial prediction (Loop 0) is often broad or misaligned. Through subsequent loops, the model iteratively adjusts the start and end timestamps, converging toward the ground truth. This refinement happens without adding any new parameters to the model, demonstrating a highly efficient way to boost performance.
Conclusion
LD-DETR represents a significant step forward in video-text understanding. By addressing the nuances of semantic overlap, local temporal context, and decoder efficiency, it sets a new standard for Video Moment Retrieval and Highlight Detection. The modular nature of its components—particularly the Distill Align and Loop Decoder—suggests they could be broadly applicable to other multimodal Transformer architectures beyond video retrieval.
Summary updated