atlas

Research map / Large language models / Retrieval and knowledge

Data Wrangling Task Automation Using Code-Generating Language Models

AAAI 2025 · Large language models › Retrieval and knowledge · approach: Domain-specific QA datasets · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes an LLM system that generates executable Python code for data wrangling (imputation, error detection, correction), choosing memory-dependent or memory-independent workflows with iterative prompting, cutting LLM calls versus row-wise invocation.

Problem

Data quality enrichment on large tabular datasets (missing value imputation, error detection, error correction) is costly with row-level LLM calls and traditional/deep methods lack semantic understanding or need task-specific training.

Approach

Use a code-generating LLM to translate data patterns into executable code applied to whole tables, selecting relevant columns via histogram-based gradient boosting, retrieving external knowledge via RAG-style similarity, and refining code iteratively with k-fold validation and majority voting over snippets.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Generate code instead of invoking the LLM row-wiseData-wrangling system · Airline — Imputationaccuracy: 0.97 -> 0.99Helped
Generate code instead of invoking the LLM row-wiseData-wrangling system · Airline — Error Detectionaccuracy: 0.98 -> 0.98No clear effect
Generate code instead of invoking the LLM row-wiseData-wrangling system · Airline — Error Correctionaccuracy: 0.98 -> 0.98No clear effect
Generate code instead of invoking the LLM row-wiseData-wrangling system · BigBasket — Imputationaccuracy: 0.94 -> 0.94No clear effect
Generate code instead of invoking the LLM row-wiseData-wrangling system · BigBasket — Error Detectionaccuracy: 0.94 -> 0.98Helped
Generate code instead of invoking the LLM row-wiseData-wrangling system · BigBasket — Error Correctionaccuracy: 0.92 -> 0.94Helped

Surprising findings

Limitations

Experimental setup

Datasets: Airline BigBasket Starbucks

Benchmarks: Airline BigBasket

Metrics: accuracy number of LLM calls

Baselines: row-wise LLM invocation

Builds on: retrieval-augmented generation histogram-based gradient boosting

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy