[论文解读] POP: Prompt Of Prompts for Continual Learning
本文提出 Prompt of Prompts (POP),一种持续学习框架,通过同时学习任务特定提示和共享全局提示集(POP),增强基础模型,实现跨任务知识整合。POP 在类别增量学习中达到最先进性能,即使每类仅使用 20–50 个样本,也能实现高效的少样本持续学习。
Continual learning (CL) has attracted increasing attention in the recent past. It aims to mimic the human ability to learn new concepts without catastrophic forgetting. While existing CL methods accomplish this to some extent, they are still prone to semantic drift of the learned feature space. Foundation models, which are endowed with a robust feature representation, learned from very large datasets, provide an interesting substrate for the solution of the CL problem. Recent work has also shown that they can be adapted to specific tasks by prompt tuning techniques that leave the generality of the representation mostly unscathed. An open question is, however, how to learn both prompts that are task specific and prompts that are global, i.e. capture cross-task information. In this work, we propose the Prompt Of Prompts (POP) model, which addresses this goal by progressively learning a group of task-specified prompts and a group of global prompts, denoted as POP, to integrate information from the former. We show that a foundation model equipped with POP learning is able to outperform classic CL methods by a significant margin. Moreover, as prompt tuning only requires a small set of training samples, POP is able to perform CL in the few-shot setting, while still outperforming competing methods trained on the entire dataset.
研究动机与目标
- 通过利用基础模型的鲁棒特征表示,解决持续学习中的灾难性遗忘问题。
- 通过减少对大规模训练数据集的依赖,实现高效的少样本持续学习。
- 设计一种提示方法,平衡任务特定知识与全局知识的整合。
- 超越现有持续学习方法,尤其在低数据场景下表现更优。
- 证明在基础模型上进行提示微调,可在跨任务场景中实现更优的泛化能力与稳定性。
提出的方法
- 通过两种可学习提示增强图像输入:任务特定提示 $P_t$ 和共享全局提示集(POP)。
- 使用基础模型(如 CLIP-ViT)作为主干网络,从任务特定提示和全局提示中提取特征。
- 通过拼接与平均操作融合任务特定提示与 POP 提示的输出,形成任务特定($f_t$)和全局($f$)表示。
- 结合局部(任务特定)与全局(跨任务)分类损失进行模型优化,以同时保留任务特定准确率与泛化能力。
- 在训练完成后冻结任务特定提示,仅持续更新全局 POP 提示。
- 应用多种特征融合策略(如平均池化、最大池化、拼接)以评估其对性能的影响。
实验结果
研究问题
- RQ1在基础模型中同时引入任务特定提示与全局提示,是否能实现优于标准微调或正则化方法的持续学习性能?
- RQ2在基础模型上进行提示微调,能在多大程度上实现仅依赖极少训练数据的高效少样本持续学习?
- RQ3共享全局提示集(POP)的引入,如何提升跨任务泛化能力并减少遗忘?
- RQ4每类任务的最优提示数量是多少,以在性能与参数效率之间取得平衡?
- RQ5特征融合策略的选择,如何影响持续学习中的最终分类准确率?
主要发现
- 在 Split CIFAR-100 上,POP 在每类仅使用 50 个样本训练时,性能超越所有经典方法,甚至优于在每类 500 个样本上训练的方法。
- 在 Split ImageNet-R 上,POP 仅需每类 20 个样本即可实现更优准确率,而基线提示方法平均需 150 个样本/类。
- 在 CIFAR-100 上使用 3,000 个样本的内存缓冲区(每类 30 个)时,POP 超越所有经典持续学习方法。
- 在 ImageNet-R 上使用 2,000 个样本的缓冲区(每类 10 个)时,POP 超过所有先前方法,展现出强大的少样本泛化能力。
- 每类仅使用一个提示时性能最佳,增加至四个提示时性能下降可忽略。
- 结合平均池化与拼接的特征融合策略(mean and cat)达到最高准确率(81.97 AA),优于最大池化或仅使用 POP token 的策略。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。