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

面向文本与表格的高效学习型查询执行[技术报告]

Efficient Learned Query Execution over Text and Tables [Technical Report]

Matthias Urban, Carsten Binnig

AI总结:

针对文本与表格多模态查询中使用大语言模型开销过高的问题,本文提出ELEET执行引擎,采用专用小语言模型实现多模态算子,在保证精度的前提下将查询速度最高提升575倍。

摘要:

本文提出了一种新型执行引擎ELEET,它支持将文本作为一等公民与表格一同进行无缝查询与处理。为实现文本与表格的这种无缝集成,ELEET采用了学习型多模态算子(MMOps,如连接、并集),可无缝融合结构化数据与非结构化文本数据。尽管GPT-4等大语言模型(LLM)是实现这类学习型多模态操作的可行选项,但我们刻意未采用这一主流方案来实现MMOps,因为这会导致查询运行时开销过高。取而代之的是,ELEET配备了一款更高效的小语言模型(SLM)来支撑MMOps,该模型专门用于从文本中提取结构化数据。得益于我们提出的新型架构与预训练流程,ELEET模型能够以低开销实现高精度提取。在评估实验中,我们将基于ELEET的查询执行与采用GPT-4等LLM的基线方法进行对比,结果表明ELEET可将表格与文本的多模态查询速度最高提升575倍,且不会损失精度。

英文摘要:

In this paper, we present ELEET, a novel execution engine that allows one to seamlessly query and process text as a first-class citizen along with tables. To enable such a seamless integration of text and tables, ELEET leverages learned multi-modal operators (MMOps) such as joins and unions that seamlessly combine structured with unstructured textual data. While large language models (LLM) such as GPT-4 are interesting candidates to enable such learned multimodal operations, we deliberately do not follow this trend to enable MMOps, since it would result in high overhead at query runtime. Instead, to enable MMOps, ELEET comes with a more efficient small language model (SLM) that is targeted to extract structured data from text. Thanks to our novel architecture and pre-training procedure, the ELEET-model enables high-accuracy extraction with low overheads. In our evaluation, we compare query execution based on ELEET to baselines leveraging LLMs such as GPT-4 and show that ELEET can speed up multi-modal queries over tables and text by up to 575x without sacrificing accuracy.

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

↑