Abstract
Query-by-Image Video Retrieval (QBIVR) aims to identify relevant videos from large databases using a single query image. Traditional methods often suffer from information loss due to frame aggregation or domain gaps between static images and temporal video data. This paper introduces Binary Subspace Coding (BSC), a framework that models videos as linear subspaces rather than single points. By framing the search as an asymmetric hashing problem, BSC enables high-accuracy, large-scale retrieval. The authors propose two coding schemes, Inner-product Binary Coding (IBC) and Bilinear Binary Coding (BBC), with the latter optimized for high-dimensional data. Experimental results across four datasets demonstrate that BSC significantly outperforms state-of-the-art vector-based retrieval methods.
Introduction
The task of Query-by-Image Video Retrieval (QBIVR) is increasingly critical for applications like news monitoring and content management. However, two primary challenges persist. First, information loss occurs when multiple video frames are "squashed" into a single vector, discarding temporal and structural nuances. Second, the domain gap between a single query image and a multi-frame video makes direct comparison computationally expensive.
While representing videos as subspaces—mathematical planes that fit frame data—preserves more information, searching through subspaces is traditionally slower than point-to-point vector search. The BSC framework addresses this by mapping both images and video subspaces into a shared binary Hamming space for efficient bitwise comparison.
Methodology
The BSC framework is built upon three core pillars:
1. Geometry-Preserving Distance
Instead of comparing a query image to every individual frame, BSC measures the distance between the query point and its orthogonal projection onto the video's subspace. The authors mathematically demonstrate that this geometric approach is equivalent to a Maximum Inner Product Search (MIPS), providing a robust foundation for retrieval.
2. Asymmetric Hashing
To bridge the image-video modality gap, the framework learns distinct hash functions for the query image ($f(x)$) and the video subspace ($g(y)$). These functions map both entities into a shared Hamming space, where similarity is calculated via fast bitwise operations. This asymmetry allows for specialized optimization for each data type.
3. Coding Schemes: IBC and BBC
- Inner-product Binary Coding (IBC): A baseline approach preserving inner relationships in binary space.
- Bilinear Binary Coding (BBC): Designed for high-dimensional features, BBC utilizes compact bilinear projections. By using the Kronecker product of smaller matrices, it reduces memory and training time without sacrificing expressive power.
Experimental Evaluation
The framework was evaluated on four diverse datasets:
- BBT1: Face videos from The Big Bang Theory.
- UQE50: Event-based videos across 50 categories.
- Vine: A custom dataset of 498,000 micro-videos collected by the authors.
- FCVID: A large-scale web video dataset with over 91,000 entries.
Key Results
BSC consistently outperformed state-of-the-art methods like HER, ALSH, and ITQ. On the Vine dataset, the BBC method achieved a mean Average Precision (mAP) of 0.5045, a significant improvement over the vector-based TAVR method (0.3785). Furthermore, the bilinear approach (BBC) successfully reduced time complexity for the projection step from $O(d^2)$ to $O(d_1^2 + d_2^2)$, proving its scalability for high-dimensional deep features.
Discussion and Future Work
A key insight of this work is that subspaces are superior to points for capturing the "manifold" of an object's appearance over time. However, the current implementation has limitations. The binarization process is sensitive to hyperparameters, and performance gains tend to plateau with increased training data, suggesting a potential limit to linear subspace representations. Future research may explore end-to-end learning to simultaneously optimize deep features and subspace representations, as well as moving toward more complex non-linear manifolds.
Summary updated