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

TrustUQA:一种面向统一结构化数据问答的可信框架

TrustUQA: A Trustful Framework for Unified Structured Data Question Answering

Zhejiang University(浙江大学);University of Manchester(曼彻斯特大学);Ant Group(蚂蚁集团);ZJU-Ant Group Joint Lab of Knowledge Graph(浙江大学-蚂蚁集团知识图谱联合实验室);Zhejiang Key Laboratory of Big Data Intelligent Computing(浙江省大数据智能计算重点实验室)

Wen Zhang, Long Jin, Yushan Zhu, Jiaoyan Chen, Zhiwei Huang, Junjie Wang, Yin Hua, Lei Liang, Huajun Chen

AI总结:

针对现有结构化数据问答方法泛化性弱、可信度不足的问题,提出可信统一框架TrustUQA,采用条件图表示与两级查询方法,在多基准上表现优异,还可拓展至混合、跨结构化数据问答场景。

摘要:

针对表格、知识图谱等结构化数据源的自然语言问答(QA)已被广泛研究,近年来尤其结合大语言模型(LLM)开展了大量探索。主流解决方案包括将问题解析为形式化查询,以及基于检索的答案生成两类。然而,当前前者的方法通常泛化性较弱,无法处理多类型数据源;后者则在可信度方面存在局限。本文提出TrustUQA,这是一个可信的QA框架,能够以统一方式同时支持多种类型的结构化数据。为此,该框架采用了一种适配LLM的统一知识表示方法——条件图(Condition Graph, CG),并使用基于LLM和示例(demonstration)的两级方法进行CG查询。为进一步提升性能,框架还配备了动态示例检索机制。我们在覆盖3类结构化数据的5个基准上对TrustUQA进行了评估,其性能优于2种现有的统一结构化数据QA方法;与针对单一数据类型的基线模型相比,该方法在2个数据集上达到了当前最优(state-of-the-art)水平。此外,我们还验证了该方法在更通用的QA任务、混合结构化数据问答以及跨结构化数据问答场景中的潜力。代码可在https://github.com/zjukg/TrustUQA 获取。

英文摘要:

Natural language question answering (QA) over structured data sources such as tables and knowledge graphs have been widely investigated, especially with Large Language Models (LLMs) in recent years. The main solutions include question to formal query parsing and retrieval-based answer generation. However, current methods of the former often suffer from weak generalization, failing to dealing with multi-types of sources, while the later is limited in trustfulness. In this paper, we propose TrustUQA, a trustful QA framework that can simultaneously support multiple types of structured data in a unified way. To this end, it adopts an LLM-friendly and unified knowledge representation method called Condition Graph(CG), and uses an LLM and demonstration-based two-level method for CG querying. For enhancement, it is also equipped with dynamic demonstration retrieval. We have evaluated TrustUQA with 5 benchmarks covering 3 types of structured data. It outperforms 2 existing unified structured data QA methods. In comparison with the baselines that are specific to one data type, it achieves state-of-the-art on 2 of the datasets. Further more, we have demonstrated the potential of our method for more general QA tasks, QA over mixed structured data and QA across structured data. The code is available at https://github.com/zjukg/TrustUQA.

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

↑