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

KGQuest:基于大语言模型优化的知识图谱模板驱动问答生成方法

KGQuest: Template-Driven QA Generation from Knowledge Graphs with LLM-Based Refinement

Scuola Superiore Sant’Anna, Pisa, Italy(圣安娜高等学院);Sapienza University of Rome, Rome, Italy(罗马萨皮恩扎大学);Institute of Informatics and Telematics, National Research Council of Italy (CNR)(意大利信息与电信研究所,国家研究理事会(CNR))

Sania Nayab, Marco Simoni, Giulio Rossolini, Andrea Saracino

AI总结:

针对现有知识图谱问答生成方法可扩展性、语言质量与事实一致性不足的问题,本文提出KGQuest流水线,结合模板构建、LLM优化与干扰项选择策略,高效生成高质量问答对。

摘要:

从知识图谱(KG)生成问答(QA)对在教育平台、知识传播工具以及大语言模型(LLM)的开发与测试中发挥着关键作用。但现有方法普遍存在可扩展性不足、语言质量欠佳、事实一致性难以保障的问题。本文提出一种可扩展的确定性流水线,用于从知识图谱生成自然语言问答对,并额外设置基于大语言模型的优化步骤进一步提升语言质量。该方法首先依据关系对知识图谱三元组进行聚类,通过从客体实体类型与关系中推导的自然语言规则创建可复用模板;随后调用模块利用大语言模型优化这些模板,在保留事实准确性的同时提升表述清晰度与连贯性;最后通过从知识图谱中引入干扰项的选择策略完成答案选项的实例化。实验表明,这种混合方法可高效生成高质量问答对,兼具可扩展性、流畅度与语言精准度。

英文摘要:

The generation of questions and answers (QA) from knowledge graphs (KG) plays a crucial role in the development and testing of educational platforms, dissemination tools, and large language models (LLM). However, existing approaches often struggle with scalability, linguistic quality, and factual consistency. This paper presents a scalable and deterministic pipeline for generating natural language QA from KGs, with an additional refinement step using LLMs to further enhance linguistic quality. The approach first clusters KG triplets based on their relations, creating reusable templates through natural language rules derived from the entity types of objects and relations. A module then leverages LLMs to refine these templates, improving clarity and coherence while preserving factual accuracy. Finally, the instantiation of answer options is achieved through a selection strategy that introduces distractors from the KG. Our experiments demonstrate that this hybrid approach efficiently generates high-quality QA pairs, combining scalability with fluency and linguistic precision.

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

↑