LGAIMAMar 13, 2024

CleanAgent: Automating Data Standardization with LLM-based Agents

arXiv:2403.08291v425 citationsh-index: 3
Originality Incremental advance
AI Analysis

This work addresses the problem of manual effort and complexity in data standardization for data scientists, though it appears incremental by building on existing LLM and library tools.

The authors tackled the challenge of automating data standardization by introducing CleanAgent, a framework that integrates a Python library with declarative APIs and LLM-based agents, enabling hands-free processing with a single user input.

Data standardization is a crucial part of the data science life cycle. While tools like Pandas offer robust functionalities, their complexity and the manual effort required for customizing code to diverse column types pose significant challenges. Although large language models (LLMs) like ChatGPT have shown promise in automating this process through natural language understanding and code generation, it still demands expert-level programming knowledge and continuous interaction for prompt refinement. To solve these challenges, our key idea is to propose a Python library with declarative, unified APIs for standardizing different column types, simplifying the LLM's code generation with concise API calls. We first propose Dataprep.Clean, a component of the Dataprep Python Library, significantly reduces the coding complexity by enabling the standardization of specific column types with a single line of code. Then, we introduce the CleanAgent framework integrating Dataprep.Clean and LLM-based agents to automate the data standardization process. With CleanAgent, data scientists only need to provide their requirements once, allowing for a hands-free process. To demonstrate the practical utility of CleanAgent, we developed a user-friendly web application, allowing users to interact with it using real-world datasets.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes