Data Cleaning Using Large Language Models
Shuo Zhang, Zezhou Huang, Eugene Wu
TL;DR
This work introduces Cocoon, a novel data cleaning system that combines statistical error detection and correction with semantic understanding by leveraging large language models and decomposes complex cleaning tasks into manageable components, following a workflow that mimics human cleaning processes.
Abstract
Data cleaning is a crucial yet challenging task in data analysis, often requiring significant manual effort. To automate data cleaning, previous systems have relied on statistical rules derived from erroneous data, resulting in low accuracy and recall. This work introduces Cocoon, a novel data cleaning system that leverages large language models for rules based on semantic understanding and combines them with statistical error detection. However, data cleaning is still too complex a task for current LLMs to handle in one shot. To address this, we introduce Cocoon, which decomposes complex cleaning tasks into manageable components in a workflow that mimics human cleaning processes. Our experiments show that Cocoon outperforms state-of-the-art data cleaning systems on standard benchmarks.
