arrow
Return

Efficient Nearest Neighbor Search Using Dynamic Programming

delete2025-09-16
delete0
PRE
AI
P
Pengfei Wang
J
Jiantao Song
辛士庆 cover
辛士庆 (Shiqing Xin)
S
Shuangmin Chen
C
Changhe Tu
Wang, Wenping cover
Wang, Wenping (Wenping Wang)
王甲业 cover
王甲业 (Jiaye Wang)
DOI:10.1109/TPAMI.2025.3610211delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Given a collection of points in $\mathbb {R}^{3}$, KD-Tree and R-Tree are well-known nearest neighbor search (NNS) algorithms that rely on spatial partitioning and indexing techniques. However, when the query point is far from the data points or the data points inherently represent a 2-manifold surface, their query performance may degrade. To address this, we propose a novel dynamic programming technique that precomputes a Directed Acyclic Graph (DAG) to encode the proximity structure between data points. More specifically, the DAG captures how the proximity structure evolves during the incremental construction of the Voronoi diagram of the data points. Experimental results demonstrate that our method achieves a speed increase of 1-10x. Furthermore, our algorithm demonstrates significant practical value in diverse applications. We validated its effectiveness through extensive testing in four key applications: Point-to-Mesh Distance Queries, Iterative Closest Point (ICP) Registration, Density Peak Clustering, and Point-to-Segments Distance Queries. A particularly notable feature of our approach is its unique ability to efficiently identify the nearest neighbor among the first $k$ points in the point cloud, a capability that enables substantial acceleration in low-dimensional applications like Density Peak Clustering. As a natural extension of our incremental construction process, our method can also be readily adapted for farthest-point sampling tasks. These experimental results across multiple domains underscore the broad applicability and practical importance of our approach.
Keywords:
Nearest neighbor search
delaunay triangulation
voronoi diagram
farthest point sampling
density peak clustering

Journal

IEEE Transactions on Pattern Analysis and Machine Intelligence cover
IEEE Transactions on Pattern Analysis and Machine Intelligence
IF:
18.6
Papers:
1.1K
Citations:
9.8W

Organization

C
college station
Scholars:
1.4K
Papers: 643
Citations: 6
S
shandong university
Scholars:
9.5W
Papers: 6.4W
Citations: 94
S
School of Information and Technology
Scholars:
15
Papers: 5
Citations: 0
researcher View more organizations
Cited Papers

Cited Papers

Selecting Sketches for Similarity Search
err2018-07-29
err0
PREAI
errVladimir Mic; David Novak; Lucia Vadicamo; Pavel Zezula
errShare
errSave
Clustering Analysis of Autumn Weather Regimes in the Northeast United States
err2021-09-01
err15
errOAAI
errCoe, David; Barlow, Mathew; Agel, Laurie; Colby, Frank; Skinner, Christopher; Qian, Jian-Hua
errShare
errSave
External segment trees
err1994-12-01
err0
PREAI
errG. Blankenagel; R. H. G�ting
errShare
errSave
A Survey on Nearest Neighbor Search Methods
err2014-06-18
err0
errOAAI
errMohammad RezaAbbasifard; Bijan Ghahremani; Hassan Naderi
errShare
errSave
researcher View more