Video Re-localization

Yang Feng, Lin Ma, Wei Liu, Tong Zhang, Jiebo Luo

Abstract

This paper introduces Video Re-localization, a novel computer vision task where a system must identify a specific segment within a long "reference" video that semantically corresponds to a short "query" video clip. Unlike traditional action localization, which relies on predefined categories, video re-localization requires matching arbitrary semantic concepts across different visual domains. To address this, we propose a cross gated bilinear matching model and a new benchmark dataset derived from ActivityNet. Our approach significantly outperforms traditional retrieval and action-proposal baselines, demonstrating robust generalization to unseen actions.

Introduction: The Challenge of Semantic Correspondence

Traditional video search tools often fall short when users need to find specific recurring actions within long-form content. Keyword searches depend on manual tagging, and Content-Based Video Retrieval (CBVR) typically retrieves entire videos without providing precise temporal boundaries. Furthermore, standard "Action Localization" models are restricted to a fixed list of pre-defined categories (e.g., "diving").

Video Re-localization fills this gap by seeking semantic matches regardless of category. The primary challenge lies in the fact that the same semantic concept can appear drastically different due to variations in lighting, camera angles, or even the medium itself (e.g., matching an animated sequence to a real-world performance).

Semantic matching across domains: identifying the same action in animation and real-world video.

Proposed Methodology

We propose a three-layer recurrent architecture designed to model the complex temporal and semantic relationships between the query and reference videos.

1. Video Feature Aggregation

Local features are extracted using C3D and processed through LSTMs. This step ensures the model understands the temporal context of individual frames rather than treating them as isolated images.

2. Cross Gated Bilinear Matching

This component serves as the core of the system, facilitating deep interaction between the query and reference features:

  • Attention Mechanism: Weights query features based on the current reference frame to prioritize relevant information.
  • Cross Gating: Acts as a mutual filter where the query "gates" the reference video to suppress background noise, and vice versa.
  • Factorized Bilinear Matching: Captures high-order interactions between the query and reference. By factorizing the weight matrices, we reduce the parameter space from $l^3$ to $k \times l$, maintaining efficiency without sacrificing expressive power.

3. Localization and Inference

Instead of simple timestamp regression, we treat localization as a four-class classification problem for every time step: Start (S), End (E), Inside (I), or Outside (O). During inference, the system identifies the start/end pair that maximizes the joint probability using a geometric mean to avoid bias toward specific segment lengths.

The proposed architecture featuring Feature Aggregation, Cross Gated Bilinear Matching, and a four-class Localization layer.

Experimental Setup and Results

Dataset: ActivityNet Re-localization

To evaluate this task, we reorganized the ActivityNet dataset. We assumed that two different video segments belonging to the same ActivityNet class are semantic matches. The dataset was split such that 20 action classes used for testing were never seen during training, forcing the model to learn the concept of matching rather than memorizing specific activities.

Performance Metrics

The model was compared against state-of-the-art action proposal methods (like SST) and standard LSTM baselines using mean Average Precision (mAP) at various temporal Intersection over Union (tIoU) thresholds:

  • Superior Accuracy: The proposed model achieved an Average mAP of 25.7%, significantly outperforming SST (17.1%) and the LSTM baseline (12.4%).
  • Generalization: High performance on unseen action classes confirms the model's ability to generalize semantic concepts.
  • Ablation Studies: Removing either the Cross Gating or Bilinear Matching components resulted in a performance drop, validating the necessity of mutual filtering and complex interaction modeling.

Conclusion

Video Re-localization represents a significant step toward more flexible and intelligent video analysis. By leveraging cross-gating and factorized bilinear matching, our model effectively ignores irrelevant background clutter and focuses on semantic correspondence. Future work will explore integrating audio features and addressing boundary ambiguity in transitions to further refine localization accuracy.

Summary updated

BibTeX
@inproceedings{feng2018video,
  author = {Yang Feng and Lin Ma and Wei Liu and Tong Zhang and Jiebo Luo},
  title = {{Video Re-localization}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01264-9\_4},
}
Figure