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

没有翅膀的鸟:带有模式引导语义匹配和自导向细化的负约束知识图谱问答

Which bird does not have wings: Negative-constrained KGQA with Schema-guided Semantic Matching and Self-directed Refinement

Department of Computer Science, Yonsei University(延世大学计算机科学系)

Midan Shim, Seokju Hwang, Kaehyun Um, Kyong-Ho Lee

AI总结:

本文提出负约束知识图谱问答任务NEST-KGQA,设计PyLF逻辑形式和CUCKOO框架,通过模式引导语义匹配和自导向细化提升负约束问题的解答能力。

摘要:

尽管大型语言模型在推理能力上表现突出,但其在忠实性和幻觉方面仍存在挑战。在知识图谱问答(KGQA)中,基于语义解析的方法通过理解用户问题中的约束并将其转换为逻辑形式来解决限制。然而,现有的KGQA基准和方法偏向于正向和计算约束。负约束常出现在现实问题中,但被忽视。本文引入了一个新的任务NEgative-conSTrained(NEST)KGQA,其中每个问题至少包含一个负约束,并提出NestKGQA数据集。我们还设计了PyLF,一种Python格式的逻辑形式,因为现有的逻辑形式难以清晰地表达否定同时保持可读性。此外,NEST问题自然包含多个约束。为了减轻其语义复杂性,我们提出了一个名为CUCKOO的新型框架,专门针对多约束问题,确保语义可执行性。CUCKOO首先生成一个约束感知的逻辑形式草案,并执行模式引导的语义匹配。然后,当执行不当的逻辑形式导致空结果时,它会选择性地应用自导向细化,从而降低成本并提高鲁棒性。实验结果表明,CUCKOO在少量样本设置下在传统KGQA和NEST-KGQA基准上均优于基线方法。

英文摘要:

Large language models still struggle with faithfulness and hallucinations despite their remarkable reasoning abilities. In Knowledge Graph Question Answering (KGQA), semantic parsing-based approaches address the limitations by understanding constraints in a user's question and converting them into a logical form to execute on a knowledge graph. However, existing KGQA benchmarks and methods are biased toward positive and calculation constraints. Negative constraints are neglected, although they frequently appear in real-world questions. In this paper, we introduce a new task, NEgative-conSTrained (NEST) KGQA, where each question contains at least one negative constraint, and a corresponding dataset, NestKGQA. We also design PyLF, a Python-formatted logical form, since existing logical forms are hardly suitable to express negation clearly while maintaining readability. Furthermore, NEST questions naturally contain multiple constraints. To mitigate their semantic complexity, we present a novel framework named CUCKOO, specialized to multiple-constrained questions and ensuring semantic executability. CUCKOO first generates a constraint-aware logical form draft and performs schema-guided semantic matching. It then selectively applies self-directed refinement only when executing improper logical forms yields an empty result, reducing cost while improving robustness. Experimental results demonstrate that CUCKOO consistently outperforms baselines on both conventional KGQA and NEST-KGQA benchmarks under few-shot settings.

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

↑