XB-MAML: Learning Expandable Basis Parameters for Effective Meta-Learning with Wide Task Coverage

Jae-Jun Lee, Sung Whan Yoon

Abstract

Meta-learning, which pursues an effective initialization model, has emerged as a promising approach to handling unseen tasks. However, a limitation remains to be evident when a meta-learner tries to encompass a wide range of task distribution, e.g., learning across distinctive datasets or domains. Recently, a group of works has attempted to employ multiple model initializations to cover widely-ranging tasks, but they are limited in adaptively expanding initializations. We introduce XB-MAML, which learns expandable basis parameters, where they are linearly combined to form an effective initialization to a given task. XB-MAML observes the discrepancy between the vector space spanned by the basis and fine-tuned parameters to decide whether to expand the basis. Our method surpasses the existing works in the multi-domain meta-learning benchmarks and opens up new chances of meta-learning for obtaining the diverse inductive bias that can be combined to stretch toward the effective initialization for diverse unseen tasks.

Introduction

Meta-learning, or "learning to learn," aims to find a model initialization that can be rapidly adapted to new tasks with minimal data. The standard Model-Agnostic Meta-Learning (MAML) framework typically relies on a single initialization. While effective for narrow task distributions, this "one-size-fits-all" approach struggles when tasks span diverse domains—such as identifying rare fungi versus classifying aircraft. In such scenarios, a single starting point often fails to capture the necessary inductive biases for all domains simultaneously.

Comparison of XB-MAML with prior methods

Recent attempts to address this by using multiple initializations (e.g., TSA-MAML, MUSML) often require a fixed number of starting points and lack the flexibility to adaptively expand their coverage. XB-MAML addresses these gaps by introducing expandable basis parameters that are linearly combined to form task-specific initializations.

Methodology

The core of XB-MAML lies in its ability to dynamically adjust its parameter space to accommodate new task distributions.

Linear Combination of Bases

Instead of selecting a single initialization, XB-MAML calculates the loss of a task's support set against each basis in its current set. A softmax of these negative losses yields weights ($\sigma$) used to create a task-specific initialization $\theta^*$ through a linear combination of the bases. This allows the model to leverage "expert" knowledge from different bases for different domains.

Adaptive Basis Expansion

The "X" in XB-MAML stands for expandable. The framework monitors the projection error ($\epsilon$), which measures the distance between fine-tuned task parameters and the vector space spanned by the current basis set. If this error consistently exceeds a threshold, it indicates that the current bases are insufficient. The model then automatically expands the basis set by adding a new basis sampled from a Gaussian distribution centered around existing parameters.

Visual representation of basis expansion

Orthogonality Regularization

To prevent basis collapse and ensure broad coverage of the parameter space, an orthogonality regularization term ($L_{reg}$) is applied. This encourages the bases to remain distinct, effectively "stretching" the model's reach across the manifold of potential tasks.

Experimental Results

XB-MAML was evaluated on several multi-domain few-shot classification benchmarks, including Meta-Datasets-ABF (Aircraft, Bird, Fungi) and Meta-Datasets-CIO (CIFAR-FS, mini-ImageNet, Omniglot).

Performance and Robustness

XB-MAML consistently achieved state-of-the-art results. On the Meta-Datasets-CIO benchmark, it reached an average accuracy of 79.81%, significantly outperforming previous methods. Furthermore, in cross-domain experiments—where the model is tested on domains entirely different from those seen during training—XB-MAML showed a performance gain of up to +4% over standard MAML, demonstrating superior generalization.

Key Insights

  • Dynamic Expansion: Ablation studies revealed that starting with a single initialization and expanding as needed is more effective and converges faster than using a large, fixed set of initializations from the start.
  • Feature Extraction: Analysis of larger backbones showed that the feature extractor (the "body") benefits more from multiple initializations than the classifier (the "head"), suggesting that multi-domain challenges are primarily rooted in feature diversity.

Conclusion

XB-MAML introduces a flexible meta-learning framework capable of handling wide task distributions through expandable basis parameters. By combining linear task-specific adaptation with adaptive basis expansion, it overcomes the limitations of fixed-initialization models. Future work may explore the application of this expandable basis approach to reinforcement learning and regression tasks, as well as optimizing the memory footprint associated with basis growth.

Summary updated

BibTeX
@inproceedings{lee2024xb,
  author = {Jae-Jun Lee and Sung Whan Yoon},
  title = {{XB-MAML: Learning Expandable Basis Parameters for Effective Meta-Learning with Wide Task Coverage}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=cVon6onGM2},
}
Figure