mlsanityData to 7 Oct 2026

SketchFill: Sketch-Guided Code Generation for Imputing Derived Missing Values

arXiv 2412.19113 ↗First posted 26 Dec 2024cs.CL cs.DB cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Missing value is a critical issue in data science, significantly impacting the reliability of analyses and predictions. Missing value imputation (MVI) is a longstanding problem because it highly relies on domain knowledge. Large language models (LLMs) have emerged as a promising tool for data cleaning, including MVI for tabular data, offering advanced capabilities for understanding and generating content. However, despite their promise, existing LLM techniques such as in-context learning and Chain-of-Thought (CoT) often fall short in guiding LLMs to perform complex reasoning for MVI, particularly when imputing derived missing values, which require mathematical formulas and data relationships across rows and columns. This gap underscores the need for further advancements in LLM methodologies to enhance their reasoning capabilities for more reliable imputation outcomes. To fill this gap, we propose SketchFill, a novel sketch-based method to guide LLMs in generating accurate formulas to impute missing numerical values. Our experimental results demonstrate that SketchFill significantly outperforms state-of-the-art methods, achieving 56.2% higher accuracy than CoT-based methods and 78.8% higher accuracy than MetaGPT. This sets a new standard for automated data cleaning and advances the field of MVI for numerical values.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 17 of its 43 references that are in the map. First posted on arXiv 26 Dec 2024.

Builds on

17 of 43 references.

References · 17

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  2. 2019Language Models as Knowledge Bases?cited by 1,922
  3. 2021CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputationcited by 577
  4. 2023Using an LLM to Help With Code Understandingcited by 222
  5. 2022Can Foundation Models Wrangle Your Data?cited by 173
  6. 2023Table Meets LLM: Can Large Language Models Understand Structured Table Data? A Benchmark and Empirical Studycited by 116
  7. 2022CERT: Continual Pre-Training on Sketches for Library-Oriented Code Generationcited by 87
  8. 2022Diffusion models for missing value imputation in tabular datacited by 77
  9. 2023Table-GPT: Table-tuned GPT for Diverse Table Taskscited by 69
  10. 2020RYANSQL: Recursively Applying Sketch-based Slot Fillings for Complex Text-to-SQL in Cross-Domain Databasescited by 63
  11. 2023Extractive Summarization via ChatGPT for Faithful Summary Generationcited by 58
  12. 2023AI-assisted coding: Experiments with GPT-4cited by 43
5 more
  1. 2023SkCoder: A Sketch-based Approach for Automatic Code Generationcited by 40
  2. 2023Large Language Models as Data Preprocessorscited by 34
  3. 2023Less is More for Long Document Summary Evaluation by LLMscited by 28
  4. 2024What You Need is What You Get: Theory of Mind for an LLM-Based Code Understanding Assistantcited by 8
  5. 2023Missing Value Imputation for Multi-attribute Sensor Data Streams via Message Propagation (Extended Version)cited by 6

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Auto-Fill: Learning to Predict Missing Values Accurately with Specialist Language Models
  2. 2025CFMI: Flow Matching for Missing Data Imputation
  3. 2023Generating and Imputing Tabular Data via Diffusion and Flow-based Gradient-Boosted Trees
  4. 2025RefiDiff: Progressive Refinement Diffusion for Efficient Missing Data Imputation
  5. 2024Rethinking the Diffusion Models for Numerical Tabular Data Imputation from the Perspective of Wasserstein Gradient Flow
  6. 2023MissDiff: Training Diffusion Models on Tabular Data with Missing Values
  7. 2025More Data or Better Data? A Critical Analysis of Data Selection and Synthesis for Mathematical Reasoning
  8. 2025An Interdisciplinary and Cross-Task Review on Missing Data Imputation