Residual Quantization with Implicit Neural Codebooks
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.
Cite
Text
Huijben et al. "Residual Quantization with Implicit Neural Codebooks." International Conference on Machine Learning, 2024.Markdown
[Huijben et al. "Residual Quantization with Implicit Neural Codebooks." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/huijben2024icml-residual/)BibTeX
@inproceedings{huijben2024icml-residual,
title = {{Residual Quantization with Implicit Neural Codebooks}},
author = {Huijben, Iris A.M. and Douze, Matthijs and Muckley, Matthew J. and Van Sloun, Ruud and Verbeek, Jakob},
booktitle = {International Conference on Machine Learning},
year = {2024},
pages = {20682-20699},
volume = {235},
url = {https://mlanthology.org/icml/2024/huijben2024icml-residual/}
}