arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.17951cs.CLcs.AI
收藏

ContrastNER:基于对比学习的少样本命名实体识别提示调优方法

ContrastNER: Contrastive-based Prompt Tuning for Few-shot NER

KTH Royal Institute of Technology(KTH皇家理工学院);Oslo Metropolitan University(奥斯陆城市大学);SINTEF AS(挪威科技工业研究院)

Amirhossein Layegh, Amir H. Payberah, Ahmet Soylu, Dumitru Roman, Mihhail Matskin

AI总结:

ContrastNER提出一种基于对比学习的提示调优NER框架,通过融合离散与连续token的提示设计,在少样本场景下无需复杂手工提示和verbalizer设计即可取得优于现有方法的性能。

摘要:

基于提示的语言模型在包括命名实体识别(NER)在内的众多应用中取得了令人鼓舞的成果。NER旨在识别句子中的实体并提供其类型。然而,大多数现有NER方法的优异性能在很大程度上依赖于离散提示的设计以及将模型预测输出映射到实体类别的verbalizer,这些都是复杂的任务。为了解决这些挑战,我们提出了ContrastNER,这是一个基于提示的NER框架,它在提示中同时使用离散和连续token,并采用对比学习方法来学习连续提示并预测实体类型。实验结果表明,ContrastNER在高资源环境下取得了与最先进NER方法具有竞争力的性能,在低资源环境下优于最先进模型,且无需大量手工提示工程和verbalizer设计。

英文摘要:

Prompt-based language models have produced encouraging results in numerous applications, including Named Entity Recognition (NER) tasks. NER aims to identify entities in a sentence and provide their types. However, the strong performance of most available NER approaches is heavily dependent on the design of discrete prompts and a verbalizer to map the model-predicted outputs to entity categories, which are complicated undertakings. To address these challenges, we present ContrastNER, a prompt-based NER framework that employs both discrete and continuous tokens in prompts and uses a contrastive learning approach to learn the continuous prompts and forecast entity types. The experimental results demonstrate that ContrastNER obtains competitive performance to the state-of-the-art NER methods in high-resource settings and outperforms the state-of-the-art models in low-resource circumstances without requiring extensive manual prompt engineering and verbalizer design.

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

↑