越来越多的证据表明,采用企业SQL数据库的知识图谱/语义表示(即Text-to-SPARQL)的大语言模型(LLM)问答(QA)系统,相比直接在SQL数据库上回答问题的系统(即Text-to-SQL),能够实现更高的准确性。我们此前的基准研究表明,通过使用知识图谱,准确率从16%提升到了54%。问题仍然存在:我们如何进一步提高准确率并降低错误率?基于此前研究中观察到的现象——LLM生成的不准确SPARQL查询会沿着错误的路径行进——我们提出一种方法,包括:1)基于本体的查询检查(OBQC):利用知识图谱的本体检测错误,检查LLM生成的SPARQL查询是否符合本体语义;2)LLM修复:将错误解释提供给LLM,用以修复SPARQL查询。使用chat with the data基准,我们的主要发现是:该方法将总体准确率提高到72%,其中额外包含8%的“我不知道”未知结果。因此,总体错误率为20%。这些结果进一步证明,投入构建知识图谱(即本体)能够为LLM驱动的问答系统提供更高的准确性。
英文摘要:
There is increasing evidence that question-answering (QA) systems with Large Language Models (LLMs), which employ a knowledge graph/semantic representation of an enterprise SQL database (i.e. Text-to-SPARQL), achieve higher accuracy compared to systems that answer questions directly on SQL databases (i.e. Text-to-SQL). Our previous benchmark research showed that by using a knowledge graph, the accuracy improved from 16% to 54%. The question remains: how can we further improve the accuracy and reduce the error rate? Building on the observations of our previous research where the inaccurate LLM-generated SPARQL queries followed incorrect paths, we present an approach that consists of 1) Ontology-based Query Check (OBQC): detects errors by leveraging the ontology of the knowledge graph to check if the LLM-generated SPARQL query matches the semantic of ontology and 2) LLM Repair: use the error explanations with an LLM to repair the SPARQL query. Using the chat with the data benchmark, our primary finding is that our approach increases the overall accuracy to 72% including an additional 8% of "I don't know" unknown results. Thus, the overall error rate is 20%. These results provide further evidence that investing knowledge graphs, namely the ontology, provides higher accuracy for LLM powered question answering systems.
Answering Counting Queries over DL-Lite Ontologies
University of Bordeaux(波尔多大学);CNRS(法国国家科学研究中心);Bordeaux INP(波尔多国立理工学院);LaBRI(波尔多计算机科学研究实验室);Inria(法国国家信息与自动化研究所);DI ENS(巴黎高等师范学院计算机系);ENS(巴黎高等师范学院);University PSL(巴黎文理研究大学)
HypEHR: Hyperbolic Modeling of Electronic Health Records for Efficient Question Answering
Department of Computer Science, Stony Brook University(石英布大学计算机科学系);Department of Data Science, New Jersey Institute of Technology(新泽西理工学院数据科学系);Department of Biomedical Informatics, Stony Brook University(石英布大学生物医学信息学系)
Structured prompt interrogation and recursive extraction of semantics (SPIRES): A method for populating knowledge bases using zero-shot learning
Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);Maastricht University(马斯特里赫特大学);Semanticly Ltd(Semanticly有限公司);Robert Bosch LLC(罗伯特·博世有限责任公司);University of Colorado(科罗拉多大学);The Jackson Laboratory for Genomic Medicine(杰克逊基因组医学实验室)
Checking Chase Termination over Ontologies of Existential Rules with Equality
Institute for Theoretical Computer Science(理论计算机科学研究所);Technische Universität Dresden(德累斯顿工业大学);Department of Computer Science(计算机科学系);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)
Tree-like Queries in OWL 2 QL: Succinctness and Complexity Results
Laboratoire de Recherche en Informatique, CNRS & Université Paris-Sud(法国国家科学研究中心与巴黎南大学计算机研究实验室);Institute for Information Transmission Problems & MIPT(信息传输问题研究所与莫斯科物理技术学院);Steklov Mathematical Institute & National Research University Higher School of Economics(斯捷克洛夫数学研究所与高等经济大学)
Ontologies for increasing the FAIRness of plant research data
Forschungszentrum Jülich GmbH(于利希研究中心);Bioeconomy Science Center (BioSC)(生物经济科学中心);CEPLAS(植物科学卓越集群);Bioversity International(生物多样性国际);Heinrich Heine University Düsseldorf(杜塞尔多夫海因里希海涅大学);University of Cologne(科隆大学);Leibniz Institute of Plant Biochemistry(莱布尼茨植物生物化学研究所);German Centre for Integrative Biodiversity Research (iDiv)(德国综合生物多样性研究中心)
A Goal-Directed Implementation of Query Answering for Hybrid MKNF Knowledge Bases
CENTRIA(里斯本新大学科学技术学院信息学系人工智能中心);Faculdade Ciências e Tecnologias Universidade Nova de Lisboa(里斯本新大学科学技术学院)
在知识表示形式化中,本体和规则通常是松散耦合的。事实上,本体使用开放世界推理,而规则的主要语义使用非单调的封闭世界推理。一个例外是最小知识和否定失败(MKNF)的紧密耦合框架,它允许通过从本体论和规则推理的蕴涵来共同推导关于个人的陈述。尽管如此,MKNF的实际用途并不总是很清楚,虽然最近的工作已经正式确定了一个一般的基于解析的方法,用于查询MKNF时,规则采取有根据的语义,本体是由一个通用的甲骨文建模。这项工作留下了开放的算法,应该使用相关的本体论和推理的规则的蕴涵。在本文中,我们提供了这样的算法,并描述了一个查询驱动的系统,CDF规则,混合知识库相结合的(非单调)的规则下,有根据的语义和(单调)本体论,由CDF Type-1(ALQ)理论表示的实施。逻辑程序设计理论与实践(Theory and Practice of Logic Programming,TPLP)
Knowledge-Driven Agentic Scientific Corpus Distillation Framework for Biomedical Large Language Models Training
Computer Network Information Center, Chinese Academy of Sciences, Beijing, China(中国科学院计算机网络信息中心);University of Chinese Academy of Sciences, Beijing, China(中国科学院大学);Duke-NUS Medical School, National University of Singapore, Singapore(新加坡国立大学杜克-新加坡医学部)
A tetrachotomy of ontology-mediated queries with a covering axiom
HSE University(高等经济大学);Institute for Information Transmission Problems(信息传输问题研究所);King’s College London(伦敦国王学院);Steklov Mathematical Institute(斯捷克洛夫数学研究所);Birkbeck, University of London(伦敦大学伯贝克学院)
A Biomedical Knowledge Graph for Biomarker Discovery in Cancer
RWTH Aachen University(亚琛工业大学);Fraunhofer FIT(弗劳恩霍夫应用信息技术研究所);ZBMED - Information Center for Life Sciences(ZB MED——生命科学信息中心);University of Cologne(科隆大学)
LingShu: A Large-Scale Symptom-Centric Contextualized Knowledge Graph Bridging Traditional Chinese Medicine and Modern Biomedicine
Beijing Jiaotong University(北京交通大学);Hubei Provincial Hospital of Traditional Chinese Medicine(湖北省中医院);Hubei University of Chinese Medicine(湖北中医药大学);Hubei Province Academy of Traditional Chinese Medicine(湖北省中医药研究院);China Academy of Chinese Medical Sciences(中国中医科学院);Xiyuan Hospital(西苑医院);National Clinical Research Center for Chinese Medicine Cardiology(国家中医心血管病临床医学研究中心);Hubei Provincial Clinical Research Center for Acupuncture and Moxibustion in Obesity Treatment(湖北省肥胖病针灸临床研究中心);Hubei Shizhen Laboratory(湖北时珍实验室);Tianjin Ta(天津(此处原文未完整,按原文提取))