Skip to main content
QUICK REVIEW

[Paper Review] An Evolutionary Approach to Dynamic Introduction of Tasks in Large-scale Multitask Learning Systems

Andréa Gesmundo, Jeff Dean|arXiv (Cornell University)|May 25, 2022
Domain Adaptation and Few-Shot LearningComputer Science19 citations
TL;DR

This paper proposes $μ$2Net, an evolutionary method for dynamically scaling large-scale multitask learning systems by enabling continual, sparse, and efficient introduction of new tasks. It uses task-based routing and knowledge compartmentalization to prevent catastrophic forgetting and achieve competitive performance—reducing error by 15% on CIFAR-10—while adding minimal parameters per new task and maintaining bounded compute costs.

ABSTRACT

Multitask learning assumes that models capable of learning from multiple tasks can achieve better quality and efficiency via knowledge transfer, a key feature of human learning. Though, state of the art ML models rely on high customization for each task and leverage size and data scale rather than scaling the number of tasks. Also, continual learning, that adds the temporal aspect to multitask, is often focused to the study of common pitfalls such as catastrophic forgetting instead of being studied at a large scale as a critical component to build the next generation artificial intelligence.We propose an evolutionary method capable of generating large scale multitask models that support the dynamic addition of new tasks. The generated multitask models are sparsely activated and integrates a task-based routing that guarantees bounded compute cost and fewer added parameters per task as the model expands.The proposed method relies on a knowledge compartmentalization technique to achieve immunity against catastrophic forgetting and other common pitfalls such as gradient interference and negative transfer. We demonstrate empirically that the proposed method can jointly solve and achieve competitive results on 69public image classification tasks, for example improving the state of the art on a competitive benchmark such as cifar10 by achieving a 15% relative error reduction compared to the best model trained on public data.

Motivation & Objective

  • To enable large-scale, dynamic multitask learning systems that can continuously incorporate new tasks without catastrophic forgetting.
  • To minimize the number of new parameters added per task while maintaining high performance across all tasks.
  • To decouple model size growth from compute cost through sparsely activated, task-routed architecture.
  • To automate hyperparameter tuning and architecture search using an evolutionary algorithm without manual meta-parameter adjustment.
  • To support automatic reuse of prior knowledge and representations across related tasks, blurring the line between pretraining and downstream tasks.

Proposed method

  • Employs an evolutionary algorithm to jointly search over model architectures, hyperparameters, and prior knowledge selection for optimal task routing.
  • Introduces a sparsely activated, task-based routing mechanism that selects only relevant model components per task, ensuring bounded compute cost.
  • Applies knowledge compartmentalization to isolate task-specific knowledge, preventing gradient interference and negative transfer.
  • Uses a flexible access control list to enforce privacy policies, restricting data or representation sharing to specific task subsets.
  • Dynamically extends any pre-trained model by automatically adapting its architecture and domain scope to new tasks.
  • Optimizes for a general, possibly non-differentiable reward function, enabling multi-factor trade-offs in model quality and efficiency.

Experimental results

Research questions

  • RQ1Can a large-scale multitask learning system dynamically and efficiently incorporate new tasks without catastrophic forgetting?
  • RQ2How can model capacity be extended without proportional increases in compute cost or parameter count?
  • RQ3To what extent can prior knowledge and representations be automatically reused across diverse, related tasks?
  • RQ4Can an evolutionary algorithm effectively tune model architecture and hyperparameters in a continual learning setting without manual tuning?
  • RQ5Can a unified framework unify pretraining and fine-tuning by treating all tasks as part of a continuous learning stream?

Key findings

  • The proposed method achieved a 15% relative error reduction on the CIFAR-10 benchmark compared to the best publicly available model.
  • The system successfully solved 69 public image classification tasks jointly with competitive performance across all tasks.
  • New tasks were introduced with minimal added parameters, demonstrating efficient parameter scaling as the model expanded.
  • The sparsely activated architecture maintained bounded compute cost per task despite unbounded growth in model capacity.
  • Knowledge compartmentalization effectively prevented catastrophic forgetting and gradient interference across tasks.
  • The evolutionary algorithm successfully tuned hyperparameters and architecture without manual meta-parameter tuning, enabling automatic adaptation to new tasks.

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.