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
来源
关键词
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] Nearest Neighbor Search Based on Product Quantization in Clusters
    Liu S.-W.
    Chen W.
    Zhao W.
    Chen J.-C.
    Lu P.
    Jisuanji Xuebao/Chinese Journal of Computers, 2020, 43 (02): : 303 - 314
  • [42] Optimized Product Quantization for Approximate Nearest Neighbor Search
    Ge, Tiezheng
    He, Kaiming
    Ke, Qifa
    Sun, Jian
    2013 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2013, : 2946 - 2953
  • [43] PRODUCT TREE QUANTIZATION FOR APPROXIMATE NEAREST NEIGHBOR SEARCH
    Yuan, Jiangbo
    Liu, Xiuwen
    2015 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2015, : 2035 - 2039
  • [44] GPGPU Implementation of Nearest Neighbor Search with Product Quantization
    Wakatani, Akiyoshi
    Murakami, Akio
    2014 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS (ISPA), 2014, : 248 - 253
  • [45] A modified fast vector quantization algorithm based on nearest partition set search
    Tantawy, Mohsen M.
    Abu Ei-Yazeed, M. F.
    Kader, Nemat S. Abdel
    El-Henawy, A. M.
    2007 IEEE INTERNATIONAL SYMPOSIUM ON SIGNAL PROCESSING AND INFORMATION TECHNOLOGY, VOLS 1-3, 2007, : 240 - +
  • [46] A fast nearest neighbor search algorithm by filtration
    Cha, SH
    Srihari, SN
    PATTERN RECOGNITION, 2002, 35 (02) : 515 - 525
  • [47] Additive Quantization for Extreme Vector Compression
    Babenko, Artem
    Lempitsky, Victor
    2014 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2014, : 931 - 938
  • [48] Online Variable Coding Length Product Quantization for Fast Nearest Neighbor Search in Mobile Retrieval
    Li, Jin
    Lan, Xuguang
    Li, Xiangwei
    Wang, Jiang
    Zheng, Nanning
    Wu, Ying
    IEEE TRANSACTIONS ON MULTIMEDIA, 2017, 19 (03) : 559 - 570
  • [49] Fast nearest neighbor search on road networks
    Hu, Haibo
    Lee, Dik Lun
    Xu, Jianliang
    ADVANCES IN DATABASE TECHNOLOGY - EDBT 2006, 2006, 3896 : 186 - 203
  • [50] A vector quantization algorithm based on the nearest neighbor of the furthest color
    Tremeau, A
    Charrier, C
    Cherifi, H
    INTERNATIONAL CONFERENCE ON IMAGE PROCESSING - PROCEEDINGS, VOL III, 1997, : 682 - 685