arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.18063cs.CLcs.AI
收藏

面向高效多任务提示调优的动态任务向量分组

Dynamic Task Vector Grouping for Efficient Multi-Task Prompt Tuning

Beihang University(北京航空航天大学);Zhongguancun Laboratory(中关村实验室);Shen Yuan Honors College, Beihang University(北京航空航天大学沈元荣誉学院)

Pieyi Zhang, Richong Zhang, Zhijie Nie

AI总结:

针对现有多任务提示调优迁移策略固定、相似度计算静态的问题,提出动态任务向量分组方法DTVG,通过任务向量测相似度、双指标分组及动态更新组合,在26个NLP数据集上实现最优性能并减少负迁移。

摘要:

多任务提示调优利用多个高资源源任务来提升低资源目标任务的性能。现有方法要么迁移结合所有源任务训练得到的软提示,要么仅一次性迁移单个“高相似度”源任务训练的软提示。但我们发现,最优迁移性能通常源自既非单个也非全部的源任务组合。此外,我们还发现源任务与目标任务的相似度在迁移后的微调过程中会动态变化,这使得初始阶段的相似度计算不足以支撑决策。为解决这些问题,我们提出了名为Dynamic Task Vector Grouping(DTVG,动态任务向量分组)的方法,其核心思路包括三点:(1)使用任务向量而非软提示来衡量任务相似度;(2)基于“目标相似度”和“知识一致性”两个指标对最优源任务组合进行分组;(3)在每个迭代步中动态更新该组合。在26个NLP数据集的不同设置下开展的大量实验表明,DTVG能有效对相似源任务分组,同时减少负迁移,达到了当前最优性能。

英文摘要:

Multi-task prompt tuning utilizes multiple high-resource source tasks to improve performance on low-source target tasks. Existing approaches transfer the soft prompt trained by combining all source tasks or a single ``high-similar'' source task one-time-only. However, we find that the optimal transfer performance often comes from a combination of source tasks, which is neither one nor all. Further, we find that the similarity between source and target tasks also changes dynamically during fine-tuning after transfering, making similarity calculation in the initiation stage inadequate. To address these issues, we propose a method called Dynamic Task Vector Grouping (DTVG), whose core ideas contain (1) measuring the task similarity with task vectors instead of soft prompt, (2) grouping the optimal source task combination based on two metrics: {\it target similarity} and {\it knowledge consistency}; (3) dynamically updating the combination in each iteration step. Extensive experiments on the 26 NLP datasets under different settings demonstrate that DTVG effectively groups similar source tasks while reducing negative transfer, achieving the start-of-art performance.

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

↑