NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Adaptive Model Ensemble for Continual Learning

Yuchuan Mao, Zhi Gao, Xiaomeng Fan, Yuwei Wu, Yunde Jia, Chenchen Jing

Abstract

Continual Learning (CL) aims to enable AI models to learn a sequence of tasks without suffering from catastrophic forgetting. Traditional model ensembling techniques often treat the entire model as a single block, failing to account for task-level and layer-level knowledge conflicts. We present the meta-weight-ensembler, a novel framework that adaptively fuses knowledge from new and old tasks through layer-wise linear interpolation of model parameters. By utilizing a meta-learning-trained generator that takes task gradients as input, the system determines unique mixing coefficients for each layer. Our approach significantly reduces forgetting and achieves state-of-the-art performance across standard benchmarks including Split CIFAR and MiniImageNet.

Introduction

In the field of Continual Learning, the primary challenge is catastrophic forgetting: the tendency of neural networks to overwrite parameters essential for Task A while learning Task B. While parameter averaging (model ensembling) is a common strategy to balance stability and plasticity, it often overlooks two critical conflicts:

  1. Task-level conflict: Knowledge is not uniformly shared across tasks; some parameters require significant updates while others should remain static.
  2. Layer-level conflict: Different layers in a network (e.g., early convolutional vs. late fully connected) encode distinct information types. Applying a global mixing weight across all layers is inherently suboptimal.

Methods

The meta-weight-ensembler addresses these conflicts by treating model fusion as a dynamic, data-driven process. Instead of a static global average, the method employs Layer-wise Interpolation.

Conceptual framework of adaptive model ensembling via linear interpolation of parameters.

Mixing Coefficient Generator

A small Multi-Layer Perceptron (MLP) serves as the coefficient generator. It takes the gradients of the current task as input, using them as a proxy to identify which layers require task-specific updates versus those that can share knowledge.

Bi-level Meta-Learning

The MLP generator is optimized through a bi-level meta-learning framework:

  • Inner Loop: The model learns the current task.
  • Outer Loop: The MLP is updated using a small validation set from previous tasks, learning to output coefficients that minimize loss across both new and historical data simultaneously.

This ensembler is model-agnostic and can be integrated into existing CL algorithms like InfluenceCL or BFP to enhance their performance.

Empirical Evidence of Layer Diversity

A key insight of this work is the empirical verification of layer-wise classification capacity. Visualizations demonstrate that different layers exhibit vastly different capacities for different tasks, justifying the need for adaptive, layer-specific mixing weights.

Visualizations of feature embeddings across different layers and models, highlighting the diversity in classification capacity.

Results and Discussion

The meta-weight-ensembler was evaluated on Split CIFAR-10, Split CIFAR-100, and Split MiniImageNet across Task-Incremental, Class-Incremental (CIL), and Online Class-Incremental (OCIL) settings.

Key findings include:

  • Reduction in Forgetting: In CIL settings, the method improved Backward Transfer (BWT) by 16.97% to 44.43% when added to the InfluenceCL baseline.
  • Accuracy Improvements: In Online CIL, combining the ensembler with PCR increased accuracy on Split CIFAR-10 from 50.70% to 55.40%.
  • State-of-the-Art Performance: The method consistently achieved the highest Average Accuracy (ACC) across nearly all tested categories.

Conclusion

The meta-weight-ensembler demonstrates that adaptive, layer-wise fusion is a superior strategy for knowledge retention in continual learning. By learning the prior for knowledge accumulation, the system effectively "learns how to learn," making it robust as task sequences grow. Future work may explore extending this mechanism to more complex architectures and cross-domain scenarios.

Summary updated

BibTeX
@misc{mao2025adaptive,
  author = {Yuchuan Mao and Zhi Gao and Xiaomeng Fan and Yuwei Wu and Yunde Jia and Chenchen Jing},
  title = {{Adaptive Model Ensemble for Continual Learning}},
  year = {2025},
  eprint = {2509.19819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.19819},
}
Figure