Skip to main content
QUICK REVIEW

[Paper Review] Hierarchically Structured Meta-learning

Huaxiu Yao, Ying Wei|arXiv (Cornell University)|May 13, 2019
Domain Adaptation and Few-Shot LearningComputer Science116 citations
TL;DR

HSML learns task-clustered, customize-for-clusters meta-knowledge on top of gradient-based meta-learning, yielding state-of-the-art results in toy regression and few-shot image classification while maintaining generalization within clusters.

ABSTRACT

In order to learn quickly with few samples, meta-learning utilizes prior knowledge learned from previous tasks. However, a critical challenge in meta-learning is task uncertainty and heterogeneity, which can not be handled via globally sharing knowledge among tasks. In this paper, based on gradient-based meta-learning, we propose a hierarchically structured meta-learning (HSML) algorithm that explicitly tailors the transferable knowledge to different clusters of tasks. Inspired by the way human beings organize knowledge, we resort to a hierarchical task clustering structure to cluster tasks. As a result, the proposed approach not only addresses the challenge via the knowledge customization to different clusters of tasks, but also preserves knowledge generalization among a cluster of similar tasks. To tackle the changing of task relationship, in addition, we extend the hierarchical structure to a continual learning environment. The experimental results show that our approach can achieve state-of-the-art performance in both toy-regression and few-shot image classification problems.

Motivation & Objective

  • Motivate meta-learning to handle task uncertainty and heterogeneity by structuring knowledge hierarchically rather than globally.
  • Propose HSML to cluster tasks and tailor initialization per cluster for fast adaptation.
  • Enable continual learning by updating the hierarchical clustering structure as new tasks arrive.
  • Demonstrate empirical gains over baselines on toy regression and few-shot image classification tasks.
  • Provide theoretical insights showing potential generalization benefits of cluster-specific initialization.

Proposed method

  • Represent each task via an aggregation of its training examples using either a pooling autoencoder (PAA) or a recurrent autoencoder (RAA) to obtain a task embedding.
  • Build a differentiable hierarchical clustering structure to softly assign tasks to clusters across multiple levels and update cluster representations online.
  • Introduce a cluster-specific parameter gate that transforms a globally shared initialization into a cluster-specific initialization for gradient-based adaptation.
  • Optimize jointly over clustering parameters, the base meta-learner initialization, and the adaptation rules with a loss that combines meta-test performance and reconstruction loss.
  • Support continual adaptation by expanding the clustering structure when new tasks do not fit existing clusters and by reweighting prior knowledge.

Experimental results

Research questions

  • RQ1Can HSML outperform existing gradient-based meta-learning methods on both synthetic and real-world few-shot tasks?
  • RQ2Does the hierarchical clustering yield interpretable task relationships and meaningful clusters?
  • RQ3Can HSML adapt its clustering structure in a continual learning setting to accommodate evolving task distributions?
  • RQ4What theoretical generalization benefits arise from adapting initialization to task clusters versus using a single global initialization?

Key findings

  • HSML achieves better mean-squared-error on toy 5-shot/10-shot regression tasks compared with baselines like MAML and MT-Net.
  • On few-shot image classification across four datasets, HSML attains the highest average accuracy and consistently outperforms baselines in both 5-way 1-shot and 5-shot settings.
  • HSML’s soft task clustering reveals interpretable cluster alignments with task types, illustrating its ability to discover meaningful relationships between tasks.
  • In continual adaptation experiments, HSML-D (dynamic clustering) outperforms fixed-clustering variants, demonstrating robustness to distribution drift.
  • Theoretical analysis shows HSML can yield tighter generalization bounds than MAML by enabling cluster-specific initializations.

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.