Lifelong Learning with Task-Specific Adaptation: Addressing the Stability-Plasticity Dilemma

Ruiyu Wang, Sen Wang, Xinxin Zuo, Qiang SunarXiv 2025

Abstract

Lifelong learning (LL) aims to continuously acquire new knowledge while retaining previously learned knowledge. A central challenge in LL is the stability-plasticity dilemma, which requires models to balance the preservation of previous knowledge (stability) with the ability to learn new tasks (plasticity). While parameter-efficient fine-tuning (PEFT) has been widely adopted in large language models, its application to lifelong learning remains underexplored. To bridge this gap, this paper proposes AdaLL, an adapter-based framework designed to address the dilemma through a simple, universal, and effective strategy. AdaLL co-trains the backbone network and adapters under regularization constraints, enabling the backbone to capture task-invariant features while allowing the adapters to specialize in task-specific information. Unlike methods that freeze the backbone network, AdaLL incrementally enhances the backbone's capabilities across tasks while minimizing interference through backbone regularization. This architectural design significantly improves both stability and plasticity, effectively eliminating the stability-plasticity dilemma. Extensive experiments demonstrate that AdaLL consistently outperforms existing methods across various configurations, including dataset choices, task sequences, and task scales.

Introduction

In the field of Lifelong Learning (LL), artificial intelligence models face the fundamental challenge of learning a sequence of tasks without suffering from "catastrophic forgetting." This challenge is encapsulated in the stability-plasticity dilemma: the model must remain stable enough to retain old knowledge while being plastic enough to integrate new information effectively.

Traditional approaches typically fall into two categories. Regularization-based methods (e.g., EWC, LwF) impose constraints on the entire model to prevent drastic weight changes, which often limits the model's ability to learn highly distinct new tasks. Conversely, submodule-based methods (e.g., LoRA, adapters) often freeze the core "backbone" of the model and only train small, task-specific modules. While this preserves stability, it prevents the model from refining its core feature-extraction capabilities as it encounters more data. This paper introduces AdaLL (Adapter-based Lifelong Learning), a framework that bridges these approaches by co-training a regularized backbone with task-specific adapters.

Architectural comparison of lifelong learning methods. AdaLL (d) utilizes a regularized backbone for stability and task-specific adapters for plasticity, co-training both for optimal performance.

The AdaLL Framework

AdaLL conceptualizes the neural network as two distinct functional blocks designed to handle the two sides of the dilemma:

  1. The Backbone (Stability Block): This shared feature extractor is trained across all tasks. To ensure stability, it is subject to regularization constraints (such as weight or prediction regularization). This forces the backbone to focus on task-invariant features that are generally useful across the entire task sequence.
  2. Task-Specific Adapters (Plasticity Block): For each new task, a small bottleneck adapter is introduced. These adapters are unconstrained, allowing them to specialize in the unique nuances of the current task without interfering with previous knowledge.

The "Secret Sauce": Co-training

Unlike traditional adapter methods that freeze the backbone to prevent forgetting, AdaLL trains both the backbone and the current task's adapter simultaneously. By regularizing only the backbone and leaving the adapter free, the model achieves a "separation of concerns." This allows the backbone to incrementally improve its general representation power while the adapters provide the necessary flexibility for task-specific specialization.

Experimental Evaluation

The framework was rigorously evaluated on standard computer vision benchmarks, including CIFAR-100 and ImageNet-subset. The researchers tested various task orderings, including alphabetical, random (iCaRL), and coarse-grained (grouping similar classes), the latter of which is significantly more challenging for maintaining stability.

AdaLL was integrated into several baseline regularization methods, such as EWC, MAS, LwF, and LwM. In all cases, the AdaLL-enhanced versions (denoted with a "-A" suffix) showed substantial performance gains. For instance, on CIFAR-100 using a ResNet-34 backbone, adding AdaLL to the iTAML and LwF algorithms increased average accuracy by 5.1% and 2.9%, respectively.

Accuracy comparison on ImageNet-subset for weight and prediction regularization methods. AdaLL-enhanced versions (solid lines with '-A') consistently outperform their standard counterparts (dotted lines).

Key Insights and Results

  • Freezing is a Bottleneck: The results demonstrate that freezing the backbone—a common practice in parameter-efficient fine-tuning—actually limits the model's potential. Co-training allows the backbone to leverage the growing sample size across tasks to learn superior representations.
  • Universal Compatibility: AdaLL is a flexible framework rather than a standalone algorithm. It can be "plugged into" existing regularization techniques, making even older algorithms like LwF competitive with modern, complex state-of-the-art methods.
  • Solving the Dilemma: Ablation studies confirmed that the co-training strategy effectively eliminated the stability-plasticity trade-off in the tested configurations, maintaining near-perfect stability on old tasks while achieving high accuracy on new ones.

Conclusion and Future Work

AdaLL provides a simple yet powerful strategy for lifelong learning by decoupling stability and plasticity into separate architectural components. While highly effective, the framework does face challenges regarding memory growth, as a new adapter must be stored for every task. Future research will explore ways to manage this linear growth and extend the framework to Class-Incremental Learning scenarios where task IDs are unknown at inference time.

Summary updated

BibTeX
@misc{wang2025lifelong,
  author = {Ruiyu Wang and Sen Wang and Xinxin Zuo and Qiang Sun},
  title = {{Lifelong Learning with Task-Specific Adaptation: Addressing the Stability-Plasticity Dilemma}},
  year = {2025},
  eprint = {2503.06213},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.06213},
}
Figure