arXiv:2510.16670cs.CLcs.AI2025-10NeurIPS被引 14

用一个向量实现高效提示调优,提升大模型任务表现。

All You Need is One: Capsule Prompt Tuning with a Single Vector

  • 仅用一个实例感知的提示向量,融合任务与输入信息。
  • 在T5-Large上平均准确率达84.03%,参数效率达0.003%。
  • 适合追求高效率、低资源微调的研究者与应用开发者。

基于提示的学习已成为一种高效的微调方法,通过任务感知引导来适配大语言模型。然而现有方法依赖繁琐的超参数搜索,且需多个提示,带来额外计算负担。我们发现任务感知提示缺乏实例感知信息,导致注意力机制与输入序列产生微妙干扰。相反,将实例感知信息融入引导可提升性能而无需额外微调。我们观察到‘注意力锚点’现象:在序列起始位置加入实例感知标记,能有效保留对关键结构信息的关注,并增强与所有输入标记的注意力交互。为此,我们提出胶囊提示调优(CaPT),以近乎零参数的方式整合实例与任务感知信息,仅使用一个胶囊提示。实证结果表明,该方法在多种语言任务中表现优异(如T5-Large平均准确率达84.03%),同时保持极高参数效率(如在Llama3.2-1B上仅占0.003%模型参数)。

原文摘要 · Abstract (English)

Prompt-based learning has emerged as a parameter-efficient finetuning (PEFT) approach to facilitate Large Language Model (LLM) adaptation to downstream tasks by conditioning generation with task-aware guidance. Despite its successes, current prompt-based learning methods heavily rely on laborious grid searching for optimal prompt length and typically require considerable number of prompts, introducing additional computational burden. Worse yet, our pioneer findings indicate that the task-aware prompt design is inherently limited by its absence of instance-aware information, leading to a subtle attention interplay with the input sequence. In contrast, simply incorporating instance-aware information as a part of the guidance can enhance the prompt-tuned model performance without additional fine-tuning. Moreover, we find an interesting phenomenon, namely "attention anchor", that incorporating instance-aware tokens at the earliest position of the sequence can successfully preserve strong attention to critical structural information and exhibit more active attention interaction with all input tokens. In light of our observation, we introduce Capsule Prompt-Tuning (CaPT), an efficient and effective solution that leverages off-the-shelf, informative instance semantics into prompt-based learning. Our approach innovatively integrates both instance-aware and task-aware information in a nearly parameter-free manner (i.e., one single capsule prompt). Empirical results demonstrate that our method can exhibit superior performance across various language tasks (e.g., 84.03\% average accuracy on T5-Large), serving as an "attention anchor," while enjoying high parameter efficiency (e.g., 0.003\% of model parameters on Llama3.2-1B).

提示调优参数效率大模型微调

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。