Skip to main content
QUICK REVIEW

[Paper Review] MxML: Mixture of Meta-Learners for Few-Shot Classification

Minseop Park, Jungtaek Kim|arXiv (Cornell University)|Apr 11, 2019
Domain Adaptation and Few-Shot LearningComputer Science27 references5 citations
TL;DR

MxML proposes a task-adaptive mixture of meta-learners for few-shot classification, where a weight prediction network (WPN) dynamically assigns optimal weights to multiple base meta-learners based on the query task's latent features. The method significantly outperforms state-of-the-art models and their ensembles on both in-distribution and out-of-distribution few-shot classification benchmarks, demonstrating robust generalization across diverse visual domains.

ABSTRACT

A meta-model is trained on a distribution of similar tasks such that it learns an algorithm that can quickly adapt to a novel task with only a handful of labeled examples. Most of current meta-learning methods assume that the meta-training set consists of relevant tasks sampled from a single distribution. In practice, however, a new task is often out of the task distribution, yielding a performance degradation. One way to tackle this problem is to construct an ensemble of meta-learners such that each meta-learner is trained on different task distribution. In this paper we present a method for constructing a mixture of meta-learners (MxML), where mixing parameters are determined by the weight prediction network (WPN) optimized to improve the few-shot classification performance. Experiments on various datasets demonstrate that MxML significantly outperforms state-of-the-art meta-learners, or their naive ensemble in the case of out-of-distribution as well as in-distribution tasks.

Motivation & Objective

  • To address the limitation of conventional meta-learning, where performance degrades when test tasks come from a distribution different from meta-training tasks.
  • To develop a method that enables meta-learners to generalize to novel, out-of-distribution tasks by leveraging multiple meta-learners trained on diverse datasets.
  • To design a dynamic ensemble mechanism that adaptively selects and combines base meta-learners based on the characteristics of each new task.
  • To improve few-shot classification performance without requiring retraining or manual selection of relevant datasets for each new task.

Proposed method

  • Train multiple dataset-specific meta-learners (e.g., on miniImageNet, CUB200, CIFAR10) to specialize on different visual domains.
  • Use a weight prediction network (WPN) that takes the latent embedding of a query task and predicts the optimal mixture weights for the base meta-learners.
  • Train the WPN on a held-out set of classes from each dataset to learn how to evaluate and combine meta-learner performance for unseen tasks.
  • Form a mixture model where the final prediction is a weighted average of base meta-learner outputs, with weights determined by the WPN at inference time.
  • Optimize the entire MxML system end-to-end to improve few-shot classification accuracy on both in- and out-of-distribution tasks.
  • Use a two-stage training setup: base meta-learners are trained on their respective datasets, and the WPN is trained on a separate validation split of classes to avoid data leakage.

Experimental results

Research questions

  • RQ1Can a mixture of meta-learners trained on diverse datasets generalize better to out-of-distribution few-shot classification tasks than single or naive ensemble models?
  • RQ2How can mixture coefficients be adaptively determined at inference time based on the characteristics of a novel task, without relying on external metrics or retraining?
  • RQ3Does learning to evaluate meta-learner performance via a WPN lead to improved few-shot classification accuracy compared to uniform averaging or fixed weighting schemes?
  • RQ4To what extent does MxML improve performance on in-distribution tasks when additional meta-learners are introduced from related but distinct datasets?

Key findings

  • MxML achieves 51.393% accuracy (95% CI: 0.765) on 1-shot 5-way classification from miniImageNet, outperforming the dataset-specific model (50.741%) and the single model (47.432%).
  • On 5-shot 5-way classification, MxML reaches 69.338% accuracy (95% CI: 0.642), surpassing the dataset-specific model (67.781%) and the uniform averaging baseline (66.007%).
  • When tested on out-of-distribution tasks such as Omniglot to MNIST, MxML outperforms both individual models and naive ensembles, demonstrating robustness to domain shift.
  • The WPN learns to assign higher weights to relevant meta-learners—e.g., higher weight to CIFAR100 model when testing on CIFAR10, and to AwA2/Caltech256 models when testing on CUB200—indicating effective task-aware adaptation.
  • In in-distribution settings, MxML consistently improves performance over single models and ensembles, showing that combining diverse meta-learners enhances generalization even within the same distribution.
  • Visualization of mixture coefficients confirms that MxML learns to attend to the most relevant meta-learners based on task similarity, with high weights assigned to models from semantically similar datasets (e.g., animal classification).

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.