Can Foundation Models Wrangle Your Data?
Avanika Narayan, Ines Chami, Laurel Orr, Simran Arora, Christopher Ré
TL;DR
This work investigates whether large foundation models can tackle classical data tasks such as cleaning and integration by reframing them as natural language prompting problems. Using GPT-3-175B, the authors demonstrate zero- and few-shot transfer to tasks like entity matching, error detection, data transformation, and imputation, achieving state-of-the-art performance with minimal or no task-specific finetuning. They analyze prompt design, including tabular serialization, task prompts, and demonstration selection, showing that prompts and high-quality demonstrations are crucial for performance and stability. The study highlights practical opportunities and challenges for FM-enabled data management, including domain specialization, privacy, and the need for iterative, human-in-the-loop prompt engineering to realize scalable, accessible data pipelines.
Abstract
Foundation Models (FMs) are models trained on large corpora of data that, at very large scale, can generalize to new tasks without any task-specific finetuning. As these models continue to grow in size, innovations continue to push the boundaries of what these models can do on language and image tasks. This paper aims to understand an underexplored area of FMs: classical data tasks like cleaning and integration. As a proof-of-concept, we cast five data cleaning and integration tasks as prompting tasks and evaluate the performance of FMs on these tasks. We find that large FMs generalize and achieve SoTA performance on data cleaning and integration tasks, even though they are not trained for these data tasks. We identify specific research challenges and opportunities that these models present, including challenges with private and domain specific data, and opportunities to make data management systems more accessible to non-experts. We make our code and experiments publicly available at: https://github.com/HazyResearch/fm_data_tasks.
