RSLM: Training-Free Vector Quantization for Approximate Nearest Neighbor Search

📅 2026-08-31
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
通过引入RSLM,一种无需训练的向量量化编码方法,将嵌入压缩至每维度1-4位,降低大规模近似最近邻搜索系统的内存成本和带宽,同时保持或提高召回率。
📝 Abstract
By introducing RSLM (Rotated Scaled Lloyd-Max), a family of training-free vector quantization codecs compressing embeddings to 1--4 bits per dimension, we reduce memory cost and memory bandwidth of a typical large-scale Approximate Nearest Neighbor (ANN) search system, while reducing its complexity and keeping or improving recall across multiple benchmark datasets. State-of-the-art systems filter candidates using coarse partitions, approximately score them to narrow the set, and then rescore the best with higher precision representations (often >=8 bits per dimension). Our relativized codecs can bring this down to 2--4 bits per dimension. We use the properties of the ANN system to encode residual vectors instead of full vectors, both for the approximate scoring phase and the rescoring phase. Since Maximum Inner Product Search (MIPS) is very sensitive to vector norms, we correct the $L_2$ norms of quantized vectors. Our major innovation is that we correct the $L_2$ norm of the final reconstructed vector rather than just the residual. Our rescaling replaces more complicated schemes, such as Anisotropic loss. The residualization scheme gives us a more favorable quality vs size trade-off than generic quantization methods. Our high-performance implementation leverages a block-wise cascaded Fast Walsh-Hadamard Transform (FWHT) with linear-like complexity, AVX SIMD-optimized codebooks, and a steganographic encoding of scaling factors for perfect cache-line alignment.
Problem

Research questions and friction points this paper is trying to address.

Approximate Nearest Neighbor
vector quantization
memory cost
bandwidth
complexity
Innovation

Methods, ideas, or system contributions that make the work stand out.

RSLM
vector quantization
Approximate Nearest Neighbor search
residual vectors
L2 norm correction
Rastislav Lenhardt
Rastislav Lenhardt
PhD Student of Computer Science, University of Oxford
Probabilistic Verification
T
Teodora Dobos
Technical University of Munich, Munich, Germany; Google, Zurich, Switzerland
T
Thomas Vecchiato
University of Copenhagen, Copenhagen, Denmark; Google, Zurich, Switzerland
J
Jiří Iša
Google, Zurich, Switzerland
I
Igor Ginzburg
Google, San Jose, CA, USA