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 条
  • [31] Quantization to speedup approximate nearest neighbor search
    Hao Peng
    Neural Computing and Applications, 2024, 36 : 2303 - 2313
  • [32] Composite Quantization for Approximate Nearest Neighbor Search
    Zhang, Ting
    Du, Chao
    Wang, Jingdong
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 32 (CYCLE 2), 2014, 32 : 838 - 846
  • [33] Competitive Quantization for Approximate Nearest Neighbor Search
    Ozan, Ezgi Can
    Kiranyaz, Serkan
    Gabbouj, Moncef
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2016, 28 (11) : 2884 - 2894
  • [34] Fast vector quantization algorithms based on nearest partition set search
    Qian, Shen-En
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2006, 15 (08) : 2422 - 2430
  • [35] Codewords-Expanded Enhanced Residual Vector Quantization for Approximate Nearest Neighbor Search
    Ai L.
    Cheng H.
    Tao Y.
    Yu J.
    Zheng X.
    Liu D.
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2022, 34 (03): : 459 - 469
  • [36] Fast Nearest Neighbor Search with Keywords
    Tao, Yufei
    Sheng, Cheng
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2014, 26 (04) : 878 - 888
  • [37] Distance quantization method for fast nearest neighbor search computations with applications to motion estimation
    Cheong, Hye-Yeon
    Ortega, Antonio
    CONFERENCE RECORD OF THE FORTY-FIRST ASILOMAR CONFERENCE ON SIGNALS, SYSTEMS & COMPUTERS, VOLS 1-5, 2007, : 909 - 913
  • [38] A vector quantization method for nearest neighbor classifier design
    Yen, CW
    Young, CN
    Nagurka, ML
    PATTERN RECOGNITION LETTERS, 2004, 25 (06) : 725 - 731
  • [39] Vector quantization by lazy pairwise nearest neighbor method
    Kaukoranta, T
    Fränti, P
    Nevalainen, O
    OPTICAL ENGINEERING, 1999, 38 (11) : 1862 - 1868
  • [40] Vector quantization by lazy pairwise nearest neighbor method
    University of Turku, Department of Computer Science, Turku Ctr. for Comp. Science , Lemminkäisenkatu 14A, Turku 20520, Finland
    不详
    Opt Eng, 11 (1862-1868):