PromptFusion: Decoupling Stability and Plasticity for Continual Learning

Haoran Chen, Zuxuan Wu, Xintong Han, Menglin Jia, Yu-Gang Jiang

Abstract

Continual learning (CL) aims to enable AI models to learn tasks sequentially while mitigating the "stability-plasticity dilemma"—the trade-off between retaining old knowledge and integrating new information. This paper introduces PromptFusion, a dual-module architecture that decouples these conflicting goals. By employing a Stabilizer to ensure zero forgetting of previous tasks and a Booster to maximize plasticity for new data, PromptFusion achieves state-of-the-art results on challenging benchmarks like Split-ImageNet-R. Furthermore, a "Lite" version is proposed to optimize computational efficiency through dynamic module activation.

Introduction

The primary hurdle in sequential task learning is catastrophic forgetting. Conventional regularization methods often prioritize stability at the expense of plasticity, while recent prompt-based approaches like L2P and DualPrompt, though innovative, still struggle to match the performance of models trained on individual tasks. PromptFusion addresses this by architecturally separating the mechanisms for stability and plasticity.

The PromptFusion Architecture

PromptFusion utilizes a frozen pre-trained Vision Transformer (ViT) backbone, augmented by two distinct prompt-tuning modules:

  1. The Stabilizer (CoOp-based): Designed for stability, this module initializes class-specific prompts for each new task. Once a task is learned, its prompts are frozen, ensuring perfect retention of past knowledge.
  2. The Booster (VPT-based): Designed for plasticity, this module uses a shared set of prompts that are continuously updated. This allows the model to adapt its feature extraction capabilities to the specific characteristics of new incoming data.
Figure 2: Feature distribution visualizations for CoOp (Stabilizer) and VPT (Booster) at the start (R1,1) and end (R10,1) of the learning sequence.

The predictions from both modules are integrated using a learnable fusion weight ($\lambda$) and a weight mask ($W$). To enhance efficiency, PromptFusion-Lite incorporates a decision module (MLP + Gumbel-Softmax) that selectively activates the Booster only when the input image requires additional plasticity, reducing GFLOPs by approximately 14.8%.

Experimental Results

The method was evaluated on several benchmarks, including Split-CIFAR100, Split-CUB200, Split-ImageNet-R, and Core50.

Performance Benchmarks

PromptFusion consistently outperforms existing state-of-the-art (SOTA) prompt-based methods. On the rigorous Split-ImageNet-R benchmark, PromptFusion achieved 78.7% accuracy, a 5.3% improvement over CODA-Prompt in a memory-free setting.

Figure 1: Accuracy curves comparing PromptFusion against DualPrompt and L2P across a 10-task sequence.

Key Insights

  • Module Specialization: Analysis reveals that CoOp is naturally robust to domain shifts, whereas VPT excels at learning distinct categories rapidly.
  • Sustained Plasticity: Unlike previous methods where performance on the most recent task degrades as the sequence grows, PromptFusion’s Booster maintains high accuracy for new tasks throughout the entire learning process.

Conclusion and Future Work

PromptFusion effectively resolves the stability-plasticity dilemma by decoupling the two objectives into specialized modules. While the dual-pathway approach introduces some complexity and hyperparameter sensitivity regarding the fusion weight, it sets a new performance standard for continual learning. Future research will focus on automating the fusion weight adaptation and further streamlining the architecture.

Summary updated

BibTeX
@inproceedings{chen2024promptfusion,
  author = {Haoran Chen and Zuxuan Wu and Xintong Han and Menglin Jia and Yu-Gang Jiang},
  title = {{PromptFusion: Decoupling Stability and Plasticity for Continual Learning}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73021-4\_12},
}
Figure