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

Few-Shot NER的无模板提示微调

Template-free Prompt Tuning for Few-shot NER

Fudan University(复旦大学)

Ruotian Ma, Xin Zhou, Tao Gui, Yiding Tan, Linyang Li, Qi Zhang, Xuanjing Huang

摘要:

基于模板的方法已经成功地应用于重复级的少样本学习任务,这主要归功于模板和标签词的复杂设计。然而,当应用于标记级标记任务(如NER)时,在所有潜在的实体跨度上枚举模板查询将是耗时的。在这项工作中,我们提出了一个更优雅的方法来重新制定NER任务LM问题没有任何模板。具体来说,我们放弃了模板构建过程,同时保持预训练模型的单词预测范式,以预测实体位置处的类相关枢轴词(或标签词)。同时,我们还探索了自动搜索合适的标签词的原则性方法,这些标签词可以很容易地适应预训练的模型。在避免复杂的基于模板的过程的同时,所提出的LM目标还减少了用于预训练和微调的不同目标之间的差距,因此它可以更好地有益于Few-Shot性能。实验结果表明,在Few-Shot场景下,该方法比bert-tagger和基于模板的方法更有效.此外,该方法的解码速度高达1930.12倍,比基于模板的方法。

英文摘要:

Prompt-based methods have been successfully applied in sentence-level few-shot learning tasks, mostly owing to the sophisticated design of templates and label words. However, when applied to token-level labeling tasks such as NER, it would be time-consuming to enumerate the template queries over all potential entity spans. In this work, we propose a more elegant method to reformulate NER tasks as LM problems without any templates. Specifically, we discard the template construction process while maintaining the word prediction paradigm of pre-training models to predict a class-related pivot word (or label word) at the entity position. Meanwhile, we also explore principled ways to automatically search for appropriate label words that the pre-trained models can easily adapt to. While avoiding complicated template-based process, the proposed LM objective also reduces the gap between different objectives used in pre-training and fine-tuning, thus it can better benefit the few-shot performance. Experimental results demonstrate the effectiveness of the proposed method over bert-tagger and template-based method under few-shot setting. Moreover, the decoding speed of the proposed method is up to 1930.12 times faster than the template-based method.

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

↑