Multi-Task Meta Learning: learn how to adapt to unseen tasks

Richa Upadhyay, Prakash Chandra Chhipa, Ronald Phlypo, Rajkumar Saini, Marcus Liwicki

TL;DR

This paper introduces Multi-Task Meta Learning (MTML), a framework that combines the shared-knowledge benefits of Multi-Task Learning (MTL) with the rapid adaptation capabilities of Meta-Learning. By training on "episodes" of heterogeneous task combinations, the model learns a set of meta-parameters that allow it to integrate and excel at entirely new, unseen tasks with significantly fewer training steps than traditional methods.

What Problem Does This Paper Address?

Deep learning models are typically specialists: they are trained for one task (Single-Task Learning) or a fixed set of tasks (Multi-Task Learning).

  1. The MTL Bottleneck: While MTL allows tasks to share features, adding a new task usually requires retraining the entire network from scratch to prevent "forgetting" or to ensure efficient knowledge transfer.
  2. The Meta-Learning Limitation: Traditional meta-learning (learning to learn) usually focuses on homogeneous tasks—for example, learning to classify new types of birds after seeing many other animals. It struggles with heterogeneous tasks, where the nature of the output is fundamentally different (e.g., switching from predicting depth to detecting edges).

The authors bridge this gap, creating a system that can handle diverse computer vision tasks and adapt to new ones on the fly.

Methods

The core innovation is the MTML training paradigm, which utilizes the optimization logic of Model-Agnostic Meta-Learning (MAML).

  • Multi-Task Episodes: Instead of training on all tasks at once, the authors sample "episodes" from the power set of available source tasks. If you have tasks A, B, and C, an episode might consist of just {A, B} or {B, C}. This forces the model to learn how to generalize across different task combinations.
  • Bi-Level Optimization: The model uses a two-step gradient update. In the "inner loop," it learns task-specific parameters. In the "outer loop," it updates the "meta-parameters" (the shared backbone) to ensure that the starting point for any new task is as optimal as possible.
  • Architecture: The team used a shared dilated ResNet-50 backbone with task-specific DeepLab V3 heads. This allows for high-level feature sharing while maintaining specialized outputs for pixel-level predictions.

Datasets

The researchers evaluated their approach on two major indoor scene datasets:

  • NYU-v2: A standard benchmark for indoor scene understanding.
  • Tiny Taskonomy: A dataset designed to study the relationships between different visual tasks.

They focused on four distinct tasks: Semantic Segmentation ($T_1$), Depth Estimation ($T_2$), Surface Normal Estimation ($T_3$), and Edge Detection ($T_4$).

Key Insights and Ideas

  • The Power of the Power Set: By excluding singletons and empty sets from the task combinations, the authors ensured the model always practiced "multi-tasking" during its meta-training phase. This is what enables the model to handle heterogeneous tasks effectively.
  • Faster Adaptation: One of the most striking "aha" moments is the efficiency gain. MTML models can reach high performance on a new task in a fraction of the epochs required by a single-task model or a standard MTL model being fine-tuned.
  • Robustness to Noisy Labels: Qualitatively, the MTML model proved surprisingly robust. In the Taskonomy dataset, where ground truth labels are often "pseudo-labels" generated by other models, MTML was able to detect and segment objects (like potted plants) that were completely missing from the original training labels.

Key Results

  • State-of-the-Art (SOTA): MTML achieved SOTA results for three out of four tasks on the NYU-v2 dataset.
  • Efficiency: As shown in the paper's training charts, while a single-task model might take 150+ epochs to converge, an MTML-initialized model often requires only a handful of "fine-tuning" epochs (often fewer than 50) to reach or exceed that performance on a new task.
  • Quantitative vs. Qualitative: On Taskonomy, MTML showed the best performance for surface normal and edge detection. While its segmentation scores were lower numerically, qualitative analysis showed this was largely due to the model being more accurate than the noisy ground truth labels it was being measured against.

Limitations and Future Work

  • Negative Transfer: The authors noted that semantic segmentation performance sometimes degraded when grouped with certain other tasks. This "negative transfer" happens when the gradients from one task interfere with another.
  • Computational Cost: Meta-training is computationally expensive. While the resulting model adapts fast, the initial "learning to learn" phase requires significant GPU resources and time.
  • Future Directions: The authors suggest that future work should explore better loss balancing techniques (automatically weighing which task is more important during training) and task-specific hyper-parameters to further mitigate negative transfer.

Summary updated

BibTeX
@inproceedings{upadhyay2023multi,
  author = {Richa Upadhyay and Prakash Chandra Chhipa and Ronald Phlypo and Rajkumar Saini and Marcus Liwicki},
  title = {{Multi-Task Meta Learning: learn how to adapt to unseen tasks}},
  booktitle = {IJCNN},
  year = {2023},
  url = {https://openreview.net/forum?id=XMeemZvmIv},
}
Figure