arXiv:2608.25513stat.MLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.25513

Adaptive Regularization for Random Features: A Neighboring Early-Stopping Rule with Oracle-Rate Guarantees

Caixing Wang, Zhibo Chen, Yue Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Random feature methods provide a scalable approximation to kernel ridge regression (KRR), but the regularization parameter that yields the oracle learning rate depends on unknown smoothness and capacity parameters. In this work, we propose a neighboring early-stopping rule for adaptive regularization in KRR with random features (KRR-RF). The method uses a grid that is uniform in inverse regularization and compares only adjacent estimators, reducing the number of discrepancy comparisons relative to standard all-pairs Lepskii-type procedures. Both the neighboring discrepancy and its empirical complexity term can be computed directly in the random feature space, without constructing the exact kernel Gram matrix.

We establish a high-probability comparison bound for neighboring KRR-RF estimators and show that, under standard source and capacity conditions together with suitable grid and random feature budget conditions, the selected estimator attains the oracle polynomial learning rate up to logarithmic factors. The result allows the regularization parameter to be selected without prior knowledge of the source and capacity exponents and covers both well-specified and partially misspecified regimes. Our analysis is based on an empirical random feature effective dimension that connects the observable stopping threshold with the population complexity of the random feature model. Simulation and real-data experiments illustrate the prediction performance and computational behavior of the proposed method in comparison with standard tuning procedures.

Keywords: kernel ridge regression; Lepskii principle; empirical RF effective dimension; oracle rates; learning theory

1 Introduction

Kernel methods are a fundamental class of nonparametric learning techniques that have played a central role in statistical learning theory and machine learning [50, 22, 46]. By embedding data into a reproducing kernel Hilbert space (RKHS), they enable flexible nonlinear modeling while preserving a tractable linear structure in the feature space. Specifically, let x,x′∈X\boldsymbol{x}, \boldsymbol{x}' \in \mathcal{X} be two input samples, and ψ(⋅):X→H\psi(\cdot) : \mathcal{X} \to \mathcal{H} be a nonlinear feature map that transforms the input space X\mathcal{X} to the RKHS H\mathcal{H}. The associated kernel function is defined by K(x,x′)=⟨ψ(x),ψ(x′)⟩HK(\boldsymbol{x}, \boldsymbol{x}') = \langle \psi(\boldsymbol{x}), \psi(\boldsymbol{x}') \rangle_{\mathcal{H}}, which implicitly characterizes the inner product in H\mathcal{H}. This allows one to perform linear operations in a potentially high- or infinite-dimensional feature space without explicitly evaluating the feature map. Kernel methods have been successfully applied to a wide range of problems, including regression [47, 13], classification [49, 12], and clustering [11, 59]. Despite their theoretical elegance and practical success, kernel methods often suffer from computational challenges when applied to large-scale datasets [48]. The computational complexity of kernel methods typically scales quadratically or cubically with the number of samples, making them infeasible for large datasets [58, 41, 42].

Random feature methods address this challenge by replacing the implicit kernel representation with an explicit low-dimensional randomized feature map, leading to scalable approximations of kernel algorithms [38, 44]. A large body of work has been devoted to understanding the statistical properties of random feature methods, including their approximation capabilities [38, 3], generalization performance [43, 24, 52], and fast computation [2, 35]. In the context of kernel ridge regression with random features (KRR-RF), it has been shown that under suitable source conditions on the target function and capacity conditions on the RKHS, KRR-RF can achieve minimax optimal rates of convergence [43, 24]. However, these optimal results typically require careful tuning of the regularization parameter, which depends on unknown smoothness parameters of the target function and capacity parameters of the RKHS. In practice, the regularization parameter is often selected by cross-validation (CV) or grid search methods, where the regularization parameter is chosen by minimizing a validation criterion over a prespecified grid [10, 21, 14]. However, such approaches face several limitations: first, they are computationally expensive, as they require refitting the model multiple times for different regularization parameters; second, they can be sensitive to the choice of the search grid and may not guarantee optimal performance if the grid is not sufficiently fine or does not cover the optimal parameter; third, the data-splitting inherent in cross-validation can lead to a loss of statistical efficiency, especially in small-sample regimes. Moreover, from a theoretical perspective, cross-validation and grid search methods often lack sharp finite-sample guarantees in the random feature setting, making it difficult to understand their performance in practice. In Figure 1, we empirically compare the performance of cross-validation with an oracle tuning strategy that selects the regularization parameter based on the true test error. The results show that cross-validation can be significantly more expensive than oracle tuning and may still yield worse performance.

Related literature on adaptive parameter selection. Adaptive regularization has been studied extensively in inverse problems, nonparametric regression, and kernel learning. One line of work treats regularized learning as a statistical inverse problem and analyzes spectral regularization methods, including Tikhonov regularization, gradient methods, spectral cut-off, and conjugate-gradient-type procedures [17, 4, 19, 9, 27]. These results describe the bias-variance trade-off and establish optimal rates for appropriately chosen regularization parameters, but the theoretically optimal choice generally depends on unknown smoothness and capacity parameters.

A second line of work uses data-dependent criteria to select the regularization level. Classical examples include hold-out, cross-validation, leave-one-out, generalized cross-validation, and related predictive-risk criteria [20, 10, 21, 1, 14]. Another family of methods relies on residual, discrepancy, or stability information along the regularization path. Discrepancy principles originate in inverse problems [18] and have been extended to statistical inverse problems and kernelized spectral algorithms [6, 15]. Related stopping rules for gradient descent, boosting, and inverse problems select an iteration number rather than an explicit ridge parameter [57, 40, 5, 8, 55].

A particularly relevant approach is the Lepskii or balancing principle, which selects a scale by comparing estimators at different levels of regularization. The original Lepskii principle was introduced for adaptive estimation in Gaussian white noise models [23]. In kernel learning, [16] developed a balancing principle for KRR, [34] incorporated effective-dimension information for more general regularization schemes, and [7] studied adaptation to source smoothness, eigenvalue decay, and different error norms. The Goldenshluger–Lepski method has also been considered for

Selection quality: CV vs oracle benchmark

Figure

Selection cost grows linearly with folds

Figure 1: Left: The results for KRR-RF over 16 candidate values of λ\lambda. The blue curve is the test RMSE on an independent test set after training on the full sample and its minimizer is the oracle choice. The red dashed curve is the 5-fold cross-validation score, obtained by refitting the model on training folds and evaluating it on validation folds. Cross-validation selects a smaller λ\lambda and incurs a larger test error than the oracle choice. Right: averaged over 12 trials, the oracle path benchmark requires 16 solves, while 5-fold cross-validation requires 80 solves. Despite this 5×5\times higher cost, cross-validation still gives a worse average test RMSE ( 0.694±0.0130.694 \pm 0.013 vs. 0.677±0.0050.677 \pm 0.005).

constrained least-squares estimation over RKHSs [37].

More recent work has adapted these ideas to particular kernel algorithms. For exact KRR, [28] introduced a uniformly subdivided regularization grid that reduces repeated cross-scale comparisons while retaining optimal learning rates. Distributed versions have been developed in [29, 31], and related ideas have been used to select the stopping time of kernel gradient methods [26, 25, 33]. These results show that the structure of a specific regularization path can be used to design sharper adaptive procedures.

The random feature setting, however, introduces an additional approximation layer. The estimators are determined by finite-dimensional random feature covariance operators, and the analysis must control the sampling error, regularization bias, and random feature approximation error simultaneously. Moreover, a practically useful stopping rule should be computable directly from the random feature representation rather than from the exact kernel matrix. These considerations motivate a neighboring comparison rule tailored specifically to KRR-RF.

Our Contribution. In this paper, we propose a novel early-stopping rule for KRR-RF that compares only neighboring RF estimators along a uniformly subdivided grid of regularization parameters. Compared with classical Lepskii-type methods, which require all-pairs comparisons, our approach substantially reduces the computational burden. Moreover, thanks to the random feature approximation, the stopping quantity can be computed directly from empirical prediction differences and coefficient norms, making the proposed procedure fully implementable in practice. In contrast to the exact KRR setting, our method exploits the structure of random features to achieve a more efficient and adaptive regularization strategy.

On the theoretical side, we first establish a high-probability comparison bound for two neighboring KRR-RF estimators. We then show that, under standard source and capacity assumptions together with suitable grid and random feature budget conditions, the estimator selected by the proposed rule attains the oracle polynomial learning rate up to logarithmic factors. The regularization rule itself does not require prior knowledge of the source and capacity exponents, and the result covers both the well-specified regime and part of the misspecified regime. The proof combines a fixed-scale KRR-RF error bound with a pathwise comparison argument and a concentration bound for the empirical random feature effective dimension. Finally, simulation and real-data experiments compare the proposed method with cross-validation and Lepskii-type parameter selection. The numerical results illustrate that neighboring comparisons can provide prediction performance comparable to the benchmark methods while reducing the number of discrepancy comparisons along the regularization path.

References (47)