Quicker ADC : Unlocking the Hidden Potential of Product Quantization With SIMD
Open accessThe DOI matches its Crossref record, with a small difference in title or year; 4 of the 4 references it cites were found in a registry or an index.
Abstract
Efficient Nearest Neighbor (NN) search in high-dimensional spaces is a foundation of many multimedia retrieval systems. A common approach is to rely on Product Quantization, which allows the storage of large vector databases in memory and efficient distance computations. Yet, implementations of nearest neighbor search with Product Quantization have their performance limited by the many memory accesses they perform. Following this observation, André et al. proposed Quick ADC with up to 6× faster implementations of PQ m×4 product quantizers (PQ) leveraging specific SIMD instructions. Quicker ADC is a generalization of Quick ADC not limited to PQ m×4 codes and supporting AVX-512, the latest revision of SIMD instruction set. In doing so, Quicker ADC faces the challenge of using efficiently 5,6 and 7-bit shuffles that do not align to computer bytes or words. To this end, we introduce (i) irregular product quantizers combining sub-quantizers of different granularity and (ii) split tables allowing lookup tables larger than registers. We evaluate Quicker ADC with multiple indexes including Inverted Multi-Indexes and IVF HNSW and show that it outperforms the reference optimized implementations (i.e., FAISS and polysemous codes) for numerous configurations. Finally, we release an open-source fork of FAISS enhanced with Quicker ADC.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The check wasn’t confident either way, so it gives no verdict — never disputed.
In the citing paper
“The modern belief is that even a fractional power of N query complexity cannot be obtained unless storage cost is worse than N O(1) D O(1) [32,109].”
From Survey of vector database management systems (2024) · cites this paper as [32]
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Billion-scale similarity search with GPUs
Johnson, J., Douze, M., & Jegou, H. (2021) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2019.2921572 · Cited by 4,228
Billion-scale similarity search with GPUs
Johnson, J., Douze, M., & Jégou, H. (2017) · arXiv · doi:10.48550/arxiv.1702.08734 · Cited by 4,140
Product Quantization for Nearest Neighbor Search
Jégou, H., Douze, M., & Schmid, C. (2011) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2010.57 · Cited by 2,956 · cited 33×
“The bene-fits are higher for indexes that have longer inverted lists (IVF, IVF HNSW).”
BackgroundMethodInfluentialMalkov, Y. A., & Yashunin, D. A. (2020) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2018.2889473 · Cited by 1,904
Research works printed but not linked: 31
- Yan Xia, Kaiming He, Fang Wen, and Jian Sun. Joint Inverted Indexing. In Proceedings of the IEEE International Conference on Computer Vision, ICCV, pages 3416-3423, Dec 2013. · DOI
- Xiang Wu, Ruiqi Guo, Ananda Theertha Suresh, Sanjiv Kumar, Daniel N Holtmann-Rice, David Simcha, and Felix Yu. Multiscale Quantization for Fast Similarity Search. In Advances in Neural Information Processing Systems, NIPS, 2017.
- Aude Oliva and Antonio Torralba. Modeling the Shape of the Scene: A Holistic Representation of the Spatial Envelope. International Journal of Computer Vision, 42(3):145-175, May 2001. · DOI · Paper page
- Mohammad Norouzi and David J. Fleet. Cartesian K-Means. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pages 3017-3024, June 2013. · DOI · Paper page
- Ting Zhang, Chao Du, and Jingdong Wang. Composite Quantiza- tion for Approximate Nearest Neighbor Search. In Proceedings of the International Conference on International Conference on Machine Learning, ICML, pages II-838-II-846. JMLR.org, 2014.
- Tan Yu, Junsong Yuan, Chen Fang, and Hailin Jin. Product Quantization Network for Fast Image Retrieval. In Proceedings of The European Conference on Computer Vision, ECCV, 2018.
- Lingxi Xie, Richang Hong, Bo Zhang, and Qi Tian. Image Classification and Retrieval are ONE. In Proceedings of the ACM International Conference on Multimedia Retrieval, ICMR, pages 3-10, New York, NY, USA, 2015. ACM. · DOI
- Dmitry Baranchuk, Artem Babenko, and Yury Malkov. Revisiting the Inverted Indices for Billion-Scale Approximate Nearest Neigh- bors. In Proceedings of the European Conference on Computer Vision, ECCV, September 2018.
- Davis W. Blalock and John V. Guttag. Bolt: Accelerated Data Mining with Fast Vector Compression. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD, pages 727-735, 2017. · DOI
- Matthijs Douze, Hervé Jégou, and Florent Perronnin. Polysemous Codes. In Proceedings of the European Conference on Computer Vision, ECCV, 2016. · DOI · Paper page
- Matthijs Douze, Alexandre Sablayrolles, and Hervé Jégou. Link and Code: Fast Indexing With Graphs and Compact Regression Codes. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR, pages 3646-3654, June 2018. · DOI
- Tiezheng Ge, Kaiming He, Qifa Ke, and Jian Sun. Optimized Product Quantization. IEEE Transactions on Pattern Analysis and Machine Intelligence, 36(4):744-755, April 2014. · DOI · Paper page
- Johannes Hofmann, Jan Treibig, Georg Hager, and Gerhard Wellein. Comparing the Performance of Different x86 SIMD Instruction Sets for a Medical Imaging Application on Modern Multi-and Manycore Chips. In Proceedings of the Workshop on Programming Models for SIMD/Vector Processing, WPMVP, pages 57-64, New York, NY, USA, 2014. ACM. · DOI
- Himalaya Jain, Joaquin Zepeda, Patrick Pérez, and Rémi Gribonval. SuBiC: A Supervised, Structured Binary Code for Image Search. In Proceedings of the IEEE International Conference on Computer Vision, ICCV, pages 833-842, Oct 2017. · DOI · Paper page
- Y. Matsui, T. Yamasaki, and K. Aizawa. PQTable: Nonexhaustive Fast Search for Product-Quantized Codes Using Hash Tables. IEEE Transactions on Multimedia, 20(7):1809-1822, July 2018. · DOI
- Artem Babenko and Victor Lempitsky. The Inverted Multi-Index. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, CVPR' 12, pages 3069-3076, June 2012. · DOI · Paper page
- Fabien André, Anne-Marie Kermarrec, and Nicolas Le Scouarnec. Derived Codebooks for High-Accuracy Nearest Neighbor Search. arXiv:1905.06900, 2019. · arXiv
- Artem Babenko and Victor Lempitsky. The Inverted Multi-Index. IEEE Transactions on Pattern Analysis and Machine Intelligence, 37(6):1247-1260, June 2015. · DOI · Paper page
- Wojciech Muła, Nathan Kurz, and Daniel Lemire. Faster Population Counts Using AVX2 Instructions. The Computer Journal, 2018. · DOI
- Artem Babenko and Victor Lempitsky. Additive Quantization for Extreme Vector Compression. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pages 931-938, June 2014. · DOI · Paper page
- Artem Babenko and Victor Lempitsky. Efficient Indexing of Billion- Scale Datasets of Deep Descriptors. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pages 2055-2063, June 2016.
- Artem Babenko and Victor Lempitsky. Tree quantization for large- scale similarity search and classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, CVPR, pages 4240-4248, June 2015. · DOI
- Fabien André, Anne-Marie Kermarrec, and Nicolas Le Scouarnec. Accelerated Nearest Neighbor Search with Quick ADC. In Pro- ceedings of the ACM International Conference on Multimedia Retrieval, ICMR, pages 159-166, New York, NY, USA, 2017. ACM. · DOI · Paper page
- Artem Babenko and Victor Lempitsky. AnnArbor: Approximate Nearest Neighbors Using Arborescence Coding. In Proceedings of the IEEE International Conference on Computer Vision, ICCV, pages 4895-4903, Oct 2017.
- Fabien André, Anne-Marie Kermarrec, and Nicolas Le Scouarnec. Cache Locality is Not Enough: High-performance Nearest Neighbor Search with Product Quantization Fast Scan. Proceedings of the VLDB Endowment, 9(4):288-299, December 2015. · DOI · Paper page
- Hervé Jégou, Romain Tavenard, Matthijs Douze, and Laurent Amsaleg. Searching in one billion vectors: Re-rank with source coding. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP, May 2011. · DOI · Paper page
- klein, 2019, In defense of product quantization, Proc IEEE Conf Comput Vis Pattern Recognit, 5041
- Benjamin Klein and Lior Wolf. In Defense of Product Quantization. arXiv preprint arXiv:1711.08589, 2017. · arXiv
- Josip Krapac, Florent Perronnin, Teddy Furon, and Hervé Jégou. Instance Classification with Prototype Selection. In Proceedings of the International Conference on Multimedia Retrieval, ICMR, pages 431:431-431:434, New York, NY, USA, 2014. ACM. · DOI
- David G. Lowe. Object Recognition from Local Scale-Invariant Features. In Proceedings of the IEEE International Conference on Computer Vision, ICCV'99, pages 1150-1157 vol.2, Sep. 1999. · DOI · Paper page
- Nicolas Le Scouarnec. Cuckoo++ Hash Tables: High-Performance Hash Tables for Networking Applications. In Proceedings of the Symposium on Architectures for Networking and Communications Systems, ANCS, 2018. · DOI
Cited by
Survey of vector database management systems
Pan, J. J., Wang, J., & Li, G. (2024) · The VLDB Journal · doi:10.1007/s00778-024-00864-x · Cited by 427
“In [136], the distance function used for edge traversal is augmented with an attribute related component so that the scan favors nodes that are likely to pass the filter 20 .”
Survey of Vector Database Management Systems
Pan, J. J., Wang, J., & Li, G. (2023) · arXiv · doi:10.48550/arxiv.2310.14021 · Cited by 184
Efficient Nearest Neighbor Language Models
He, J., Neubig, G., & Berg-Kirkpatrick, T. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.461 · Cited by 97
“At the same time, we note that building fast and accurate indexing methods remains an active area of research (André et al., 2019; Guo et al., 2020), and selection or improvement of the index itself (possibly in concert with the methods proposed in this paper) is an interesting avenue for future…”
MethodPersonal LLM Agents: Insights and Survey about the Capability, Efficiency and Security
Li, Y., Wen, H., Wang, W., Li, X., Yuan, Y., Liu, G., Liu, J., Xu, W., Wang, X., Sun, Y., et al. (2024) · arXiv · doi:10.48550/arxiv.2401.05459 · Cited by 43
Metadata
- Authors
- Andre, F., Kermarrec, A.-M., & Le Scouarnec, N.
- Affiliations
- École Polytechnique Fédérale de Lausanne (CH)
- Venue
- IEEE Transactions on Pattern Analysis and Machine Intelligence
- Published
- 2021-05-01
- Volume
- 43
- Issue
- 5
- Pages
- 1666-1677
- ISSN
- 0162-8828 (ISSN-L)
- 2160-9292
- 1939-3539
- OpenAlex
- W2906270115
- Semantic Scholar
- 481ad32b823a98e29294ae12e31e09dead4caece
- Cited by
- 20
- References
- 4
- Citations by year
- 2026: 3 · 2025: 3 · 2024: 5 · 2023: 2 · 2022: 3 · 2021: 3
- FWCI
- 0.78
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- IEEE Transactions on Pattern Analysis and Machine Intelligence (publishedVersion)
- PubMed (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- Infoscience (Ecole Polytechnique Fédérale de Lausanne) (submittedVersion, cc-by-nc-nd)
- arXiv (Cornell University)
- Funders
- Technicolor (35510)
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Image and Video Retrieval Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Image Retrieval and Classification Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Data Compression Techniques
- Keywords
- product quantization, SIMD acceleration, AVX-512, nearest neighbor search, FAISS, memory access optimization
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.