Abstract: Large-scale video retrieval systems face a persistent trade-off between accuracy and computational efficiency. We introduce the Self-supervised Video Retrieval Transformer Network (SVRTN), a novel framework that leverages clip-level representations to bridge this gap. By employing self-supervised learning with temporal and spatial transformations, SVRTN eliminates the need for manual labels. A Transformer-based architecture aggregates frame-level features into compact, permutation-invariant clip-level vectors, which are then converted into binary hash codes. Experimental results on major benchmarks demonstrate that SVRTN achieves state-of-the-art accuracy while reducing storage requirements by approximately 80% and increasing search speeds by 25x compared to traditional frame-level methods.
Introduction
Finding specific video clips within massive databases is a significant engineering challenge. Traditional systems typically choose between high-accuracy frame-level comparisons, which are computationally expensive and storage-intensive, or high-speed video-level summaries, which often lose critical fine-grained details. Researchers from Alibaba DAMO Academy have proposed a middle ground: the Self-supervised Video Retrieval Transformer Network (SVRTN). By targeting the "clip-level"—grouping small sets of frames—SVRTN finds an optimal balance between efficiency and detail.
Methods
The SVRTN architecture operates in two primary phases: self-supervised representation learning and clip-level aggregation.
1. Self-supervised Representation Learning
To bypass the "labeling tax," the model uses self-supervised learning. It generates training triplets consisting of an anchor clip, a positive clip (a transformed version of the anchor), and a negative clip (from a different video). Transformations include spatial edits (brightness, rotation, logos) and temporal shifts. A ResNet-50 encoder is trained to map anchor and positive clips closely in feature space while pushing negative clips away.
2. Clip-level Set Transformer Network
Extracted frame features are aggregated using a Transformer. Notably, the model omits position embeddings to ensure permutation invariance, making it robust to minor timing variations. During training, masked frame modeling is used to force the network to learn robust semantic representations even from incomplete data.
Finally, these vectors are hashed into binary codes, allowing for extremely fast Hamming distance-based retrieval.
Results and Discussion
SVRTN was evaluated on benchmarks including FIVR-200K and the Short Video Dataset (SVD). The results highlight significant efficiency gains without sacrificing accuracy.
On the SVD dataset, SVRTN achieved a 78.7% reduction in storage (from 1720.32 MB to 366.98 MB) and a 25x speedup in search complexity. Furthermore, it set new performance benchmarks on FIVR-200K tasks (DSVR, CSVR, and ISVR), proving the effectiveness of self-supervised clip-level retrieval.
Conclusion
SVRTN demonstrates that clip-level aggregation via Transformers provides a "sweet spot" for large-scale video retrieval. By combining robust self-supervised features with efficient binary hashing, the system addresses the core hurdles of labeling costs, storage explosion, and detail preservation. Future work will explore the integration of explicit motion features and further optimization of the self-supervised training pipeline to handle even larger datasets.
Summary updated