[Paper Review] Meta-Learning with Neural Tangent Kernels
This paper proposes Meta-RKHS-I and Meta-RKHS-II, two meta-learning algorithms that generalize Model Agnostic Meta-Learning (MAML) to the Reproducing Kernel Hilbert Space (RKHS) induced by the Neural Tangent Kernel (NTK). By replacing iterative inner-loop adaptation with a closed-form, analytically solvable regularizer, the methods achieve faster training and improved generalization, outperforming MAML and baselines in few-shot learning, adversarial robustness, and out-of-distribution generalization on Mini-ImageNet and FC-100.
Model Agnostic Meta-Learning (MAML) has emerged as a standard framework for meta-learning, where a meta-model is learned with the ability of fast adapting to new tasks. However, as a double-looped optimization problem, MAML needs to differentiate through the whole inner-loop optimization path for every outer-loop training step, which may lead to both computational inefficiency and sub-optimal solutions. In this paper, we generalize MAML to allow meta-learning to be defined in function spaces, and propose the first meta-learning paradigm in the Reproducing Kernel Hilbert Space (RKHS) induced by the meta-model's Neural Tangent Kernel (NTK). Within this paradigm, we introduce two meta-learning algorithms in the RKHS, which no longer need a sub-optimal iterative inner-loop adaptation as in the MAML framework. We achieve this goal by 1) replacing the adaptation with a fast-adaptive regularizer in the RKHS; and 2) solving the adaptation analytically based on the NTK theory. Extensive experimental studies demonstrate advantages of our paradigm in both efficiency and quality of solutions compared to related meta-learning algorithms. Another interesting feature of our proposed methods is that they are demonstrated to be more robust to adversarial attacks and out-of-distribution adaptation than popular baselines, as demonstrated in our experiments.
Motivation & Objective
- Address computational inefficiency and sub-optimal adaptation in MAML due to double-loop optimization and backpropagation through inner-loop gradients.
- Overcome the challenge of tuning inner-loop adaptation steps during training and inference.
- Develop a meta-learning framework in function space using the Reproducing Kernel Hilbert Space (RKHS) induced by the Neural Tangent Kernel (NTK).
- Enable closed-form, non-iterative adaptation by leveraging NTK theory, eliminating the need for gradient-based inner-loop updates.
- Improve robustness to adversarial attacks and out-of-distribution generalization compared to existing meta-learning baselines.
Proposed method
- Formulate meta-learning in the RKHS induced by the meta-model's Neural Tangent Kernel (NTK), enabling function-space optimization.
- Propose Meta-RKHS-I, which replaces inner-loop adaptation with a fast-adaptive regularizer in the RKHS, derived from MAML's objective with high-order terms ignored.
- Propose Meta-RKHS-II, which solves the adaptation problem analytically using NTK theory, enabling direct evaluation of the meta-objective in closed-form.
- Use the NTK to map neural network parameters to functions in RKHS, allowing efficient optimization via kernel methods.
- Define meta-objectives that minimize task loss while enforcing functional smoothness and fast adaptability via kernel-based regularization.
- Train the meta-model using standard optimization on the closed-form meta-objective, avoiding gradient chains through inner-loop updates.
Experimental results
Research questions
- RQ1Can meta-learning be effectively reformulated in function space using the Reproducing Kernel Hilbert Space (RKHS) induced by the Neural Tangent Kernel (NTK)?
- RQ2Can analytical, non-iterative adaptation replace the gradient-based inner-loop updates in MAML, improving training efficiency and solution quality?
- RQ3How do the proposed methods perform in few-shot classification compared to MAML and its variants?
- RQ4To what extent do the proposed methods improve robustness to adversarial attacks and out-of-distribution generalization?
- RQ5What is the theoretical connection between the proposed RKHS-based meta-learning algorithms and existing MAML variants?
Key findings
- Meta-RKHS-II achieves 76.32% accuracy on Mini-ImageNet (5-way 5-shot), outperforming the SOTA Bayesian TAML (67.36%) and MAML (65.19%).
- On FC-100, Meta-RKHS-II reaches 49.92% accuracy (5-way 1-shot) and 76.32% (5-way 5-shot), significantly outperforming Reptile and iMAML.
- Meta-RKHS-II demonstrates superior robustness to PGD adversarial attacks, maintaining higher accuracy under both 1-shot and 5-shot settings.
- The method generalizes better to out-of-distribution datasets, achieving 59.75% accuracy on VGG-F lower and 49.92% on Flowers under 5-way 5-shot testing.
- Meta-RKHS-I consistently outperforms Reptile across different adaptation steps, validating the importance of functional gradient norm and task-specific closeness.
- Theoretical analysis shows Meta-RKHS-I is closely related to MAML with high-order terms ignored, providing a principled justification for its effectiveness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.