Nearest-Neighbor Radii under Dependent Sampling
Yuanyuan Gao, Yilong Hou, Zhexiao Lin
NeurIPS 2026
Abstract. Nearest-neighbor methods are fundamental to classical and modern machine learning, yet their geometric properties are typically analyzed under independent sampling. In this paper, we study the nearest-neighbor radii under dependent sampling. We consider strong mixing dependent observations and ask whether dependence changes the scale of nearest-neighbor neighborhoods. We establish distribution-free almost sure convergence under polynomial mixing and sharp non-asymptotic moment bounds under geometric mixing. The moment bounds depend on the local intrinsic dimension rather than the ambient dimension, making the results applicable to high-dimensional data supported on lower-dimensional manifolds. Synthetic experiments and real-world time-series benchmarks illustrate the theory, showing that nearest-neighbor geometry remains informative under dependent sampling.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper looks at a paradigmatic unsupervised learning problem, k-NN, and analyzes it in the setting of dependent samples. Reviewers appreciate the technical strength of the results. The authors successfully responded to the small number of questions asked by the reviewers. We'd request them to incorporate the result of this discussion in the final draft.
Final justification
Please see above.
- Final justification
- Please see above.
Read meta-review
Meta-review
The paper looks at a paradigmatic unsupervised learning problem, k-NN, and analyzes it in the setting of dependent samples. Reviewers appreciate the technical strength of the results. The authors successfully responded to the small number of questions asked by the reviewers. We'd request them to incorporate the result of this discussion in the final draft.
1 comment
- Rating
- 3/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Most of the literature on the nearest-neighbor methods under the mixing process assumptions analyzes the properties of the estimator, while this manuscript studies the properties of the nearest-neighbor radii. Additionally, the theory was validated through simulation experiments and real data experiments.
Strengths and weaknesses
Strengths: Analyzes the properties of the nearest-neighbor radii under -mixing assumptions.
Weaknesses: There are many relevant literature on mixing processes [1, 2, 3, 4], but the author lacks a description of the related content (the relationship between different mixing processes, why choose -mixing)
[1] Fast learning from -mixing observations, 2014.
[2] Concentration of weakly dependent Banach-valued sums and applications to kernel learning methods, 2019.
[3] Three rates of convergence or separation via -statistics in a dependent framework, 2022.
[4] Generalization Bounds of Deep Neural Networks With -Mixing Samples, 2025.
Questions
-
The authors may compare the inequality presented in [41] with Lemma 1 adopted in this paper, and explore whether the Bernstein inequality from [41] can achieve improved performance.
-
It is required to prove that the -mixing coefficient of complies with the inequality in lines 533 to 534. This result is non-trivial in view of the intricate relationship between and the -mixing samples .
-
What are the main challenges in the theoretical analysis?
-
Why do you choose the -mixing assumption? If replacing it with -, - or -mixing, can similar results be obtained? What are the essential differences among these mixing conditions?
Limitations
Yes
Final justification
The authors have resolved my concerns, and I am willing to raise my score.
Formatting concerns
NA
2 comments
Rebuttal
We thank the reviewer for the careful and constructive comments. We now respond to your comments point by point.
Weaknesses: We thank the reviewer for pointing out these relevant references. The cited works study concentration inequalities or learning guarantees for empirical risks, Banach-valued sums, U-statistics, and deep neural networks under various mixing conditions. In contrast, our paper studies the geometric behavior of the -nearest-neighbor radius itself under dependent sampling. Specifically, we analyze the dependent small-ball count and invert it to obtain sharp bounds for the random radius . Our main result identifies the intrinsic-dimensional rate under local mass conditions, together with almost-sure convergence results under weaker polynomial mixing. Thus, the contribution is a new geometric consequence: dependence affects the concentration argument and the required growth of , while the fundamental nearest-neighbor scale remains unchanged. To our knowledge, the cited papers do not establish such sharp radius bounds or analyze the inversion of dependent local occupation counts. We will revise the related-work section to explain these distinctions and discuss how our assumptions and conclusions differ from those in [1]–[4].
Question 1: We thank the reviewer for this suggestion. We have compared the Bernstein inequality in [41] with Lemma 1 used in our proof. The inequality in [41] can yield sharper numerical constants thus slightly better finite-sample bound in some regimes. However, it does not improve the asymptotic rate of our main result. The reason is that both inequalities provide exponential concentration for the dependent ball count , up to dependence-related constants and logarithmic factors. Therefore, replacing Lemma 1 by the inequality in [41] could improve constants in the tail probability and possibly weaken some finite-sample thresholds, but it would not change the exponent , the rate , or the qualitative conclusions of the paper. In the paper, we also provided matching non-asymptotic lower bound, which indicates that our upper bound cannot be tightened up to a constant.
Question 2: We thank the reviewer for identifying this missing justification. We agree that the mixing bound for the block variables should be proved explicitly. For each kept block , the centered variable is measurable with respect to . Hence, for any and , , whereas . The separation between these two index sets is . Therefore, by the definition and monotonicity of the original -mixing coefficients, . In particular, . We will add this argument in the revised manuscript. This also clarifies that centering and aggregation within each block do not increase dependence, because they are measurable transformations of the observations in that block.
Question 3: The main theoretical challenge is that the -nearest-neighbor radius is a random geometric order statistic, rather than a simple empirical average. Its analysis requires translating the event into a lower-tail event for a dependent small-ball count, controlling that count under mixing, and then inverting the local probability relation . Dependence creates an additional difficulty because standard independent-sample concentration arguments no longer apply directly. We therefore use blocking to balance the dependence between blocks against the loss of effective sample size. Finally, obtaining sharp moment rates requires integrating the resulting tail bounds across both local and nonlocal regimes and proving a matching lower bound.
Question 4: We formulate the results under -mixing because it is weaker than the - and -mixing conditions raised by the reviewer, while providing exactly the event-level dependence control used in our proofs. For any two -fields and , the classical mixing coefficients satisfy ; see Equation (1.11) in the survey of Bradley (2005), which is reference [8] of our paper. Because these inequalities hold for every pair of -fields, they also hold rowwise for the mixing coefficients of our triangular array, so that for all . Hence, if the array's - or -coefficients satisfy the decay conditions that our results impose on — the polynomial condition for some in Theorem 1, or the geometric condition in Assumption 1 — then the -coefficients satisfy the same conditions. All of our results therefore apply immediately under the corresponding - or -mixing assumptions, with no new probabilistic argument. The converse implications fail in general: -mixing implies -mixing and -mixing implies -mixing, but neither reverse implication holds; see Section 2.1 of Bradley (2005) [8], where counterexamples are surveyed. The -mixing formulation therefore covers a strictly broader class of dependent processes. The -mixing condition is also the natural one for this particular problem. The -NN radius is controlled through counts of observations in balls, that is, through sums of the indicators , and the two dependence inputs in our proofs act on precisely these event-level quantities. The first is the covariance inequality of Davydov (1968, Corollary of Lemma 2.1), reference [14] of our paper, used in the proof of Theorem 1: for centered variables in the same row that are bounded and separated by lag , the covariance is at most in absolute value. The second is the Bernstein-type inequality stated as Lemma 1, due to Rio (1995, Theorem 5) and Liebscher (1996, Theorem 2.1), references [46] and [33] of our paper: for centered variables with , any block length , and any , the probability that exceeds is bounded by , where is the maximal variance of a length- block sum. Both bounds are driven by the -coefficients alone; they do not use the additional coupling or conditional-probability structure supplied by stronger mixing conditions. Many of the model classes motivating the paper, including standard geometrically ergodic Markov and ARMA models under appropriate regularity conditions, are commonly verified through geometric -mixing and are therefore covered by our assumptions. The situation for -mixing is different. In contrast to - and -mixing, -mixing is not simply a stronger version of -mixing. It controls correlations against a prescribed class of regular observables, such as Lipschitz, Hölder, or bounded-variation functions, rather than uniformly over measurable events (Maume-Deschamps, 2006; Hang and Steinwart, 2017). Our analysis relies on counts in balls and hence on ball indicators. These indicators are discontinuous at the boundary of the ball and therefore do not have finite Lipschitz or Hölder -norms. Consequently, the available -mixing concentration inequalities cannot be applied directly to our proofs. Establishing analogous nearest-neighbor radius results under -mixing would require a separate analysis and is beyond the scope of the present paper. We will add a short remark in the revision recording the coefficient hierarchy above and clarifying that all results apply immediately under the corresponding - and -mixing assumptions, whereas the -mixing setting requires a different argument.
The authors have resolved my concerns, and I am willing to raise my score.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper tackles the problem of characterising the radius of the k-neareast neighbourhood when observations are drawn from a dependent sampling process. More specifically, the authors use the expressive model of triangular arrays of R^d valued random variables with \alpha-mixing dependencies along the rows to represent the sampling process and study the radius from a fixed query point x of its k-th nearest neighbour among a row of n observations.
Specifically, the paper shows:
-
distribution-free almost sure convergence to the support of the marginal law under polynomial \alpha-mixing conditions (weak dependence) for the k-NN radius, showing that the weak dependence assumption does not change the limiting behaviour of nearest neighbour radii compared to the classical i.i.d. setting;
-
non-asymptotic tail bound and moment upper bound under a local lower-mass condition of order s, with s being the local geometric dimension around the query point;
-
exact order characterization under geometric \alpha-mixing, lower and upper local-mass conditions of order s and compact support.
Furthermore, the use of a local geometric exponent, rather than the ambient dimension d, makes the theoretical framework much more relevant.
Strengths and weaknesses
The paper provides a carefully structured theoretical analysis of the geometric properties of nearest-neighbour radii under dependent sampling, with an overall good quality of the mathematical formalization. The progression from polynomial mixing for asymptotic convergence to geometric mixing for non-asymptotic concentration is logically sound. However, a notable issue in the quality of presentation is that, while the mathematical formalization is rigorous, the choice of some notation is unnecessarily redundant and difficult to follow at times.
In general terms, the clarity of the theoretical argument proposed is good. The authors' definition of the triangular array setup provides a flexible and clear mathematical framework that effectively generalizes standard stationary sequence settings, while allowing the dependence structure to vary with the sample size n. However, the empirical section would have benefited in clarity by providing more background details regarding the specific models, baselines (such as MOMENT), and methodologies utilized, since lack of foundational context makes the empirical results harder to contextualize for readers not familiar with these specific time-series models.
In terms of significance this work is well-placed. Nearest-neighbour radii are foundational to a wide array of methods and, by mathematically proving that the canonical scale persists under dependency, the authors justify the continued application of i.i.d. heuristics. Even if the contribution does not have a great direct algorithmic impact, it still establishes a rigorous understanding of the underlying theory, which is intrinsically important in the field.
To the best of my knowledge, I find the work to be original: shifting the focus to the geometry of the k-NN radius, rather than solely evaluating the downstream error rates of estimators built upon it, represents a valuable shift in perspective. While the concentration techniques employed are standard, their application to derive exact-order moment bounds is original.
Questions
My main suggestion is to improve the presentation as stated above.
Limitations
The authors explicitly address the limitations of their work in Section 5, acknowledging the strictly pointwise nature of their analysis (the query point x is fixed) and highlighting that establishing uniform convergence over the entire support is a significant theoretical gap for future work.
Formatting concerns
none
2 comments
Rebuttal
We thank the reviewer for the positive assessment and for pointing out the presentation issue.
-
We agree that some notation in the current version is more elaborate than necessary. In the revision, we will simplify and standardize the notation throughout the paper. In particular, we will remove symbols that duplicate existing quantities, use a single notation for the nearest-neighbor radius and the corresponding small-ball count, and clearly distinguish the original observations, indicator variables, and block-level variables. We will also add a short notation table and a brief roadmap before the main proofs. These changes are purely expositional and do not affect the assumptions, results, or arguments, but we believe they will make the progression from the asymptotic results under polynomial mixing to the non-asymptotic results under geometric mixing substantially easier to follow.
-
We agree that the empirical section would be clearer with more background for readers who are less familiar with these time-series benchmarks and baselines. The paper already includes an appendix subsection, “B.5 Experiment 3 (Section 4.3) implementation details,” which describes the long-horizon forecasting, short-horizon forecasting, and classification tasks, including the datasets, evaluation metrics, preprocessing procedures, train/validation/test splits, and hyperparameter tuning protocols. In the revision, we will make the pointer to this appendix subsection more explicit in the main text, so that readers can more easily locate the additional experimental details.
The proposed changes are ok for me.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper examines how -nearest-neighbor radii behave when the samples are dependent rather than i.i.d. The authors study strong-mixing triangular arrays and ask whether dependence changes the usual nearest-neighbor scale. They prove almost sure convergence under polynomial mixing and obtain sharp moment bounds under geometric mixing. The main conclusion is that, under suitable local mass conditions, the radius still has the familiar order , where can be interpreted as a local intrinsic dimension. The paper also provides synthetic and real time-series experiments to illustrate the theory.
Strengths and weaknesses
Strengths
- The paper proves that, under strong mixing dependence, the -nearest-neighbor radius around a fixed query still scales as , matching the usual i.i.d. rate up to constants.
- The results cover different dependence regimes, including almost sure bounds under polynomial mixing and moment bounds under geometric mixing.
- The experiments include both synthetic dependent processes and real time-series datasets, which helps illustrate the relevance of the theoretical setting.
Weaknesses
- The proof of Theorem 3 seems to absorb an remainder into , but this may not hold for all , especially when . The theorem may need either a stronger tail remainder, such as with adjustable , or a restriction on the range of .
- The main theoretical results are pointwise for a fixed query point. Many nearest-neighbor applications need uniform control over many test points, sample points, or graph neighborhoods, so the current results may not directly cover those settings.
- The experiments show that kNN-based methods are useful on dependent or time-series data, but they do not directly check the predicted radius scaling or the mixing and local mass conditions.
- It would be helpful to discuss which common time-series or representation-learning settings are expected to satisfy the required mixing conditions.
Questions
The real-data experiments show that Raw-kNN and PCA-kNN are competitive but not clearly tied to the theoretical assumptions. Could the authors add a more direct empirical check of the predicted radius scaling under dependence, for example by estimating slopes on real time-series representations?
Limitations
yes
Final justification
My main concern about the proof of Theorem 3 has been addressed, and the other reviewers’ concerns were also handled well. Some limitations remain, but they do not outweigh the paper’s theoretical contribution. I therefore support acceptance.
Formatting concerns
no
2 comments
Rebuttal
We thank the reviewer for the careful and constructive comments. We now respond to your comments point by point.
Weakness 1: We thank the reviewer for identifying this issue. We agree that the fixed remainder in the submitted tail bound cannot, in general, be absorbed into for every , particularly when . We have revised the proof by replacing the fixed remainder with an arbitrary polynomial remainder . This is achieved by choosing the blocking length as a function of ; the same kept-block argument then yields the strengthened tail bound, with constants depending on . For the th-moment result, we choose , so that , using . Therefore, the remainder can be absorbed without imposing any restriction on . We have updated the statement and proof of the tail bound accordingly and revised the proof of Theorem 3 to use this adjustable choice of . This removes the gap while preserving the theorem for all .
Weakness 2: We thank the reviewer for this important observation. We agree that pointwise local-mass assumptions alone are insufficient for uniform control, because the lower-mass constants may vary with the query point and the complexity of the query set must also be controlled. A uniform extension can be obtained by imposing uniform local-mass conditions over the query set together with an appropriate covering-number condition. One may then apply the pointwise tail bound on a finite net and use a union bound and standard geometric approximation arguments to obtain uniform control over the full set. The same approach can cover finitely many test points, sample points, and graph neighborhoods, with an additional complexity term depending on the number or covering entropy of the query points. Because such pointwise-to-uniform extensions are standard in nonparametric statistics and require additional assumptions that are separate from our main contribution, we focus in the paper on the pointwise theory. We already discussed this issue in the Discussion Section, but we will revise the manuscript to clarify this scope and to state explicitly the additional conditions under which the results extend uniformly.
Weakness 3 and Question: We agree that the experiments should more directly connect the empirical results to the theoretical radius-scaling and local-mass conditions.
For the synthetic experiments, the revision now verifies the assumptions for the exact generators used in Experiments 1 and 2. In particular, we can prove geometric -mixing with explicit rates and constants for the linear state-space and hidden Markov processes, and a super-geometric bound for the GP--RBF process; establish the local-mass conditions with exponent equal to the ambient or intrinsic dimension, as appropriate; and show that compact support can be replaced by a finite higher-moment condition, thereby covering the Gaussian design in Experiment 2. These results also clarify representative settings covered by the theory, including geometrically ergodic Markov and hidden-state models under standard regularity conditions, stationary causal ARMA processes, stationary Gaussian processes with a positive spectral density and sufficiently rapid covariance decay. We can also add a new appendix subsection, Empirical diagnostics for the synthetic assumptions, containing five diagnostics computed from the exact simulation code. The autocorrelation diagnostic compares measured decay with the analytic predictions: the Gaussian-model overlays are exact and parameter-free, while the HMM overlay uses the proved decay rate. A pairwise total-variation diagnostic provides a nonlinear, event-level complement to autocorrelation. The effective-sample-size diagnostic shows that configurations with large measured effective sample size recover the predicted radius slope closely, whereas the largest deviations occur only under very small effective sample sizes; this pattern is consistent with finite-sample effects under strong dependence rather than a change in the theoretical exponent. The local ball-mass diagnostic estimates the exponent from : across all Experiment-1 models and dependence levels, the fitted exponents are in and for targets and , respectively. Finally, the Experiment-2 diagnostic shows that the observed -dimensional representation follows the exact intrinsic-dimensional mass curves, with fitted finite-radius slopes matching those predicted for and , rather than ambient dimension . These diagnostics complement, rather than replace, the analytic verification of the assumptions.
For the real-data experiments, we will add a new appendix section, Real-data radius-scaling diagnostics. This diagnostic uses the same input features as in the real-data experiments. The input features are standardized before nearest-neighbor prediction, as in -NN applied directly to the standardized input features (Raw-NN) and -NN applied after projecting the standardized input features onto a lower-dimensional PCA representation (PCA-NN). For each fixed query point , we consider the distance from to its th nearest neighbor among the sample points. Using the notation from Section 2, we denote this -NN radius by , where is the sample size and is the number of nearest neighbors. We compute this radius either in the standardized observation space or after projecting each input onto the PCA representation. We vary and , compute the average -NN radius over query points, and fit its slope versus on a log-log scale. This checks whether the canonical scale for the -NN radius is visible in real dependent data, where is the local geometric dimension around the query point . We also estimate how the mass of accumulates near the query point by fitting versus , where is the radius and is the empirical fraction of sample points falling in the ball .
The tables below report the fitted slopes and block-bootstrap confidence intervals, computed by resampling consecutive time blocks to account for temporal dependence. Across the real-data benchmarks, the fitted radius slopes are positive for both Raw-NN and PCA-NN representations, with 95% block-bootstrap intervals bounded away from zero. This indicates that the empirical -NN radius follows the expected scaling with : it shrinks as becomes smaller, consistent with the canonical scaling . The PCA representation often gives a larger and more stable fitted slope, suggesting that removing noisy or redundant directions makes the nearest-neighbor geometry easier to observe. The local-mass fits also yield finite positive empirical local exponents, consistent with the local-mass conditions used to derive the canonical radius scale. These diagnostics show that the radius-scaling and local-mass behavior predicted by the theory are visible in real dependent data.
Real-data radius-scaling diagnostics with 95% block-bootstrap intervals.
Long-horizon forecasting
| Dataset | Representation | Radius slope | 95% Confidence Interval | Local mass slope |
|---|---|---|---|---|
| Weather | Raw | 0.176 | [0.165, 0.185] | 2.153 |
| PCA | 0.237 | [0.221, 0.254] | 1.989 | |
| ETTh1 | Raw | 0.213 | [0.204, 0.224] | 2.601 |
| PCA | 0.227 | [0.214, 0.239] | 2.441 | |
| ETTh2 | Raw | 0.158 | [0.133, 0.186] | 3.662 |
| PCA | 0.183 | [0.152, 0.217] | 3.337 | |
| ETTm1 | Raw | 0.238 | [0.223, 0.251] | 2.139 |
| PCA | 0.247 | [0.230, 0.261] | 2.093 | |
| ETTm2 | Raw | 0.199 | [0.178, 0.221] | 3.026 |
| PCA | 0.201 | [0.180, 0.223] | 3.011 | |
| Electricity | Raw | 0.087 | [0.079, 0.095] | 5.451 |
| PCA | 0.108 | [0.097, 0.119] | 5.124 |
Short-horizon forecasting
| Dataset | Representation | Radius slope | 95% Confidence Interval | Local mass slope |
|---|---|---|---|---|
| M3 Yearly | Raw | 0.184 | [0.167, 0.211] | 2.462 |
| PCA | 0.213 | [0.197, 0.239] | 2.394 | |
| M3 Quarterly | Raw | 0.172 | [0.162, 0.185] | 2.815 |
| PCA | 0.240 | [0.224, 0.256] | 2.617 | |
| M3 Monthly | Raw | 0.145 | [0.134, 0.160] | 3.128 |
| PCA | 0.206 | [0.193, 0.225] | 2.814 |
UCR classification
| Dataset | Representation | Radius slope | 95% Confidence Interval | Local mass slope |
|---|---|---|---|---|
| Crop | Raw | 0.212 | [0.198, 0.232] | 2.111 |
| PCA | 0.214 | [0.200, 0.235] | 2.101 | |
| ElectricDevices | Raw | 0.080 | [0.061, 0.095] | 8.944 |
| PCA | 0.142 | [0.127, 0.155] | 4.619 | |
| ECG5000 | Raw | 0.194 | [0.168, 0.219] | 2.619 |
| PCA | 0.211 | [0.187, 0.237] | 2.442 |
Weakness 4: We thank the reviewer for raising this point. Our synthetic experiments use data-generating processes that satisfy the assumed -mixing condition; please see our response to Reviewer hLkb, where we discuss this verification in more detail. These results also clarify representative settings covered by the theory, including geometrically ergodic Markov and hidden-state models under standard regularity conditions, stationary causal ARMA processes, stationary Gaussian processes with positive spectral density and sufficiently rapid covariance decay, and fixed frame-level encoders followed by bi-Lipschitz embeddings. For real data, we can assess dependence decay on the real-data representations using simple lag-based proxies. For example, for each lag , we can estimate the average absolute autocorrelation across representation coordinates and examine how it decays as increases. A roughly linear trend on a semi-log plot would be consistent with exponential/geometric decay, while a roughly linear trend on a log-log plot would suggest polynomial decay.
I thank the authors for their detailed response; my main concerns have been reasonably addressed, and I am willing to raise my score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Area Chair for the summary and for recognizing the strength of our paper. We have carefully addressed the questions raised by Reviewers VKy6 and hLkb, as well as the presentation issues identified by Reviewer Mzy9. The revised paper will therefore contain: a revision of the proof of Theorem 3; a clearer discussion of pointwise versus uniform guarantees; analytic and empirical verification of the theoretical assumptions; direct real-data radius-scaling diagnostics; an expanded comparison with the mixing literature; and improvements to notation and experimental presentation.