Fast Binary Embedding via Circulant Downsampled Matrix - A Data-Independent Approach

Sung-Hsien Hsieh, Chun-Shien Lu, Soo-Chang PeiarXiv 2016

Introduction

In the era of big data, high-dimensional vectors (e.g., GIST or SIFT descriptors) are ubiquitous in computer vision and information retrieval. Directly processing these vectors is computationally prohibitive. Binary embedding maps these high-dimensional inputs into a low-dimensional Hamming space, enabling efficient storage and rapid similarity search via bitwise operations. However, traditional data-independent methods like Locality Sensitive Hashing (LSH) suffer from $O(MN)$ complexity in both time and space. This paper introduces a novel "downsample-then-circulant" projection to address these bottlenecks.

Methodology: The Downsample-then-Circulant Projection

The authors propose a projection matrix $A$ defined as $A = D \Phi R$, where the embedding process is decomposed into three stages:

  1. Randomization ($R$): Applies a random permutation and a diagonal matrix of random signs to distribute information across the vector.
  2. Downsampling ($\Phi$): Immediately reduces the $N$-dimensional input to $M$ dimensions. This is the pivotal step that differentiates this work from prior circulant methods.
  3. Circulant Projection ($D$): Multiplies the downsampled vector by an $M \times M$ circulant matrix.

By downsampling before the circulant multiplication, the computational complexity is reduced to $O(N + M \log M)$ using the Fast Fourier Transform (FFT). In contrast, previous methods like Circulant Binary Embedding (CBE) performed an $N \times N$ circulant multiplication first, resulting in $O(N \log N)$ complexity. When $M \ll N$, the proposed method offers significant speedups.

Theoretical Foundation: Restricted Isometry Property

A key concern with early downsampling is the potential loss of information. The authors prove that if the input data is sufficiently sparse (or randomized to be approximately sparse), the projection preserves the Restricted Isometry Property (RIP). This ensures that the distances between points in the original space are accurately reflected in the Hamming space.

Probability of satisfying the $\delta_K$-RIP for varying sparsity levels ($K=10$ and $K=100$). The proposed method (red) demonstrates a high probability of preserving isometry, comparable to standard random Gaussian projections (blue).

As shown in the figure above, the proposed method maintains a high probability of satisfying the RIP condition even with aggressive downsampling, validating the theoretical robustness of the approach.

Experimental Evaluation

The method was benchmarked against LSH and CBE-rand on the CIFAR-10 and MNIST datasets using GIST descriptors.

Computational and Memory Efficiency

The "downsample-then-circulant" approach demonstrated superior scalability. For a high-dimensional case where $N = 128,000$, LSH requires approximately 62.5 GB of memory to store the projection matrix. The proposed method reduces this requirement to a mere 0.5 MB, as it only needs to store the seed vector for the circulant matrix and the downsampling indices.

Accuracy

Empirical results indicate that the proposed method achieves classification accuracy and mean Average Precision (mAP) comparable to LSH and CBE-rand. It notably outperformed Bilinear Projection (BP-rand) in classification tasks, proving that the efficiency gains do not come at the cost of performance.

Conclusion and Future Work

This paper presents a highly efficient, data-independent binary embedding scheme that significantly reduces the computational and memory overhead of high-dimensional data processing. While the current work relies on a random circulant matrix, future research could explore data-dependent variants where the matrix is learned to better fit specific data distributions. Additionally, the authors aim to provide more rigorous proofs for certain sparsity assumptions used in their theoretical analysis.

Summary updated

BibTeX
@misc{hsieh2016fast,
  author = {Sung-Hsien Hsieh and Chun-Shien Lu and Soo-Chang Pei},
  title = {{Fast Binary Embedding via Circulant Downsampled Matrix - A Data-Independent Approach}},
  year = {2016},
  eprint = {1601.06342},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1601.06342},
}
Figure