arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.14565cs.DBcs.LG
收藏

Auto-Tables:无需示例即可合成多步变换以实现表格关系化

Auto-Tables: Synthesizing Multi-Step Transformations to Relationalize Tables without Using Examples

Georgia Tech(佐治亚理工学院);Microsoft Research(微软研究院)

Peng Li, Yeye He, Cong Yan, Yue Wang, Surajit Chaudhuri

AI总结:

Auto-Tables系统自动合成多步变换流水线,将非关系表转换为标准关系表,无需用户示例或编程,在244个真实测试用例上以交互速度成功处理超过70%的用例。

摘要:

关系表(每一行对应一个实体,每一列对应一个属性)一直是关系数据库中表格的标准形式。然而,在处理“野生”表格时,这种标准并不能被视为理所当然。我们对真实电子表格和网页表格的调查显示,超过30%的此类表格不符合关系标准,在这些表格能够使用基于SQL的分析工具轻松查询之前,需要进行复杂的表格重构变换。不幸的是,所需的变换编程并非易事,这已成为技术用户和非技术用户的一大痛点,StackOverflow以及Excel/Power-BI/Tableau论坛中大量的问题帖子也证明了这一点。我们开发了Auto-Tables系统,该系统能够自动合成包含多步变换(使用Python或其他语言)的流水线,将非关系表转换为标准关系形式以用于下游分析,从而免去用户手动编写变换程序的需要。我们通过从用户电子表格和在线论坛收集244个真实测试用例,为这一新任务编制了广泛的基准。我们的评估表明,Auto-Tables能够在交互速度下为超过70%的测试用例成功合成变换,且无需用户提供任何输入,使其成为技术用户和非技术用户为分析准备数据的有效工具。

英文摘要:

Relational tables, where each row corresponds to an entity and each column corresponds to an attribute, have been the standard for tables in relational databases. However, such a standard cannot be taken for granted when dealing with tables "in the wild". Our survey of real spreadsheet-tables and web-tables shows that over 30% of such tables do not conform to the relational standard, for which complex table-restructuring transformations are needed before these tables can be queried easily using SQL-based analytics tools. Unfortunately, the required transformations are non-trivial to program, which has become a substantial pain point for technical and non-technical users alike, as evidenced by large numbers of forum questions in places like StackOverflow and Excel/Power-BI/Tableau forums. We develop an Auto-Tables system that can automatically synthesize pipelines with multi-step transformations (in Python or other languages), to transform non-relational tables into standard relational forms for downstream analytics, obviating the need for users to manually program transformations. We compile an extensive benchmark for this new task, by collecting 244 real test cases from user spreadsheets and online forums. Our evaluation suggests that Auto-Tables can successfully synthesize transformations for over 70% of test cases at interactive speeds, without requiring any input from users, making this an effective tool for both technical and non-technical users to prepare data for analytics.

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

↑