LGDBMay 31, 2025

Ultra-Quantisation: Efficient Embedding Search via 1.58-bit Encodings

arXiv:2506.00528v1h-index: 4
Originality Highly original
AI Analysis

This addresses the issue of embedding size and search speed for domains using neural network embeddings, offering a novel approach to quantization.

The paper tackles the problem of high-dimensional embedding search by proposing a 1.58-bit encoding method that replaces floating-point values with vectors from the set {-1,0,1}, achieving significant savings in space and evaluation cost while maintaining strong correlation for similarity measurements.

Many modern search domains comprise high-dimensional vectors of floating point numbers derived from neural networks, in the form of embeddings. Typical embeddings range in size from hundreds to thousands of dimensions, making the size of the embeddings, and the speed of comparison, a significant issue. Quantisation is a class of mechanism which replaces the floating point values with a smaller representation, for example a short integer. This gives an approximation of the embedding space in return for a smaller data representation and a faster comparison function. Here we take this idea almost to its extreme: we show how vectors of arbitrary-precision floating point values can be replaced by vectors whose elements are drawn from the set {-1,0,1}. This yields very significant savings in space and metric evaluation cost, while maintaining a strong correlation for similarity measurements. This is achieved by way of a class of convex polytopes which exist in the high-dimensional space. In this article we give an outline description of these objects, and show how they can be used for the basis of such radical quantisation while maintaining a surprising degree of accuracy.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes