Compressive Quantization for Fast Object Instance Search in Videos

Tan Yu, Zhenzhen Wang, Junsong Yuan

Abstract

Searching for specific object instances within large video datasets is a computationally demanding task due to the high volume of redundant object proposals. This paper presents Compressive Quantization (CQ), a framework that jointly optimizes the clustering of object proposals and their conversion into compact binary codes. By mapping thousands of proposals to a few binary representatives, CQ achieves up to a 1310× speedup and 480× memory reduction with minimal impact on search accuracy.

Introduction

While image-to-image search is well-established, point-to-set search—finding an object within a video—presents unique challenges. Videos generate a massive number of object proposals, many of which are redundant across consecutive frames. Furthermore, target objects are often small and sparse, rendering global video descriptors ineffective.

Existing pipelines typically separate quantization (clustering) and hashing (binary encoding). This sequential approach often leads to significant distortion errors during the hashing stage, as the initial quantization does not account for the constraints of the binary space. Compressive Quantization (CQ) addresses this by treating these two steps as a single, joint optimization problem.

The Compressive Quantization pipeline extracts object proposals from video frames and compresses them into a set of k binary codes.

Methodology: Compressive Quantization

The core of CQ is a joint optimization framework that maps $M$ real-valued object proposals from a video into $k$ binary codes ($k \ll M$). Unlike traditional methods, CQ minimizes a unified loss function that accounts for cluster assignment, data rotation, and scaling simultaneously.

Joint Optimization and Alignment

The technical breakthrough of this research lies in the realization that quantization and hashing are intrinsically linked. By forcing the codewords to be binary vertices of a hypercube during the optimization process, the method eliminates the information loss typical of two-step pipelines. The algorithm uses an alternating minimization strategy to update binary codes, rotation matrices, and cluster assignments iteratively.

Joint optimization aligns data clusters with the vertices of a binary hypercube to minimize distortion.

To maintain efficiency, the authors optimized the Singular Value Decomposition (SVD) step. The complexity is reduced from being dependent on the total number of proposals ($M$) to the number of codewords ($k$), ensuring the method scales well with video length.

Experimental Results

The CQ framework was evaluated on three benchmark datasets: Groundhog Day, CNN2h, and an Egocentric dataset. Features were extracted using a pre-trained VGG-16 network on proposals generated by Edge Boxes.

On the CNN2h dataset (72,000 frames), CQ demonstrated remarkable efficiency:

  • Speed: Search time was reduced from 10.48 seconds (exhaustive search) to 0.008 seconds, representing a 1310× speedup.
  • Memory: Storage requirements were slashed from 2.06 GB to 4.39 MB, a 480× reduction.
  • Accuracy: The Mean Average Precision (mAP) remained robust, dropping only slightly from 0.856 to 0.847.

CQ consistently outperformed standard hashing techniques like Locality-Sensitive Hashing (LSH) and Iterative Quantization (ITQ) when applied to the same number of codewords, validating the benefits of the joint optimization approach.

Conclusion and Future Work

Compressive Quantization provides a highly efficient solution for large-scale video object search by exploiting spatio-temporal redundancy and minimizing quantization distortion. While the current unsupervised approach is highly effective, future work could explore incorporating label information for supervised learning or developing methods to automatically determine optimal code lengths. Additionally, addressing the sensitivity of the alternating minimization to initial conditions remains an area for further refinement.

Summary updated

BibTeX
@inproceedings{yu2017compressive,
  author = {Tan Yu and Zhenzhen Wang and Junsong Yuan},
  title = {{Compressive Quantization for Fast Object Instance Search in Videos}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.85},
}
Figure