Next Article in Journal
Study on Simplified Model of Pressure Loading in Adjacent Cabin with Internal Explosions in Cabin
Previous Article in Journal
Study on Deep Hole Blasting for Roof Cutting, Pressure Relief and Roadway Protection in Deep Multi-Coal Seam Mining
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Parallel Approaches for SNN-Based Nearest Neighbor Search in High-Dimensional Embedding Spaces: Application to Face Recognition

Department of Artificial Intelligence, Lviv Polytechnic National University, 79013 Lviv, Ukraine
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(18), 10139; https://doi.org/10.3390/app151810139
Submission received: 28 August 2025 / Revised: 11 September 2025 / Accepted: 16 September 2025 / Published: 17 September 2025

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: SNN method; parallel computing; facial embeddings; nearest neighbor search; high-dimensional data; CPU and GPU acceleration SNN method; parallel computing; facial embeddings; nearest neighbor search; high-dimensional data; CPU and GPU acceleration

Share and Cite

MDPI and ACS Style

Mochurad, L.; Kapustiak, R. Parallel Approaches for SNN-Based Nearest Neighbor Search in High-Dimensional Embedding Spaces: Application to Face Recognition. Appl. Sci. 2025, 15, 10139. https://doi.org/10.3390/app151810139

AMA Style

Mochurad L, Kapustiak R. Parallel Approaches for SNN-Based Nearest Neighbor Search in High-Dimensional Embedding Spaces: Application to Face Recognition. Applied Sciences. 2025; 15(18):10139. https://doi.org/10.3390/app151810139

Chicago/Turabian Style

Mochurad, Lesia, and Roman Kapustiak. 2025. "Parallel Approaches for SNN-Based Nearest Neighbor Search in High-Dimensional Embedding Spaces: Application to Face Recognition" Applied Sciences 15, no. 18: 10139. https://doi.org/10.3390/app151810139

APA Style

Mochurad, L., & Kapustiak, R. (2025). Parallel Approaches for SNN-Based Nearest Neighbor Search in High-Dimensional Embedding Spaces: Application to Face Recognition. Applied Sciences, 15(18), 10139. https://doi.org/10.3390/app151810139

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop