Randomized PCA forest for approximate k-nearest neighbor search

k-Nearest Neighbors (kNN) search is the problem of finding k points which are the closest to a given query point. It is used widely in a wide range of tasks and is among the most important tools in applied machine learning. Traditional algorithms for kNN search require computing distances between a query point and all other points in the dataset, and therefore is very slow and inefficient for large data. In this paper, we propose an approximate algorithm for kNN search to find the nearest neighbors fast and efficiently. We employ a tree-based structure which offers robustness and scalability. We propose to use Principal Component Analysis (PCA) to find the best splitting direction to fit the data on the trees. Seeking solutions with low computational complexity, (1) we use a randomized Singular Value Decomposition solver, which reduces PCA complexity from being associated with the number of features to being associated with the number of required principal values; (2) we reuse PCA calculations in multiple nodes to save computation while maintaining accuracy; (3) we ensemble these trees for improved performance, and (4) finally, we propose several variants of the proposed method which target a higher accuracy or a higher efficiency. Extensive experimental results show that proposed solutions outperform existing methods in terms of accuracy, while maintaining competitive complexity. The fast implementation variant of the proposed method outperforms existing techniques in terms of complexity and shows competitive accuracy in performing k-nearest neighbors’ search.

Authors

Publication Details

Journal
Expert Systems with Applications
Published
2024-12-25
DOI
https://doi.org/10.1016/j.eswa.2024.126254
Citations
8
Primary Topic
Advanced Image and Video Retrieval Techniques
Type
article
Field-Weighted Citation Impact
1.99

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Randomized PCA forest for approximate k-nearest neighbor search

Moncef Gabbouj, Farhad Pakdaman, Muhammad Rajabinasab, Arthur Zimek
8 citations
Expert Systems with Applications
Advanced Image and Video Retrieval Techniques
1.99
article

Randomized PCA forest for approximate k-nearest neighbor search

Moncef Gabbouj, Farhad Pakdaman, Muhammad Rajabinasab, Arthur Zimek
article en
8 citations

Abstract

k-Nearest Neighbors (kNN) search is the problem of finding k points which are the closest to a given query point. It is used widely in a wide range of tasks and is among the most important tools in applied machine learning. Traditional algorithms for kNN search require computing distances between a query point and all other points in the dataset, and therefore is very slow and inefficient for large data. In this paper, we propose an approximate algorithm for kNN search to find the nearest neighbors fast and efficiently. We employ a tree-based structure which offers robustness and scalability. We propose to use Principal Component Analysis (PCA) to find the best splitting direction to fit the data on the trees. Seeking solutions with low computational complexity, (1) we use a randomized Singular Value Decomposition solver, which reduces PCA complexity from being associated with the number of features to being associated with the number of required principal values; (2) we reuse PCA calculations in multiple nodes to save computation while maintaining accuracy; (3) we ensemble these trees for improved performance, and (4) finally, we propose several variants of the proposed method which target a higher accuracy or a higher efficiency. Extensive experimental results show that proposed solutions outperform existing methods in terms of accuracy, while maintaining competitive complexity. The fast implementation variant of the proposed method outperforms existing techniques in terms of complexity and shows competitive accuracy in performing k-nearest neighbors’ search.

Expert Systems with ApplicationsVol. 281
European Commission, Horizon 2020 Framework Programme, Horizon 2020, H2020 Marie Skłodowska-Curie Actions, HORIZON EUROPE Marie Sklodowska-Curie Actions
Climate action
Openalex Percentile: Top 12%
Advanced Image and Video Retrieval Techniques
1.99
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.