Incrementally Learning Multiple Diverse Data Domains via Multi-Source Dynamic Expansion Model

Runqing Wu, Fei Ye, Qihe Liu, Guoxi Huang, Jinyu Guo, Rongyao HuarXiv 2025 · DOI

Introduction

Continual Learning (CL) aims to enable artificial intelligence systems to learn a sequence of tasks without forgetting previously acquired knowledge. While most CL research focuses on "single-domain" settings—where a model learns new classes within a consistent data type—real-world applications often demand the ability to handle "multi-domain" shifts. In these scenarios, both the classes and the underlying data distributions change abruptly, such as transitioning from vehicle recognition to fine-grained bird classification. To address this, we present the Multi-Source Dynamic Expansion Model (MSDEM), a framework designed for robust performance across diverse data domains with minimal computational overhead.

Problem Statement

Existing CL methods frequently suffer from catastrophic forgetting, where learning new information leads to the erasure of old knowledge. Furthermore, many current models rely on a single pre-trained backbone. This "one-size-fits-all" approach often lacks the semantic richness required to generalize across vastly different domains. While expansion-based methods can mitigate forgetting by adding new parameters for new tasks, they often struggle with efficiency and fail to effectively reuse relevant knowledge from past tasks.

Methodology

MSDEM introduces three core architectural innovations to overcome these challenges:

  1. Multi-Source Backbones: Instead of a single backbone, MSDEM utilizes multiple frozen, pre-trained Vision Transformers (ViTs) as feature extractors. This provides a diverse and comprehensive "knowledge base" from the outset.
  2. Dynamic Expandable Attention Mechanism (DEAM): For each new task, the model generates a task-specific "expert" module. This module employs an attention layer to selectively fuse features from the multiple backbones, prioritizing the most relevant information for the current task.
  3. Dynamic Graph Weight Router (DGWR): To facilitate knowledge transfer, the DGWR treats previously learned experts as nodes in a graph. It utilizes a Gumbel-Softmax distribution to intelligently route and reuse representations from past experts, preventing the model from learning every task from scratch.
The MSDEM framework: Multiple frozen backbones feed into task-specific DEAM experts, which are integrated via a graph-based router for incremental learning.

The routing mechanism is highly flexible. By adjusting a "temperature" parameter ($\tau$), the model can transition between "hard" selection (picking only the most relevant expert) and "soft" selection (blending knowledge from multiple past experts).

The expert selection process controlled by the temperature parameter ($\tau$), allowing for hard, top-k, or soft knowledge reuse.

Experimental Setup

MSDEM was evaluated on a challenging sequence of tasks across four distinct domains: TinyImageNet (general natural images), CIFAR-10 & CIFAR-100 (standard object recognition), and Birds 525 Species (fine-grained classification). The researchers tested various scenarios, including dual-domain, three-domain, and four-domain shifts, to assess the model's adaptability to unpredictable changes in category and domain.

Key Results and Discussion

MSDEM consistently outperformed state-of-the-art (SOTA) methods like StarPrompt and RanPac across all tested benchmarks:

  • Accuracy: In dual-domain tasks, MSDEM achieved a 16.98% improvement in average accuracy over StarPrompt.
  • Efficiency: Compared to the StarPrompt-2nd baseline, MSDEM reduced training parameters by 70.36%, GPU memory usage by 85.83%, and total training time by 89.35%.
  • Zero Forgetting: By freezing previous experts and expanding for new tasks, the model effectively eliminates catastrophic forgetting.

Several key insights emerged from the study. First, backbone diversity is crucial; fusing features from multiple sources provides a more robust foundation for incremental learning. Second, selective knowledge reuse via the DGWR allows for positive transfer while minimizing interference. Finally, the authors noted an asymmetric domain dependency, where knowledge from specific domains (e.g., Birds) may benefit others (e.g., TinyImageNet) more effectively than the reverse.

Conclusion

The Multi-Source Dynamic Expansion Model (MSDEM) represents a significant step forward in multi-domain continual learning. By combining diverse pre-trained backbones with a dynamic, graph-based routing system, it achieves superior accuracy and efficiency while maintaining zero forgetting. Future work will focus on scaling the model to hundreds of tasks by exploring more complex graph structures or expert pruning techniques to manage linear parameter growth.

Summary updated

BibTeX
@misc{wu2025incrementally,
  author = {Runqing Wu and Fei Ye and Qihe Liu and Guoxi Huang and Jinyu Guo and Rongyao Hu},
  title = {{Incrementally Learning Multiple Diverse Data Domains via Multi-Source Dynamic Expansion Model}},
  year = {2025},
  eprint = {2501.08878},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.08878},
}
Figure