Minimum discrepancy principle strategy for choosing $k$ in $k$-NN regression
Yaroslav Averyanov, Alain Celisse
TL;DR
Problem: selecting the hyperparameter $k$ in the $k$-NN regression estimator without relying on hold-out data. Approach: a data-driven early-stopping rule based on the minimum discrepancy principle, monitoring the empirical risk $R_k$ and stopping at $k^{\\tau}$ when $R_k \\le 2R_2$, thereby avoiding computation of all estimators. Contributions: non-asymptotic oracle-type bounds showing minimax-optimality over Lipschitz function classes on bounded domains, favorable empirical performance against Hold-out, 5-fold CV, and AIC, and reduced computational cost by not evaluating the full grid. Significance: provides a practical, scalable, data-driven method for hyperparameter selection in nonparametric regression with no hold-out data, supported by theory and experiments on artificial and real data.
Abstract
We present a novel data-driven strategy to choose the hyperparameter $k$ in the $k$-NN regression estimator without using any hold-out data. We treat the problem of choosing the hyperparameter as an iterative procedure (over $k$) and propose using an easily implemented in practice strategy based on the idea of early stopping and the minimum discrepancy principle. This model selection strategy is proven to be minimax-optimal over some smoothness function classes, for instance, the Lipschitz functions class on a bounded domain. The novel method often improves statistical performance on artificial and real-world data sets in comparison to other model selection strategies, such as the Hold-out method, 5-fold cross-validation, and AIC criterion. The novelty of the strategy comes from reducing the computational time of the model selection procedure while preserving the statistical (minimax) optimality of the resulting estimator. More precisely, given a sample of size $n$, if one should choose $k$ among $\left\{ 1, \ldots, n \right\}$, and $\left\{ f^1, \ldots, f^n \right\}$ are the estimators of the regression function, the minimum discrepancy principle requires the calculation of a fraction of the estimators, while this is not the case for the generalized cross-validation, Akaike's AIC criteria, or Lepskii principle.
