Abstract
Deep neural quantizers have traditionally struggled to leverage residual vectors, a staple of efficient shallow search methods. This paper proposes a disentangled representation learning approach that treats cluster centers as auxiliary inputs rather than performing hard subtraction. This architecture allows deep models to separate cluster-level information from individual data point nuances, achieving state-of-the-art retrieval accuracy on million- and billion-scale datasets.
Introduction
In Large-Scale Retrieval, Approximate Nearest Neighbor (ANN) search is essential for navigating massive databases efficiently. A standard strategy involves using an Inverted Index (IVF) to cluster data into "buckets." To enhance accuracy, traditional methods like Product Quantization (PQ) encode the residual—the difference between a data point and its cluster center—making the data distribution more compact.
However, a paradox exists: while deep learning-based quantizers (e.g., UNQ) outperform shallow methods in exhaustive searches, their performance degrades when used with residuals in an inverted index. This is likely due to redundancy—deep encoders already create compact spaces—and information loss, where subtracting the cluster center removes distributional characteristics critical for deep reconstruction.
Methods: Disentangled Neural Quantization
The authors introduce a novel encoder-decoder architecture designed to harmonize deep learning with inverted indexes through disentanglement.
Instead of a "hard" subtraction ($x - center$), the cluster center is provided as an auxiliary input to both the encoder and the decoder. This "frees" the encoder from representing cluster-level information, allowing it to focus its limited bit-budget on features unique to the specific data point. The model utilizes a Gumbel-Softmax trick to make the quantization process differentiable and is trained with a reconstruction loss ($L_1$) and a coefficient variation regularizer ($L_2$) to prevent codeword collapse.
Experimental Setup and Results
The method was evaluated on high-dimensional benchmarks including SIFT-1M, SIFT-1B, and DEEP-1M. These datasets represent the gold standard for testing how well retrieval systems scale from manageable sizes to massive, real-world environments.
As shown in the experimental results, the proposed "Disentangled Neural Quantization" significantly outperforms existing state-of-the-art (SOTA) systems. On the SIFT-1M dataset with 64-bit encoding, the method achieved a Recall@1 of 0.398, a substantial improvement over the previous best deep method (UNQ+IVF at 0.331) and standard OPQ (0.208). On the massive SIFT-1B dataset, it outperformed the IVFOADC+GP method by approximately 13% in Recall@1. Notably, the search time overhead was only 12% higher than conventional methods, a marginal cost for the significant accuracy gains.
Conclusion
By treating the cluster center as a condition in a generative framework rather than a simple subtractor, this work resolves the conflict between deep quantization and inverted indexing. While the model introduces a small memory overhead for network parameters (roughly 20-30MB), its superior performance on billion-scale datasets makes it a compelling choice for modern retrieval systems. Future work may involve jointly learning the index and the representation to further optimize the pipeline.
Summary updated