[论文解读] Large Language Models as Data Preprocessors
本论文研究使用最先进的大语言模型(GPT-3.5、GPT-4、Vicuna-13B)进行数据预处理任务,如错误检测、数据插补、模式匹配和实体匹配,提出基于提示的框架并在12个数据集上报告结果。
Large Language Models (LLMs), typified by OpenAI's GPT, have marked a significant advancement in artificial intelligence. Trained on vast amounts of text data, LLMs are capable of understanding and generating human-like text across a diverse range of topics. This study expands on the applications of LLMs, exploring their potential in data preprocessing, a critical stage in data mining and analytics applications. Aiming at tabular data, we delve into the applicability of state-of-the-art LLMs such as GPT-4 and GPT-4o for a series of preprocessing tasks, including error detection, data imputation, schema matching, and entity matching. Alongside showcasing the inherent capabilities of LLMs, we highlight their limitations, particularly in terms of computational expense and inefficiency. We propose an LLM-based framework for data preprocessing, which integrates cutting-edge prompt engineering techniques, coupled with traditional methods like contextualization and feature selection, to improve the performance and efficiency of these models. The effectiveness of LLMs in data preprocessing is evaluated through an experimental study spanning a variety of public datasets. GPT-4 emerged as a standout, achieving 100\% accuracy or F1 score on 4 of these datasets, suggesting LLMs' immense potential in these tasks. Despite certain limitations, our study underscores the promise of LLMs in this domain and anticipates future developments to overcome current hurdles.
研究动机与目标
- 评估最先进的LLM在表格数据数据预处理任务中的潜力。
- 提出结合零-shot、few-shot、批量提示、情境化及特征选择的提示框架。
- 在12个数据集上评估LLM在错误检测、数据插补、模式匹配与实体匹配等任务中的表现。
提出的方法
- 提出基于LLM的数据预处理框架,设计有 motivated prompt(零-shot、few-shot、批量提示)以及带推理的回答格式。
- 使用情境化将数据实例转换为LLM的自然语言提示。
- 在元数据可用时引入特征选择以提升任务性能。
- 采用批量提示以降低标记成本和推理时间,提供随机批量与聚类批量两种策略。
- 在12个数据集上对四项数据预处理任务,评估三种LLM(GPT-3.5、GPT-4、Vicuna-13B)及基线。
- 报告性能指标(DI/ED 的准确率,SM/EM 的 F1)并对提示组件进行消融研究。
实验结果
研究问题
- RQ1最先进的LLM能否有效执行表格数据的数据预处理任务?
- RQ2提示策略(零-shot、few-shot、批量提示)和情境化如何影响ED、DI、SM、EM 的准确性与效率?
- RQ3哪些LLM在数据预处理方面在准确性与成本之间达到更好平衡?
- RQ4特征选择与批量批处理对性能和资源使用有何影响?
主要发现
- GPT-4通常优于现有解决方案,在12个数据集中的4个上达到100%的准确率或F1。
- GPT-3.5同样表现竞争力,推荐用于数据预处理。
- Vicuna-13B仅在有限的情况中适用,效果一般。
- 批量提示和零-shot 推理可提升性能,批量提示在不同程度上降低成本与时间,但对准确性有不同影响。
- 在某些任务中,特征选择显著提升性能(如 Beer 数据集上的实体匹配)。
- GPT-3.5 在零-shot推理和少量示例提示下可显著提升,但批量提示的效果可能参差。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。