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 条
  • [1] Fast additive quantization for vector compression in nearest neighbor search
    Li, Jin
    Lan, Xuguang
    Wang, Jiang
    Yang, Meng
    Zheng, Nanning
    MULTIMEDIA TOOLS AND APPLICATIONS, 2017, 76 (22) : 23273 - 23289
  • [2] A fast nearest neighbor search algorithm for image vector quantization
    Beldianu, SF
    ISSCS 2005: International Symposium on Signals, Circuits and Systems, Vols 1 and 2, Proceedings, 2005, : 485 - 488
  • [3] Fast nearest neighbor search of entropy-constrained vector quantization
    Johnson, MH
    Ladner, RE
    Riskin, EA
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2000, 9 (08) : 1435 - 1437
  • [4] Fast nearest-neighbor codeword search algorithms for vector quantization
    Sun, Sheng-He
    Lu, Zhe-Ming
    Liu, Chun-He
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2001, 29 (SUPPL.): : 1772 - 1777
  • [5] Search algorithms for vector quantization and nearest neighbor classification
    Ryan, TW
    Pothier, S
    Pierson, W
    ALGORITHMS FOR SYNTHETIC APERTURE RADAR IMAGERY VIII, 2001, 4382 : 276 - 285
  • [6] Approximate Nearest Neighbor Search by Residual Vector Quantization
    Chen, Yongjian
    Guan, Tao
    Wang, Cheng
    SENSORS, 2010, 10 (12) : 11259 - 11273
  • [7] FAST NEAREST NEIGHBOR SEARCH WITH TRANSFORMED RESIDUAL QUANTIZATION
    Yuan, Jiangbo
    Liu, Xiuwen
    2016 15TH IEEE INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND APPLICATIONS (ICMLA 2016), 2016, : 971 - 976
  • [8] Adaptive Binary Quantization for Fast Nearest Neighbor Search
    Li, Zhujin
    Liu, Xianglong
    Wu, Junjie
    Su, Hao
    ECAI 2016: 22ND EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2016, 285 : 64 - 72
  • [9] Residual Vector Product Quantization for approximate nearest neighbor search
    Niu, Lushuai
    Xu, Zhi
    Zhao, Longyang
    He, Daojing
    Ji, Jianqiu
    Yuan, Xiaoli
    Xue, Mian
    EXPERT SYSTEMS WITH APPLICATIONS, 2023, 232
  • [10] Residual Vector Product Quantization for Approximate Nearest Neighbor Search
    Xu, Zhi
    Niu, Lushuai
    Meng, Ruimin
    Zhao, Longyang
    Ji, Jianqiu
    ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PAKDD 2022, PT I, 2022, 13280 : 208 - 220