paper-with-me

Papers

Increasing the LLM Accuracy for Question Answering: Ontologies to the Rescue!

2024-05-20 · Dean Allemang, Juan Sequeda

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.

📄 PDF Abstract BibTeX arXiv:2405.11706

Code (0)

등록된 구현이 없습니다.

Tasks

Knowledge GraphsQuestion AnsweringText to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

Ontology 설명 없음

Similar Papers 제목 키워드 기반

Natural Language Generation at Scale: A Case Study for Open Domain Question Answering

2019-03-19 · WS 2019 10 · Alessandra Cervone, Chandra Khatri, Rahul Goel, Behnam Hedayatnia 외

Current approaches to Natural Language Generation (NLG) for dialog mainly focus on domain-specific, task-oriented applications (e.g. restaurant booking) using limited ontologies (up to 20 slot types), usually without con…

DecoderKnowledge GraphsMulti-Task LearningOpen-Domain Question Answering+3

Ontologies for increasing the FAIRness of plant research data

2023-08-25 · Kathryn Dumschott, Hannah Dörpholz, Marie-Angélique Laporte, Dominik Brilhaus 외

The importance of improving the FAIRness (findability, accessibility, interoperability, reusability) of research data is undeniable, especially in the face of large, complex datasets currently being produced by omics tec…

Fairness

Spider4SPARQL: A Complex Benchmark for Evaluating Knowledge Graph Question Answering Systems

2023-09-28 · Catherine Kosten, Philippe Cudré-Mauroux, Kurt Stockinger

With the recent spike in the number and availability of Large Language Models (LLMs), it has become increasingly important to provide large and realistic benchmarks for evaluating Knowledge Graph Question Answering (KGQA…

Graph Question AnsweringKnowledge GraphsQuestion AnsweringQuestion Generation+1

WS4A: a Biomedical Question and Answering System based on public Web Services and Ontologies

2016-09-27 · Miguel J. Rodrigues, Miguel Falé, Andre Lamurias, Francisco M. Couto

This paper describes our system, dubbed WS4A (Web Services for All), that participated in the fourth edition of the BioASQ challenge (2016). We used WS4A to perform the Question and Answering (QA) task 4b, which consiste…

Retrieval

Zero-shot Generalization in Dialog State Tracking through Generative Question Answering

2021-01-20 · EACL 2021 2 · Shuyang Li, Jin Cao, Mukund Sridhar, Henghui Zhu 외

Dialog State Tracking (DST), an integral part of modern dialog systems, aims to track user preferences and constraints (slots) in task-oriented dialogs. In real-world settings with constantly changing services, DST syste…

dialog state trackingDomain AdaptationGenerative Question AnsweringLanguage Modeling+4