arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.05735cs.DBcs.AI
收藏

一种面向基于大语言模型的异构数据问答的系统与基准

A System and Benchmark for LLM-based Q&A on Heterogeneous Data

IBM Research(IBM研究院)

Achille Fokoue, Srideepika Jayaraman, Elham Khabiri, Jeffrey O. Kephart, Yingjie Li, Dhruv Shah, Youssef Drissi, Fenno F. Heath, Anu Bhamidipaty, Fateh A. Tipu, Robert J. Baseman

AI总结:

针对工业场景中数据源异构导致的自然语言问答难题,该研究推出siwarex平台实现数据库与API的无缝自然语言访问,并改造Spider基准验证了其应对异构数据的有效性。

摘要:

在许多工业场景中,用户希望提出的问题其答案可在结构化数据源(如电子表格、数据库、API或它们的组合)中找到。通常,用户不知道如何识别或访问正确的数据源。如果需要整合多个(且可能是孤立的)数据源来推导答案,这个问题会变得更加复杂。近年来,各类利用大语言模型(LLM)的Text-to-SQL应用通过支持用户用自然语言提问,解决了部分此类问题。然而,这些应用在真实工业场景中仍不实用,因为它们无法应对这类环境中典型的数据源异构性。本文中,我们通过推出siwarex平台来解决异构性问题,该平台可实现对数据库和API的无缝自然语言访问。为了验证siwarex的有效性,我们对流行的Spider数据集与基准进行了扩展,将其中部分表格替换为数据检索API。我们发现siwarex在应对数据源异构性方面表现良好。我们修改后的Spider基准将很快向研究社区开放。

英文摘要:

In many industrial settings, users wish to ask questions whose answers may be found in structured data sources such as a spreadsheets, databases, APIs, or combinations thereof. Often, the user doesn't know how to identify or access the right data source. This problem is compounded even further if multiple (and potentially siloed) data sources must be assembled to derive the answer. Recently, various Text-to-SQL applications that leverage Large Language Models (LLMs) have addressed some of these problems by enabling users to ask questions in natural language. However, these applications remain impractical in realistic industrial settings because they fail to cope with the data source heterogeneity that typifies such environments. In this paper, we address heterogeneity by introducing the siwarex platform, which enables seamless natural language access to both databases and APIs. To demonstrate the effectiveness of siwarex, we extend the popular Spider dataset and benchmark by replacing some of its tables by data retrieval APIs. We find that siwarex does a good job of coping with data source heterogeneity. Our modified Spider benchmark will soon be available to the research community

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

↑