about
Residual Quantization with Implicit Neural Codebooks (arxiv.org)
1 point by fzliu on Aug 12, 2024 | hide | past | pdf | discuss on HN

In plain words: This compression method builds a set of codewords at each step based on the pieces already chosen, instead of reusing one fixed set, so it can fix earlier errors. It beats the best earlier method at finding nearest neighbors, using 12-byte codes instead of 16.

Abstract

Vector quantization is a fundamental operation for data compression and vector search. To obtain high accuracy, multi-codebook methods represent each vector using codewords across several codebooks. Residual quantization (RQ) is one such method, which iteratively quantizes the error of the previous step. While the error distribution is dependent on previously-selected codewords, this dependency is not accounted for in conventional RQ as it uses a fixed codebook per quantization step. In this paper, we propose QINCo, a neural RQ variant that constructs specialized codebooks per step that depend on the approximation of the vector from previous steps. Experiments show that QINCo outperforms state-of-the-art methods by a large margin on several datasets and code sizes. For example, QINCo achieves better nearest-neighbor search accuracy using 12-byte codes than the state-of-the-art UNQ using 16 bytes on the BigANN1M and Deep1M datasets.

Iris A. M. Huijben, Matthijs Douze, Matthew Muckley, Ruud J. G. van Sloun, Jakob Verbeek
arXiv:2401.14732 · cs.LG · submitted Jan 26, 2024 · updated May 21, 2024
abstract · pdf · html · To appear at ICML 2024

add comment on HN