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

Octopus: 一种轻量级的实体感知多表数据发现与单元格级检索系统

Octopus: Agentic Multi-Table Discovery over Tabular Data Lakes

Cornell University(康奈尔大学)

Wen-Zhi Li, Sainyam Galhotra

AI总结:

Octopus是一种无需训练的轻量级系统,通过细粒度实体识别和直接扫描表内容,实现多表数据发现和单元格级值检索,提高准确性和效率。

摘要:

表格数据是现代数据湖和存储库中占主导地位的信息形式,但发现相关表格以回答用户问题仍然具有挑战性。现有的数据发现系统假设每个问题都可以通过一个表格来回答,通常依赖于资源密集型的离线预处理,如模型训练或大规模内容索引。然而,在实践中,许多问题需要信息分布在多个表格中——无论是独立还是通过连接——并且用户往往寻求特定单元格值而不是整个表格。在本文中,我们提出了Octopus,一种轻量级、实体感知且无需训练的系统,用于多表数据发现和单元格级值检索。与其嵌入整个问题不同,Octopus使用LLM解析器从自然语言查询中识别细粒度实体(列提及和值提及)。然后,它通过紧凑的嵌入索引将这些实体匹配到表头,并直接扫描表内容以查找值出现,从而消除了对重内容索引或昂贵的离线阶段的需求。所得到的细粒度对齐不仅提高了表格检索的准确性,还通过减少令牌使用和冗余的LLM调用,促进了高效的下游NL2SQL执行。为了评估Octopus,我们引入了一个新的基准,涵盖多表设置下的表级和单元格级发现,包括五个用于独立发现的数据集和两个用于基于连接的发现的数据集。实验结果表明,Octopus在性能上始终优于现有系统,同时实现了显著降低的计算和令牌成本。代码可在https://github.com/wenzhilics/octopus上获得。

英文摘要:

Tabular data discovery aims to identify the tables relevant to a natural-language question from a large collection of heterogeneous data. Existing systems typically assume that a question is answered by a single table and rely on retrieval pipelines constructed through substantial offline preprocessing. These assumptions become restrictive when relevant information is distributed across multiple tables. In this paper, we present Octopus, a lightweight agentic framework for multi-table data discovery. Octopus follows a thin-harness design that combines lightweight offline semantic guidance with adaptive access to raw tabular data. At query time, an LLM agent dynamically orchestrates semantic column search, structured tabular operations, and general-purpose execution to locate and verify relevant tables based on intermediate observations. We further introduce a benchmark that explicitly evaluates multi-table data discovery, covering both settings where multiple tables independently answer a question and settings where multiple tables must be joined. Experimental results across four independent-discovery datasets and two join-based datasets show that Octopus achieves the highest macro-F1 on all six datasets. It also substantially reduces offline preprocessing overhead relative to Pneuma and online latency and API cost relative to Claude Code. When coupled with the same NL2SQL agent, Octopus yields substantially higher downstream question-answering F1 than Claude Code, showing that improved table discovery provides more complete evidence for downstream analytics. Code is available at https://github.com/wenzhilics/octopus.

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

↑