mlsanityData to 14 Oct 2026

Explaining the Success of Nearest Neighbor Methods in Prediction

arXiv 2502.15900 ↗First posted 21 Feb 2025cs.LG stat.MLcited by 2

Not on the map. Why?

Abstract (arXiv)

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 time. This monograph aims to explain the success of these methods, both in theory, for which we cover foundational nonasymptotic statistical guarantees on nearest-neighbor-based regression and classification, and in practice, for which we gather prominent methods for approximate nearest neighbor search that have been essential to scaling prediction systems reliant on nearest neighbor analysis to handle massive datasets. Furthermore, we discuss connections to learning distances for use with nearest neighbor methods, including how random decision trees and ensemble methods learn nearest neighbor structure, as well as recent developments in crowdsourcing and graphons. In terms of theory, our focus is on nonasymptotic statistical guarantees, which we state in the form of how many training data and what algorithm parameters ensure that a nearest neighbor prediction method achieves a user-specified error tolerance. We begin with the most general of such results for nearest neighbor and related kernel regression and classification in general metric spaces. In such settings in which we assume very little structure, what enables successful prediction is smoothness in the function being estimated for regression, and a low probability of landing near the decision boundary for classification. In practice, these conditions could be difficult to verify for a real dataset. We then cover recent guarantees on nearest neighbor prediction in the three case studies of time series forecasting, recommending products to people over time, and delineating human organs in medical images by looking at image patches. In these case studies, clustering structure enables successful prediction.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 19 of its 180 references that are in the map. First posted on arXiv 21 Feb 2025.

Builds on

19 of 180 references.

References · 19

  1. 2015Practical and Optimal LSH for Angular Distancecited by 106
  2. 2014Online Clustering of Banditscited by 102
  3. 2014Rates of Convergence for Nearest Neighbor Classificationcited by 46
  4. 2015Optimal Data-Dependent Hashing for Approximate Near Neighborscited by 44
  5. 2017Analyzing the Robustness of Nearest Neighbors to Adversarial Examplescited by 36
  6. 2017DeepNAT: Deep Convolutional Neural Network for Segmenting Neuroanatomycited by 25
  7. 2013Linear Bandits in High Dimension and Recommendation Systemscited by 22
  8. 2015Exploring Nearest Neighbor Approaches for Image Captioningcited by 19
  9. 2016Optimal Hashing-based Time-Space Trade-offs for Approximate Near Neighborscited by 18
  10. 2015Regret Guarantees for Item-Item Collaborative Filteringcited by 11
  11. 2014A Latent Source Model for Online Collaborative Filteringcited by 10
  12. 2017Regret Bounds and Regimes of Optimality for User-User and Item-Item Collaborative Filteringcited by 7
7 more
  1. 2014A Bayes consistent 1-NN classifiercited by 4
  2. 2017k*-Nearest Neighbors: From Global to Localcited by 4
  3. 2015The Boundary Forest Algorithm for Online Supervised and Unsupervised Learningcited by 3
  4. 2013A Latent Source Model for Nonparametric Time Series Classificationcited by 2
  5. 2015Tight Lower Bounds for Data-Dependent Locality-Sensitive Hashingcited by 2
  6. 2015A Latent Source Model for Patch-Based Image Segmentationcited by 2
  7. 2017Learning Deep Nearest Neighbor Representations Using Differentiable Boundary Treescited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.