Interpolation with the polynomial kernels

Giacomo Elefante, Wolfgang Erb, Francesco Marchetti, Emma Perracchione, Davide Poggiali, Gabriele SantinarXiv 2022 · DOI

Introduction

Polynomial kernels, defined as $k(x, y) = (a + \langle x, y \rangle)^p$, are ubiquitous in machine learning for tasks like classification and regression. However, in the field of numerical analysis, they have traditionally been overlooked in favor of kernels like the Gaussian or Matérn, which are strictly positive definite. The primary concern has been unisolvency—the guarantee that a unique interpolant exists for any set of distinct data points. This paper provides a rigorous theoretical and algorithmic framework to rehabilitate polynomial kernels for numerical interpolation, proving they can be stable and accurate tools when properly handled.

The Problem of Unisolvency

The core issue with polynomial kernels is that they are only positive semi-definite. If the number of data points $N$ exceeds the dimension of the underlying polynomial space, the resulting interpolation matrix can become singular. This leads to non-unique solutions and numerical instability, a phenomenon that has historically caused numerical analysts to avoid them.

The authors address this by characterizing the necessary and sufficient conditions for point sets to guarantee unique interpolation. A key theoretical result of the paper is the proof that for any set of $N$ distinct points in $d$ dimensions, a polynomial kernel of degree $p \ge d(N-1)$ is always unisolvent. This ensures that as long as the degree is sufficiently high, a unique solution exists regardless of the point distribution.

RKHS and Native Spaces

The researchers analyzed the Reproducing Kernel Hilbert Space (RKHS), or "native space," associated with these kernels. They demonstrated that the RKHS of a polynomial kernel is equivalent to the space of multivariate polynomials of degree $p$. This connection allows for a deeper understanding of the kernel's approximation properties by linking them to classical polynomial theory.

Furthermore, the authors derived error bounds that allow for "escaping the native space." This means the kernel framework can be used to approximate functions that are not themselves polynomials, significantly broadening the utility of the method beyond simple polynomial fitting.

Algorithmic Stability via RBF-QR

A significant contribution of the paper is the realization that the perceived instability of polynomial kernels is often a limitation of the solver rather than the kernel itself. Direct inversion of the kernel matrix (the "direct method") typically fails for even small $N$ (around $N \approx 20$) due to extremely high condition numbers.

To overcome this, the authors adapted the RBF-QR algorithm. This technique bypasses the ill-conditioned kernel basis in favor of a more stable basis. By using RBF-QR, the authors achieved stable results up to a precision of $10^{-12}$, even in regimes where standard direct solvers would fail or produce significant errors. This shift suggests that stability in kernel methods is as much an algorithmic challenge as it is a mathematical one.

Experimental Validation

The paper utilizes synthetic benchmarks to maintain mathematical precision, focusing on the target function $f(x) = \cos(10x)$. The authors tested interpolation using both Chebyshev points (known for stability in polynomial interpolation) and equally spaced points (often associated with the Runge phenomenon).

Key Insights:

  • Convergence Rates: Numerical experiments showed that with the RBF-QR algorithm, kernel interpolants converge at the same rate as classical polynomial interpolants.
  • The Role of Parameter $a$: The parameter $a$ in $(a + \langle x, y \rangle)^p$ acts as a regularizer. As $a$ approaches zero, the kernel increasingly favors high-degree polynomial components.
  • Lebesgue Constants: The authors found that for certain parameters, the Lebesgue constant—a measure of interpolation stability—for polynomial kernels is actually smaller than that of standard polynomial interpolation. This suggests these kernels might be superior interpolators in specific geometries.
  • The Benefit of Large $p$: Contrary to some machine learning contexts where high degree might imply overfitting, in this interpolation framework, increasing $p$ is beneficial as it ensures unisolvency for arbitrary point sets.

Conclusion and Future Work

This research bridges the gap between machine learning and numerical analysis by demonstrating that polynomial kernels are robust and accurate interpolators. By establishing conditions for unisolvency and providing a stable computational path via RBF-QR, the authors have turned a previously avoided class of kernels into a viable numerical tool.

Future work remains in several areas, including developing a systematic method for selecting the optimal degree $p$ and exploring the behavior of homogeneous kernels ($a=0$). Additionally, the authors suggest that these findings may offer insights into the "overparameterized" regime in deep learning, where models possess more parameters than data points yet maintain strong generalization performance.

Summary updated

BibTeX
@misc{elefante2022interpolation,
  author = {Giacomo Elefante and Wolfgang Erb and Francesco Marchetti and Emma Perracchione and Davide Poggiali and Gabriele Santin},
  title = {{Interpolation with the polynomial kernels}},
  year = {2022},
  eprint = {2212.07658},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.07658},
}
Figure