arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.06738cs.CL
收藏

EntGPT:基于生成式大语言模型的实体链接

EntGPT: Entity Linking with Generative Large Language Models

University of Notre Dame(圣母大学);Deloitte & Touche LLP(德勤会计师事务所)

Yifan Ding, Amrit Poudel, Qingkai Zeng, Tim Weninger, Balaji Veeramani, Sanmitra Bhattacharya

AI总结:

本文提出EntGPT,利用生成式大语言模型通过三步硬提示和指令调优提升实体链接性能,在多个数据集上显著提高micro-F_1分数,并兼容开源与专有模型。

摘要:

自然语言处理中的实体链接旨在将文本中的实体与字典或知识库中的对应条目进行匹配。传统方法依赖于上下文模型,这些模型可能复杂、难以训练,并且在不同领域间的可迁移性有限。像GPT这样的生成式大语言模型提供了一种有前景的替代方案,但在使用朴素提示时往往表现不佳。在本研究中,我们引入了EntGPT,采用先进的提示工程技术来增强实体链接任务。我们的三步硬提示方法(EntGPT-P)相比朴素提示,将micro-F_1分数显著提升了高达36%,在10个数据集上无需监督微调即达到了具有竞争力的性能。此外,我们的指令调优方法(EntGPT-I)在监督实体链接任务中平均将micro-F_1分数提高了2.1%,并在六个问答任务中超越了多个基线模型。我们的方法兼容开源和专有的大语言模型。所有数据和代码可在GitHub上获取:https://github.com/yifding/In_Context_EL。

英文摘要:

Entity Linking in natural language processing seeks to match text entities to their corresponding entries in a dictionary or knowledge base. Traditional approaches rely on contextual models, which can be complex, hard to train, and have limited transferability across different domains. Generative large language models like GPT offer a promising alternative but often underperform with naive prompts. In this study, we introduce EntGPT, employing advanced prompt engineering to enhance EL tasks. Our three-step hard-prompting method (EntGPT-P) significantly boosts the micro-F_1 score by up to 36% over vanilla prompts, achieving competitive performance across 10 datasets without supervised fine-tuning. Additionally, our instruction tuning method (EntGPT-I) improves micro-F_1 scores by 2.1% on average in supervised EL tasks and outperforms several baseline models in six Question Answering tasks. Our methods are compatible with both open-source and proprietary LLMs. All data and code are available on GitHub at https://github.com/yifding/In_Context_EL.

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

↑