Meta-Curvature

Eunbyung Park, Junier B. Oliva

Abstract

Model-Agnostic Meta-Learning (MAML) provides a powerful framework for few-shot learning by finding an initialization suitable for rapid adaptation. However, its reliance on standard gradient descent treats all parameter dimensions uniformly, ignoring the underlying geometry of the loss landscape. We present Meta-Curvature (MC), a framework that learns to transform gradients during task adaptation. By employing a novel tensor-product decomposition, MC efficiently captures parameter dependencies in deep networks, leading to faster convergence and improved generalization across diverse few-shot benchmarks.

Introduction

Few-shot learning requires models to generalize from extremely limited data. MAML addresses this by meta-learning an initialization that allows for effective adaptation via a few gradient steps. Despite its success, MAML's inner-loop optimization is typically restricted to first-order gradient descent. Standard second-order methods, which utilize the Hessian to account for curvature, are computationally prohibitive for deep neural networks and prone to overfitting on the small support sets characteristic of few-shot tasks.

Methods: Learning Meta-Curvature

Meta-Curvature (MC) treats the curvature matrix as a learnable component of the meta-learning process. Instead of computing the Hessian analytically, MC learns a transformation matrix $M$ applied to gradients during task adaptation. This matrix is optimized to minimize validation loss across a distribution of tasks, ensuring that the resulting "preconditioning" favors directions that promote generalization.

Tensor Product Decomposition

To scale MC to high-dimensional convolutional layers, the authors introduce a structured decomposition of the curvature matrix. Rather than a monolithic matrix, the transformation is factorized into three smaller matrices: $M_o$ (output channels), $M_i$ (input channels), and $M_f$ (spatial filters). These are applied via n-mode tensor products, significantly reducing memory and computational overhead.

The tensor product decomposition allows for efficient transformation of gradient tensors without storing full Hessian matrices.

Key Results

The MC framework was evaluated on standard few-shot benchmarks including Omniglot, miniImagenet, and MuJoCo.

Performance and Convergence

MC demonstrates superior accuracy and faster meta-training compared to first-order baselines. On the miniImagenet 1-shot classification task, MC achieved an accuracy of 54.23%, a notable improvement over MAML (~48%) and Meta-SGD (~50%). Furthermore, the inclusion of learned curvature accelerates the meta-training process, reaching higher performance levels in fewer iterations.

Training curves illustrate that Meta-Curvature (MC1, MC2) converges faster and achieves higher final accuracy than MAML and Meta-SGD across multiple benchmarks.

Reinforcement Learning

In MuJoCo locomotion tasks, MC agents adapted to new goals up to three times faster than those trained with standard MAML-TRPO, highlighting the method's versatility beyond supervised classification.

Discussion

The core insight of Meta-Curvature is that curvature can serve as a powerful inductive bias. By learning which parameter relationships are most critical across tasks, the model effectively performs a "soft nearest neighbor voting," steering adaptation toward robust solutions. While the method introduces some computational overhead and does not strictly enforce positive definiteness of the curvature matrix, its empirical success suggests it is a robust and scalable extension to the MAML framework. Future work may explore integration with more complex learned optimizers or application to large-scale Transformer architectures.

Summary updated

BibTeX
@inproceedings{park2019meta,
  author = {Eunbyung Park and Junier B. Oliva},
  title = {{Meta-Curvature}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure