arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.20317cs.CV
收藏

卷积提示与语言模型结合用于持续学习

Convolutional Prompting meets Language Models for Continual Learning

IIT Kharagpur(印度理工学院克勒格布尔分校);IML Amazon India(亚马逊印度IML部门)

Anurag Roy, Riddhiman Moulick, Vinay K. Verma, Saptarshi Ghosh, Abir Das

AI总结:

本文提出ConvPrompt,通过卷积提示机制实现层级特定学习与跨任务知识迁移,并利用大语言模型动态决定提示数量,在持续学习中显著降低参数开销的同时将SOTA性能提升约3%。

摘要:

持续学习(CL)使机器学习模型能够在缺乏旧任务数据的情况下,从不断变化的新训练数据中持续学习。近年来,预训练视觉Transformer与提示调优相结合,在克服持续学习中的灾难性遗忘方面展现出潜力。这些方法依赖一个可学习提示池,但在跨任务共享知识方面效率较低,导致性能不佳。此外,缺乏细粒度的层级特定提示,使其无法充分发挥提示在持续学习中的优势。我们针对这些局限性提出ConvPrompt,这是一种新颖的卷积提示创建机制,它维护逐层共享嵌入,既能实现层级特定学习,又能促进跨任务的概念迁移。对卷积的巧妙运用使我们能够在保持低参数开销的同时不牺牲性能。我们进一步利用大语言模型为每个类别生成细粒度文本描述,用于获取任务相似度,并动态决定需要学习的提示数量。大量实验证明了ConvPrompt的优越性,在显著降低参数开销的同时将SOTA性能提升了约3%。我们还对各种模块进行了充分的消融实验,以厘清不同组件的重要性。

英文摘要:

Continual Learning (CL) enables machine learning models to learn from continuously shifting new training data in absence of data from old tasks. Recently, pretrained vision transformers combined with prompt tuning have shown promise for overcoming catastrophic forgetting in CL. These approaches rely on a pool of learnable prompts which can be inefficient in sharing knowledge across tasks leading to inferior performance. In addition, the lack of fine-grained layer specific prompts does not allow these to fully express the strength of the prompts for CL. We address these limitations by proposing ConvPrompt, a novel convolutional prompt creation mechanism that maintains layer-wise shared embeddings, enabling both layer-specific learning and better concept transfer across tasks. The intelligent use of convolution enables us to maintain a low parameter overhead without compromising performance. We further leverage Large Language Models to generate fine-grained text descriptions of each category which are used to get task similarity and dynamically decide the number of prompts to be learned. Extensive experiments demonstrate the superiority of ConvPrompt and improves SOTA by ~3% with significantly less parameter overhead. We also perform strong ablation over various modules to disentangle the importance of different components.

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

↑