Delaunay-Based Nearest Neighbor Search with Grid-Accelerated Queries and Parallel Construction

Pengfei Wang, Shiqing Xin, Changhe TuarXiv 2026 · arXiv

This paper supercharges Delaunay-based nearest neighbor search (DP-NNS) by introducing grid-based query initialization and a level-consistent parallel construction algorithm. The result is a system that is significantly faster to build and query than previous state-of-the-art methods, particularly excelling in common graphics scenarios where data lies on a surface but queries fill the surrounding volume.

TL;DR

The authors accelerate both the construction and query phases of Delaunay-based nearest neighbor search, achieving a 10× speedup in index building and a 2× speedup in query execution. Their method outperforms widely used spatial libraries like nanoflann and ArborX for volumetric queries against surface-sampled point clouds.

What Problem Does This Paper Address?

Finding the "nearest neighbor" is a bread-and-butter operation in computer graphics, used for everything from surface reconstruction to point cloud registration. Standard tools like $k$-d trees work by partitioning space hierarchically. However, they struggle in a very common scenario: when data points are sampled from a 2D surface (a manifold) but queries are scattered throughout the 3D volume around it. In these cases, spatial trees often end up with "empty" nodes that degrade search performance.

![Fig.

  1. Nearest-neighbor queries for two data distributions. Left: uniform volume. Right: surface manifold with volumetric queries.](/figures/art_baf1dee6048741e9a09a0ffc5ea115a7)

An alternative approach called DP-NNS uses the history of a Delaunay triangulation construction to build a "successor Directed Acyclic Graph" (DAG). Queries then "walk" this graph directly toward the nearest neighbor. While DP-NNS is fast for queries, it has historically been very slow to build (sequential construction) and hard to parallelize without ruining its query efficiency.

Methods

The authors tackle both the construction and query bottlenecks:

  • Grid-Accelerated Search Initialization: Instead of starting every search from the same initial point in the DAG, the authors use a coarse uniform grid to precompute "jump-start" points. By analyzing the paths of grid cell vertices, they identify a valid starting point deep within the DAG for any query falling inside that cell, effectively skipping the early, redundant steps of the search.
  • Level-Consistent Parallel Construction: Building the DAG in parallel usually messes up the insertion order, which is critical for maintaining fast $O(\log n)$ search times. The authors prove that you can insert points in parallel within specific "levels" of a randomized order (BRIO) as long as you maintain the order between those levels. They implemented a lock-based parallel insertion scheme that enforces this "level-consistency."
  • Cache Locality via Morton Reordering: To further squeeze out performance, they reorder batches of queries along a 3D Morton curve (a space-filling curve). This ensures that nearby queries access similar parts of the DAG, significantly improving CPU cache hits.

![Fig.

  1. Successor lists on a 2D example. Each point records later insertions that become its Delaunay neighbors, forming the successor DAG.](/figures/art_0a9c10e6d7fb42c6b289958c9e697fca)

Datasets

The method was evaluated on a wide range of benchmarks:

  • Classic 3D Models: Camel, Bunny, Dragon, Kitten, Armadillo, Lucy, and Sponza (ranging from 29K to 1.31M points).
  • Large-Scale Datasets: Thingi10K (3D printing models), ABC (CAD models), and MedShapeNet (medical shapes).
  • Real-world Application: The Augmented ICL-NUIM dataset was used to test the speedup in Iterative Closest Point (ICP) registration.

Key Insights and Ideas

  • The "Path-Sharing" Property: A key observation is that any point on a query's search path is a valid starting point that preserves the final exact result. This is what makes the grid-based initialization possible and robust.
  • Order Matters, But Only Partially: The most surprising theoretical result is that you don't need a strict global insertion order to keep searches fast. Maintaining order across randomly sampled "levels" is enough, which opens the door for massive parallelization within each level.
  • Manifold Advantage: The method is specifically designed to exploit the "thinness" of surface data in 3D space, where traditional spatial partitioning is at its weakest.

Key Results

The improvements are substantial across the board:

  • Query Speed: Achieves an approximate 2× speedup over the original DP-NNS and significantly outperforms popular libraries like nanoflann ($k$-d tree) and ArborX (BVH).
  • Construction Speed: The parallel algorithm delivers a 10× speedup over sequential construction while maintaining the same query efficiency.
  • End-to-End Impact: When used as a backend for ICP registration, it reduced total registration time by 1.7–1.8× compared to the original DP-NNS and was up to 24× faster than the default $k$-d tree implementation in the Point Cloud Library (PCL).

![Fig.

  1. Preprocessing and query time ratios relative to original DP-NNS. Lower is better. The method is significantly faster in both phases.](/figures/art_aa6fbe865a29455cb605cae1068e0936)

Limitations and Future Work

Despite the gains, the authors note a few hurdles:

  • Build Time vs. Trees: Even with a 10× speedup, building a Delaunay-based hierarchy is still slower than building a simple $k$-d tree. It is a "build once, query many" trade-off.
  • 1-NN Specialization: The current acceleration strategies are specifically tuned for finding the single nearest neighbor. Extending these to general $k$-nearest-neighbor ($k$-NN) search is a goal for future work.
  • Dimensionality: Because it relies on Delaunay triangulations, the method is currently restricted to low-dimensional spaces (like 3D) and would not scale well to high-dimensional machine learning feature spaces.

Summary updated

Abstract

Nearest-neighbor search is a fundamental primitive in computer graphics, with applications in distance field computation, surface reconstruction, and point cloud registration. In many graphics applications, data points lie on a surface manifold embedded in 3D space, whereas queries are distributed throughout the surrounding volume, a setting in which spatial partitioning structures such as k-d trees and grids can become inefficient. Dynamic-programming-based nearest-neighbor search (DP-NNS) offers an alternative: it traverses a successor DAG that records the history of incremental Delaunay construction and often outperforms spatial partitioning structures. However, its sequential construction is slow, and naive parallelization degrades query performance, limiting its practical adoption. We accelerate both queries and construction in DP-NNS. For queries, we introduce a grid-based initialization strategy that precomputes valid starting points on the successor DAG, shortening search paths while preserving exactness and enabling a twofold speedup. For construction, we analyze how parallel insertion affects query cost and develop a parallel algorithm that preserves logarithmic expected query cost under stated geometric assumptions. Our parallel construction algorithm achieves a 10x speedup over the sequential baseline while maintaining nearly the same query cost. We further reorder query points to improve cache locality. Extensive experiments demonstrate that our method outperforms widely used libraries in nearest-neighbor query performance.
BibTeX
@misc{wang2026delaunay,
  author = {Pengfei Wang and Shiqing Xin and Changhe Tu},
  title = {{Delaunay-Based Nearest Neighbor Search with Grid-Accelerated Queries and Parallel Construction}},
  year = {2026},
  eprint = {2611.15320},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.15320},
}
Figure