paper-with-me

홈 › Papers

A Theory-Based Evaluation of Nearest Neighbor Models Put Into Practice

2018-10-11 · NeurIPS 2018 12 · Hendrik Fichtenberger, Dennis Rohde

In the $k$-nearest neighborhood model ($k$-NN), we are given a set of points $P$, and we shall answer queries $q$ by returning the $k$ nearest neighbors of $q$ in $P$ according to some metric. This concept is crucial in many areas of data analysis and data processing, e.g., computer vision, document retrieval and machine learning. Many $k$-NN algorithms have been published and implemented, but often the relation between parameters and accuracy of the computed $k$-NN is not explicit. We study property testing of $k$-NN graphs in theory and evaluate it empirically: given a point set $P \subset \mathbb{R}^\delta$ and a directed graph $G=(P,E)$, is $G$ a $k$-NN graph, i.e., every point $p \in P$ has outgoing edges to its $k$ nearest neighbors, or is it $\epsilon$-far from being a $k$-NN graph? Here, $\epsilon$-far means that one has to change more than an $\epsilon$-fraction of the edges in order to make $G$ a $k$-NN graph. We develop a randomized algorithm with one-sided error that decides this question, i.e., a property tester for the $k$-NN property, with complexity $O(\sqrt{n} k^2 / \epsilon^2)$ measured in terms of the number of vertices and edges it inspects, and we prove a lower bound of $\Omega(\sqrt{n / \epsilon k})$. We evaluate our tester empirically on the $k$-NN models computed by various algorithms and show that it can be used to detect $k$-NN models with bad accuracy in significantly less time than the building time of the $k$-NN model.

📄 PDF Abstract BibTeX arXiv:1810.05064

Code (0)

등록된 구현이 없습니다.

Tasks

Retrieval

Similar Papers 제목 키워드 기반

Explaining the Success of Nearest Neighbor Methods in Prediction

2025-02-21 · George H. Chen, Devavrat Shah

Many modern methods for prediction leverage nearest neighbor search to find past training examples most similar to a test example, an idea that dates back in text to at least the 11th century and has stood the test of ti…

PredictionregressionTime Series Forecasting

Nearest Neighbor Median Shift Clustering for Binary Data

2019-02-11 · Gaël Beck, Tarn Duong, Mustapha Lebbah, Hanane Azzag

We describe in this paper the theory and practice behind a new modal clustering method for binary data. Our approach (BinNNMS) is based on the nearest neighbor median shift. The median shift is an extension of the well-k…

Clustering

Fast geometric learning with symbolic matrices

2020-12-01 · NeurIPS 2020 12 · Jean Feydy, Joan Glaunès, Benjamin Charlier, Michael Bronstein

Geometric methods rely on tensors that can be encoded using a symbolic formula and data arrays, such as kernel and distance matrices. We present an extension for standard machine learning frameworks that provides compreh…

GPU

Sub-linear Memory Sketches for Near Neighbor Search on Streaming Data with RACE

2020-01-01 · ICML 2020 1 · Benjamin Coleman, Anshumali Shrivastava, Richard Baraniuk

We present the first sublinear memory sketch that can be queried to find the nearest neighbors in a dataset. Our online sketching algorithm compresses an N element dataset to a sketch of size O(N^b log^3 N) in O(N^(b+1) …

compressed sensingDensity Estimation

A Theoretical Analysis Of Nearest Neighbor Search On Approximate Near Neighbor Graph

2023-03-10 · Anshumali Shrivastava, Zhao Song, Zhaozhuo Xu

Graph-based algorithms have demonstrated state-of-the-art performance in the nearest neighbor search (NN-Search) problem. These empirical successes urge the need for theoretical results that guarantee the search quality …