Skip to main content
QUICK REVIEW

[Paper Review] A Unified Continual Learning Framework with General Parameter-Efficient Tuning

Qiankun Gao, Chen Zhao|arXiv (Cornell University)|Mar 17, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

This paper proposes LAE, a unified continual learning framework that generalizes parameter-efficient tuning (PET) beyond prompts to support diverse architectures like Transformers and ConvNets. By integrating learning with calibrated adaptation speed, momentum-based knowledge accumulation, and ensemble inference, LAE achieves state-of-the-art performance—surpassing prior methods by 1.3% and 3.6% on CIFAR100 and ImageNet-R, respectively—without requiring access to old data.

ABSTRACT

The "pre-training $ ightarrow$ downstream adaptation" presents both new opportunities and challenges for Continual Learning (CL). Although the recent state-of-the-art in CL is achieved through Parameter-Efficient-Tuning (PET) adaptation paradigm, only prompt has been explored, limiting its application to Transformers only. In this paper, we position prompting as one instantiation of PET, and propose a unified CL framework with general PET, dubbed as Learning-Accumulation-Ensemble (LAE). PET, e.g., using Adapter, LoRA, or Prefix, can adapt a pre-trained model to downstream tasks with fewer parameters and resources. Given a PET method, our LAE framework incorporates it for CL with three novel designs. 1) Learning: the pre-trained model adapts to the new task by tuning an online PET module, along with our adaptation speed calibration to align different PET modules, 2) Accumulation: the task-specific knowledge learned by the online PET module is accumulated into an offline PET module through momentum update, 3) Ensemble: During inference, we respectively construct two experts with online/offline PET modules (which are favored by the novel/historical tasks) for prediction ensemble. We show that LAE is compatible with a battery of PET methods and gains strong CL capability. For example, LAE with Adaptor PET surpasses the prior state-of-the-art by 1.3% and 3.6% in last-incremental accuracy on CIFAR100 and ImageNet-R datasets, respectively. Code is available at \url{https://github.com/gqk/LAE}.

Motivation & Objective

  • Address the limitations of prompt-based continual learning, which is restricted to Transformers and suffers from noisy task-specific prompt selection.
  • Enable continual learning with any parameter-efficient tuning (PET) method—such as adapters, LoRA, or prefixes—beyond just prompt tuning.
  • Develop a unified framework that maintains high performance across tasks without storing old data, overcoming catastrophic forgetting in continual learning.
  • Achieve robust and scalable continual learning by combining adaptive tuning, knowledge accumulation, and expert ensemble inference.
  • Demonstrate generalization across model architectures, including Vision Transformers, Swin Transformers, and ConvNeXt, beyond standard ViT models.

Proposed method

  • Introduce a three-stage LAE framework: (1) Learning with speed-calibrated PET adaptation to align different PET modules' convergence rates.
  • Implement momentum-based parameter updates to accumulate knowledge from all previous tasks into a single offline PET module, reducing forgetting.
  • Construct two expert models during inference: one using the online PET (for recent tasks) and one using the offline PET (for older tasks).
  • Fuse predictions from the two experts using an energy-based indicator to improve robustness and accuracy across all tasks.
  • Apply gradient analysis to calibrate adaptation speed across diverse PET methods (e.g., prefix, adapter, LoRA), ensuring stable and comparable learning dynamics.
  • Support flexible PET module placement across network blocks (e.g., first 5 or 6 blocks) and validate performance across multiple architectures.

Experimental results

Research questions

  • RQ1Can a unified continual learning framework be designed to support a broad range of PET methods beyond prompt tuning?
  • RQ2How can different PET modules with varying adaptation speeds be calibrated to ensure stable and comparable learning dynamics in continual learning?
  • RQ3Can momentum-based knowledge accumulation into a single offline PET module effectively mitigate catastrophic forgetting across many tasks?
  • RQ4Does ensemble inference using online (new-task-focused) and offline (historical-task-focused) PET experts improve overall continual learning performance?
  • RQ5Can the LAE framework generalize across diverse architectures, including ConvNets and non-Transformer models like Swin Transformer and ConvNeXt?

Key findings

  • LAE with adapter PET improves last-incremental accuracy by 1.3% on CIFAR100 and 3.6% on ImageNet-R compared to prior state-of-the-art methods.
  • The adaptation speed calibration strategy significantly improves performance across different PET methods, with ablation studies showing a 1.5% gain in accuracy when both gradient compensation and learnable scaling are used.
  • LAE achieves consistent performance gains on Swin-B and ConvNeXt-B models, outperforming the baseline by 0.67% on CIFAR100 and 1.35% on ImageNet-R with ConvNeXt-B.
  • Inserting PET modules in the first 5 or 6 Transformer blocks yields nearly identical performance, indicating robustness to module placement.
  • The ensemble of online and offline experts consistently improves accuracy over using either expert alone, demonstrating the effectiveness of dynamic expert fusion.
  • LAE generalizes effectively to non-Transformer architectures such as Swin Transformer and ConvNeXt, where prompt-based methods fail due to architectural constraints.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.