Papers
Topics
Authors
Recent
Search
2000 character limit reached

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

Published 11 Oct 2018 in cs.LG and stat.ML | (1810.05064v3)

Abstract: In the kk-nearest neighborhood model (kk-NN), we are given a set of points PP, and we shall answer queries qq by returning the kk nearest neighbors of qq in PP 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 kk-NN algorithms have been published and implemented, but often the relation between parameters and accuracy of the computed kk-NN is not explicit. We study property testing of kk-NN graphs in theory and evaluate it empirically: given a point set P⊂R<sup>δP \subset \mathbb{R}<sup>\delta and a directed graph G=(P,E)G=(P,E), is GG a kk-NN graph, i.e., every point p∈Pp \in P has outgoing edges to its kk nearest neighbors, or is it ϵ\epsilon-far from being a kk-NN graph? Here, ϵ\epsilon-far means that one has to change more than an ϵ\epsilon-fraction of the edges in order to make GG a kk-NN graph. We develop a randomized algorithm with one-sided error that decides this question, i.e., a property tester for the kk-NN property, with complexity O(nk<sup>2</sup>/ϵ<sup>2)O(\sqrt{n} k<sup>2</sup> / \epsilon<sup>2) measured in terms of the number of vertices and edges it inspects, and we prove a lower bound of Ω(n/ϵk)\Omega(\sqrt{n / \epsilon k}). We evaluate our tester empirically on the kk-NN models computed by various algorithms and show that it can be used to detect kk-NN models with bad accuracy in significantly less time than the building time of the kk-NN model.

Citations (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.