Fast additive quantization for vector compression in nearest neighbor search

被引:0
|
作者
Jin Li
Xuguang Lan
Jiang Wang
Meng Yang
Nanning Zheng
机构
[1] Xi’an Jiaotong University,Institute of Artificial Intelligence and Robotics
[2] Institue for Deep Learning,undefined
来源
Multimedia Tools and Applications | 2017年 / 76卷
关键词
Additive quantization; Beam search; Vector compression; Nearest neighbor search;
D O I
暂无
中图分类号
学科分类号
摘要
Vector quantization has been widely employed in nearest neighbor search because it can approximate the Euclidean distance of two vectors with the table look-up way that can be precomputed. Additive quantization (AQ) algorithm validated that low approximation error can be achieved by representing each input vector with a sum of dependent codewords, each of which is from its own codebook. However, the AQ algorithm relies on computational expensive beam search algorithm to encode each vector, which is prohibitive for the efficiency of the approximate nearest neighbor search. In this paper, we propose a fast AQ algorithm that significantly accelerates the encoding phase. We formulate the beam search algorithm as an optimization of codebook selection orders. According to the optimal order, we learn the codebooks with hierarchical construction, in which the search width can be set very small. Specifically, the codewords are firstly exchanged into proper codebooks by the indexed frequency in each step. Then the codebooks are updated successively to adapt the quantization residual of previous quantization level. In coding phase, the vectors are compressed with learned codebooks via the best order, where the search range is considerably reduced. The proposed method achieves almost the same performance as AQ, while the speed for the vector encoding phase can be accelerated dozens of times. The experiments are implemented on two benchmark datasets and the results verify our conclusion.
引用
收藏
页码:23273 / 23289
页数:16
相关论文
共 50 条
  • [31] Confirmation Sampling for Exact Nearest Neighbor Search
    Christiani, Tobias
    Pagh, Rasmus
    Thorup, Mikkel
    SIMILARITY SEARCH AND APPLICATIONS, SISAP 2020, 2020, 12440 : 97 - 110
  • [32] Online learning to Hash for nearest neighbor search
    Qian J.-B.
    Hu W.
    Chen H.-H.
    Dong Y.-H.
    Kongzhi yu Juece/Control and Decision, 2019, 34 (12): : 2567 - 2575
  • [33] QUANTIZATION BASED NEAREST-NEIGHBOR-PRESERVING METRIC APPROXIMATION
    Cheong, Hye-Yeon
    Ortega, Antonio
    2009 16TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, VOLS 1-6, 2009, : 1589 - 1592
  • [34] A novel supervised cluster adjustment method using a fast exact nearest neighbor search algorithm
    Ali Zaghian
    Fakhroddin Noorbehbahani
    Pattern Analysis and Applications, 2017, 20 : 701 - 715
  • [35] Distance Encoded Product Quantization for Approximate K-Nearest Neighbor Search in High-Dimensional Space
    Heo, Jae-Pil
    Lin, Zhe
    Yoon, Sung-Eui
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2019, 41 (09) : 2084 - 2097
  • [36] A novel supervised cluster adjustment method using a fast exact nearest neighbor search algorithm
    Zaghian, Ali
    Noorbehbahani, Fakhroddin
    PATTERN ANALYSIS AND APPLICATIONS, 2017, 20 (03) : 701 - 715
  • [37] Explicit Embeddings for Nearest Neighbor Search with Mercer Kernels
    Anthony Bourrier
    Florent Perronnin
    Rémi Gribonval
    Patrick Pérez
    Hervé Jégou
    Journal of Mathematical Imaging and Vision, 2015, 52 : 459 - 468
  • [38] Revisiting kd-tree for Nearest Neighbor Search
    Ram, Parikshit
    Sinha, Kaushik
    KDD'19: PROCEEDINGS OF THE 25TH ACM SIGKDD INTERNATIONAL CONFERENCCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2019, : 1378 - 1388
  • [39] Nearest Neighbor Search for Summarization of Japanese Judgment Documents
    Shimbo, Akito
    Sugawara, Yuta
    Yamada, Hiroaki
    Tokunaga, Takenobu
    LEGAL KNOWLEDGE AND INFORMATION SYSTEMS, 2023, 379 : 335 - 340
  • [40] A Spatial Cloaking Framework Based on Range Search for Nearest Neighbor Search
    Kim, Hyoungshick
    DATA PRIVACY MANAGEMENT AND AUTONOMOUS SPONTANEOUS SECURITY, 2010, 5939 : 93 - 105