CAPrompt:基于预训练模型的类增量学习中的循环提示聚合
CAPrompt: Cyclic Prompt Aggregation for Pre-Trained Model Based Class Incremental Learning
AI总结:
CAPrompt通过循环聚合不同提示的知识,消除了类增量学习中对任务ID预测的依赖,利用凹约束和循环权重预测策略,在多个数据集上超越现有方法2%-3%。
摘要:
近年来,针对预训练模型的提示调优方法在类增量学习(CIL)中展现出了良好的性能。这些方法通常涉及学习特定任务的提示,并通过预测任务ID来选择适当的提示进行推理。然而,不准确的任务ID预测会导致训练和推理期间使用的提示之间存在严重不一致,从而引发知识遗忘和性能下降。此外,现有的提示调优方法仅依赖预训练模型来预测任务ID,未能充分利用已学习的提示参数中嵌入的知识,导致预测性能较差。为解决这些问题,我们提出了一种新颖的循环提示聚合(CAPrompt)方法,通过循环聚合不同提示的知识来消除对任务ID预测的依赖。具体而言,我们不再预测任务ID,而是在训练和推理过程中引入一种创新的提示聚合策略,利用不同提示的加权和来克服提示不一致性。深入的理论分析表明,在凹条件下,聚合提示相比选择单一任务特定提示能够实现更低的误差。因此,我们引入凹约束和线性约束来指导提示学习,确保满足凹条件的要求。此外,为了充分利用提示并获得更准确的提示权重,我们开发了一种循环权重预测策略。该策略从每个任务的相等权重开始,并以循环方式自动调整它们为更合适的值。在多个数据集上的实验表明,我们提出的CAPrompt方法优于现有最先进方法2%-3%。我们的代码可在 https://github.com/zhoujiahuan1991/AAAI2025-CAPrompt 获取。
英文摘要:
Recently, prompt tuning methods for pre-trained models have demonstrated promising performance in Class Incremental Learning (CIL). These methods typically involve learning task-specific prompts and predicting the task ID to select the appropriate prompts for inference. However, inaccurate task ID predictions can cause severe inconsistencies between the prompts used during training and inference, leading to knowledge forgetting and performance degradation. Additionally, existing prompt tuning methods rely solely on the pre-trained model to predict task IDs, without fully leveraging the knowledge embedded in the learned prompt parameters, resulting in inferior prediction performance. To address these issues, we propose a novel Cyclic Prompt Aggregation (CAPrompt) method that eliminates the dependency on task ID prediction by cyclically aggregating the knowledge from different prompts. Specifically, rather than predicting task IDs, we introduce an innovative prompt aggregation strategy during both training and inference to overcome prompt inconsistency by utilizing a weighted sum of different prompts. Thorough theoretical analysis demonstrates that under concave conditions, the aggregated prompt achieves lower error compared to selecting a single task-specific prompt. Consequently, we incorporate a concave constraint and a linear constraint to guide prompt learning, ensuring compliance with the concave condition requirement. Furthermore, to fully exploit the prompts and achieve more accurate prompt weights, we develop a cyclic weight prediction strategy. This strategy begins with equal weights for each task and automatically adjusts them to more appropriate values in a cyclical manner. Experiments on various datasets demonstrate that our proposed CAPrompt outperforms state-of-the-art methods by 2%-3%. Our code is available at https://github.com/zhoujiahuan1991/AAAI2025-CAPrompt.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。