Table of Contents
Fetching ...

RetClean: Retrieval-Based Data Cleaning Using Foundation Models and Data Lakes

Zan Ahmad Naeem, Mohammad Shahmeer Ahmad, Mohamed Eltabakh, Mourad Ouzzani, Nan Tang

TL;DR

RetClean tackles the challenge of data cleaning in realistic, privacy-conscious settings by integrating retrieval-augmented reasoning with foundation models and domain data lakes. It decomposes the workflow into three scenarios: plain public LLM imputation, retrieval-augmented cleaning using a data lake, and local RoBERTa-based inference to preserve privacy, enabled by a modular architecture (Indexer, Reranker, Reasoner). Early results across multiple domains show retrieval-based methods improve accuracy on unseen or domain-specific data, while the local model offers competitive performance with privacy guarantees. The work demonstrates practical data-cleaning pipelines with explainable provenance and a GUI for exploration by the VLDB community.

Abstract

Can foundation models (such as ChatGPT) clean your data? In this proposal, we demonstrate that indeed ChatGPT can assist in data cleaning by suggesting corrections for specific cells in a data table (scenario 1). However, ChatGPT may struggle with datasets it has never encountered before (e.g., local enterprise data) or when the user requires an explanation of the source of the suggested clean values. To address these issues, we developed a retrieval-based method that complements ChatGPT's power with a user-provided data lake. The data lake is first indexed, we then retrieve the top-k relevant tuples to the user's query tuple and finally leverage ChatGPT to infer the correct value (scenario 2). Nevertheless, sharing enterprise data with ChatGPT, an externally hosted model, might not be feasible for privacy reasons. To assist with this scenario, we developed a custom RoBERTa-based foundation model that can be locally deployed. By fine-tuning it on a small number of examples, it can effectively make value inferences based on the retrieved tuples (scenario 3). Our proposed system, RetClean, seamlessly supports all three scenarios and provides a user-friendly GUI that enables the VLDB audience to explore and experiment with the system.

RetClean: Retrieval-Based Data Cleaning Using Foundation Models and Data Lakes

TL;DR

RetClean tackles the challenge of data cleaning in realistic, privacy-conscious settings by integrating retrieval-augmented reasoning with foundation models and domain data lakes. It decomposes the workflow into three scenarios: plain public LLM imputation, retrieval-augmented cleaning using a data lake, and local RoBERTa-based inference to preserve privacy, enabled by a modular architecture (Indexer, Reranker, Reasoner). Early results across multiple domains show retrieval-based methods improve accuracy on unseen or domain-specific data, while the local model offers competitive performance with privacy guarantees. The work demonstrates practical data-cleaning pipelines with explainable provenance and a GUI for exploration by the VLDB community.

Abstract

Can foundation models (such as ChatGPT) clean your data? In this proposal, we demonstrate that indeed ChatGPT can assist in data cleaning by suggesting corrections for specific cells in a data table (scenario 1). However, ChatGPT may struggle with datasets it has never encountered before (e.g., local enterprise data) or when the user requires an explanation of the source of the suggested clean values. To address these issues, we developed a retrieval-based method that complements ChatGPT's power with a user-provided data lake. The data lake is first indexed, we then retrieve the top-k relevant tuples to the user's query tuple and finally leverage ChatGPT to infer the correct value (scenario 2). Nevertheless, sharing enterprise data with ChatGPT, an externally hosted model, might not be feasible for privacy reasons. To assist with this scenario, we developed a custom RoBERTa-based foundation model that can be locally deployed. By fine-tuning it on a small number of examples, it can effectively make value inferences based on the retrieved tuples (scenario 3). Our proposed system, RetClean, seamlessly supports all three scenarios and provides a user-friendly GUI that enables the VLDB audience to explore and experiment with the system.
Paper Structure (9 sections, 2 figures, 1 table)

This paper contains 9 sections, 2 figures, 1 table.

Figures (2)

  • Figure 1: An Overview of RetClean.
  • Figure 2: Demonstration Scenarios.