Bandit-Based Monte Carlo Optimization for Nearest Neighbors

Vivek Bagaria, Tavor Z. Baharav, Govinda M. Kamath, David N. Tse
5/21/2018
cs.LGcs.DScs.IT

Official code: govinda-kamath/combinatorial_MAB (3 stars, C++, last commit 2019-01-19).

Abstract

The celebrated Monte Carlo method estimates an expensive-to-compute quantity by random sampling. Bandit-based Monte Carlo optimization is a general technique for computing the minimum of many such expensive-to-compute quantities by adaptive random sampling.

Show full abstract

The technique converts an optimization problem into a statistical estimation problem which is then solved via multi-armed bandits. We apply this technique to solve the problem of high-dimensional $k$-nearest neighbors, developing an algorithm which we prove is able to identify exact nearest neighbors with high probability. We show that under regularity assumptions on a dataset of $n$ points in $d$-dimensional space, the complexity of our algorithm scales logarithmically with the dimension of the data as $O\left((n+d)\log^2 \left(\frac{nd}δ\right)\right)$ for error probability $δ$, rather than linearly as in exact computation requiring $O(nd)$. We corroborate our theoretical results with numerical simulations, showing that our algorithm outperforms both exact computation and state-of-the-art algorithms such as kGraph, NGT, and LSH on real datasets.

View on arXivView PDF

Code Implementations(1)

30C++, CMakeJan 27, 20187 years ago

Similar Papers

Cite this paper

@article{bagaria2018banditbased,
  title  = {Bandit-Based Monte Carlo Optimization for Nearest Neighbors},
  author = {Vivek Bagaria and Tavor Z. Baharav and Govinda M. Kamath and David N. Tse},
  year   = {2018},
  eprint = {1805.08321},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1805.08321}
}

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/1805.08321.svg)](https://codeofpaper.com/paper/1805.08321)

Discussion