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

逆更好!快速准确提示Few-Shot插槽标记

Inverse is Better! Fast and Accurate Prompt for Few-shot Slot Tagging

Harbin Institute of Technology(哈尔滨工业大学)

Yutai Hou, Cheng Chen, Xianzhen Luo, Bohan Li, Wanxiang Che

摘要:

近年来,学习方法在少样本学习中取得了令人瞩目的成功。这些方法用提示句段修改输入样本,并解码标签标记以将样本映射到相应的标签。然而,这样的范例对于槽标记的任务是非常低效的。由于槽标记样本是一个句子中的多个连续的单词,提示方法必须枚举所有的n-gram标记跨度来找到所有可能的槽,这大大降低了预测速度。为了解决这个问题,我们引入了一个反向范式的提示。与经典的将标记映射到标签的提示不同,我们可以根据给定的插槽类型来预测插槽值。这种反向提示仅需要对每个时隙类型进行一轮预测,并且大大加快了预测速度。此外,我们提出了一种新的迭代预测策略,模型通过考虑不同时隙类型之间的关系来学习改进预测。我们发现,有点令人惊讶的是,所提出的方法不仅预测速度更快,而且显着提高了效果(在10次拍摄设置上提高了6.1 F1分数),并实现了新的最先进的性能。

英文摘要:

Prompting methods recently achieve impressive success in few-shot learning. These methods modify input samples with prompt sentence pieces, and decode label tokens to map samples to corresponding labels. However, such a paradigm is very inefficient for the task of slot tagging. Since slot tagging samples are multiple consecutive words in a sentence, the prompting methods have to enumerate all n-grams token spans to find all the possible slots, which greatly slows down the prediction. To tackle this, we introduce an inverse paradigm for prompting. Different from the classic prompts mapping tokens to labels, we reversely predict slot values given slot types. Such inverse prompting only requires a one-turn prediction for each slot type and greatly speeds up the prediction. Besides, we propose a novel Iterative Prediction Strategy, from which the model learns to refine predictions by considering the relations between different slot types. We find, somewhat surprisingly, the proposed method not only predicts faster but also significantly improves the effect (improve over 6.1 F1-scores on 10-shot setting) and achieves new state-of-the-art performance.

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

↑