In long-text knowledge extraction, long-span semantic dependencies and dispersed entity references often cause conventional sliding-window segmentation to break cross-paragraph semantic links, thereby affecting the completeness and consistency of extraction results. To address this problem, this paper proposes GlocalKE (Global-Local Collaborative Know-ledge Extraction), a logic-constrained global-local collaborative method for long-text knowledge extraction. The method first uses coreference resolution over the full text to integrate dispersed entity expressions and form a global semantic index that can be transferred across windows. It then introduces fuzzy evidence matching to verify the consistency between generated results and supporting spans in the original text, reducing the risk of hallucination in generative models. Finally, entity alignment and bidirectional soft logic reasoning are combined to check and revise candidate triples under ontology constraints. Experiments on the DuIE-Doc and CS-Cn-50 datasets show that the F1 values of the proposed method reach 65.92% and 42.55%, respectively, and outperform those of the compared baseline methods, improving the accuracy and logical consistency of long-text knowledge extraction.
大语言模型(Large Language Models,LLMs)的发展,使知识抽取逐渐从传统判别式标注范式转向生成式建模框架[7].这类方法在语义理解和知识表征方面表现出更强的能力[8],在降低标注依赖、支持零样本迁移等方面具有一定优势.但在处理长程依赖捕捉及跨段落信息融合时存在明显结构性短板[9],若关键语义碎片散落于文档的不同区间,模型难以建立跨段关联,导致信息整合不充分.
LiuZ H, XiongC Y, SunM S,et al .Entity-duet neural ranking:Understanding the role of knowledge graph semantics in neural information retrieval[C/OL]//ACL,2018:2395-2405.https://aclanthology.org/P18-1223/.
[2]
SaxenaA, TripathiA, TalukdarP .Improving multi-hop question answering over knowledge graphs using knowledge base embeddings[C/OL]//ACL,2020:4498-4507.https://aclanthology.org/2020.acl-main.412/.
[3]
WangX, HeX N, CaoY X,et al .KGAT:Knowledge graph attention network for recommendation[C/OL]//KDD,2019:950-958.
[4]
ZengD J, LiuK, ChenY B,et al .Distant supervision for relation extraction via piecewise convolutional neural networks[C/OL]//ACL,2015:1753-1762.https://aclanthology.org/D15-1203/.
NanG S, GuoZ J, SekulićI,et al .Reasoning with latent structure refinement for document-level relation extraction[C/OL]//ACL,2020:1546-1557.https://aclanthology.org/2020.acl-main.141/.
[7]
LuY J, LiuQ, DaiD,et al .Unified structure generation for universal information extraction[C/OL]//ACL,2022:5755-5772.https://aclanthology.org/2022.acl-long.395/.
[8]
BrownT, MannB, RyderN,et al .Language models are few-shot learners[C/OL]//NeurIPS,2020:1877-1901.https://proceedings.neurips.cc/paper_files/paper/2020/hash/1457c0d6bfcb4967418bfb8ac142f64a-Abstract.html?utm_source=transaction&utm_medium=email&utm_campaign=linkedin_newsletter.
[9]
LiuN F, LinK, HewittJ,et al .Lost in the middle:How language models use long contexts[J].Transactions of the Association for Computational Linguistics,2024,12:157-173.
[10]
ZhuC, PingW, XiaoC W,et al .Long-short Transformer:Efficient Transformers for language and vision[C/OL]//NeurIPS,2021:13681-13693.https://proceedings.neurips.cc/paper/2021/hash/9425be43ba92c2b4454ca7bf602efad8-Abstract.html.
[11]
JiZ W, LeeN, FrieskeR,et al .Survey of hallucination in natural language generation[J].ACM Computing Surveys,2023,55(12):248.
[12]
LiJ Y, ChengX X, ZhaoX,et al .HaluEval:A large-scale hallucination evaluation benchmark for large language models[C/OL]//EMNLP,2023:6449-6464.https://aclanthology.org/2023.emnlp-main.397/.
[13]
PanS R, LuoL H, WangY F,et al .Unifying large language models and knowledge graphs:A roadmap[J].IEEE Transactions on Knowledge and Data Engineering,2024,36(7):3580-3599.
[14]
ZelenkoD, AoneC, RichardellaA .Kernel methods for relation extraction[J].Journal of Machine Learning Research,2003,3(6):1083-1106.
[15]
LiQ, JiH .Incremental joint extraction of entity mentions and relations[C/OL]//ACL,2014:402-412.https://aclanthology.org/P14-1038/.
[16]
WeiZ P, SuJ L, WangY,et al .A novel cascade binary tagging framework for relational triple extraction[C/OL]//ACL,2020:1476-1488.https://aclanthology.org/2020.acl-main.136/.
[17]
WangY C, YuB W, ZhangY Y,et al .TPLinker:Single-stage joint extraction of entities and relations through token pair lin- king[C/OL]//ACL,2020:1572-1582.https://aclanthology.org/2020.coling-main.138/.
[18]
ZengS, XuR X, ChangB B,et al .Double graph based reasoning for document-level relation extraction[C/OL]//EMNLP,2020:1630-1640.https://aclanthology.org/2020.emnlp-main.127/.
ZhouW X, HuangK, MaT,et al .Document-level relation extraction with adaptive thresholding and localized context poo- ling[C/OL]//AAAI,2021:14612-14620.
[21]
XuB F, WangQ, LyuY J,et al .Entity structure within and throughout:Modeling mention dependencies for document-level relation extraction[C/OL]//AAAI,2021:14149-14157.
[22]
WangX, ZhouW K, ZuC,et al .InstructUIE:Multi-task instruction tuning for unified information extraction[PP/OL].V1.arXiv(2023-04-17)[2026-01-07].
[23]
ShenY L, TanZ Q, WuS H,et al .PromptNER:Prompt locating and typing for named entity recognition[C/OL]//ACL,2023:12492-12507.https://aclanthology.org/2023.acl-long.698/.
[24]
WeiJ, WangX Z, SchuurmansD,et al .Chain-of-thought prompting elicits reasoning in large language models[C/OL]//NeurIPS,2022:24824-24837.https://proceedings.neurips.cc/paper/2022/hash/9d5609613524ecf4f15af0f7b31abca4-Abstract-Conference.html.
[25]
BiZ, ChenJ, JiangY N,et al .CodeKGC:Code language model for generative knowledge graph construction[J].ACM Transactions on Asian and Low-Resource Language Information Processing,2024,23(3):45.
[26]
WeiX, CuiX Y, ChengN,et al .ChatIE:Zero-shot information extraction via chatting with chatGPT[PP/OL].V2.arXiv(2024-05-27)[2026-01-07].
[27]
SainzO, García-FerreroI, AgerriR,et al .GoLLIE:Annotation guidelines improve zero-shot information-extraction[C/OL]//ICLR,2024:16853-16870.https://proceedings.iclr.cc/paper_files/paper/2024/hash/cda04d7ea67ea1376bf8c6962d8541e0-Abstract-Conference.html.
[28]
LewisP, PerezE, PiktusA,et al .Retrieval-augmented generation for knowledge-intensive NLP tasks[C/OL]//NeurIPS,2020:9459-9474.https://proceedings.neurips.cc/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html.
[29]
ChevalierA, WettigA, AjithA,et al .Adapting language models to compress contexts[C/OL]//EMNLP,2023:3829-3846.https://aclanthology.org/2023.emnlp-main.232/.
[30]
PanL M, WuX B, LuX Y,et al .Fact-checking complex claims with program-guided reasoning[C/OL]//ACL,2023:6981-7004.https://aclanthology.org/2023.acl-long.386/.
[31]
GengS B, JosifoskiM, PeyrardM,et al .Grammar-constrained decoding for structured NLP tasks without finetuning[C/OL]//EMNLP,2023:10932-10952.https://aclanthology.org/2023.emnlp-main.674/.
[32]
LiS J, HeW, ShiY B,et al .DuIE:A large-scale Chinese dataset for information extraction[C/OL]//NLPCC,2019:791-800.