跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 人工智能

arXiv:2405.11706 (cs)
[提交于 2024年5月20日]

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

作者:Dean Allemang, Juan Sequeda
查看论文《Increasing the LLM Accuracy for Question Answering: Ontologies to the Rescue!》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要: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.
评论: 16 pages
主题: 人工智能 (cs.AI); 数据库 (cs.DB); 信息检索 (cs.IR); 计算机科学中的逻辑 (cs.LO)
引用方式: arXiv:2405.11706 [cs.AI]
  (或者 arXiv:2405.11706v1 [cs.AI] 对于此版本)
  https://doi.org/10.48550/arXiv.2405.11706

提交历史

来自:Juan Sequeda
[v1] 2024年5月20日 星期一 00:28:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.AI
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-05
切换浏览方式为:
cs
cs.DB
cs.IR
cs.LO

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站