Parallel Approaches for SNN-Based Nearest Neighbor Search in High-Dimensional Embedding Spaces: Application to Face Recognition
Open Access
- 17 September 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (18) , 10139
Abstract
The rapid growth of high-dimensional biometric data requires fast and accurate similarity search methods for real-time applications. This study proposes, for the first time, two efficient parallel implementations of the exact Sorting-based Nearest Neighbor (SNN) algorithm using OpenMP for CPUs and CUDA for GPUs. Comparative evaluation against conventional exact search methods—k-d tree and ball tree—on LFW embeddings, including FaceNet512 and VGG-Face, demonstrates an up to 58× speedup on GPUs while maintaining full accuracy. Analysis of the full recognition pipeline shows that parallelization reduces search times to about 27% of total processing, highlighting the method’s stability and efficiency for modern embeddings. These results confirm the applicability of the proposed approaches for real-time biometric identification, with potential extensions to streaming data, hybrid computing environments, and other high-dimensional representations.Keywords
This publication has 27 references indexed in Scilit:
- Exploring the Meaningfulness of Nearest Neighbor Search in High-Dimensional Space2024
- Medical image retrieval via nearest neighbor search on pre-trained image featuresKnowledge-Based Systems, 2023
- Research on knn algorithm based on kmeans clustering and collaborative filtering hybrid algorithm in AI teaching2023
- YuNet: A Tiny Millisecond-level Face DetectorMachine Intelligence Research, 2023
- Face Recognition and Identification Using Deep Learning2023
- Recent Research and Applications in Variational Autoencoders for Industrial Prognosis and Health Management: A Survey2022
- Fast Scalable Approximate Nearest Neighbor Search for High-dimensional Data2020
- A Light CNN for Deep Face Representation With Noisy LabelsIEEE Transactions on Information Forensics and Security, 2018
- FaceNet: A unified embedding for face recognition and clustering2015
- A Parallel Implementation of the K Nearest Neighbours Classifier in Three Levels: Threads, MPI Processes and the Grid2007