Lune

NeurIPS2025Top-tier venue

Consistency of the kn-nearest neighbor rule under adaptive sampling

Robi Bhattacharjee, Geelon So, Sanjoy Dasgupta

Abstract

In the adaptive sampling model of online learning, future prediction tasks can be arbitrarily dependent on the past. Every round, an adversary selects an instance to test the learner. After the learner makes a prediction, a noisy label is drawn from an underlying conditional label distribution and is revealed to both learner and adversary. A learner is consistent if it eventually performs no worse than the Bayes predictor. We study the k n -nearest neighbor learner within this setting. In the worst-case, the learner will fail because an adaptive process can generate spurious patterns out of noise. However, under the mild smoothing assumption that the process generating the instances is uniformly absolutely continuous and that choice of (k n ) n is reasonable, the k n -nearest neighbor rule is online consistent.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Online Consistency of the Nearest Neighbor Rule cites Smoothed Analysis of Online and Differentially Private Learning
  • Online Consistency of the Nearest Neighbor Rule cites Smoothed Analysis with Adaptive Adversaries
  • Smoothed Analysis with Adaptive Adversaries cites Smoothed Analysis of Online and Differentially Private Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on3

  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
  3. Online Consistency of the Nearest Neighbor RuleGeelon So, Sanjoy DasguptaNeurIPS 2024 · 1 citation

Related papers

  1. Online Classification with PredictionsVinod Raman, Ambuj TewariNeurIPS 2024 · 9 citations
  2. A Two-Stage Active Learning Algorithm for k-Nearest NeighborsNicholas Rittler, Kamalika ChaudhuriICML 2023 · 3 citations
  3. Efficient Classification with Adaptive KNNPuning Zhao, Lifeng LaiAAAI 2021 · 13 citations
  4. Learning Functional Distributions with Private LabelsChanglong Wu, Yifan Wang, Ananth Grama, Wojciech SzpankowskiICML 2023 · 4 citations
  5. Online Selection Problems against Constrained AdversaryZhihao Jiang, Pinyan Lu, Zhihao Gavin Tang, Yuhao ZhangICML 2021 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines