atlas

Research map / Architectures and efficiency / Quantization

Residual Quantization with Implicit Neural Codebooks

ICML 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of ViTs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes QINCo, a neural residual quantizer that generates step-specific codebooks conditioned on prior reconstructions, and combines it with IVF and approximate AQ-decoder re-ranking for large-scale search.

Problem

Standard residual quantization uses a fixed codebook per step, which is suboptimal because residual distributions depend on previously selected codewords; the goal is more accurate multi-codebook vector compression and search.

Approach

Instead of fixed per-step codebooks, a small residual MLP network per step generates specialized codebooks conditioned on the partial reconstruction and a base codebook (initialized from pretrained RQ), transforming codebook vectors rather than the data vectors, so no gradient estimator is needed.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Adapt codebooks to residual distributions with implicit neural codebooksResidual quantization · BigANN1M, 8 bytesMSE (×10^4): 2.49 -> 1.12Helped
Adapt codebooks to residual distributions with implicit neural codebooksResidual quantization · BigANN1M, 8 bytesR@1: 27.9 -> 45.2Helped
Use 10M rather than 500k training vectorsQINCo · BigANN1M, 8 bytesR@1: 40.2 -> 45.2Helped
Use only the loss after the final quantization step instead of losses at all steps (ablation)QINCo · Quantization performanceMSEHurt
Detach the losses so each step updates only its own parameters (ablation)QINCo · Quantization performanceMSEHurt
Detach the losses so each step updates only its own parameters (ablation)QINCo · 8 bytes Deep1B encodingR@1Mixed
Share the concatenation-block parameters across quantization steps (ablation)QINCo · Quantization performanceMSEHurt
Share the residual-MLP parameters across quantization steps (ablation)QINCo · Quantization performanceMSEHurt
Share both concatenation-block and residual-MLP parameters across quantization steps (ablation)QINCo · Quantization performanceMSEHurt
Increase model capacity with too few training vectors (ablation)QINCo · 500k-vector trainingAccuracyHurt
Replace QINCo's first affine layer with a low-rank projection (ablation)QINCo-LR · Contriever embeddings, 8 bytesMSE: 1.45 -> 1.46Hurt
Increase training data from 500k to 10M vectors (ablation)OPQ · BigANN1M, 8 bytesMSE (×10^4): 2.95 -> 2.99No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Deep1B BigANN1B BigANN1M Deep1M Contriever1M FB-ssnpp1M SIFT1M

Benchmarks: BigANN1M Deep1M Contriever1M FB-ssnpp1M SIFT1M BigANN1B Deep1B

Metrics: MSE R@1 R@10 R@100 queries per second codeword entropy

Baselines: OPQ RQ LSQ UNQ RVPQ DeepQ IVF-PQ IVF-RQ

Builds on: residual quantization UNQ Faiss HNSW Adam

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy