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

CLLMFS:一种用于少样本命名实体识别的对比学习增强大型语言模型框架

CLLMFS: A Contrastive Learning enhanced Large Language Model Framework for Few-Shot Named Entity Recognition

iFLYTEK Co., Ltd.(科大讯飞股份有限公司);Tsinghua University(清华大学);Huazhong University of Science and Technology(华中科技大学)

Yafeng Zhang, Zilan Yu, Yuang Huang, Jing Tang

AI总结:

针对少样本命名实体识别在跨领域上鲁棒性不足的问题,提出CLLMFS框架,结合低秩适应与对比学习增强大型语言模型的内部表示,有效提升了实体边界感知与识别准确率,在多个基准上取得显著的F1分数提升。

摘要:

少样本命名实体识别(NER)是在仅有少量标注数据的情况下识别命名实体的任务,在自然语言处理中的重要性日益增加。虽然现有方法已显示出一定的有效性,例如通过各种提示模式丰富标签语义或采用度量学习技术,但由于其预训练模型中缺乏丰富的知识,它们在不同领域的性能表现出有限的鲁棒性。为了解决这个问题,我们提出了CLLMFS,一种用于少样本命名实体识别的对比学习增强大型语言模型(LLM)框架,在有限的训练数据下取得了有希望的结果。考虑到LLM的内部表示对下游任务的影响,CLLMFS集成了专门为少样本NER定制的低秩适应(LoRA)和对比学习机制。通过增强模型的内部表示,CLLMFS有效地提高了实体边界感知能力和实体识别准确性。我们的方法在几个公认的基准上,F1分数比现有最佳性能方法提高了2.58%到97.74%,达到了最先进的性能提升。此外,通过在多个数据集上进行跨领域NER实验,我们进一步验证了该方法的鲁棒泛化能力。我们的代码将在不久后发布。

英文摘要:

Few-shot Named Entity Recognition (NER), the task of identifying named entities with only a limited amount of labeled data, has gained increasing significance in natural language processing. While existing methodologies have shown some effectiveness, such as enriching label semantics through various prompting modes or employing metric learning techniques, their performance exhibits limited robustness across diverse domains due to the lack of rich knowledge in their pre-trained models. To address this issue, we propose CLLMFS, a Contrastive Learning enhanced Large Language Model (LLM) Framework for Few-Shot Named Entity Recognition, achieving promising results with limited training data. Considering the impact of LLM's internal representations on downstream tasks, CLLMFS integrates Low-Rank Adaptation (LoRA) and contrastive learning mechanisms specifically tailored for few-shot NER. By enhancing the model's internal representations, CLLMFS effectively improves both entity boundary awareness ability and entity recognition accuracy. Our method has achieved state-of-the-art performance improvements on F1-score ranging from 2.58\% to 97.74\% over existing best-performing methods across several recognized benchmarks. Furthermore, through cross-domain NER experiments conducted on multiple datasets, we have further validated the robust generalization capability of our method. Our code will be released in the near future.

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

↑