Parallel Nearest Neighbors in Low Dimensions with Batch Updates

11/07/2021
by   Magdalen Dobson, et al.
0

We present a set of parallel algorithms for computing exact k-nearest neighbors in low dimensions. Many k-nearest neighbor algorithms use either a kd-tree or the Morton ordering of the point set; our algorithms combine these approaches using a data structure we call the zd-tree. We show that this combination is both theoretically efficient under common assumptions, and fast in practice. For point sets of size n with bounded expansion constant and bounded ratio, the zd-tree can be built in O(n) work with O(n^ϵ) span for constant ϵ<1, and searching for the k-nearest neighbors of a point takes expected O(klog k) time. We benchmark our k-nearest neighbor algorithms against existing parallel k-nearest neighbor algorithms, showing that our implementations are generally faster than the state of the art as well as achieving 75x speedup on 144 hyperthreads. Furthermore, the zd-tree supports parallel batch-dynamic insertions and deletions; to our knowledge, it is the first k-nearest neighbor data structure to support such updates. On point sets with bounded expansion constant and bounded ratio, a batch-dynamic update of size k requires O(k log n/k) work with O(k^ϵ + polylog(n)) span.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/26/2018

Approximate Nearest Neighbor Search in High Dimensions

The nearest neighbor problem is defined as follows: Given a set P of n p...
research
12/12/2014

Representing Data by a Mixture of Activated Simplices

We present a new model which represents data as a mixture of simplices. ...
research
10/06/2019

Exact and/or Fast Nearest Neighbors

Prior methods for retrieval of nearest neighbors in high dimensions are ...
research
12/12/2021

Parallel Batch-Dynamic kd-Trees

kd-trees are widely used in parallel databases to support efficient neig...
research
02/22/2021

ikd-Tree: An Incremental K-D Tree for Robotic Applications

This paper proposes an efficient data structure, ikd-Tree, for dynamic s...
research
03/14/2023

Efficient Yao Graph Construction

Yao graphs are geometric spanners that connect each point of a given poi...
research
12/22/2017

A Model of Optimal Network Structure for Decentralized Nearest Neighbor Search

One of the approaches for the nearest neighbor search problem is to buil...

Please sign up or login with your details

Forgot password? Click here to reset