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 条
  • [1] 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
  • [2] 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
  • [3] 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
  • [4] PRODUCT TREE QUANTIZATION FOR APPROXIMATE NEAREST NEIGHBOR SEARCH
    Yuan, Jiangbo
    Liu, Xiuwen
    2015 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP), 2015, : 2035 - 2039
  • [5] Locally Optimized Product Quantization for Approximate Nearest Neighbor Search
    Kalantidis, Yannis
    Avrithis, Yannis
    2014 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2014, : 2329 - 2336
  • [6] Approximate nearest neighbor search by cyclic hierarchical product quantization
    Xu, Zhi
    Zhou, Mengdong
    Liu, Yuxuan
    Zhao, Longyang
    Liu, Jiajia
    SIGNAL IMAGE AND VIDEO PROCESSING, 2025, 19 (06)
  • [7] 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
  • [8] Flexible product quantization for fast approximate nearest neighbor search
    Fan, Jingya
    Wang, Yang
    Song, Wenwen
    Pan, Zhibin
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (18) : 53243 - 53261
  • [9] STACKED PRODUCT QUANTIZATION FOR NEAREST NEIGHBOR SEARCH ON LARGE DATASETS
    Wang, Jun
    Li, Zhiyang
    Du, Yegang
    Qu, Wenyu
    2016 IEEE TRUSTCOM/BIGDATASE/ISPA, 2016, : 1621 - 1627
  • [10] Flexible product quantization for fast approximate nearest neighbor search
    Jingya Fan
    Yang Wang
    Wenwen Song
    Zhibin Pan
    Multimedia Tools and Applications, 2024, 83 : 53243 - 53261