A Flexible and Scalable Framework for Video Moment Search

Chongzhi Zhang, Xizhou Zhu, Aixin Sun
1/9/2025
cs.IRcs.CV

No official code found. Best implementation: Ranking-VMR/SPR (13 stars, MIT, last commit 2025-01-10).

Abstract

Video moment search, the process of finding relevant moments in a video corpus to match a user's query, is crucial for various applications. Existing solutions, however, often assume a single perfect matching moment, struggle with inefficient inference, and have limitations with hour-long videos. This paper introduces a flexible and scalable framework for retrieving a ranked list of moments from collection of videos in any length to match a text query, a task termed Ranked Video Moment Retrieval (RVMR). Our framework, called Segment-Proposal-Ranking (SPR), simplifies the search process into three independent stages: segment retrieval, proposal generation, and moment refinement with re-ranking. Specifically, videos are divided into equal-length segments with precomputed embeddings indexed offline, allowing efficient retrieval regardless of video length. For scalable online retrieval, both segments and queries are projected into a shared feature space to enable approximate nearest neighbor (ANN) search. Retrieved segments are then merged into coarse-grained moment proposals. Then a refinement and re-ranking module is designed to reorder and adjust timestamps of the coarse-grained proposals. Evaluations on the TVR-Ranking dataset demonstrate that our framework achieves state-of-the-art performance with significant reductions in computational cost and processing time. The flexible design also allows for independent improvements to each stage, making SPR highly adaptable for large-scale applications.

View on arXivView PDF

Code Implementations(1)

Ranking-VMR/SPRCommunity100%
MIT
130Shell, PythonJan 8, 20251 years agoMIT

Similar Papers

Cite this paper

@article{zhang2025flexible,
  title  = {A Flexible and Scalable Framework for Video Moment Search},
  author = {Chongzhi Zhang and Xizhou Zhu and Aixin Sun},
  year   = {2025},
  eprint = {2501.05072},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.05072v1}
}

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

Discussion