Data.Readme: Documenting Table Relationships for Diverse Data Tasks
Jiaming Liang, Yeye He, Haoyu Dong, Zachary Ives, Surajit Chaudhuri
Abstract
Large language models (LLMs) can perform diverse data tasks when given a small set of relevant tables. However, for complex tasks requiring multiple tables over large data lakes, identifying relevant tables for the task becomes a prerequisite, but remains challenging. This is because there are often many tables in a data lake with similar table and schema names, and limited additional semantic context, thereby forcing agents to spend substantial time exploring tables at online query time, greatly affecting models' ability to perform tasks accurately, while increasing cost/latency substantially. We present Data.Readme, a novel table documentation approach that uses lightweight offline processing to infer and index rich table-to-table relationships, including confusable, joinable, and union-able tables. We further develop a suite of agentic tools for LLMs to work with the index, to help agents retrieve relevant tables and perform tasks much more efficiently and effectively. Finally, we study how to optimize our index construction with a budget constraint. On data lakes containing up to 12K tables, Data.Readme improves task accuracy by as much as 40 percentage points across a range of data discovery, data analysis, and data science tasks, outperforming diverse baselines, including powerful coding agents with unlimited time and monetary budgets. We also show that equipping existing methods (such as coding agents) with Data.Readme can not only lead to consistent quality gains, but also significantly reduce their latency by up to 6x, demonstrating the potential of Data.Readme.
Create a lesson
Related papers
Uber-Join: Unifying Diverse Table Joins using LLMs with Precision and Cost Guarantees
Shared title terminology · Guohui Guan, Chang Ge, Yeye He
Recommendation Systems for Exploratory Data Tasks
Shared title terminology · Anna Fariha, Whanhee Cho
AskWise: Execution-Guided Clarification of Intent and Data in Text-to-SQL
Shared title terminology · Yuru Liang, Guangyinan Mei, Miles Fan
Bridging the Discovery Gap in Solid Dataspaces with a Semantic Data Catalog
Shared title terminology · Florian Hölken, Alexander Paulus, Tobias Meisen et al.
The American Medical Directory Panel: Comparing AI-Assisted and LLM Transcription with Manual Data Entry at Scale
Shared title terminology · Christian M. Dahl, Sophie Li, Rasmus Emil Nyholm et al.
QuarkDB: A Hybrid Database System for Quantum Data Management
Shared title terminology · Wenrui Zhang, Yu Wang, Xiao Zhang