From local to global: Leveraging document graph for named entity recognition

IF 7.6 1区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE Knowledge-Based Systems Pub Date : 2025-03-15 Epub Date: 2025-02-11 DOI:10.1016/j.knosys.2025.113017
Yu-Ming Shang , Hongli Mao , Tian Tian , Heyan Huang , Xian-Ling Mao
{"title":"From local to global: Leveraging document graph for named entity recognition","authors":"Yu-Ming Shang ,&nbsp;Hongli Mao ,&nbsp;Tian Tian ,&nbsp;Heyan Huang ,&nbsp;Xian-Ling Mao","doi":"10.1016/j.knosys.2025.113017","DOIUrl":null,"url":null,"abstract":"<div><div>Named Entity Recognition (NER) is a fundamental task in Natural Language Processing (NLP) that aims to identify the span and category of entities within text. Recent advancements have demonstrated significant improvements in NER performance by incorporating document-level context. However, due to input length limitations, these models only consider the context of nearby sentences, failing to capture global long-range dependencies within the entire document. To address this issue, we propose a novel span-based two-stage method that formulates the document as a span graph, enabling the capture of global long-range dependencies at both token and span levels. Specifically, (1) we first train a binary classifier without considering entity types to extract candidate spans from each sentence. (2) Then, we leverage the robust contextual understanding and structural reasoning capabilities of Large Language Models (LLMs) like GPT to incrementally integrate these spans into the document-level span graph. By utilizing this span graph as a guide, we retrieve relevant contextual sentences for each target sentence and jointly encode them using BERT to capture token-level dependencies. Furthermore, by employing a Graph Transformer with well-designed position encoding to incorporate graph structure, our model effectively exploits span-level dependencies throughout the document. Extensive experiments on resource-rich nested and flat NER datasets, as well as low-resource distantly supervised NER datasets, demonstrate that our proposed model outperforms previous state-of-the-art models, showcasing its effectiveness in capturing long-range dependencies and enhancing NER accuracy.</div></div>","PeriodicalId":49939,"journal":{"name":"Knowledge-Based Systems","volume":"312 ","pages":"Article 113017"},"PeriodicalIF":7.6000,"publicationDate":"2025-03-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Knowledge-Based Systems","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950705125000656","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/2/11 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Named Entity Recognition (NER) is a fundamental task in Natural Language Processing (NLP) that aims to identify the span and category of entities within text. Recent advancements have demonstrated significant improvements in NER performance by incorporating document-level context. However, due to input length limitations, these models only consider the context of nearby sentences, failing to capture global long-range dependencies within the entire document. To address this issue, we propose a novel span-based two-stage method that formulates the document as a span graph, enabling the capture of global long-range dependencies at both token and span levels. Specifically, (1) we first train a binary classifier without considering entity types to extract candidate spans from each sentence. (2) Then, we leverage the robust contextual understanding and structural reasoning capabilities of Large Language Models (LLMs) like GPT to incrementally integrate these spans into the document-level span graph. By utilizing this span graph as a guide, we retrieve relevant contextual sentences for each target sentence and jointly encode them using BERT to capture token-level dependencies. Furthermore, by employing a Graph Transformer with well-designed position encoding to incorporate graph structure, our model effectively exploits span-level dependencies throughout the document. Extensive experiments on resource-rich nested and flat NER datasets, as well as low-resource distantly supervised NER datasets, demonstrate that our proposed model outperforms previous state-of-the-art models, showcasing its effectiveness in capturing long-range dependencies and enhancing NER accuracy.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
从本地到全局:利用文档图进行命名实体识别
命名实体识别(NER)是自然语言处理(NLP)中的一项基本任务,旨在识别文本中实体的跨度和类别。最近的进展表明,通过合并文档级上下文,NER性能得到了显著改善。然而,由于输入长度的限制,这些模型只考虑附近句子的上下文,无法捕获整个文档中的全局远程依赖关系。为了解决这个问题,我们提出了一种新的基于跨度的两阶段方法,该方法将文档表述为跨度图,从而能够在令牌和跨度级别捕获全局远程依赖关系。具体来说,(1)我们首先训练一个不考虑实体类型的二元分类器,从每个句子中提取候选跨度。(2)然后,我们利用像GPT这样的大型语言模型(llm)的健壮的上下文理解和结构推理能力,将这些跨度增量地集成到文档级的跨度图中。通过利用这个跨度图作为指导,我们为每个目标句子检索相关的上下文句子,并使用BERT对它们进行联合编码以捕获标记级依赖关系。此外,通过使用具有良好设计的位置编码的图形转换器来合并图形结构,我们的模型有效地利用了整个文档的跨层依赖关系。在资源丰富的嵌套和扁平NER数据集以及低资源远程监督NER数据集上进行的大量实验表明,我们提出的模型优于以前最先进的模型,展示了其在捕获远程依赖关系和提高NER精度方面的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Knowledge-Based Systems
Knowledge-Based Systems 工程技术-计算机:人工智能
CiteScore
14.80
自引率
12.50%
发文量
1245
审稿时长
7.8 months
期刊介绍: Knowledge-Based Systems, an international and interdisciplinary journal in artificial intelligence, publishes original, innovative, and creative research results in the field. It focuses on knowledge-based and other artificial intelligence techniques-based systems. The journal aims to support human prediction and decision-making through data science and computation techniques, provide a balanced coverage of theory and practical study, and encourage the development and implementation of knowledge-based intelligence models, methods, systems, and software tools. Applications in business, government, education, engineering, and healthcare are emphasized.
期刊最新文献
Dynamic fusion-aware graph convolutional neural network for multimodal emotion recognition in conversations A human-in-the-loop active learning framework for scalable wind energy potential suitability assessment TPAE: A non-metaphorical UAV path planning algorithm for dynamic scene Counterfactual Residual Contrastive Learning for mitigating sycophancy in Large Vision Language Models Causal-SAM: Enhancing segment anything for remote sensing instance segmentation via causal representation learning
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1