FPGA Acceleration of Approximate KNN Indexing on High-Dimensional Vectors

被引:0
|
作者
Danopoulos, Dimitrios [1 ]
Kachris, Christoforos [2 ,3 ]
Soudris, Dimitrios [1 ]
机构
[1] NTUA, Dept Elect & Comp Engn, Athens, Greece
[2] Democritus Univ Thrace, Athens, Greece
[3] NTUA, ICCS, Athens, Greece
关键词
approximate KNN; nearest neighbor index; machine learning; FPGA; hardware accelerator;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Accurate and efficient Machine Learning algorithms are of vital importance to many problems, especially on classification or clustering tasks. One the most important algorithms used for similarity search is known as K-Nearest Neighbor algorithm (KNN) which is widely adopted for predictive analysis, text categorization, image recognition etc. but comes at the cost of high computation. Large companies that process big data on modern data centers adopt this technique combined with approximations on algorithm level in order to compute critical workloads every second. However, a significant computation and energy overhead is formed further with the high dimensional nearest neighbor queries. In this paper, we deploy a hardware accelerated approximate KNN algorithm built upon FAISS framework (Facebook Artificial Intelligence Similarity Search) using FPGA-OpenCL platforms. The FPGA architecture on this framework addresses the problem of vector indexing on training and adding large-scale high-dimensional data. The proposed solution uses an in memory FPGA format that outperforms other high performance systems in terms of speed and energy efficiency. The experiments were done on Xilinx Alveo U200 FPGA achieving up to 115x accelerator-only speed-up over single-core CPU and 2.4 x end-to-end system speed-up over a 36 -thread Xeon CPU. Also, the performance/watt of the design was 4.1x from the same CPU and 1.4 x from a Kepler-class GPU.
引用
收藏
页码:59 / 65
页数:7
相关论文
共 50 条
  • [1] Approximating High-Dimensional Range Queries with kNN Indexing Techniques
    Schuh, Michael A.
    Wylie, Tim
    Liu, Chang
    Angryk, Rafal A.
    [J]. COMPUTING AND COMBINATORICS, COCOON 2014, 2014, 8591 : 369 - 380
  • [2] Efficient Approximate Indexing in High-Dimensional Feature Spaces
    Santini, Simone
    [J]. SIMILARITY SEARCH AND APPLICATIONS (SISAP), 2013, 8199 : 194 - 205
  • [3] Approximate retrieval of high-dimensional data by spatial indexing
    Shinohara, T
    An, JY
    Ishizaka, H
    [J]. DISCOVERY SCIENCE, 1998, 1532 : 141 - 149
  • [4] A learned index for approximate kNN queries in high-dimensional spaces
    Lingli Li
    Jingwen Cai
    Jie Xu
    [J]. Knowledge and Information Systems, 2022, 64 : 3325 - 3342
  • [5] A learned index for approximate kNN queries in high-dimensional spaces
    Li, Lingli
    Cai, Jingwen
    Xu, Jie
    [J]. KNOWLEDGE AND INFORMATION SYSTEMS, 2022, 64 (12) : 3325 - 3342
  • [6] HDIdx: High-dimensional indexing for efficient approximate nearest neighbor search
    Wan, Ji
    Tang, Sheng
    Zhang, Yongdong
    Li, Jintao
    Wu, Pengcheng
    Hoi, Steven C. H.
    [J]. NEUROCOMPUTING, 2017, 237 : 401 - 404
  • [7] Indexing the bit-code and distance for fast KNN search in high-dimensional spaces
    Jun-jie Liang
    Yu-cai Feng
    [J]. Journal of Zhejiang University-SCIENCE A, 2007, 8 : 857 - 863
  • [8] Indexing the bit-code and distance for fast KNN search in high-dimensional spaces
    Liang Jun-jie
    Feng Yu-cai
    [J]. JOURNAL OF ZHEJIANG UNIVERSITY-SCIENCE A, 2007, 8 (06): : 857 - 863
  • [10] Indexing bit-code and distance for fast KNN search in high-dimensional spaces
    Liang, Junjie
    Wang, Changlei
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2007, 44 (11): : 1980 - 1985