arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.16597cs.CLcs.IR
收藏

通过合成数据生成与蒸馏扩展知识图谱构建

Scaling Knowledge Graph Construction through Synthetic Data Generation and Distillation

Salesforce Research(Salesforce研究)

Prafulla Kumar Choubey, Xin Su, Man Luo, Xiangyu Peng, Caiming Xiong, Tiep Le, Shachar Rosenman, Vasudev Lal, Phil Mui, Ricky Ho, Phillip Howard, Chien-Sheng Wu

AI总结:

本文提出SynthKG和Distill-SynthKG方法,通过合成数据生成和蒸馏技术提升文档级知识图谱构建效率,并设计图检索框架提升检索与问答性能。

摘要:

文档级知识图谱(KG)构建面临一个根本性的扩展挑战:现有方法要么依赖昂贵的大语言模型(LLMs),使其在大规模语料库中经济上不可行,要么使用较小的模型,但会产生不完整且不一致的图谱。我们发现,这一限制并非源于模型能力,而是由于对高质量文档级KG数据的训练不足。为了解决这一差距,我们引入了SynthKG,一个多步骤的数据合成管道,通过系统性的分块、去语境化和结构化提取使用LLMs生成高质量的文档-KG对。通过在合成的文档-KG对上微调较小的LLM,我们将多步骤过程简化为一种称为Distill-SynthKG的单步骤KG生成方法。此外,我们重新利用现有的问答数据集来构建KG评估数据集,并引入新的评估指标。使用Distill-SynthKG生成的KG,我们还设计了一种基于图的检索框架用于RAG。实验结果表明,Distill-SynthKG不仅在KG质量上超过了所有基线模型(包括高达八倍大小的模型),而且在检索和问答任务中也保持一致的改进。此外,我们提出的图检索框架在多个基准数据集上均优于所有KG检索方法。

英文摘要:

Document-level knowledge graph (KG) construction faces a fundamental scaling challenge: existing methods either rely on expensive large language models (LLMs), making them economically nonviable for large-scale corpora, or employ smaller models that produce incomplete and inconsistent graphs. We find that this limitation stems not from model capabilities but from insufficient training on high-quality document-level KG data. To address this gap, we introduce SynthKG, a multi-step data synthesis pipeline that generates high-quality document-KG pairs through systematic chunking, decontextualization, and structured extraction using LLMs. By fine-tuning a smaller LLM on synthesized document-KG pairs, we streamline the multi-step process into a single-step KG generation approach called Distill-SynthKG. Furthermore, we repurpose existing question-answering datasets to construct KG evaluation datasets and introduce new evaluation metrics. Using KGs produced by Distill-SynthKG, we also design a novel graph-based retrieval framework for RAG. Experimental results demonstrate that Distill-SynthKG not only surpasses all baseline models in KG quality (including models up to eight times larger) but also consistently improves in retrieval and question-answering tasks. Additionally, our proposed graph retrieval framework outperforms all KG-retrieval methods across multiple benchmark datasets.

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

↑