Abstract
Object instance search in large video collections is computationally demanding due to the high volume of object proposals and their associated high-dimensional features. This paper introduces HOPE (Hierarchical Object Prototype Encoding), a framework that leverages spatial and temporal redundancies to compress video data into a hierarchical sparse representation. HOPE reduces memory requirements to less than 1% of original features while maintaining or even improving search accuracy through a denoising effect.
The Challenge of Video Object Search
Finding a specific object instance within a video—such as a particular clock or a specific toy—requires precise localization amidst significant visual clutter. While object proposal algorithms improve localization by suggesting hundreds of potential bounding boxes per frame, they generate a massive amount of data. Storing and comparing features for 300 proposals across tens of thousands of frames is often impractical for real-world applications due to extreme RAM and computational costs.
The HOPE Framework
The core innovation of HOPE is its ability to exploit the inherent redundancy in video data. Object proposals within a single frame often overlap (spatial redundancy), and the same object typically persists across consecutive frames (temporal redundancy). HOPE addresses this through a two-level hierarchical encoding process:
- Frame-level Encoding (SCS K-means): Using Spatially-Constrained Sphere (SCS) K-means, proposals within a single frame are clustered into "frame-level prototypes." A spatial constraint based on Intersection over Union (IoU) ensures that overlapping boxes, which likely represent the same object, are grouped together.
- Dataset-level Encoding (TCS K-means): Frame-level prototypes from the entire video are further clustered into "dataset-level prototypes" using Temporally-Constrained Sphere (TCS) K-means, capturing the temporal persistence of objects.
Every object proposal is ultimately represented as a sparse combination of these prototypes. This transformation converts the search process into a highly optimized sparse matrix-vector multiplication. To further accelerate retrieval, the system uses prototypes to rank frames, performing fine-grained localization only on the top candidates.
Experimental Evaluation
The authors evaluated HOPE on two primary benchmarks: Groundhog Day (5,640 keyframes) and NTU-VOI (37,340 frames). These datasets contain various small query objects, ranging from specific electronics to consumer products.
Key Results
HOPE demonstrates that efficiency does not have to come at the cost of accuracy. On the Groundhog Day dataset, storing raw features required 3.22 GB, whereas the HOPE model required only 28.64 MB—a reduction to less than 1% of the original size.
In terms of accuracy, HOPE achieved a Mean Average Precision (mAP) of 0.70 on Groundhog Day, significantly outperforming Sparse Coding (0.55) and Product Quantization (0.62) under similar memory constraints. The system can process a query across thousands of frames in approximately 218 milliseconds.
Insights and Limitations
A surprising finding was the "denoising effect": searching with prototypes sometimes yielded higher accuracy than raw features. The clustering process appears to act as a filter, smoothing out noise and irrelevant variations in the proposals.
However, the system's performance remains dependent on the quality of the initial object proposals. If the proposal generator misses an object, HOPE cannot retrieve it. Additionally, the hierarchical clustering must be performed offline, which adds a pre-processing step for new datasets.
Summary updated