Changing the Kernel During Training Leads to Double Descent in Kernel Regression

Oskar Allerbo
11/3/2023
stat.MLcs.LGmath.OC

Official code: allerbo/non_constant_kgd (0 stars, GPL-3.0, last commit 2025-09-08).

Abstract

We investigate changing the bandwidth of a translational-invariant kernel during training when solving kernel regression with gradient descent. We present a theoretical bound on the out-of-sample generalization error that advocates for decreasing the bandwidth (and thus increasing the model complexity) during training. We further use the bound to show that kernel regression exhibits a double descent behavior when the model complexity is expressed as the minimum allowed bandwidth during training. Decreasing the bandwidth all the way to zero results in benign overfitting, and also circumvents the need for model selection. We demonstrate the double descent behavior on real and synthetic data and also demonstrate that kernel regression with a decreasing bandwidth outperforms that of a constant bandwidth, selected by cross-validation or marginal likelihood maximization. We finally apply our findings to neural networks, demonstrating that by modifying the neural tangent kernel (NTK) during training, making the NTK behave as if its bandwidth were decreasing to zero, we can make the network overfit more benignly, and converge in fewer iterations.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
00Shell, PythonOct 17, 20231 years agoGPL-3.0

Similar Papers

Cite this paper

@article{allerbo2023changing,
  title  = {Changing the Kernel During Training Leads to Double Descent in Kernel Regression},
  author = {Oskar Allerbo},
  year   = {2023},
  eprint = {2311.01762},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.01762v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.01762.svg)](https://codeofpaper.com/paper/2311.01762)

Discussion