Match-Prompt:通过提示学习提高神经文本匹配的多任务泛化能力
Match-Prompt: Improving Multi-task Generalization Ability for Neural Text Matching via Prompt Learning
摘要:
文本匹配是信息检索和自然语言处理中的一项基本技术。文本匹配任务共享确定两个给定文本之间的关系的相同范例。这些关系因任务而异,例如~文本检索中的相关性、释义识别中的语义对齐和问答中的可答性判断。然而,文本匹配的基本信号仍然在有限的范围内,即~精确匹配、语义匹配和推理匹配。理想情况下,一个好的文本匹配模型可以学习捕获和聚合这些信号,用于不同的匹配任务,以实现有竞争力的性能,而最近最先进的文本匹配模型,例如~预训练的语言模型(PLM)很难泛化。这是因为在特定任务数据集上进行端到端的监督学习使得模型过分强调数据样本偏差和特定任务信号,而不是必要的匹配信号。为了克服这个问题,我们采用了专门化-泛化训练策略,并将其称为匹配提示。在专门化阶段,不同的匹配任务的描述映射到几个提示符。在泛化阶段,匹配模型通过对不同的匹配任务进行训练来探索基本的匹配信号。高多样性匹配任务避免了模型对特定任务的数据拟合偏差,使模型可以专注于学习基本的匹配信号。同时,在第一步中获得的提示令牌帮助模型区分不同的任务特定的匹配信号。在公开数据集上的实验结果表明,Match-Prompt可以提高PLM在文本匹配中的多任务泛化能力,并且在域内多任务、域外多任务和新任务适应性能上优于先前微调范式训练的多任务和特定任务模型。
英文摘要:
Text matching is a fundamental technique in both information retrieval and natural language processing. Text matching tasks share the same paradigm that determines the relationship between two given texts. The relationships vary from task to task, e.g.~relevance in document retrieval, semantic alignment in paraphrase identification and answerable judgment in question answering. However, the essential signals for text matching remain in a finite scope, i.e.~exact matching, semantic matching, and inference matching. Ideally, a good text matching model can learn to capture and aggregate these signals for different matching tasks to achieve competitive performance, while recent state-of-the-art text matching models, e.g.~Pre-trained Language Models (PLMs), are hard to generalize. It is because the end-to-end supervised learning on task-specific dataset makes model overemphasize the data sample bias and task-specific signals instead of the essential matching signals. To overcome this problem, we adopt a specialization-generalization training strategy and refer to it as Match-Prompt. In specialization stage, descriptions of different matching tasks are mapped to a few prompt tokens. In generalization stage, matching model explores the essential matching signals by being trained on diverse matching tasks. High diverse matching tasks avoid model fitting the data bias on a specific task, so that model can focus on learning the essential matching signals. Meanwhile, the prompt tokens obtained in the first step help the model distinguish different task-specific matching signals. Experimental results on public datasets show that Match-Prompt can improve multi-task generalization capability of PLMs in text matching and yield better in-domain multi-task, out-of-domain multi-task and new task adaptation performance than multi-task and task-specific models trained by previous fine-tuning paradigm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。