Lune

NeurIPS2024Top-tier venue

Online Consistency of the Nearest Neighbor Rule

Geelon So, Sanjoy Dasgupta

Abstract

In the realizable online setting, a learner is tasked with making predictions for a stream of instances, where the correct answer is revealed after each prediction. A learning rule is online consistent if its mistake rate eventually vanishes. The nearest neighbor rule (Fix and Hodges, 1951) is a fundamental prediction strategy, but it is only known to be consistent under strong statistical or geometric assumptions: the instances come i.i.d. or the label classes are well-separated. We prove online consistency for all measurable functions in doubling metric spaces under the mild assumption that the instances are generated by a process that is uniformly absolutely continuous with respect to a finite, upper doubling measure.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Smoothed Analysis with Adaptive Adversaries cites Smoothed Analysis of Online and Differentially Private Learning
  • Consistency of the kn-nearest neighbor rule under adaptive sampling cites Smoothed Analysis of Online and Differentially Private Learning
  • Consistency of the kn-nearest neighbor rule under adaptive sampling cites Smoothed Analysis with Adaptive Adversaries
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Consistency of the kn-nearest neighbor rule under adaptive samplingRobi Bhattacharjee, Geelon So, Sanjoy DasguptaNeurIPS 2025

Builds on2

  1. Smoothed Analysis of Online and Differentially Private LearningNika Haghtalab, Tim Roughgarden, Abhishek ShettyNeurIPS 2020 · 66 citations
  2. Smoothed Analysis with Adaptive AdversariesNika Haghtalab, Tim Roughgarden, Abhishek ShettyFOCS 2021 · 4 citations

Related papers

  1. Fast rates for nonparametric online learning: from realizability to learning in gamesConstantinos Daskalakis, Noah GolowichSTOC 2022 · 8 citations
  2. Tradeoffs between Mistakes and ERM Oracle Calls in Online and Transductive Online LearningIdan Attias, Steve Hanneke, Arvind RamaswamiNeurIPS 2025 · 1 citation
  3. Computable universal online learningDariusz Kalocinski, Tomasz SteiferNeurIPS 2025 · 1 citation
  4. Realizable Bayes-Consistency for General Metric LossesDan Tsir Cohen, Steve Hanneke, Aryeh KontorovichICML 2026
  5. Private Online Learning against an Adaptive Adversary: Realizable and Agnostic SettingsBo Li, Wei Wang, Peng YeNeurIPS 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines