Aligning Moments in Time Using Video Queries

Yogesh Kumar, Uday Agarwal, M. Gupta, Anand Mishra
8/1/2025

No confident code implementation found for this paper.

Abstract

Video-to-video moment retrieval (Vid2VidMR) is the task of localizing unseen events or moments in a target video using a query video. This task poses several challenges, such as the need for semantic frame-level alignment and modeling complex dependencies between query and target videos.

Show full abstract

To tackle this challenging problem, we introduce MATR (Moment Alignment TRansformer), a transformerbased model designed to capture semantic context as well as the temporal details necessary for precise moment localization. MATR conditions target video representations on query video features using dual-stage sequence alignment that encodes the required correlations and dependencies. These representations are then used to guide foreground/background classification and boundary prediction heads, enabling the model to accurately identify moments in the target video that semantically match with the query video. Additionally, to provide a strong task-specific initialization for MATR, we propose a self-supervised pre-training technique that involves training the model to localize random clips within videos. Extensive experiments demonstrate that MATR achieves notable performance improvements of 13.1% in R@1 and 8.1% in mIoU on an absolute scale compared to state-of-the-art methods on the popular ActivityNet-VRL dataset. Additionally, on our newly proposed dataset, SportsMoments, MATR shows a 14.7 % gain in R@1 and a 14.4 % gain in mIoU on an absolute scale over strong baselines. We make the dataset and code public at: https://github.com/vl2g/MATR.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kumar2025aligning,
  title  = {Aligning Moments in Time Using Video Queries},
  author = {Yogesh Kumar and Uday Agarwal and M. Gupta and Anand Mishra},
  year   = {2025},
  eprint = {2508.15439},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2508.15439},
  journal = {IEEE International Conference on Computer Vision}
}

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/2508.15439.svg)](https://codeofpaper.com/paper/2508.15439)

Discussion