Residual Quantization with Implicit Neural Codebooks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Huijben, Iris A. M., Douze, Matthijs, Muckley, Matthew, van Sloun, Ruud J. G., Verbeek, Jakob
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909207513530368
author Huijben, Iris A. M.
Douze, Matthijs
Muckley, Matthew
van Sloun, Ruud J. G.
Verbeek, Jakob
author_facet Huijben, Iris A. M.
Douze, Matthijs
Muckley, Matthew
van Sloun, Ruud J. G.
Verbeek, Jakob
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2401_14732
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Residual Quantization with Implicit Neural Codebooks
Huijben, Iris A. M.
Douze, Matthijs
Muckley, Matthew
van Sloun, Ruud J. G.
Verbeek, Jakob
Machine Learning
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.
title Residual Quantization with Implicit Neural Codebooks
topic Machine Learning
url https://arxiv.org/abs/2401.14732