Transferable Meta Learning Across Domains

Bingyi Kang, Jiashi FengUAI 2018

Abstract

Standard meta-learning algorithms often struggle when test tasks originate from a different domain than training tasks. This paper introduces Transferable Meta Learning (TML), a framework that jointly optimizes for fast task adaptation and domain invariance. By integrating an adversarial domain adaptation objective into the meta-learning process, TML enables models to excel at few-shot learning across significant domain shifts with minimal data.

Introduction

Meta-learning, or "learning to learn," has significantly advanced few-shot classification by training models on a variety of small tasks to enable rapid adaptation to new, unseen tasks. However, a critical limitation of existing methods like Model-Agnostic Meta-Learning (MAML) is the assumption of task homogeneity—the requirement that training and test tasks share the same distribution.

In real-world applications, this assumption is frequently violated by domain shifts, such as transitioning from clean MNIST digits to noisy SVHN house numbers. When faced with such shifts, standard meta-learning performance degrades sharply, and target domains often lack sufficient labeled data for traditional meta-training. TML addresses this by bridging the gap between meta-learning and domain adaptation.

Methodology: Transferable Meta Learning (TML)

To address the challenge of domain shift, the authors propose the Transferable Meta Learning (TML) algorithm. TML extends the MAML framework by incorporating a "Meta-Adaptation" objective designed to learn domain-invariant representations.

The TML model comprises three integrated components:

  1. Representation Learner ($\phi$): Extracts features from input data.
  2. Meta-Classifier ($\theta$): Performs classification on the extracted features.
  3. Domain Discriminator ($\omega$): An adversarial component that attempts to identify the source domain of a given sample.
The TML architecture jointly optimizes for meta-learning and meta-adaptation.

TML operates in two alternating optimization phases:

  • Meta-Learning Step: Similar to MAML, the model simulates few-shot tasks within the source domain to learn parameters capable of rapid fine-tuning.
  • Meta-Adaptation Step: The model employs an adversarial loss to train the representation learner. This forces the extraction of features that are sufficiently domain-invariant to deceive the discriminator, ensuring that the knowledge gained in the source domain is transferable to the target domain.

Experimental Evaluation

The authors evaluated TML across diverse benchmarks, including digit datasets (MNIST, USPS, SVHN) and the Office dataset (Amazon, DSLR, Webcam). These datasets provide varying degrees of complexity and domain shift, such as changes in image style, resolution, and background noise. The experiments followed the standard $N$-way $K$-shot protocol.

Key Results

TML demonstrated significant performance improvements over baselines. On digit datasets, TML outperformed standard MAML by up to 8% and the sequential MAML+ADDA baseline by up to 9.5%. In the challenging Amazon $\to$ DSLR 5-way 1-shot task, TML achieved 54.50% accuracy, compared to MAML's 45.90%.

Accuracy vs. number of updates on target tasks, demonstrating TML's superior performance and rapid convergence.

A notable finding is TML's efficiency in adaptation. As shown in the adaptation curves, TML often reaches near-peak performance after a single gradient update, whereas competing methods require multiple steps to bridge the domain gap. Furthermore, TML maintains high performance on the source domain, indicating that cross-domain robustness does not come at the cost of source-task integrity.

Discussion and Conclusion

The success of TML highlights the importance of joint optimization for adaptation and invariance. By addressing the "illness" of task homogeneity in meta-learning, TML provides a robust framework for few-shot learning in the presence of domain shift.

While TML requires unlabeled target data during training—a common constraint in domain adaptation—it sets a new standard for transferable meta-learning. Future work may explore extending TML to handle semantic shifts or applying the framework to more complex tasks such as few-shot object detection and segmentation across domains.

Summary updated

BibTeX
@inproceedings{kang2018transferable,
  author = {Bingyi Kang and Jiashi Feng},
  title = {{Transferable Meta Learning Across Domains}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2018},
}
Figure