CoChat

Quicker ADC : Unlocking the Hidden Potential of Product Quantization With SIMD

Open access
Andre, Fabien, Kermarrec, Anne-Marie, Le Scouarnec, Nicolas · 2021 · IEEE Transactions on Pattern Analysis and Machine Intelligence

The 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.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

Crossref · 10.1109/tpami.2019.2952606

Cites

4 of 4 references verified0 citation errors · 0 not checkable

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.

A few free checks a day · papers already verified open instantly · results are public

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?

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

Show all 4 references

Research works printed but not linked: 31

  1. 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
  2. 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.
  3. 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
  4. 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
  5. 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.
  6. 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.
  7. 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
  8. 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.
  9. 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
  10. Matthijs Douze, Hervé Jégou, and Florent Perronnin. Polysemous Codes. In Proceedings of the European Conference on Computer Vision, ECCV, 2016. · DOI · Paper page
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. Fabien André, Anne-Marie Kermarrec, and Nicolas Le Scouarnec. Derived Codebooks for High-Accuracy Nearest Neighbor Search. arXiv:1905.06900, 2019. · arXiv
  18. 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
  19. Wojciech Muła, Nathan Kurz, and Daniel Lemire. Faster Population Counts Using AVX2 Instructions. The Computer Journal, 2018. · DOI
  20. 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
  21. 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.
  22. 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
  23. 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
  24. 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.
  25. 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
  26. 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
  27. klein, 2019, In defense of product quantization, Proc IEEE Conf Comput Vis Pattern Recognit, 5041
  28. Benjamin Klein and Lior Wolf. In Defense of Product Quantization. arXiv preprint arXiv:1711.08589, 2017. · arXiv
  29. 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
  30. 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
  31. 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

See all 20

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
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
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

How to cite

Cite CoChat for the checks on this page, and the paper for its own findings.

This page
CoChat. (2026). Citation check: Quicker ADC : Unlocking the Hidden Potential of Product Quantization With SIMD. https://app.cochat.ai/papers/10.1109/tpami.2019.2952606
The paper
Andre, F., Kermarrec, A.-M., & Le Scouarnec, N. (2021). Quicker ADC : Unlocking the Hidden Potential of Product Quantization With SIMD. IEEE Transactions on Pattern Analysis and Machine Intelligence. https://doi.org/10.1109/tpami.2019.2952606

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.