arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.00454cs.CLcs.AIcs.DB
收藏

TableQuery:使用自然语言查询表格数据

TableQuery: Querying tabular data with natural language

Saama(萨玛);Activeloop(活跃循环);Oregon State University(俄勒冈州立大学)

Abhijith Neil Abraham, Fariz Rahman, Damanpreet Kaur

摘要:

本文介绍了TableQuery,这是一种使用预训练的深度学习模型来查询表格数据的新工具,用于回答自由文本的问题。针对表格数据的问答的现有深度学习方法具有各种局限性,例如必须将整个表格作为输入馈送到神经网络模型中,这使得它们不适合大多数现实世界的应用。由于真实世界的数据可能包含数百万行,因此可能无法完全放入内存中。此外,数据可以存储在实时更新的实时数据库中,并且每次更新时将整个数据库串行化为神经网络友好格式是不切实际的。在TableQuery中,我们使用针对自由文本问答预先训练的深度学习模型,将自然语言查询转换为结构化查询,可以针对数据库或电子表格运行。这种方法消除了将整个数据装入内存以及序列化数据库的需要。此外,针对自由文本问答预训练的深度学习模型可以在HuggingFace Model Hub(7)等平台上轻松获得。TableQuery不需要重新训练;当新训练的问答模型具有更好的性能时,它可以替换TableQuery中的现有模型。

英文摘要:

This paper presents TableQuery, a novel tool for querying tabular data using deep learning models pre-trained to answer questions on free text. Existing deep learning methods for question answering on tabular data have various limitations, such as having to feed the entire table as input into a neural network model, making them unsuitable for most real-world applications. Since real-world data might contain millions of rows, it may not entirely fit into the memory. Moreover, data could be stored in live databases, which are updated in real-time, and it is impractical to serialize an entire database to a neural network-friendly format each time it is updated. In TableQuery, we use deep learning models pre-trained for question answering on free text to convert natural language queries to structured queries, which can be run against a database or a spreadsheet. This method eliminates the need for fitting the entire data into memory as well as serializing databases. Furthermore, deep learning models pre-trained for question answering on free text are readily available on platforms such as HuggingFace Model Hub (7). TableQuery does not require re-training; when a newly trained model for question answering with better performance is available, it can replace the existing model in TableQuery.

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

↑