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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Han, Sungwon, Yoon, Jinsung, Arik, Sercan O, Pfister, Tomas
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910435993714688
author Han, Sungwon
Yoon, Jinsung
Arik, Sercan O
Pfister, Tomas
author_facet Han, Sungwon
Yoon, Jinsung
Arik, Sercan O
Pfister, Tomas
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_09491
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Large Language Models Can Automatically Engineer Features for Few-Shot Tabular Learning
Han, Sungwon
Yoon, Jinsung
Arik, Sercan O
Pfister, Tomas
Machine Learning
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.
title Large Language Models Can Automatically Engineer Features for Few-Shot Tabular Learning
topic Machine Learning
url https://arxiv.org/abs/2404.09491