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 条
  • [21] Fast nearest-neighbor search based on Voronoi projections and its application to vector quantization encoding
    Ramasubramanian, V
    Paliwal, KK
    IEEE TRANSACTIONS ON SPEECH AND AUDIO PROCESSING, 1999, 7 (02): : 221 - 226
  • [22] Fast nearest-neighbor search based on Voronoi projections and its application to vector quantization encoding
    Tata Inst of Fundamental Research, Bombay, India
    IEEE Trans Speech Audio Process, 2 (221-226):
  • [23] Fast tree-structured nearest neighbor encoding for vector quantization
    Katsavounidis, I
    Kuo, CCJ
    Zhang, Z
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 1996, 5 (02) : 398 - 404
  • [24] Two fast nearest neighbor searching algorithms for image vector quantization
    Natl Cheng Kung Univ, Tainan, Taiwan
    IEEE Trans Commun, 12 (1623-1628):
  • [25] Two fast nearest neighbor searching algorithms for image vector quantization
    Tai, SC
    Lai, CC
    Lin, YC
    IEEE TRANSACTIONS ON COMMUNICATIONS, 1996, 44 (12) : 1623 - 1628
  • [26] Product Quantization for Nearest Neighbor Search
    Jegou, Herve
    Douze, Matthijs
    Schmid, Cordelia
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2011, 33 (01) : 117 - 128
  • [27] A vector distribution model and an effective nearest neighbor search method for image vector quantization
    Guan, L
    Kamel, M
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 1997, 6 (12) : 1688 - 1691
  • [28] Accumulative Quantization for Approximate Nearest Neighbor Search
    Ai, Liefu
    Tao, Yong
    Cheng, Hongjun
    Wang, Yuanzhi
    Xie, Shaoguo
    Liu, Deyang
    Zheng, Xin
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [29] Quantization to speedup approximate nearest neighbor search
    Peng, Hao
    NEURAL COMPUTING & APPLICATIONS, 2024, 36 (05): : 2303 - 2313
  • [30] Asymmetric Mapping Quantization for Nearest Neighbor Search
    Hong, Weixiang
    Tang, Xueyan
    Meng, Jingjing
    Yuan, Junsong
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2020, 42 (07) : 1783 - 1790