Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakes
Authors:
Top Cited Papers
Open Access
- 1 October 2023
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in Proceedings of the VLDB Endowment
- Vol. 17 (2) , 92-105
Abstract
A long standing goal in the data management community is developing systems that input documents and output queryable tables without user effort. Given the sheer variety of potential documents, state-of-the art systems make simplifying assumptions and use domain specific training. In this work, we ask whether we can maintain generality by using the in-context learning abilities of large language models (LLMs). We propose and evaluate Evaporate, a prototype system powered by LLMs. We identify two strategies for implementing this system: prompt the LLM to directly extract values from documents or prompt the LLM to synthesize code that performs the extraction. Our evaluations show a cost-quality tradeoff between these two approaches. Code synthesis is cheap, but far less accurate than directly processing each document with the LLM. To improve quality while maintaining low cost, we propose an extended implementation, Evaporate-Code+, which achieves better quality than direct extraction. Our insight is to generate many candidate functions and ensemble their extractions using weak supervision. Evaporate-Code+ outperforms the state-of-the art systems using a sublinear pass over the documents with the LLM. This equates to a 110X reduction in the number of documents the LLM needs to process across our 16 real-world evaluation settings.Keywords
All Related Versions
This publication has 19 references indexed in Scilit:
- SnorkelProceedings of the VLDB Endowment, 2017
- Incremental knowledge base construction using DeepDiveProceedings of the VLDB Endowment, 2015
- A Big Data Guide to Understanding Climate Change: The Case for Theory-Guided Data ScienceBig Data, 2014
- Data mining in educationWIREs Data Mining and Knowledge Discovery, 2012
- From one tree to a forest2011
- Open information extraction from the webCommunications of the ACM, 2008
- Unsupervised named-entity extraction from the Web: An experimental studyArtificial Intelligence, 2005
- Web-scale information extraction in knowitall2004
- XTRACT2000
- Extracting Patterns and Relations from the World Wide Web1999