This paper provides a long-awaited theoretical bridge between the classical theory of kernels and the practical reality of modern machine learning. By extending Mercer's expansion to continuous indefinite and asymmetric kernels, the authors offer a rigorous foundation for techniques widely used in contemporary architectures, such as Transformers.
Introduction: The Gap in Kernel Theory
In the world of machine learning, kernels are ubiquitous—powering everything from Support Vector Machines (SVMs) and Gaussian Processes to the attention mechanisms in Transformers. The theoretical "gold standard" for understanding these kernels is Mercer’s Theorem, which allows us to decompose a continuous kernel into a sum of eigenfunctions and eigenvalues.
However, there is a significant catch: the classical theorem only applies to kernels that are both symmetric ($K(x,y) = K(y,x)$) and positive definite (meaning they behave similarly to a covariance matrix).
In practice, researchers frequently rely on kernels that break these rules. For instance, the sigmoid ($\tanh$) kernel used in neural networks is indefinite, and many modern similarity measures are asymmetric. Until now, applying Mercer-like expansions to these kernels required a mathematical "leap of faith," as there was no rigorous proof that these expansions would converge or behave predictably. This paper successfully fills that theoretical gap.
Methodology: From Eigenfunctions to Singular Value Expansion
To handle indefinite and asymmetric kernels, the authors shift from the standard eigenfunction expansion to the Singular Value Expansion (SVE), which serves as the functional analysis equivalent of the Singular Value Decomposition (SVD) for matrices.
The core of their theoretical and computational approach involves three main pillars:
- Defining "Uniform Bounded Variation": The authors introduce a critical smoothness condition. A kernel is said to have uniform bounded variation if it does not oscillate infinitely with non-negligible amplitude. Fortunately, most kernels used in machine learning (such as Lipschitz continuous kernels) naturally satisfy this property.
- Theoretical Proofs: Leveraging tools from the theory of orthonormal series—specifically a generalization of the Rademacher–Menchov theorem—the authors establish robust convergence properties for these expansions.
- An Efficient Algorithm: They propose a two-step computational framework to compute the expansion:
- Step 1: Create a "pseudo-skeleton" approximant using Gaussian elimination with complete pivoting. This identifies the most "important" parts of the kernel without needing to sample every single point.
- Step 2: Perform a low-rank SVD on this approximant to produce the final truncated Mercer-like expansion.
Experimental Validation
As a theoretical mathematics paper, the evaluation focuses on rigorous mathematical bounds rather than standard machine learning benchmarks like ImageNet or GLUE. The authors validate their theory and algorithm using challenging synthetic kernels:
- Indefinite Symmetric Kernel: $K(x, y) = \max \{0, 1 - |x| - |y|\}$.
- Asymmetric Smooth Kernel: $K(x, y) = \tanh(100xy + 1)$.
- Legendre Polynomial Expansions: Used to verify decay rates and convergence bounds.
Key Insights and Results
- The "Pointwise" Warning: The authors prove a surprising counter-example demonstrating that a continuous indefinite kernel might not converge at every single point $(x,y)$. This highlights exactly why classical theory couldn't simply be "stretched" to fit indefinite kernels without introducing new conditions.
- Bounded Variation is the "Secret Sauce": By requiring the kernel to have uniform bounded variation, the authors guarantee that the expansion converges pointwise almost everywhere and unconditionally.
- Decay Rates Matter: They established that for these kernels, the singular values $\sigma_n$ decay at a rate of at least $O(n^{-1})$. This is a crucial finding for practitioners, as it proves the expansion can be safely "truncated" after a few terms without losing significant information.
- Computational Efficiency: The proposed algorithm is significantly faster than naive approaches. Instead of building a massive matrix and running an $O(n^3)$ SVD, working with function-level approximations scales much better. The authors demonstrated that their algorithm can approximate complex kernels (like the high-frequency $\tanh$ kernel) to extremely high precision (down to $10^{-15}$ error) using a relatively small number of terms.
Limitations and Future Work
While this paper makes significant strides, the authors note a few areas for future exploration:
- Dimensionality: The current proofs focus on kernels defined on closed subsets of $\mathbb{R}$ (1D inputs). Because many ML kernels take high-dimensional vectors as input, extending the theory to $\mathbb{R}^d$ is a primary path for future research.
- Stronger Convergence: The authors successfully proved "almost everywhere" convergence but have not yet proven "absolute and uniform" convergence for all kernels of uniform bounded variation, although they suspect it holds.
- Complex Domains: The work currently considers closed intervals. Extending these proofs to more complex, non-compact domains remains an open mathematical challenge.
Summary updated