arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.19113cs.CLcs.DBcs.LG
收藏

SketchFill:面向派生缺失值填补的草图引导代码生成

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

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Yunfan Zhang, Changlun Li, Yuyu Luo, Nan Tang

AI总结:

SketchFill提出一种基于草图引导LLM生成公式的方法,用于填补派生缺失数值,在实验中比CoT方法准确率高56.2%、比MetaGPT高78.8%,显著提升了自动化数据清洗水平。

摘要:

缺失值是数据科学中的一个关键问题,严重影响分析和预测的可靠性。缺失值填补(MVI)是一个长期存在的问题,因为它高度依赖领域知识。大语言模型(LLMs)已成为数据清洗(包括表格数据的缺失值填补)的一种有前景的工具,在理解和生成内容方面提供了先进能力。然而,尽管具有潜力,现有的LLM技术如上下文学习(in-context learning)和思维链(Chain-of-Thought,CoT)在引导LLM执行复杂的缺失值填补推理方面往往力不从心,尤其是在填补派生缺失值时,这需要跨行跨列的数学公式和数据关系。这一差距凸显了需要进一步推进LLM方法,以增强其推理能力,从而获得更可靠的填补结果。为填补这一差距,我们提出了SketchFill,一种新颖的基于草图的方法,用于引导LLM生成准确的公式来填补缺失的数值。我们的实验结果表明,SketchFill显著优于最先进的方法,比基于CoT的方法准确率高出56.2%,比MetaGPT准确率高出78.8%。这为自动化数据清洗设立了新标准,并推动了数值缺失值填补领域的发展。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑