In-memory k Nearest Neighbor GPU-based Query Processing

Polychronis Velentzas, Michael Vassilakopoulos, Antonio Corral

2020

Abstract

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.

Download


Paper Citation


in Harvard Style

Velentzas P., Vassilakopoulos M. and Corral A. (2020). In-memory k Nearest Neighbor GPU-based Query Processing.In Proceedings of the 6th International Conference on Geographical Information Systems Theory, Applications and Management - Volume 1: GISTAM, ISBN 978-989-758-425-1, pages 310-317. DOI: 10.5220/0009781903100317


in Bibtex Style

@conference{gistam20,
author={Polychronis Velentzas and Michael Vassilakopoulos and Antonio Corral},
title={In-memory k Nearest Neighbor GPU-based Query Processing},
booktitle={Proceedings of the 6th International Conference on Geographical Information Systems Theory, Applications and Management - Volume 1: GISTAM,},
year={2020},
pages={310-317},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0009781903100317},
isbn={978-989-758-425-1},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 6th International Conference on Geographical Information Systems Theory, Applications and Management - Volume 1: GISTAM,
TI - In-memory k Nearest Neighbor GPU-based Query Processing
SN - 978-989-758-425-1
AU - Velentzas P.
AU - Vassilakopoulos M.
AU - Corral A.
PY - 2020
SP - 310
EP - 317
DO - 10.5220/0009781903100317