arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.14858cs.CLcs.AI
收藏

ChatEL:基于聊天机器人的实体链接

ChatEL: Entity Linking with Chatbots

University of Notre Dame(圣母大学)

Yifan Ding, Qingkai Zeng, Tim Weninger

AI总结:

本文提出ChatEL三步提示框架,利用大语言模型改进实体链接任务,在10个数据集上平均F1提升超过2%,并通过错误分析揭示真实标签存在错误,表明实际性能可能更高。

摘要:

实体链接(Entity Linking, EL)是自然语言处理中一项重要且具有挑战性的任务,其目标是将文档或句子中表示某个实体的文本与其在词典或知识库中的对应条目进行链接。现有方法大多侧重于构建精细的上下文模型,通过寻找实体文本周围词语的线索来帮助解决链接问题。尽管这些经过微调的语言模型通常有效,但它们可能笨重、难以训练,并且难以迁移到其他领域。幸运的是,像GPT这样的大语言模型(Large Language Models, LLMs)为实体链接模型中固有问题提供了高度先进的解决方案,但简单地对大语言模型进行朴素提示并不能取得良好效果。在本工作中,我们定义了ChatEL,这是一个三步框架,用于提示大语言模型返回准确的结果。总体而言,ChatEL框架在10个数据集上的平均F1性能提升了超过2%。最后,全面的错误分析表明,许多带有真实标签的实例实际上是不正确的,而ChatEL预测的标签实际上是正确的。这表明本文所呈现的定量结果可能是对实际性能的保守估计。所有数据和代码均以开源包形式发布在GitHub上:https://github.com/yifding/In_Context_EL。

英文摘要:

Entity Linking (EL) is an essential and challenging task in natural language processing that seeks to link some text representing an entity within a document or sentence with its corresponding entry in a dictionary or knowledge base. Most existing approaches focus on creating elaborate contextual models that look for clues the words surrounding the entity-text to help solve the linking problem. Although these fine-tuned language models tend to work, they can be unwieldy, difficult to train, and do not transfer well to other domains. Fortunately, Large Language Models (LLMs) like GPT provide a highly-advanced solution to the problems inherent in EL models, but simply naive prompts to LLMs do not work well. In the present work, we define ChatEL, which is a three-step framework to prompt LLMs to return accurate results. Overall the ChatEL framework improves the average F1 performance across 10 datasets by more than 2%. Finally, a thorough error analysis shows many instances with the ground truth labels were actually incorrect, and the labels predicted by ChatEL were actually correct. This indicates that the quantitative results presented in this paper may be a conservative estimate of the actual performance. All data and code are available as an open-source package on GitHub at https://github.com/yifding/In_Context_EL.

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

↑