The Effect of Points Dispersion on the k-nn Search in Random Projection Forests

Mashaan Alshammari, John Stavrakakis, Adel F. Ahmed, Masahiro Takatsuka
2/25/2023
cs.LGcs.AIcs.DS

No confident code implementation found for this paper.

Abstract

Partitioning trees are efficient data structures for $k$-nearest neighbor search. Machine learning libraries commonly use a special type of partitioning trees called $k$d-trees to perform $k$-nn search. Unfortunately, $k$d-trees can be ineffective in high dimensions because they need more tree levels to decrease the vector quantization (VQ) error. Random projection trees rpTrees solve this scalability problem by using random directions to split the data. A collection of rpTrees is called rpForest. $k$-nn search in an rpForest is influenced by two factors: 1) the dispersion of points along the random direction and 2) the number of rpTrees in the rpForest. In this study, we investigate how these two factors affect the $k$-nn search with varying $k$ values and different datasets. We found that with larger number of trees, the dispersion of points has a very limited effect on the $k$-nn search. One should use the original rpTree algorithm by picking a random direction regardless of the dispersion of points.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{alshammari2023effect,
  title  = {The Effect of Points Dispersion on the k-nn Search in Random Projection Forests},
  author = {Mashaan Alshammari and John Stavrakakis and Adel F. Ahmed and Masahiro Takatsuka},
  year   = {2023},
  eprint = {2302.13160},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.13160v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.13160.svg)](https://codeofpaper.com/paper/2302.13160)

Discussion