arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.10445cs.CV
收藏

当基于提示的增量学习未遇上强预训练时

When Prompt-based Incremental Learning Does Not Meet Strong Pretraining

Sun Yat-sen University(中山大学);Key Laboratory of Machine Intelligence and Advanced Computing, Ministry of Education(教育部机器智能与先进计算重点实验室);Peng Cheng Laboratory(鹏城实验室)

Yu-Ming Tang, Yi-Xing Peng, Wei-Shi Zheng

AI总结:

针对现有基于提示的增量学习方法高度依赖强预训练、任务差距大时性能受限的问题,提出带知识池正则化的可学习自适应提示生成器,在无强预训练场景下性能显著优于先进方法,强预训练下也能保持可比性能。

摘要:

增量学习旨在解决深度网络在连续任务学习过程中的灾难性遗忘问题。基于提示的方法凭借出色的学习效率与性能,通过学习任务专属提示,将固定骨干网络应用于连续任务。然而现有基于提示的方法高度依赖强预训练(通常在ImageNet-21k上训练),我们发现若预训练任务与未知未来任务间的潜在差距较大,其模型可能会陷入困境。本研究提出了可学习的自适应提示生成器(Adaptive Prompt Generator,简称APG),核心是将提示检索与提示学习过程统一到一个可学习的提示生成器中,从而优化整个提示流程,有效降低任务间差距带来的负面影响。为避免APG学习无效知识,我们维护了一个知识池,利用每个类别的特征分布对APG进行正则化约束。大量实验表明,在无(强)预训练的无样本增量学习场景下,我们的方法性能显著优于现有先进方法。此外,在强预训练条件下,该方法的性能也与现有基于提示的模型相当,证明其仍能从预训练中获益。代码可在https://github.com/TOM-tym/APG获取。

英文摘要:

Incremental learning aims to overcome catastrophic forgetting when learning deep networks from sequential tasks. With impressive learning efficiency and performance, prompt-based methods adopt a fixed backbone to sequential tasks by learning task-specific prompts. However, existing prompt-based methods heavily rely on strong pretraining (typically trained on ImageNet-21k), and we find that their models could be trapped if the potential gap between the pretraining task and unknown future tasks is large. In this work, we develop a learnable Adaptive Prompt Generator (APG). The key is to unify the prompt retrieval and prompt learning processes into a learnable prompt generator. Hence, the whole prompting process can be optimized to reduce the negative effects of the gap between tasks effectively. To make our APG avoid learning ineffective knowledge, we maintain a knowledge pool to regularize APG with the feature distribution of each class. Extensive experiments show that our method significantly outperforms advanced methods in exemplar-free incremental learning without (strong) pretraining. Besides, under strong retraining, our method also has comparable performance to existing prompt-based models, showing that our method can still benefit from pretraining. Codes can be found at https://github.com/TOM-tym/APG

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑