Abstract
Continual Learning (CL) epitomizes an advanced training paradigm wherein prior data samples remain inaccessible during the acquisition of new tasks. Numerous investigations have delved into leveraging a pre-trained Vision Transformer (ViT) to enhance model efficacy in continual learning. Nonetheless, these approaches typically utilize a singular, static backbone, which inadequately adapts to novel tasks, particularly when engaging with diverse data domains, due to a substantial number of inactive parameters. This paper addresses this limitation by introducing an innovative Self-Controlled Dynamic Expansion Model (SCDEM), which orchestrates multiple distinct trainable pre-trained ViT backbones to furnish diverse and semantically enriched representations. Specifically, by employing the multi-backbone architecture as a shared module, the proposed SCDEM dynamically generates a new expert with minimal parameters to accommodate a new task. A novel Collaborative Optimization Mechanism (COM) is introduced to synergistically optimize multiple backbones by harnessing prediction signals from historical experts, thereby facilitating new task learning without erasing previously acquired knowledge. Additionally, a novel Feature Distribution Consistency (FDC) approach is proposed to align semantic similarity between previously and currently learned representations through an optimal transport distance-based mechanism, effectively mitigating negative knowledge transfer effects. Furthermore, to alleviate over-regularization challenges, this paper presents a novel Dynamic Layer-Wise Feature Attention Mechanism (DLWFAM) to autonomously determine the penalization intensity on each trainable representation layer. An extensive series of experiments have been conducted to evaluate the proposed methodology's efficacy, with empirical results corroborating that the approach attains state-of-the-art performance.
Introduction
Continual Learning (CL) aims to enable AI models to learn from a sequential stream of tasks without forgetting previously acquired knowledge. A primary obstacle in this field is catastrophic forgetting, where new information overwrites weights critical for past tasks. While recent advances leverage pre-trained Vision Transformers (ViTs) to provide robust feature representations, most existing methods rely on a single, frozen backbone. This approach suffers from two major drawbacks: poor adaptability to heterogeneous data domains and limited plasticity for learning complex new representations.
To overcome these challenges, the proposed Self-Controlled Dynamic Expansion Model (SCDEM) utilizes multiple pre-trained ViT backbones as a shared module and dynamically expands with lightweight, task-specific "experts." This multi-source approach provides a richer semantic foundation for cross-domain learning than single-source models.
Methodology
The SCDEM architecture is designed to balance plasticity and stability through several key components:
- Multi-Backbone Shared Module: Instead of a single frozen ViT, SCDEM integrates multiple backbones pre-trained on diverse datasets. Only the final layers of these backbones are made trainable to allow for task-specific adaptation while maintaining the integrity of the pre-trained features.
- Collaborative Optimization Mechanism (COM): To prevent forgetting, COM utilizes a frozen copy of the backbones from previous tasks. During training on a new task, it minimizes the Kullback–Leibler (KL) divergence between predictions from historical experts using the frozen backbones and those using the active, trainable backbones.
- Feature Distribution Consistency (FDC): This mechanism employs Wasserstein distance (optimal transport) to align the semantic feature distributions of the active backbones with their frozen counterparts, mitigating negative knowledge transfer.
- Dynamic Layer-Wise Feature Attention Mechanism (DLWFAM): To avoid the pitfalls of over-regularization, DLWFAM uses a learnable attention network to automatically determine the penalization intensity for each trainable layer. This allows the model to selectively update layers that are most informative for the new task while strictly preserving those critical for historical knowledge.
Experimental Evaluation
The proposed model was evaluated on complex multi-domain task-incremental (Task-IL) and class-incremental (Class-IL) benchmarks, including CIFAR-10, CIFAR-100, TinyImageNet, and the Birds 525 Species dataset.
Key Results
SCDEM demonstrates significant improvements over state-of-the-art (SOTA) baselines, such as StarPrompt and DER++.
- Accuracy: In dual-domain settings, SCDEM using three backbones (SCDEM³) outperformed StarPrompt by 17.25% in average accuracy and 20.65% in last-task accuracy.
- Efficiency: Despite the multi-backbone architecture, SCDEM is highly efficient. It reduces trainable parameters by 51.08%, GPU memory usage by 47.29%, and training time by 83.21% compared to StarPrompt.
- Ablation Studies: Results confirm that both the Wasserstein distance constraint and the layer-wise attention mechanism are essential for maintaining the stability-plasticity balance.
Conclusion
The Self-Controlled Dynamic Expansion Model (SCDEM) effectively addresses the limitations of single-backbone continual learning models. By leveraging multiple pre-trained sources and employing novel regularization mechanisms like DLWFAM and COM, SCDEM achieves superior performance across diverse domains with reduced computational overhead. Future work may explore scaling this architecture to multi-modal backbones or implementing dynamic pruning to further optimize inference efficiency.
Summary updated