arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.16361cs.AIcs.DB
收藏

作为数据预处理器的大型语言模型

Large Language Models as Data Preprocessors

Osaka University(大阪大学);NEC Corporation(日本电气公司);Nagoya University(名古屋大学)

Haochen Zhang, Yuyang Dong, Chuan Xiao, Masafumi Oyamada

AI总结:

本文研究 GPT-4、GPT-4o 等 LLM 在表格数据预处理中的应用,提出融合提示工程、上下文化与特征选择的框架,并在公共数据集上验证其显著效果。

摘要:

以 OpenAI 的 GPT 为代表的大型语言模型(LLM)标志着人工智能的重大进步。LLM 在海量文本数据上训练,能够理解并生成涵盖多种主题的、类似人类的文本。本研究扩展了 LLM 的应用,探索其在数据预处理中的潜力;数据预处理是数据挖掘和分析应用中的关键阶段。针对表格数据,我们深入考察了 GPT-4 和 GPT-4o 等最先进 LLM 在一系列预处理任务上的适用性,包括错误检测、数据插补、模式匹配和实体匹配。除展示 LLM 的内在能力外,我们也强调其局限性,尤其是在计算开销和低效方面。我们提出一种基于 LLM 的数据预处理框架,该框架整合前沿提示工程技术,并结合上下文化和特征选择等传统方法,以提升这些模型的性能和效率。通过一项涵盖多种公共数据集的实验研究,我们评估了 LLM 在数据预处理中的有效性。GPT-4 表现突出,在其中 4 个数据集上取得 100% 准确率或 F1 分数,表明 LLM 在这些任务中具有巨大潜力。尽管存在某些局限,本研究仍凸显了 LLM 在该领域的前景,并期待未来发展能够克服当前障碍。

英文摘要:

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.

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

↑