Skip to main content
QUICK REVIEW

[論文レビュー] Large Language Models Can Automatically Engineer Features for Few-Shot Tabular Learning

Sungwon Han, Jinsung Yoon|arXiv (Cornell University)|Apr 15, 2024
Topic ModelingComputer Science被引用数 3
ひとこと要約

FeatLLM は、少量のサンプルでタブラー型学習に適した高品質なルールベース特徴量を自動的に生成する、一貫した文脈学習フレームワークである。大規模言語モデル(LLM)が導出したルールから二値特徴量を生成し、線形回帰などの単純な下流モデルを用いることで、微調整やサンプルごとのLLM呼び出しを一切不要としつつ、顕著に低い推論コストで最先端の性能を達成する。

ABSTRACT

Large Language Models (LLMs), with their remarkable ability to tackle challenging and unseen reasoning problems, hold immense potential for tabular learning, that is vital for many real-world applications. In this paper, we propose a novel in-context learning framework, FeatLLM, which employs LLMs as feature engineers to produce an input data set that is optimally suited for tabular predictions. The generated features are used to infer class likelihood with a simple downstream machine learning model, such as linear regression and yields high performance few-shot learning. The proposed FeatLLM framework only uses this simple predictive model with the discovered features at inference time. Compared to existing LLM-based approaches, FeatLLM eliminates the need to send queries to the LLM for each sample at inference time. Moreover, it merely requires API-level access to LLMs, and overcomes prompt size limitations. As demonstrated across numerous tabular datasets from a wide range of domains, FeatLLM generates high-quality rules, significantly (10% on average) outperforming alternatives such as TabLLM and STUNT.

研究の動機と目的

  • 少数のサンプルでタブラー型学習に適した LLM に基づく手法の高い計算コストとトレーニング依存性を解消すること。
  • タブラー型データの LLM 推論において、プロンプト長の制限や API 働きのみのアクセスという制限を克服すること。
  • 特徴量エンジニアリングと予測を分離することで、単純な下流モデルのみを用いることで、効率的かつ低遅延の推論を実現すること。
  • 微調整を一切行わず、LLM の推論力と事前知識を活用して高品質で解釈可能な特徴量を生成すること。
  • 特徴量のバギングとアンサンブル技術を用いて、プロンプトサイズの制約を緩和すること。

提案手法

  • 少数のサンプルを用いた文脈学習を活用し、LLM がターゲットクラスを区別する意思決定ルールを推論できるように誘導する。
  • 生成されたルールを実行可能コードに解析し、それをタブラー型データに適用して、ルールを満たすかどうかを示す二値特徴量を生成する。
  • 特徴量のバギングを適用することで、プロンプト長を短縮し、ロバストネスを向上させる。これは、特徴量とサンプルのサブセットをサンプリングすることで実現する。
  • エンジニアリングされた二値特徴量上で、軽量な下流モデル(例:線形回帰)を学習させ、クラス確率を推定する。
  • 複数回にわたって異なるバギングサブセットを用いて特徴量エンジニアリングを繰り返すことで、アンサンブル学習を実装し、一般化性能を向上させる。
  • 特徴量生成後は、推論段階でのサンプルごとのLLM呼び出しを完全に排除し、下流モデルのみを用いる。
Figure 1: Illustration of FeatLLM . FeatLLM extracts rules for each class, utilizing prior knowledge and few-shot examples. These rules are then parsed and applied to create binary features for data samples. A linear layer is trained on these binary features to estimate class likelihoods. This proce
Figure 1: Illustration of FeatLLM . FeatLLM extracts rules for each class, utilizing prior knowledge and few-shot examples. These rules are then parsed and applied to create binary features for data samples. A linear layer is trained on these binary features to estimate class likelihoods. This proce

実験結果

リサーチクエスチョン

  • RQ1微調整なしで、LLM がタブラー型データに対して高品質なルールベース特徴量を効果的に生成できるか。
  • RQ2LLM を特徴量エンジニアとして用いることで、エンドツーエンドのLLM予測に比べて、少数のサンプルでより良い性能が得られるか。
  • RQ3LLM を用いた特徴量エンジニアリングにおいて、特徴量のバギングとアンサンブル戦略によって、プロンプトサイズの制限を緩和できるか。
  • RQ4本フレームワークは、LLM への API アクセスのみで、微調整なしに高い性能を維持できるか。
  • RQ5FeatLLM の性能は、TabLLM や STUNT といった最先端のベースラインと比較して、少数のサンプル設定でどうなるか。

主な発見

  • FeatLLM は、13の多様なタブラー型データセットにおいて、少数のサンプル学習設定で、既存の手法(例:TabLLM や STUNT)を平均して10%上回る性能を達成した。
  • NHANES データセットでは、64ショットの条件下で99.79%の正確度を達成し、同条件で他の手法を著しく上回った。
  • Sequence-type データセットでは32ショットで99.67%の正確度を達成し、分野を越えた強力な一般化性能を示した。
  • Myocardial(64ショットで61.47%の正確度) や Credit-g(64ショットで66.43%) といった困難なデータセットに対しても、他のモデルが性能を発揮できない中で、FeatLLM は高い性能を維持した。
  • 特徴量のバギングとアンサンブルにより、プロンプト長が短縮され、ロバストネスが向上した。これにより、入力サイズの変動があっても安定した性能が得られた。
  • サンプルごとのLLM推論を排除したことで、FeatLLM は低遅延推論を実現し、制限付きのLLM API を備えた実世界のデプロイに適している。
Figure 4: Performance comparison summaries among conventional tabular baselines and FeatLLM . Averaged AUC over all datasets across the number of shots are reported.
Figure 4: Performance comparison summaries among conventional tabular baselines and FeatLLM . Averaged AUC over all datasets across the number of shots are reported.

この論文を読む

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

Nubintでこの論文を読む

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