SPINACH:面向具有挑战性的真实世界问题的基于SPARQL的信息导航
SPINACH: SPARQL-Based Information Navigation for Challenging Real-World Questions
AI总结:
本文提出SPINACH数据集和同名KBQA智能体,通过模仿专家编写SPARQL的上下文学习方式动态探索知识库模式,在多个基准上取得显著提升。
摘要:
大型语言模型(LLMs)在知识库问答(KBQA)任务中带来了显著改进。然而,KBQA研究中使用的数据集并未捕捉到KBQA任务的真实复杂性。它们要么问题简单,要么使用合成生成的逻辑形式,要么基于小规模知识库(KB)模式。我们引入了SPINACH数据集,这是一个专家标注的KBQA数据集,收集自维基数据“请求查询”论坛上的讨论,包含320个去语境化的问题-SPARQL对。这些真实场景查询的复杂性要求一个能够动态探索大型且往往不完整的模式并对其进行推理的KBQA系统,因为创建全面的训练数据集是不可行的。我们还引入了一个基于上下文学习的KBQA智能体,同样名为SPINACH,它模仿人类专家编写SPARQL来处理具有挑战性问题的方式。SPINACH在QALD-7、QALD-9 Plus和QALD-10数据集上分别以31.0%、27.0%和10.0%的F1分数提升达到了新的最优水平,并在WikiWebQuestions上距离微调的LLaMA SOTA模型仅差1.6%。在我们新的SPINACH数据集上,SPINACH智能体以至少38.1%的F1分数优势超越了所有基线,包括最佳的基于GPT-4的KBQA智能体。
英文摘要:
Large Language Models (LLMs) have led to significant improvements in the Knowledge Base Question Answering (KBQA) task. However, datasets used in KBQA studies do not capture the true complexity of KBQA tasks. They either have simple questions, use synthetically generated logical forms, or are based on small knowledge base (KB) schemas. We introduce the SPINACH dataset, an expert-annotated KBQA dataset collected from discussions on Wikidata's "Request a Query" forum with 320 decontextualized question-SPARQL pairs. The complexity of these in-the-wild queries calls for a KBQA system that can dynamically explore large and often incomplete schemas and reason about them, as it is infeasible to create a comprehensive training dataset. We also introduce an in-context learning KBQA agent, also called SPINACH, that mimics how a human expert would write SPARQLs to handle challenging questions. SPINACH achieves a new state of the art on the QALD-7, QALD-9 Plus and QALD-10 datasets by 31.0%, 27.0%, and 10.0% in $F_1$, respectively, and coming within 1.6% of the fine-tuned LLaMA SOTA model on WikiWebQuestions. On our new SPINACH dataset, the SPINACH agent outperforms all baselines, including the best GPT-4-based KBQA agent, by at least 38.1% in $F_1$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。