Multi-Objective Meta Learning

Feiyang Ye, Baijiong Lin, Zhixiong Yue, Pengxin Guo, Qiao Xiao, Yu Zhang

In the world of machine learning, we are rarely chasing just one goal. We want models that are accurate, but also robust to noise, small enough to run on edge devices, and capable of adapting to new tasks with minimal data. Traditionally, "meta-learning" (learning how to learn) has focused on a single objective—usually validation accuracy. But what happens when our goals conflict?

A team of researchers recently presented a paper at NeurIPS titled "Multi-Objective Meta Learning" (MOML). They propose a unified, gradient-based framework that allows models to balance multiple, often competing, objectives without the headache of manual weight tuning.

TL;DR

The paper introduces MOML, the first gradient-based framework for meta-learning with multiple objectives. By formulating meta-learning as a Multi-Objective Bi-Level optimization Problem (MOBLP), the authors provide a way to optimize for metrics like accuracy and robustness simultaneously, achieving state-of-the-art results across few-shot learning, domain adaptation, and more.

What Problem Does This Paper Address?

Meta-learning is typically structured as a "bi-level" problem:

  1. The Inner Loop (Lower-Level): A model adapts to a specific task (e.g., learning to recognize a new bird species).
  2. The Outer Loop (Upper-Level): A "meta-learner" updates the model's initialization or hyperparameters to ensure the inner loop works better next time.

Standard meta-learning (like MAML) only looks at one metric in the outer loop: performance. However, real-world deployment requires balancing multiple factors. For example, in Neural Architecture Search (NAS), you want high accuracy but low parameter counts.

The current "fix" is to use a weighted sum: $Total Loss = 0.7 \times Accuracy + 0.3 \times Robustness$. The problem? Finding those magic numbers is a tedious process of trial and error. Evolutionary algorithms are an alternative, but they are computationally expensive and lack the mathematical convergence guarantees that deep learning practitioners rely on.

Methods

The authors propose MOML, which treats the outer loop as a vector-valued optimization problem rather than a single scalar value.

The MOBLP Formulation

They define the problem as a Multi-Objective Bi-Level optimization Problem. Instead of squashing all outer-loop goals into one number, they keep them separate.

The Optimization Algorithm

To solve this, they developed a gradient-based algorithm that alternates between:

  • Lower-Level: Standard gradient descent to adapt to a task.
  • Upper-Level: A specialized multi-objective optimizer called the Multiple Gradient Descent Algorithm (MGDA). MGDA finds a "descent direction" that improves all objectives simultaneously (or at least doesn't make any of them worse).

Crucially, the authors provided a mathematical proof that this alternating approach actually converges to a stable solution, filling a major gap in previous multi-objective meta-learning research.

Key Insights and Ideas

  • The Conflict is the Point: The paper acknowledges that objectives like "clean accuracy" and "adversarial robustness" are often at odds. MOML doesn't try to hide this conflict; it navigates it.
  • Beyond Manual Tuning: By using MGDA in the outer loop, the model automatically determines the "importance" of each objective based on the geometry of the gradients, saving researchers weeks of hyperparameter tuning.
  • A Unified View of MTL: The paper provides a novel perspective by formulating Multi-Task Learning (MTL) as a meta-learning problem. They split datasets into training and validation sets for each task, using the validation sets to meta-optimize the task weights.

Key Results

The researchers tested MOML across four distinct domains to prove its versatility: Few-Shot Learning, Semi-Supervised Domain Adaptation, Multi-Task Learning, and Neural Architecture Search (NAS). MOML consistently outperformed "Single-Objective Meta Learning" (SOML) and other state-of-the-art baselines.

Few-Shot Learning: In 5-way 1-shot and 5-shot tasks on mini-ImageNet, MOML achieved a significantly higher B-score (a balance of accuracy and robustness) than standard MAML or ProtoNet. For instance, while standard ProtoNet has near-zero robustness to adversarial attacks, MOML-enhanced ProtoNet reached ~41% PGD accuracy while maintaining high clean accuracy.

Few-Shot Learning Results on mini-ImageNet

Domain Adaptation: On the Office-31 benchmark, MOML improved the average accuracy of existing models (like DSAN and MME) by about 0.3% to 0.7%, reaching a top average accuracy of 90.53%.

Domain Adaptation Results on Office-31

Multi-Task Learning: On the NYUv2 dataset, MOML achieved the best results across three tasks (segmentation, depth estimation, and surface normals), outperforming popular methods like PCGrad and MGDA-only approaches.

Limitations and Future Work

The primary limitation noted is that MOML currently finds only one solution on the Pareto frontier (the set of optimal trade-offs). In many multi-objective problems, users might want to see a variety of options (e.g., one very small model and one very accurate model).

The authors suggest that future work will focus on extending the framework to find a "population" of nearly optimal solutions in a single training run, giving practitioners more flexibility in choosing the right balance for their specific needs.

Summary updated

BibTeX
@inproceedings{ye2021multi,
  author = {Feiyang Ye and Baijiong Lin and Zhixiong Yue and Pengxin Guo and Qiao Xiao and Yu Zhang},
  title = {{Multi-Objective Meta Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=wKf9iSu_TEm},
}
Figure