Introduction
Meta-learning, or "learning to learn," aims to enable models to acquire new skills from just a few examples by leveraging prior knowledge. Traditional algorithms, such as Model-Agnostic Meta-Learning (MAML), typically seek a single, global set of initialization parameters that can adapt to any task.
However, this "one-size-fits-all" approach often struggles with heterogeneous tasks. When a model must learn everything from simple linear functions to complex image recognition simultaneously, a single starting point becomes a mediocre compromise. EEML (Ensemble Embedded Meta-learning) addresses this by moving from a "single dictator" model to a "committee" of specialized experts that collaborate to solve new, uncertain tasks.
Methodology
EEML introduces a three-stage framework that integrates gradient-based meta-learning with ensemble techniques to handle task diversity.
1. Task Embedding Cluster
Instead of using static data features, EEML uses the gradient of the task's loss as a task embedding. This captures the "dynamical training process"—how the model needs to change to solve a specific task. These gradients are clustered using K-means with cosine distance to define $K$ distinct task domains.
2. Meta-Training (Raising Experts)
The model initializes $K$ different "experts." During training, these experts are guided by a weighted loss function. Experts receive higher weights ($\alpha_{i,j}$) for tasks within their specific cluster, allowing them to specialize while maintaining a degree of general knowledge through a softmax-based weighting mechanism.
3. Meta-Testing (Collaborative Inference)
For a new task, all experts fine-tune their parameters on the available support samples. The final prediction is a weighted vote ($\beta_{i,j}$). The weights are determined by the task's similarity to the expert's original domain and the expert's performance on the task's small support set (error-based filtering).
Experimental Evaluation
The authors evaluated EEML on two distinct benchmarks:
- Toy Regression: A benchmark consisting of four function families (Sinusoids, Lines, Quadratics, and Cubics) to test the ability to handle mathematically diverse tasks.
- MiniImageNet: A standard few-shot image classification benchmark containing 100 classes derived from ImageNet, split into training, validation, and testing sets.
Key Results
EEML consistently outperformed state-of-the-art (SOTA) methods across both benchmarks. In the Toy Regression task, EEML achieved a Mean Squared Error (MSE) of 0.765 on 5-shot tasks, significantly lower than MAML (2.205) and HSML (0.856).
On the MiniImageNet classification task, EEML reached 52.42% accuracy in the 1-shot setting and 68.40% in the 5-shot setting. These results represent a notable improvement over MAML, which achieved 48.07% and 63.15% respectively. The results validate that differentiation followed by cooperation is more effective for few-shot learning than finding a single perfect initialization.
Discussion and Future Work
While EEML shows significant promise, it introduces new challenges. The number of experts ($K$) is currently a fixed hyperparameter, which may be difficult to optimize in large-scale scenarios. Additionally, maintaining multiple experts increases computational and memory overhead. Future research may explore deeper combinations of ensemble and meta-learning, including automated hyperparameter searching for optimal expert configurations.
Summary updated