arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.09491cs.LG
收藏

大语言模型可自动为少样本表格学习设计特征

Large Language Models Can Automatically Engineer Features for Few-Shot Tabular Learning

Google(谷歌);Korea Advanced Institute of Science and Technology(韩国科学技术院);Google Cloud AI(谷歌云人工智能)

Sungwon Han, Jinsung Yoon, Sercan O Arik, Tomas Pfister

AI总结:

本文提出 FeatLLM 框架,利用大语言模型作为特征工程师自动生成表格特征,以简单下游模型实现高性能少样本表格学习,在推理时无需逐样本调用大语言模型,并在多个数据集上平均优于现有方法 10%。

摘要:

大语言模型(LLMs)凭借其应对具有挑战性且未曾见过的推理问题的卓越能力,在表格学习领域展现出巨大潜力,而表格学习对许多现实应用至关重要。本文提出了一种新颖的上下文学习框架 FeatLLM,该框架将大语言模型用作特征工程师,以生成最适合表格预测的输入数据集。所生成的特征被用于通过简单的下游机器学习模型(如线性回归)推断类别似然,并实现高性能的少样本学习。所提出的 FeatLLM 框架在推理时仅使用这一简单预测模型和所发现的特征。与现有基于大语言模型的方法相比,FeatLLM 无需在推理时针对每个样本向大语言模型发送查询。此外,它仅需对大语言模型的 API 级访问权限,并克服了提示长度限制。在来自广泛领域的众多表格数据集上的实验表明,FeatLLM 能生成高质量规则,平均显著优于 TabLLM 和 STUNT 等替代方法(平均提升 10%)。

英文摘要:

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.

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

↑