Boosting a Model Zoo for Multi-Task and Continual Learning

Rahul Ramesh, Pratik Chaudhari

Abstract

This paper argues that continual learning methods can benefit by splitting the capacity of the learner across multiple models. We use statistical learning theory and experimental analysis to show how multiple tasks can interact with each other in a non-trivial fashion when a single model is trained on them. The generalization error on a particular task can improve when it is trained with synergistic tasks, but can also deteriorate when trained with competing tasks. This theory motivates our method named Model Zoo which, inspired from the boosting literature, grows an ensemble of small models, each of which is trained during one episode of continual learning. We demonstrate that Model Zoo obtains large gains in accuracy on a variety of continual learning benchmark problems.

Introduction

In Continual Learning (CL), an agent learns a sequence of tasks sequentially. The primary objective is to achieve forward transfer (past knowledge aiding new tasks) and backward transfer (new knowledge improving past task performance) while avoiding catastrophic forgetting. Most existing CL methods attempt to consolidate all knowledge into a single, fixed-capacity neural network. However, this approach often suffers from "task competition," where dissimilar tasks compete for model capacity, leading to worse performance than if the tasks were trained in isolation. This research theoretically characterizes this competition and proposes a system that intelligently manages parameter sharing.

Methodology: The Model Zoo

The proposed Model Zoo framework treats the learner as a growing collection of specialized "weak learners" rather than a single monolithic model.

  1. Theoretical Foundation: The authors define task relatedness ($ ho_{ij}$-relatedness). While sharing a feature generator helps for tasks that are simple transformations of one another, dissonant tasks cause a single model to struggle, increasing error.
  2. Architecture: Instead of updating one large model, Model Zoo adds a new, small multi-task model at every training episode. This allows the system to split capacity effectively.
  3. Boosting-Inspired Replay: To select which past tasks to include when training a new model, the system uses a mechanism inspired by AdaBoost. Task-specific weights are calculated based on the current ensemble's performance; tasks with higher error (difficult or dissonant tasks) are prioritized for sampling and retraining alongside the new task.
Conceptual diagram of the Model Zoo architecture, where an ensemble of models covers overlapping subsets of tasks to mitigate competition.

Experimental Evaluation

The Model Zoo was evaluated on several benchmarks, including MNIST variants, CIFAR-10/100, and Split-miniImagenet. A key finding was the strength of the "Isolated" baseline—training a new small model for every task without any sharing—which outperformed many state-of-the-art CL algorithms. This highlights the extent to which current methods fail to manage task interference.

Key Results

  • Superior Accuracy: Model Zoo consistently outperformed existing methods. On Split-miniImagenet, it achieved a 30% improvement in average per-task accuracy over standard baselines.
  • Elimination of Forgetting: By adding new models rather than overwriting existing weights, the architecture inherently prevents catastrophic forgetting.
  • Performance Parity: On challenging datasets like Coarse-CIFAR100, Model Zoo matched or exceeded the performance of offline multi-task models, proving its ability to leverage task synergies while isolating competition.
Comparison of Model Zoo against various continual learning baselines on the Mini-Imagenet dataset, demonstrating significant gains in average accuracy.

Conclusion

Model Zoo demonstrates that splitting model capacity across an ensemble is a powerful strategy for continual learning. By using boosting to guide task replay, the system focuses its growth on the most challenging aspects of the task sequence. While currently requiring task identity at test time and exhibiting linear storage growth, the method sets a new standard for accuracy and stability in task-incremental settings. Future work involves developing more sophisticated task-distance metrics to further optimize model grouping.

Summary updated

BibTeX
@inproceedings{ramesh2022boosting,
  author = {Rahul Ramesh and Pratik Chaudhari},
  title = {{Boosting a Model Zoo for Multi-Task and Continual Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=qDBO2Rm14Dj},
}
Figure