Learning Segment Similarity and Alignment in Large-Scale Content Based Video Retrieval
Chen Jiang, Kaiming Huang, Sifeng He, Xudong Yang, Wei Zhang, Xiaobo Zhang, Yuan Cheng, Lei Yang, Qing Wang, Furong Xu, Tan Pan, Wei Chu
TL;DR
This work tackles large-scale segment-level CBVR by introducing SSAN, a framework that jointly learns Self-supervised Keyframe Extraction (SKE) and Similarity Pattern Detection (SPD) within an end-to-end architecture. By leveraging offline indexing and an index-based online inference strategy, SSAN achieves high temporal alignment accuracy while dramatically reducing storage and online query costs. The key contributions include (i) SKE for efficient, high-quality keyframe selection, (ii) SPD for robust, pattern-based segment alignment on frame-to-frame similarity maps, (iii) end-to-end multi-task learning that propagates alignment signals back to keyframe selection, and (iv) scalable retrieval pipelines suitable for large-scale datasets. Experimental results on VCDB, CC_WEB, FIVR-200K, and VCDB_plus demonstrate competitive or superior alignment and retrieval performance with substantially lower computational and storage demands, highlighting practical applicability for copyright protection and video search at scale.
Abstract
With the explosive growth of web videos in recent years, large-scale Content-Based Video Retrieval (CBVR) becomes increasingly essential in video filtering, recommendation, and copyright protection. Segment-level CBVR (S-CBVR) locates the start and end time of similar segments in finer granularity, which is beneficial for user browsing efficiency and infringement detection especially in long video scenarios. The challenge of S-CBVR task is how to achieve high temporal alignment accuracy with efficient computation and low storage consumption. In this paper, we propose a Segment Similarity and Alignment Network (SSAN) in dealing with the challenge which is firstly trained end-to-end in S-CBVR. SSAN is based on two newly proposed modules in video retrieval: (1) An efficient Self-supervised Keyframe Extraction (SKE) module to reduce redundant frame features, (2) A robust Similarity Pattern Detection (SPD) module for temporal alignment. In comparison with uniform frame extraction, SKE not only saves feature storage and search time, but also introduces comparable accuracy and limited extra computation time. In terms of temporal alignment, SPD localizes similar segments with higher accuracy and efficiency than existing deep learning methods. Furthermore, we jointly train SSAN with SKE and SPD and achieve an end-to-end improvement. Meanwhile, the two key modules SKE and SPD can also be effectively inserted into other video retrieval pipelines and gain considerable performance improvements. Experimental results on public datasets show that SSAN can obtain higher alignment accuracy while saving storage and online query computational cost compared to existing methods.
