Lune

ICLR2021Top-tier venue

Faster Binary Embeddings for Preserving Euclidean Distances

Jinjie Zhang, Rayan Saab

Abstract

We propose a fast, distance-preserving, binary embedding algorithm to transform a high-dimensional dataset T ⊆ R n into binary sequences in the cube ±1 m . When T consists of well-spread (i.e., non-sparse) vectors, our embedding method applies a stable noise-shaping quantization scheme to Ax where A ∈ R m×n is a sparse Gaussian random matrix. This contrasts with most binary embedding methods, which usually use x → sign(Ax) for the embedding. Moreover, we show that Euclidean distances among the elements of T are approximated by the 1 norm on the images of ±1 m under a fast linear transformation. This again contrasts with standard methods, where the Hamming distance is used instead. Our method is both fast and memory efficient, with time complexity O(m) and space complexity O(m) on well-spread data. When the data is not well-spread, we show that the approach still works provided that data is transformed via a Walsh-Hadamard matrix, but now the cost is O(n log n) per data point. Further, we prove that the method is accurate and its associated error is comparable to that of a continuous valued Johnson-Lindenstrauss embedding plus a quantization error that admits a polynomial decay as the embedding dimension m increases. Thus the length of the binary codes required to achieve a desired accuracy is quite small, and we show it can even be compressed further without compromising the accuracy. To illustrate our results, we test the proposed method on natural images and show that it achieves strong performance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Binder: Hierarchical Concept Representation through Order Embedding of Binary VectorsCroix Gyurek, Niloy Talukder, Mohammad Al HasanKDD 2024

Related papers

  1. The Fast Johnson-Lindenstrauss Transform Is Even FasterOra Nova Fandina, Mikael Møller Høgsgaard, Kasper Green LarsenICML 2023 · 7 citations
  2. Euclidean distance compression via deep random featuresBrett Leroux, Luis RademacherNeurIPS 2024 · 1 citation
  3. Sparse Dimensionality Reduction RevisitedMikael Møller Høgsgaard, Lior Kamma, Kasper Green Larsen, Jelani Nelson et al.ICML 2024 · 3 citations
  4. Optimization Can Learn Johnson Lindenstrauss EmbeddingsNikos Tsikouras, Constantine Caramanis, Christos TzamosNeurIPS 2024 · 2 citations
  5. Effective Dimension Adaptive Sketching Methods for Faster Regularized Least-Squares OptimizationJonathan Lacotte, Mert PilanciNeurIPS 2020 · 26 citations
Dusk over the sea between two cliffs drawn in fine vertical lines