In-memory k Nearest Neighbor GPU-based Query Processing

被引:2
|
作者
Velentzas, Polychronis [1 ]
Vassilakopoulos, Michael [1 ]
Corral, Antonio [2 ]
机构
[1] Univ Thessaly, Dept Elect & Comp Engn, Data Structuring & Eng Lab, Volos, Greece
[2] Univ Almeria, Dept Informat, Almeria, Spain
关键词
Nearest Neighbors; GPU Algorithms; Spatial Query; In-memory Processing; Parallel Computing;
D O I
10.5220/0009781903100317
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The k Nearest Neighbor (k-NN) algorithm is widely used for classification in several application domains (medicine, economy, entertainment, etc.). Let a group of query points, for each of which we need to compute the k-NNs within a reference dataset to derive the dominating feature class. When the reference points volume is extremely big, it can be proved challenging to deliver low latency results. Furthermore, when the query points are originating from streams, the need for new methods arises to address the computational overhead. We propose and implement two in-memory GPU-based algorithms for the k-NN query, using the CUDA API and the Thrust library. The first one is based on a Brute Force approach and the second one is using heuristics to minimize the reference points near a query point. We also present an extensive experimental comparison against existing algorithms, using synthetic and real datasets. The results show that both of our algorithms outperform these algorithms, in terms of execution time as well as total volume of in-memory reference points that can be handled.
引用
收藏
页码:310 / 317
页数:8
相关论文
共 50 条
  • [1] GPU-Based Algorithms for Processing the k Nearest-Neighbor Query on Spatial Data Using Partitioning and Concurrent Kernel Execution
    Polychronis Velentzas
    Michael Vassilakopoulos
    Antonio Corral
    Christos Antonopoulos
    International Journal of Parallel Programming, 2023, 51 : 275 - 308
  • [2] GPU-Based Algorithms for Processing the k Nearest-Neighbor Query on Spatial Data Using Partitioning and Concurrent Kernel Execution
    Velentzas, Polychronis
    Vassilakopoulos, Michael
    Corral, Antonio
    Antonopoulos, Christos
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2023, 51 (06) : 275 - 308
  • [3] Distributed In-Memory Processing of All k Nearest Neighbor Queries
    Chatzimilioudis, Georgios
    Costa, Constantinos
    Zeinalipour-Yazti, Demetrios
    Lee, Wang-Chien
    Pitoura, Evaggelia
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2016, 28 (04) : 925 - 938
  • [4] Distributed In-Memory Processing of All k Nearest Neighbor Queries
    Chatzimilioudis, Georgios
    Costa, Constantinos
    Zeinalipour-Yazti, Demetrios
    Lee, Wang-Chien
    Pitoura, Evaggelia
    2016 32ND IEEE INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2016, : 1490 - 1491
  • [5] Research on Parallelization of GPU-based K-Nearest Neighbor Algorithm
    Jiang, Hao
    Wu, Yulin
    2017 INTERNATIONAL CONFERENCE ON CLOUD TECHNOLOGY AND COMMUNICATION ENGINEERING (CTCE2017), 2017, 910
  • [6] Compressed In-memory Graphs for Accelerating GPU-based Analytics
    Azami, Noushin
    Burtscher, Martin
    2022 IEEE/ACM WORKSHOP ON IRREGULAR APPLICATIONS: ARCHITECTURES AND ALGORITHMS (IA3), 2022, : 32 - 40
  • [7] Efficient Nearest-Neighbor Computation for GPU-based Motion Planning
    Pan, Jia
    Lauterbach, Christian
    Manocha, Dinesh
    IEEE/RSJ 2010 INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS 2010), 2010, : 2243 - 2248
  • [8] Literature Study on k-Nearest Neighbor query processing
    Anuja, K., V
    Mani, Shinu Acca
    2015 INTERNATIONAL CONFERENCE ON INNOVATIONS IN INFORMATION, EMBEDDED AND COMMUNICATION SYSTEMS (ICIIECS), 2015,
  • [9] Concurrent query processing in a GPU-based database system
    Li, Hao
    Tu, Yi-Cheng
    Zeng, Bo
    PLOS ONE, 2019, 14 (04):
  • [10] GPL: A GPU-based Pipelined Query Processing Engine
    Paul, Johns
    He, Jiong
    He, Bingsheng
    SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1935 - 1950