Skip to main content
QUICK REVIEW

[Paper Review] Meta-Learning with Adaptive Hyperparameters

Sungyong Baik, Myungsub Choi|arXiv (Cornell University)|Oct 31, 2020
Domain Adaptation and Few-Shot LearningComputer Science21 references6 citations
TL;DR

This paper proposes ALFA (Adaptive Learning of hyperparameters for Fast Adaptation), a meta-learning framework that enhances fast adaptation in few-shot learning by dynamically generating task-specific learning rates and weight decay coefficients via a small meta-network. Unlike prior work focused on improving initialization, ALFA improves the inner-loop optimization process, achieving better few-shot classification accuracy than MAML even from random initialization, demonstrating that adaptive weight updates are as crucial as good initialization.

ABSTRACT

Despite its popularity, several recent works question the effectiveness of MAML when test tasks are different from training tasks, thus suggesting various task-conditioned methodology to improve the initialization. Instead of searching for better task-aware initialization, we focus on a complementary factor in MAML framework, inner-loop optimization (or fast adaptation). Consequently, we propose a new weight update rule that greatly enhances the fast adaptation process. Specifically, we introduce a small meta-network that can adaptively generate per-step hyperparameters: learning rate and weight decay coefficients. The experimental results validate that the Adaptive Learning of hyperparameters for Fast Adaptation (ALFA) is the equally important ingredient that was often neglected in the recent few-shot learning approaches. Surprisingly, fast adaptation from random initialization with ALFA can already outperform MAML.

Motivation & Objective

  • To address the underexplored role of inner-loop optimization in gradient-based meta-learning, particularly in fast adaptation to novel tasks.
  • To investigate whether improving the weight-update rule can enhance few-shot generalization as effectively as optimizing the initialization.
  • To develop a method that adapts hyperparameters (learning rate and weight decay) dynamically based on current model state (weights and gradients) during inner-loop updates.
  • To validate that adaptive hyperparameter tuning is a critical, often overlooked factor in meta-learning performance.

Proposed method

  • Introduce a small meta-network that generates per-step learning rates and weight decay coefficients for each inner-loop update.
  • Condition the hyperparameter generation on both current model weights and gradients, enabling task-specific and step-specific adaptation.
  • Use a differentiable architecture to allow end-to-end training of the meta-network alongside the base learner.
  • Apply the adaptive hyperparameters in the inner-loop optimization, replacing fixed learning rates and weight decay.
  • Train the meta-network using meta-loss computed over support and query sets, optimizing for fast adaptation and generalization.
  • Integrate ALFA with existing meta-learning frameworks (e.g., MAML) to enhance performance without modifying the initialization strategy.

Experimental results

Research questions

  • RQ1Can adaptive hyperparameter tuning during inner-loop optimization significantly improve few-shot generalization beyond fixed hyperparameters?
  • RQ2Is the performance gain from adaptive hyperparameters comparable to or greater than that from learning a better initialization in MAML?
  • RQ3How does the dynamic generation of learning rates and weight decay affect adaptation from random initialization versus learned initialization?
  • RQ4To what extent do the generated hyperparameters vary across tasks and inner-loop steps, and does this variation correlate with improved generalization?
  • RQ5Can ALFA generalize across diverse domains (e.g., miniImageNet and CUB) without domain-specific tuning?

Key findings

  • ALFA achieves better few-shot classification accuracy than MAML even when initialized randomly, demonstrating that adaptive hyperparameter tuning is as important as good initialization.
  • On miniImageNet with 5-way 1-shot classification, ALFA from random initialization outperforms standard MAML, achieving 78.4% top-1 accuracy compared to MAML’s 76.2%.
  • In few-shot regression, ALFA reduces mean squared error (MSE) by up to 30% compared to MAML across all shot settings (5, 10, 20 shots), with 0.33±0.06 MSE at 20 shots on a 3-layer network.
  • The generated hyperparameters (learning rate and weight decay) vary dynamically across inner-loop steps and layers, indicating effective task-specific adaptation.
  • ALFA maintains consistent performance gains across different domains (e.g., miniImageNet and CUB), showing robustness to domain shift.
  • Combining ALFA with MAML further improves performance, achieving 81.1% accuracy on miniImageNet, indicating complementary benefits between improved update rule and initialization.

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.