Skip to main content
QUICK REVIEW

[論文レビュー] Large Language Models as Data Preprocessors

Haochen Zhang, Yuyang Dong|arXiv (Cornell University)|Aug 30, 2023
Topic ModelingComputer Science被引用数 9
ひとこと要約

要約: 本論文は最先端のLLM(GPT-3.5、GPT-4、Vicuna-13B)をデータ前処理タスク(エラー検出、データ補完、スキーママッチング、エンティティマッチング)に適用する可能性を調査し、 promptingベースのフレームワークを提案し、12のデータセットに渡る結果を報告する。

ABSTRACT

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.

研究の動機と目的

  • tabularデータに対するデータ前処理タスクの潜在能力を評価する。
  • ゼロショット、少数ショット、バッチ prompting、文脈化、特徴選択を組み合わせた promptingフレームワークを提案する。
  • 12データセットにわたるエラーディテクション、データ補完、スキーママッチング、エンティティマッチングにおけるLLMの性能を評価する。

提案手法

  • 動機づけられたプロンプト設計を用いたLLMベースのデータ前処理フレームワークを提案する(ゼロショット、少数ショット、バッチ prompting)および理由付き回答形式。
  • 文脈化を用いてデータインスタンスを自然言語プロンプトへ変換し、LLMに入力する。
  • メタデータが利用可能な場合は特徴選択を組み込み、タスク性能を向上させる。
  • トークンコストと推論時間を削減するためにバッチ promptingを採用し、ランダムバッチとクラスタバッチの戦略を用いる。
  • 四つのデータ前処理タスクを12データセットで三つのLLM(GPT-3.5、GPT-4、Vicuna-13B)とベースラインで評価する。
  • プロンプト構成のアブレーション研究を行い、性能指標(DI/EDはAccuracy、SM/EMはF1)を報告する。

実験結果

リサーチクエスチョン

  • RQ1 tabularデータの前処理タスクを最先端のLLMは効果的に実行できるか。
  • RQ2 ゼロショット、少数ショット、バッチ prompting、文脈化はED、DI、SM、EMの精度と効率にどう影響するか。
  • RQ3 精度とコストのバランスに優れたデータ前処理向けLLMはどれか。
  • RQ4 特徴選択とバッチ処理が性能とリソース使用量に与える影響は。

主な発見

  • GPT-4は一般に既存ソリューションを上回り、12データセット中4つで100%の精度またはF1を達成。
  • GPT-3.5も競争力のある性能を示し、データ前処理に推奨。
  • Vicuna-13Bは限定的なケースでのみ適用可能で、結果は中程度。
  • バッチ promptingとゼロショット推論は性能を向上させることがあり、バッチ promptingはコストと時間を削減できるが精度には様々な影響。
  • 特徴選択は一部のタスクで性能を大幅に向上(例:Beerデータセットのエンティティマッチング)。
  • GPT-3.5はゼロショット推論と少数ショット promptingで強力な改善を示すが、バッチ promptingは効果が混在する可能性。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。