Skip to main content
QUICK REVIEW

[Paper Review] Gradient-Based Meta-Learning with Learned Layerwise Metric and Subspace

Yoonho Lee, Seungjin Choi|arXiv (Cornell University)|Jan 17, 2018
Domain Adaptation and Few-Shot LearningComputer Science73 citations
TL;DR

MT-nets and T-nets enable meta-learned subspaces and task-specific metric warping, improving gradient-based meta-learning by learning which weights to adapt and how activation space is shaped for fast adaptation.

ABSTRACT

Gradient-based meta-learning methods leverage gradient descent to learn the commonalities among various tasks. While previous such methods have been successful in meta-learning tasks, they resort to simple gradient descent during meta-testing. Our primary contribution is the {\em MT-net}, which enables the meta-learner to learn on each layer's activation space a subspace that the task-specific learner performs gradient descent on. Additionally, a task-specific learner of an {\em MT-net} performs gradient descent with respect to a meta-learned distance metric, which warps the activation space to be more sensitive to task identity. We demonstrate that the dimension of this learned subspace reflects the complexity of the task-specific learner's adaptation task, and also that our model is less sensitive to the choice of initial learning rates than previous gradient-based meta-learning methods. Our method achieves state-of-the-art or comparable performance on few-shot classification and regression tasks.

Motivation & Objective

  • Motivate gradient-based meta-learning that learns where (which subspace) task adaptation should occur across layers.
  • Introduce MT-nets to learn both a subspace for task-specific updates and a meta-learned metric that warps activation space.
  • Demonstrate that subspace dimensionality reflects task complexity and that MT-nets reduce sensitivity to initial learning rates.
  • Show that MT-nets achieve state-of-the-art or competitive performance on few-shot classification and regression tasks.

Proposed method

  • Introduce Transformation Networks (T-nets) that learn a metric in activation space via transformation matrices T per layer.
  • Extend to Mask Transformation Networks (MT-nets) that additionally learn a binary gradient mask M to select which weights update for a given task.
  • MT-nets parameterize M with logits zeta and use Gumbel-Softmax reparameterization to backpropagate through mask sampling.
  • Provide update rules: W updated as W - alpha M ∘ ∇_W L(...); with MT-nets, a subspace of gradients is chosen for task adaptation and a learned metric T is applied.
  • Derive that MT-nets can realize updates confined to any subspace with an associated metric, effectively performing gradient descent in a low-dimensional, task-aware embedding.
  • Outline optimization over task batches via meta-objective that minimizes L_t(˜θ_W,T, D_train, D_test).

Experimental results

Research questions

  • RQ1How does learning a layerwise subspace and metric affect gradient-based meta-learning performance?
  • RQ2Can MT-nets automatically determine which parts of the network to adapt for each task and by how much?
  • RQ3Does learning a subspace dimension correlate with task complexity, and does this improve robustness to learning rate choices?
  • RQ4Do T-nets and MT-nets scale to standard few-shot benchmarks (Omniglot, MiniImagenet) and regression tasks?
  • RQ5How does the row-wise mask in MT-nets compare to full-parameter masking in practice?

Key findings

  • MT-nets outperform MAML, Meta-SGD, and MT-net variations on sine-wave regression and few-shot classification benchmarks.
  • MT-nets show robustness to learning-rate changes, maintaining performance when alpha varies, due to the meta-learned T that warps the effective step size.
  • In MT-nets, the fraction of weights updated increases with task complexity, suggesting the meta-learner allocates just enough degrees of freedom for adaptation.
  • On 5-way 1-shot Omniglot and MiniImagenet classification, MT-nets achieve competitive accuracy close to or exceeding competing methods (e.g., MT-net 99.5% and 99.4% on Omniglot and MT-net 96.2% on MiniImagenet 5-way 1-shot).
  • MT-nets learn a subspace whose dimension reflects task difficulty, acting as an implicit Occam-like regularization by updating only necessary parameters.
  • The proposed approach generalizes to both regression and classification, and can be applied to larger architectures since it transforms any feedforward network into an MT-net.

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.