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 条
  • [41] An Error Minimizing Partitioning Method for the Nearest Neighbor Search
    Lee, Seunghoon
    Kim, Jaekwang
    Lee, Jaedong
    Lee, Jee-Hyong
    MECHATRONICS AND INDUSTRIAL INFORMATICS, PTS 1-4, 2013, 321-324 : 2165 - 2170
  • [42] Randomized Approximate Nearest Neighbor Search with Limited Adaptivity
    Liu, Mingmou
    Pan, Xiaoyin
    Yin, Yitong
    ACM TRANSACTIONS ON PARALLEL COMPUTING, 2018, 5 (01)
  • [43] Nearest Neighbor Subsequence Search in Time Series Data
    Ahsan, Ramoza
    Bashir, Muzammil
    Neamtu, Rodica
    Rundensteiner, Elke A.
    Sarkozy, Gabor
    2019 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2019, : 2057 - 2066
  • [44] Explicit Embeddings for Nearest Neighbor Search with Mercer Kernels
    Bourrier, Anthony
    Perronnin, Florent
    Gribonval, Remi
    Perez, Patrick
    Jegou, Herve
    JOURNAL OF MATHEMATICAL IMAGING AND VISION, 2015, 52 (03) : 459 - 468
  • [45] Efficient Autotuning of Hyperparameters in Approximate Nearest Neighbor Search
    Jaasaari, Elias
    Hyvonen, Ville
    Roos, Teemu
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2019, PT II, 2019, 11440 : 590 - 602
  • [46] Quality and Efficiency in High Dimensional Nearest Neighbor Search
    Tao, Yufei
    Yi, Ke
    Sheng, Cheng
    Kalnis, Panos
    ACM SIGMOD/PODS 2009 CONFERENCE, 2009, : 563 - 575
  • [47] A scalable solution to the nearest neighbor search problem through local-search methods on neighbor graphs
    Tellez, Eric S.
    Ruiz, Guillermo
    Chavez, Edgar
    Graff, Mario
    PATTERN ANALYSIS AND APPLICATIONS, 2021, 24 (02) : 763 - 777
  • [48] A scalable solution to the nearest neighbor search problem through local-search methods on neighbor graphs
    Eric S. Tellez
    Guillermo Ruiz
    Edgar Chavez
    Mario Graff
    Pattern Analysis and Applications, 2021, 24 : 763 - 777
  • [49] Pyramid Encoding for Fast Additive Quantization
    Muravev, Anton
    Ozan, Ezgi Can
    Iosifidis, Alexandros
    Gabbouj, Moncef
    2017 25TH EUROPEAN SIGNAL PROCESSING CONFERENCE (EUSIPCO), 2017, : 2506 - 2510
  • [50] Probabilistic cost model for nearest neighbor search in image retrieval
    Kim, Kunho
    Hasan, Mohammad K.
    Heo, Jae-Pil
    Tai, Yu-Wing
    Yoon, Sung-eui
    COMPUTER VISION AND IMAGE UNDERSTANDING, 2012, 116 (09) : 991 - 998