GPGPU Implementation of Nearest Neighbor Search with Product Quantization

被引:5
|
作者
Wakatani, Akiyoshi [1 ]
Murakami, Akio [2 ]
机构
[1] Konan Univ, Fac Intelligence & Informat, Higashinada Ku, Kobe, Hyogo 6588501, Japan
[2] Konan Univ, Grad Sch Nat Sci, Higashinada Ku, Kobe, Hyogo 6588501, Japan
关键词
multithreading; image search; autotuning; GPU; multicore; CUDA;
D O I
10.1109/ISPA.2014.42
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
A nearest neighbor search with product quantization is a prominent method that achieves a high-precision search with less memory consumption than an exhaustive way. However, in order to accomplish a large size search with a large reference data, the search method have to be accelerated by using parallel systems such as multicore processors and GPGPU (General Purpose computing on GPU) systems. The distance calculation between a query and a reference data is an independent operation that is easily parallelized, but the reduction computation of distances after that is not completely parallel, so this leads to performace degradation. Therefore, in order to maximize a speedup, the adequate parameter selection is required in terms of parallelism. In this paper, the baseline of parallelization of the nearest neighbor search with product quantization is described, and the validity of our approach (Optimistic Search), which utilizes a small number of candidates of nearest neighbors, is discussed with experiments. We also show the effectiveness of pseudo matrix transposition for the sake of the efficient search. In addition, the method for autotuning is proposed and its effectiveness is empirically confirmed.
引用
收藏
页码:248 / 253
页数:6
相关论文
共 50 条
  • [21] 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
  • [22] Quantization to speedup approximate nearest neighbor search
    Hao Peng
    Neural Computing and Applications, 2024, 36 : 2303 - 2313
  • [23] 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
  • [24] 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
  • [25] Codebook-softened product quantization for high accuracy approximate nearest neighbor search
    Fan, Jingya
    Pan, Zhibin
    Wang, Liangzhuang
    Wang, Yang
    NEUROCOMPUTING, 2022, 507 : 107 - 116
  • [26] PQBF: I/O-Efficient Approximate Nearest Neighbor Search by Product Quantization
    Liu, Yingfan
    Cheng, Hong
    Cui, Jiangtao
    CIKM'17: PROCEEDINGS OF THE 2017 ACM CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, 2017, : 667 - 676
  • [27] 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
  • [28] Approximate Nearest Neighbor Search by Residual Vector Quantization
    Chen, Yongjian
    Guan, Tao
    Wang, Cheng
    SENSORS, 2010, 10 (12) : 11259 - 11273
  • [29] 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
  • [30] 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