[论文解读] A Unified Continual Learning Framework with General Parameter-Efficient Tuning
该论文提出LA-E,一种统一的持续学习框架,将参数高效微调(PET)方法从提示(prompt)推广至多种架构(如Transformer和ConvNets),实现通用化。通过整合自适应调优速度、基于动量的知识累积与集成推理,LA-E在无需访问旧数据的情况下,实现了SOTA性能——在CIFAR100和ImageNet-R上分别超越先前方法1.3%和3.6%。
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}.
研究动机与目标
- 解决基于提示的持续学习的局限性,其仅适用于Transformer且面临任务特定提示选择噪声大的问题。
- 支持除提示微调外的任意参数高效微调(PET)方法(如适配器、LoRA或前缀)的持续学习。
- 开发一个统一框架,在不存储旧数据的前提下,保持跨任务的高性能,克服持续学习中的灾难性遗忘。
- 通过自适应调优、知识累积与专家集成推理的结合,实现鲁棒且可扩展的持续学习。
- 在标准ViT模型之外,实现对视觉Transformer、Swin Transformer和ConvNeXt等多样化架构的泛化能力。
提出的方法
- 提出三阶段LA-E框架:(1) 采用自适应调优速度校准的PET微调,以对齐不同PET模块的收敛速率。
- 实施基于动量的参数更新,将所有先前任务的知识累积至单一离线PET模块中,减少遗忘。
- 在推理阶段构建两个专家模型:一个使用在线PET(面向近期任务),另一个使用离线PET(面向旧任务)。
- 利用基于能量的指标融合两个专家的预测结果,提升所有任务上的鲁棒性与准确性。
- 应用梯度分析校准不同PET方法(如前缀、适配器、LoRA)之间的调优速度,确保学习动态的稳定与可比性。
- 支持在神经网络块中灵活放置PET模块(如前5或6个块),并在多种架构上验证性能。
实验结果
研究问题
- RQ1能否设计一个统一的持续学习框架,以支持提示微调之外的广泛PET方法?
- RQ2如何对不同调优速度的PET模块进行校准,以确保在持续学习中实现稳定且可比的学习动态?
- RQ3基于动量的知识累积至单一离线PET模块,能否有效缓解多任务场景下的灾难性遗忘?
- RQ4使用面向新任务的在线专家与面向历史任务的离线专家进行集成推理,能否提升整体持续学习性能?
- RQ5LA-E框架能否在包括ConvNets和非Transformer模型(如Swin Transformer与ConvNeXt)在内的多样化架构上实现泛化?
主要发现
- 与先前SOTA方法相比,使用适配器PET的LA-E在CIFAR100上提升最后增量准确率1.3%,在ImageNet-R上提升3.6%。
- 调优速度校准策略显著提升各类PET方法的性能,消融实验表明,当同时使用梯度补偿与可学习缩放时,准确率提升达1.5%。
- LA-E在Swin-B与ConvNeXt-B模型上均实现稳定性能增益,在CIFAR100上优于基线0.67%,在ImageNet-R上优于基线1.35%(使用ConvNeXt-B)。
- 将PET模块插入Transformer块的前5或6层,性能几乎相同,表明对模块位置具有鲁棒性。
- 在线与离线专家的集成始终优于单独使用任一专家,证明了动态专家融合的有效性。
- LA-E能有效泛化至非Transformer架构,如Swin Transformer与ConvNeXt,而基于提示的方法因架构限制在此类模型上失效。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。