Skip to main content
QUICK REVIEW

[论文解读] LLM-Select: Feature Selection with Large Language Models

Daniel P. Jeong, Zachary C. Lipton|arXiv (Cornell University)|Jul 2, 2024
Natural Language Processing TechniquesComputer Science被引用 7
一句话总结

本文表明大型语言模型能够仅用特征名称和预测任务的描述来执行有监督任务的特征选择,在多個数据集和提示策略下,其性能与基于数据的方法(如 LASSO)相当。

ABSTRACT

In this paper, we demonstrate a surprising capability of large language models (LLMs): given only input feature names and a description of a prediction task, they are capable of selecting the most predictive features, with performance rivaling the standard tools of data science. Remarkably, these models exhibit this capacity across various query mechanisms. For example, we zero-shot prompt an LLM to output a numerical importance score for a feature (e.g., "blood pressure") in predicting an outcome of interest (e.g., "heart failure"), with no additional context. In particular, we find that the latest models, such as GPT-4, can consistently identify the most predictive features regardless of the query mechanism and across various prompting strategies. We illustrate these findings through extensive experiments on real-world data, where we show that LLM-based feature selection consistently achieves strong performance competitive with data-driven methods such as the LASSO, despite never having looked at the downstream training data. Our findings suggest that LLMs may be useful not only for selecting the best features for training but also for deciding which features to collect in the first place. This could benefit practitioners in domains like healthcare and the social sciences, where collecting high-quality data comes at a high cost.

研究动机与目标

  • 证明 LLMs 能够仅使用特征名称和目标描述来识别有信息的特征,以用于有监督学习。
  • 提出三种基于 LLM 的特征选择方法,并在不同数据集上将它们与传统基线进行比较。
  • 在小规模和大规模数据集上评估提示策略和解码方法的鲁棒性。
  • 分析 LLM 生成的特征重要性与标准特征重要性指标之间的相关性。

提出的方法

  • 提出三种基于提示的特征选择方法:LLM-Score(重要性分数)、LLM-Rank(排序)和 LLM-Seq(序列对话)。
  • 用概念 c 与目标 c_y 对 LLM(GPT-4、GPT-3.5、Llama-2)进行提示,以获得分数、排序或基于对话的选择。
  • 在真实世界数据集上使用下游模型(逻辑回归/线性回归、LightGBM、MLP)并用不同的特征子集进行评估。
  • 与数据驱动基线(LASSO、LassoNet、MRMR、MI、前向/后向选择、RFE、随机)进行比较。
  • 测试零-shot 提示和解码策略(贪婪 vs. 自一致性)并分析提示变体和模型规模。

实验结果

研究问题

  • RQ1在没有下游训练数据访问的情况下,LLM 是否能仅使用特征名称和任务描述来识别对目标结果最具预测性的特征?
  • RQ2三种提示策略(分数、排序、序列对话)在跨数据集的特征选择有效性上有何差异?
  • RQ3模型规模和提示变体对特征选择的性能和稳定性有何影响?
  • RQ4LLM 生成的特征重要性分数与 SHAP、Fisher 分数、互信息等标准特征重要性指标之间是否相关?
  • RQ5在大规模高维现实数据集(数千个特征)上,基于 LLM 的特征选择是否可行?

主要发现

  • 具有足够规模的 LLM(如 GPT-4)在真实世界数据上实现的特征选择性能与数据驱动基线(如 LASSO)竞争力强。
  • 三种基于 LLM 的方法(Score、Rank、Seq)均表现出类似的强劲性能,GPT-4 在各机制上均显示出一致的结果。
  • 贪婪解码的零-shot 提示往往能达到或超过更复杂的提示变体,表明这是一个强基线。
  • 随着模型规模的增长,LLM-Score 分数与标准特征重要性指标之间的相关性更高,尽管没有单一指标始终占优。
  • 在大规模数据集(约3000个特征)上,GPT-4 的 LLM-Score 仍然具有竞争力,优于 MRMR 等基线,并在低特征比例(如前10-30%)时尤其优于随机选择。
  • 结果在多个领域具有普遍性,包括医疗保健(MIMIC-IV)和 folktables 数据集,表明在数据收集成本高的领域具有实用性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。