arXiv:2506.09414cs.CLcs.IR2025-06被引 1

用提示引导生成多策略数据增强,提升知识图谱问答模型性能

PGDA-KGQA: A Prompt-Guided Generative Framework with Multiple Data Augmentation Strategies for Knowledge Graph Question Answering

  • 设计统一提示框架,用大模型生成高质量问答对
  • 通过三类增强策略,提升单跳与多跳问题的数据多样性
  • 适合需要提升复杂问答能力的研究者与开发者

知识图谱问答(KGQA)是自然语言处理中的关键任务,需在知识图谱上进行推理以回答自然语言问题。近期基于大语言模型(LLMs)的方法虽具备出色的语义解析能力,但受限于多样化标注数据和多跳推理样本的稀缺。传统数据增强主要针对单跳问题,易引发语义失真;而基于LLM的方法虽缓解语义失真,却常忽略多跳推理,导致数据多样性不足,削弱模型泛化能力。为此,我们提出PGDA-KGQA,一种提示引导的生成式框架,融合多策略数据增强。核心在于统一提示设计:通过精心构造的提示整合文本内容,利用LLMs生成大规模(问题, 逻辑形式)对用于训练。具体包括:(1) 生成单跳伪问题,强化问题语义与知识图谱关系的对齐;(2) 采用语义保持的问题重写,提升对语言变化的鲁棒性;(3) 基于答案引导的逆向路径探索,生成真实的多跳问题。通过增广-生成-检索的语义解析流程,利用增强数据提升逻辑形式生成准确率,进而改善答案检索性能。实验表明,该方法在标准KGQA数据集上优于现有最优方法,在WebQSP上F1、Hits@1、Accuracy分别提升2.8%、1.2%、3.1%,在ComplexWebQuestions上分别提升1.8%、1.1%、2.4%。

原文摘要 · Abstract (English)

Knowledge Graph Question Answering (KGQA) is a crucial task in natural language processing that requires reasoning over knowledge graphs (KGs) to answer natural language questions. Recent methods utilizing large language models (LLMs) have shown remarkable semantic parsing capabilities but are limited by the scarcity of diverse annotated data and multi-hop reasoning samples. Traditional data augmentation approaches are focus mainly on single-hop questions and prone to semantic distortion, while LLM-based methods primarily address semantic distortion but usually neglect multi-hop reasoning, thus limiting data diversity. The scarcity of multi-hop samples further weakens models' generalization. To address these issues, we propose PGDA-KGQA, a prompt-guided generative framework with multiple data augmentation strategies for KGQA. At its core, PGDA-KGQA employs a unified prompt-design paradigm: by crafting meticulously engineered prompts that integrate the provided textual content, it leverages LLMs to generate large-scale (question, logical form) pairs for model training. Specifically, PGDA-KGQA enriches its training set by: (1) generating single-hop pseudo questions to improve the alignment of question semantics with KG relations; (2) applying semantic-preserving question rewriting to improve robustness against linguistic variations; (3) employing answer-guided reverse path exploration to create realistic multi-hop questions. By adopting an augment-generate-retrieve semantic parsing pipeline, PGDA-KGQA utilizes the augmented data to enhance the accuracy of logical form generation and thus improve answer retrieval performance. Experiments demonstrate that outperforms state-of-the-art methods on standard KGQA datasets, achieving improvements on WebQSP by 2.8%, 1.2%, and 3.1% and on ComplexWebQuestions by 1.8%, 1.1%, and 2.4% in F1, Hits@1, and Accuracy, respectively.

知识图谱问答系统大模型数据增强

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。