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

使用大语言模型生成大型知识图谱的模式

Schema Generation for Large Knowledge Graphs Using Large Language Models

King’s College London(伦敦国王学院);University of Oxford(牛津大学);Wikimedia Deutschland(维基媒体德国);Technical University of Munich(慕尼黑技术大学)

Bohui Zhang, Yuan He, Lydia Pintscher, Albert Meroño Peñuela, Elena Simperl

AI总结:

本研究针对传统知识图谱模式构建依赖大量人工的问题,提出用大语言模型结合知识图谱局部与全局信息生成ShEx模式,构建两个新数据集与评估指标,验证了LLM的生成潜力,也为结构化生成带来新挑战。

摘要:

模式在保障语义网与自然语言处理的数据质量、提升可用性方面发挥着关键作用。传统模式构建需要知识工程师与领域专家大量参与。我们借助大语言模型(LLM)在本体工程等任务中的出色能力,探索用LLM生成模式。为填补资源缺口,我们提出YAGO Schema和Wikidata EntitySchema两个数据集,以及全新的评估指标。基于LLM的流水线利用知识图谱(KGs)的局部与全局信息,生成Shape Expressions(ShEx)格式的模式。实验表明,LLM在生成高质量ShEx模式上潜力突出,为大型KGs的可扩展自动化模式生成铺平了道路。此外,我们的基准测试提出了结构化生成的新挑战,拓展了LLM在语法丰富形式化体系上的能力边界。

英文摘要:

Schemas play a vital role in ensuring data quality and supporting usability in the Semantic Web and natural language processing. Traditionally, their creation demands substantial involvement from knowledge engineers and domain experts. Leveraging the impressive capabilities of large language models (LLMs) in tasks like ontology engineering, we explore schema generation using LLMs. To bridge the resource gap, we introduce two datasets: YAGO Schema and Wikidata EntitySchema, along with novel evaluation metrics. The LLM-based pipelines utilize local and global information from knowledge graphs (KGs) to generate schemas in Shape Expressions (ShEx). Experiments demonstrate LLMs' strong potential in producing high-quality ShEx schemas, paving the way for scalable, automated schema generation for large KGs. Furthermore, our benchmark introduces a new challenge for structured generation, pushing the limits of LLMs on syntactically rich formalisms.

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

↑