Skip to main content
QUICK REVIEW

[Paper Review] Meta-learning with negative learning rates

Alberto Bernacchia|arXiv (Cornell University)|Feb 1, 2021
Domain Adaptation and Few-Shot LearningComputer Science11 references4 citations
TL;DR

This paper introduces negative learning rates in the inner loop of meta-learning, specifically for MAML, and theoretically demonstrates that optimal performance is achieved with negative learning rates in overparameterized linear and nonlinear models. Using random matrix theory and exact solutions, it proves that negative learning rates outperform positive or zero rates, challenging the prevailing assumption that inner-loop optimization is unnecessary or suboptimal when learning rates are zero.

ABSTRACT

Deep learning models require a large amount of data to perform well. When data is scarce for a target task, we can transfer the knowledge gained by training on similar tasks to quickly learn the target. A successful approach is meta-learning, or "learning to learn" a distribution of tasks, where "learning" is represented by an outer loop, and "to learn" by an inner loop of gradient descent. However, a number of recent empirical studies argue that the inner loop is unnecessary and more simple models work equally well or even better. We study the performance of MAML as a function of the learning rate of the inner loop, where zero learning rate implies that there is no inner loop. Using random matrix theory and exact solutions of linear models, we calculate an algebraic expression for the test loss of MAML applied to mixed linear regression and nonlinear regression with overparameterized models. Surprisingly, while the optimal learning rate for adaptation is positive, we find that the optimal learning rate for training is always negative, a setting that has never been considered before. Therefore, not only does the performance increase by decreasing the learning rate to zero, as suggested by recent work, but it can be increased even further by decreasing the learning rate to negative values. These results help clarify under what circumstances meta-learning performs best.

Motivation & Objective

  • To resolve the ongoing debate on whether inner-loop optimization is necessary in meta-learning by analyzing the role of the inner-loop learning rate.
  • To investigate the theoretical impact of varying the inner-loop learning rate in MAML, particularly in overparameterized and nonlinear models.
  • To determine whether negative learning rates—previously unexplored—can yield better generalization performance than zero or positive rates.
  • To extend theoretical analysis from linear to nonlinear models using the Neural Tangent Kernel framework.

Proposed method

  • Derives an exact algebraic expression for the average test loss of MAML in mixed linear regression using random matrix theory.
  • Applies the Neural Tangent Kernel framework to approximate wide neural networks as linear functions of parameters, enabling theoretical analysis of nonlinear settings.
  • Uses large-population asymptotics (large p, nt) to compute high-dimensional expectations of trace terms involving data matrices and covariance structures.
  • Employs Taylor expansions and order-of-magnitude approximations (O(ξ⁻³/²)) to simplify complex trace expressions in high-dimensional limits.
  • Derives closed-form expressions for test loss as a function of the inner-loop learning rate αt, including contributions from weight variance, noise, and data covariance.
  • Validates theoretical predictions through extensive empirical experiments on linear and nonlinear regression tasks.

Experimental results

Research questions

  • RQ1What is the optimal value of the inner-loop learning rate in MAML for generalization performance?
  • RQ2Does removing the inner loop (i.e., setting learning rate to zero) yield the best performance, as recent empirical studies suggest?
  • RQ3Can negative learning rates in the inner loop lead to better test performance than positive or zero learning rates?
  • RQ4Does the superiority of negative learning rates persist in nonlinear models with wide neural networks?
  • RQ5How do the theoretical predictions from linear models extend to nonlinear, overparameterized settings?

Key findings

  • In overparameterized mixed linear regression, the optimal inner-loop learning rate for meta-training is always negative, leading to lower test loss than any positive or zero rate.
  • In underparameterized models, negative learning rates remain optimal when the optimal rate has small absolute value, though the result is less universally guaranteed.
  • Theoretical analysis shows that negative learning rates improve generalization by stabilizing the meta-optimization process, even though they violate standard gradient descent intuition.
  • Empirical validation confirms that negative learning rates significantly reduce test loss compared to zero or positive rates in both linear and nonlinear regression tasks.
  • For nonlinear models with wide neural networks, preliminary experiments suggest that negative learning rates also yield improved performance, though a full theoretical proof remains open.
  • The derived test loss expression is exact in the high-dimensional limit and depends explicitly on the inner-loop learning rate, enabling precise optimization of hyperparameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.