RGNet: A Unified Clip Retrieval and Grounding Network for Long Videos

Tanveer Hannan, Md Mohaiminul Islam, Thomas Seidl, Gedas Bertasius
12/11/2023
cs.CV
transformer-attention

No official code found. Best implementation: Tanveer81/RGNet (20 stars, last commit 2025-03-03).

Abstract

Locating specific moments within long videos (20-120 minutes) presents a significant challenge, akin to finding a needle in a haystack. Adapting existing short video (5-30 seconds) grounding methods to this problem yields poor performance. Since most real life videos, such as those on YouTube and AR/VR, are lengthy, addressing this issue is crucial. Existing methods typically operate in two stages: clip retrieval and grounding. However, this disjoint process limits the retrieval module's fine-grained event understanding, crucial for specific moment detection. We propose RGNet which deeply integrates clip retrieval and grounding into a single network capable of processing long videos into multiple granular levels, e.g., clips and frames. Its core component is a novel transformer encoder, RG-Encoder, that unifies the two stages through shared features and mutual optimization. The encoder incorporates a sparse attention mechanism and an attention loss to model both granularity jointly. Moreover, we introduce a contrastive clip sampling technique to mimic the long video paradigm closely during training. RGNet surpasses prior methods, showcasing state-of-the-art performance on long video temporal grounding (LVTG) datasets MAD and Ego4D.

View on arXivView PDF

Code Implementations(1)

Tanveer81/RGNetCommunity100%

This is the official implementation of RGNet: A Unified Retrieval and Grounding Network for Long Videos

201Shell, PythonDec 8, 20231 years ago

Similar Papers

Cite this paper

@article{hannan2023rgnet,
  title  = {RGNet: A Unified Clip Retrieval and Grounding Network for Long Videos},
  author = {Tanveer Hannan and Md Mohaiminul Islam and Thomas Seidl and Gedas Bertasius},
  year   = {2023},
  eprint = {2312.06729},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.06729v3}
}

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

Discussion