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

标签也需要提示:面向自然语言理解任务的掩码匹配

Labels Need Prompts Too: Mask Matching for Natural Language Understanding Tasks

Peking University(北京大学);Boston University(波士顿大学)

Bo Li, Wei Ye, Quansen Wang, Wen Zhao, Shikun Zhang

AI总结:

针对自然语言理解任务,该研究首次将提示方法引入标签端,提出掩码匹配方法,通过匹配输入与标签的掩码表示预测,在多数据集上取得最优效果,为标签端提示研究提供了开创性探索。

摘要:

在许多自然语言理解(NLU)任务中,文本标签名称(描述)通常具有丰富的语义。本文首次将广泛用于丰富模型输入的提示方法引入标签端。具体而言,我们提出了Mask Matching(掩码匹配)方法,该方法为输入配置一个提示,为其标签配置另一个提示,随后通过匹配二者的掩码表示进行预测。我们在8项NLU任务、共14个数据集上对该方法进行了广泛评估。实验结果表明,Mask Matching显著优于同类的微调方法与传统提示微调方法,在多个数据集上取得了当前最优性能。Mask Matching尤其擅长处理标签数量多、标签名称信息量大的NLU任务。作为探索标签端提示的开创性工作,我们还讨论了未来研究有待解决的问题。

英文摘要:

Textual label names (descriptions) are typically semantically rich in many natural language understanding (NLU) tasks. In this paper, we incorporate the prompting methodology, which is widely used to enrich model input, into the label side for the first time. Specifically, we propose a Mask Matching method, which equips an input with a prompt and its label with another, and then makes predictions by matching their mask representations. We evaluate our method extensively on 8 NLU tasks with 14 datasets. The experimental results show that Mask Matching significantly outperforms its counterparts of fine-tuning and conventional prompt-tuning, setting up state-of-the-art performances in several datasets. Mask Matching is particularly good at handling NLU tasks with large label counts and informative label names. As pioneering efforts that investigate the label-side prompt, we also discuss open issues for future study.

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

↑