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 条
  • [21] Fast and versatile algorithm for nearest neighbor search based on a lower bound tree
    Chen, Yong-Sheng
    Hung, Yi-Ping
    Yen, Ting-Fang
    Fuh, Chiou-Shann
    PATTERN RECOGNITION, 2007, 40 (02) : 360 - 375
  • [22] Fast Filtering for Nearest Neighbor Search by Sketch Enumeration Without Using Matching
    Higuchi, Naoya
    Imamura, Yasunobu
    Kuboyama, Tetsuji
    Hirata, Kouichi
    Shinohara, Takeshi
    AI 2019: ADVANCES IN ARTIFICIAL INTELLIGENCE, 2019, 11919 : 240 - 252
  • [23] Projection Search For Approximate Nearest Neighbor
    Feng, Cheng
    Yang, Bo
    2016 17TH IEEE/ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ARTIFICIAL INTELLIGENCE, NETWORKING AND PARALLEL/DISTRIBUTED COMPUTING (SNPD), 2016, : 33 - 38
  • [24] Hardness of Approximate Nearest Neighbor Search
    Rubinstein, Aviad
    STOC'18: PROCEEDINGS OF THE 50TH ANNUAL ACM SIGACT SYMPOSIUM ON THEORY OF COMPUTING, 2018, : 1260 - 1268
  • [25] Practical Nearest Neighbor Search in the Plane
    Connor, Michael
    Kumar, Piyush
    EXPERIMENTAL ALGORITHMS, PROCEEDINGS, 2010, 6049 : 501 - 512
  • [26] Fast Hubness-Reduced Nearest Neighbor Search for Entity Alignment in Knowledge Graphs
    Obraczka D.
    Rahm E.
    SN Computer Science, 3 (6)
  • [27] Diagonal axes method (DAM): A fast search algorithm for vector quantization
    Chen, TS
    Chang, CC
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 1997, 7 (03) : 555 - 559
  • [28] Locally Optimized Hashing for Nearest Neighbor Search
    Tokui, Seiya
    Sato, Issei
    Nakagawa, Hiroshi
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PART II, 2015, 9078 : 498 - 509
  • [29] Hash Bit Selection for Nearest Neighbor Search
    Liu, Xianglong
    He, Junfeng
    Chang, Shih-Fu
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2017, 26 (11) : 5367 - 5380
  • [30] Singleton indexes for nearest neighbor. search
    Tellez, E. S.
    Ruiz, G.
    Chavez, E.
    INFORMATION SYSTEMS, 2016, 60 : 50 - 68