# On k-nearest-neighbor regression in metric spaces

arXiv: https://arxiv.org/abs/2610.41896 · HTML: https://mlsanity.com/paper/2610.41896/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 6 of its 21 references that are in the map.
- Submitted 30 Oct 2026.

## Builds on (most cited first, 6 of 6)

- [Rates of Convergence for Nearest Neighbor Classification](https://mlsanity.com/paper/1407.0067/) (2014)
- [Universal Bayes consistency in metric spaces](https://mlsanity.com/paper/1906.09855/) (2019)
- [Universal consistency and rates of convergence of multiclass prototype algorithms in metric spaces](https://mlsanity.com/paper/2010.00636/) (2020)
- [A Nearest Neighbor Characterization of Lebesgue Points in Metric Measure Spaces](https://mlsanity.com/paper/2007.03937/) (2020)
- [Universal consistency of the k-NN rule in metric spaces and Nagata dimension](https://mlsanity.com/paper/2003.00894/) (2020)
- [Universal consistency of the k-NN rule in metric spaces and Nagata dimension. II](https://mlsanity.com/paper/2305.17282/) (2023)

## Abstract (arXiv)

We study mean squared consistency of k-nearest-neighbor regression for metric space valued features. For a fixed feature distribution mu with atomless distance distributions, we describe how neighbor selection redistributes probability through the density of a uniformly chosen neighbor of an independent query. This gives separate conditions for the approximation error and the conditional response variance, and weakens Stone's domination condition when stronger response moments are available. In particular, when k_n tends to infinity and k_n/n tends to zero, a uniform L2(mu) bound on the selection densities suffices under a finite fourth response moment. We give a corresponding condition in terms of neighborhoods of fixed population mass and recover the Euclidean density bound. Finite global Nagata dimension gives Stone's domination. While sigma-finite Nagata dimensionality is known to ensure universal consistency of k-NN classification in complete separable spaces, we show that this is not the case for mean squared consistency with unbounded responses: we construct a space in this class on which one fixed noiseless response with all finite moments has diverging mean squared error.
