NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Implicit kernel meta-learning using kernel integral forms

John Isak Texas Falk, Carlo Ciliberto, Massimiliano PontilUAI 2022

Abstract

Meta-learning algorithms have made significant progress in the context of meta-learning for image classification but less attention has been given to the regression setting. In this paper, we propose Implicit Kernel Meta-Learning (IKML), a method that meta-learns the optimal kernel for regression tasks by training a neural network to generate random features. By treating kernel learning as a distribution modeling problem, IKML outperforms standard meta-learning algorithms on high-dimensional and real-world regression benchmarks.

Introduction

Meta-learning, or "learning to learn," has revolutionized few-shot image classification by enabling models to adapt rapidly to new tasks. However, its application to regression has largely been confined to simplistic benchmarks, such as fitting sine waves. Real-world regression tasks are often characterized by high dimensionality, significant noise, and complex multivariate relationships. Standard meta-learning approaches, such as Model-Agnostic Meta-Learning (MAML), which focuses on learning a shared initialization, or R2D2, which learns a fixed feature map, often struggle to capture the necessary inductive biases for these challenging scenarios.

This paper addresses this gap by proposing that meta-learning should focus on learning the inductive bias of the learning algorithm itself. Specifically, we investigate how to automatically discover the optimal kernel—the similarity function—for Kernel Ridge Regression (KRR) across a family of related tasks.

Methodology

The core of our approach is Implicit Kernel Meta-Learning (IKML). The method is built on several key technical pillars:

  1. Bochner’s Theorem: For translation-invariant kernels (e.g., the RBF kernel), the kernel function can be represented as an integral over a spectral frequency distribution. This implies that defining a kernel is equivalent to defining a distribution of "harmonics."
  2. The Pushforward Model: Rather than selecting a predefined kernel, IKML employs a neural network (the "pushforward" model) to transform simple Gaussian noise into a complex, learned distribution of frequencies. This network serves as the meta-parameter.
  3. Random Feature Approximation: To handle kernels without closed-form expressions, we utilize the Random Fourier Features (RFF) trick. We sample frequencies from the learned distribution to approximate the kernel during the inner loop.
  4. The Meta-Optimization Loop:
    • Inner Loop: For a given task, the current kernel is used to solve a regression problem via KRR, which benefits from a fast, closed-form solution.
  5. Outer Loop: The weights of the pushforward neural network are updated to minimize the meta-loss (validation error) across a distribution of tasks.

Experimental Evaluation

To evaluate IKML, we utilized both synthetic and real-world datasets that present significant challenges for standard meta-learning methods.

Synthetic Benchmarks

We designed a multivariate regression setting where tasks are generated from a complex hidden kernel. We varied the dimensionality $d$ from 1 to 20 to test the scalability of the inductive bias.

Comparison of meta-learning algorithms on synthetic regression tasks with increasing dimensionality d.

As shown in the figure above, as the dimensionality of the input data increases, IKML's performance remains robust, achieving an RMSE nearly identical to an "Oracle" model that knows the true underlying kernel. In contrast, MAML and R2D2 show significant performance degradation as $d$ increases, suggesting that learning a kernel is a more powerful prior than learning initial weights or fixed features in high-dimensional spaces.

Real-World Performance

We further tested IKML on two real-world datasets: the Beijing Air Quality dataset (reconstructing missing sensor data) and the Gas Sensor Modulation dataset (multivariate time-series with non-linear behavior).

RMSE results for Air Quality and Gas Sensor datasets across various models.

On the Beijing Air Quality dataset, IKML achieved the state-of-the-art RMSE of 19.14, significantly outperforming R2D2 (20.23) and MAML (34.96). On the Gas Sensor dataset, IKML remained highly competitive, demonstrating its versatility across different data structures.

Discussion and Conclusion

IKML demonstrates that treating kernel learning as a generative modeling task allows for a much wider and more flexible representation of inductive biases than traditional methods. Our theoretical analysis confirms that the number of random features required does not scale poorly with the number of tasks, making the approach computationally viable.

While the current formulation focuses on translation-invariant kernels, future work will explore extensions to dot-product kernels and "Conditional Meta-Learning," where the kernel can adapt dynamically to the specific characteristics of a single task's data. In summary, IKML provides a robust framework for meta-learning in complex regression environments, bridging the gap between theoretical kernel methods and deep meta-learning.

Summary updated

BibTeX
@inproceedings{falk2022implicit,
  author = {John Isak Texas Falk and Carlo Ciliberto and Massimiliano Pontil},
  title = {{Implicit kernel meta-learning using kernel integral forms}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=5JuOHhSC75l},
}
Figure