arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2501.12635cs.CV
收藏

多查询与多键:面向基于提示的持续学习的精确提示匹配范式

Multiple Queries with Multiple Keys: A Precise Prompt Matching Paradigm for Prompt-based Continual Learning

National Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家重点实验室,南京大学);School of Electronic Science and Engineering, Nanjing University(电子科学与工程学院,南京大学)

Dunwei Tu, Huiyu Yi, Yuchi Wang, Baile Xu, Jian Zhao, Furao Shen

AI总结:

针对基于提示的持续学习中提示选择准确率低的问题,提出多查询多键(MQMK)精确匹配范式,通过任务特定广度搜索与细粒度深度搜索提升匹配率,在三个基准上取得最优性能。

摘要:

持续学习要求机器学习模型在动态环境中持续获取新知识,同时避免遗忘已有知识。基于提示的持续学习方法通过提示扩展与选择有效解决了灾难性遗忘问题。然而,现有方法往往存在提示选择准确率低的问题,可能导致模型接收有偏知识并作出有偏预测。为解决这一问题,我们提出多查询与多键(Multiple Queries with Multiple Keys,MQMK)提示匹配范式,用于实现精确的提示选择。MQMK的目标是选出训练数据分布与测试样本分布最匹配的提示。具体而言,多查询通过引入任务特定知识实现精确的广度搜索,多键则通过细粒度表征训练样本的特征分布执行深度搜索。每个查询被设计为与指定任务进行局部匹配,以减少查询间的干扰。实验表明,在具有挑战性的场景中,MQMK将提示匹配率提升了30%以上,并在三个广泛使用的持续学习基准上取得了当前最优性能。代码可在https://github.com/DunweiTu/MQMK获取。

英文摘要:

Continual learning requires machine learning models to continuously acquire new knowledge in dynamic environments while avoiding the forgetting of previous knowledge. Prompt-based continual learning methods effectively address the issue of catastrophic forgetting through prompt expansion and selection. However, existing approaches often suffer from low accuracy in prompt selection, which can result in the model receiving biased knowledge and making biased predictions. To address this issue, we propose the Multiple Queries with Multiple Keys (MQMK) prompt matching paradigm for precise prompt selection. The goal of MQMK is to select the prompts whose training data distribution most closely matches that of the test sample. Specifically, Multiple Queries enable precise breadth search by introducing task-specific knowledge, while Multiple Keys perform deep search by representing the feature distribution of training samples at a fine-grained level. Each query is designed to perform local matching with a designated task to reduce interference across queries. Experiments show that MQMK enhances the prompt matching rate by over 30\% in challenging scenarios and achieves state-of-the-art performance on three widely adopted continual learning benchmarks. The code is available at https://github.com/DunweiTu/MQMK.

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

↑