arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.01385cs.CLcs.DBcs.LG
收藏

Q-NL Verifier:利用合成数据实现鲁棒的知识图谱问答

Q-NL Verifier: Leveraging Synthetic Data for Robust Knowledge Graph Question Answering

Technical University of Munich(慕尼黑工业大学)

Tim Schwabe, Louisa Siebel, Patrik Valach, Maribel Acosta

AI总结:

针对高质量查询-自然语言配对稀缺问题,提出利用大语言模型生成合成配对并训练验证器判定语义等价性,有效提升了知识图谱问答系统的翻译准确率与数据质量,并发布了更新版基准。

摘要:

问答(QA)需要将用户问题与结构化查询准确对齐,这一过程通常受限于高质量的查询-自然语言(Q-NL)配对的稀缺性。为克服此问题,我们提出了 Q-NL Verifier,这是一种生成高质量查询及其自然语言翻译合成配对的方法。该方法依赖大型语言模型(LLMs)生成结构化查询的语义精确的自然语言释义。基于这些合成 Q-NL 配对,我们引入了一个学习型验证器组件,自动判定生成的释义是否与原始查询语义等价。我们在知名的 LC-QuAD 2.0 基准上的实验表明,Q-NL Verifier 能很好地泛化至来自其他模型甚至人工编写的翻译释义。我们的方法在不同查询复杂度下与人类判断高度一致,并在评估语义正确性方面优于现有 NLP 指标。我们还将验证器集成到 QA 流水线中,表明经验证器过滤的合成数据在翻译正确性方面具有显著更高的质量,并提升了自然语言到查询的翻译准确率。最后,我们发布了包含合成 Q-NL 配对和验证器分数的更新版 LC-QuAD 2.0 基准,为鲁棒且可扩展的 QA 提供新资源。

英文摘要:

Question answering (QA) requires accurately aligning user questions with structured queries, a process often limited by the scarcity of high-quality query-natural language (Q-NL) pairs. To overcome this, we present Q-NL Verifier, an approach to generating high-quality synthetic pairs of queries and NL translations. Our approach relies on large language models (LLMs) to generate semantically precise natural language paraphrases of structured queries. Building on these synthetic Q-NL pairs, we introduce a learned verifier component that automatically determines whether a generated paraphrase is semantically equivalent to the original query. Our experiments with the well-known LC-QuAD 2.0 benchmark show that Q-NL Verifier generalizes well to paraphrases from other models and even human-authored translations. Our approach strongly aligns with human judgments across varying query complexities and outperforms existing NLP metrics in assessing semantic correctness. We also integrate the verifier into QA pipelines, showing that verifier-filtered synthetic data has significantly higher quality in terms of translation correctness and enhances NL to Q translation accuracy. Lastly, we release an updated version of the LC-QuAD 2.0 benchmark containing our synthetic Q-NL pairs and verifier scores, offering a new resource for robust and scalable QA.

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

↑