Skip to main content
QUICK REVIEW

[Paper Review] Exploring Large Language Models for Feature Selection: A Data-centric Perspective

Dawei Li, Zhen Tan|arXiv (Cornell University)|Aug 21, 2024
Topic ModelingComputer Science3 citations
TL;DR

This paper proposes a data-centric framework for large language model (LLM)-based feature selection, distinguishing between data-driven and text-based methods. It demonstrates that text-based feature selection—leveraging LLMs' semantic understanding of feature and task descriptions—outperforms data-driven approaches in effectiveness, robustness, and scalability across low-resource settings, especially in privacy-sensitive medical applications like cancer survival prediction using a retrieval-augmented method (RAFS).

ABSTRACT

The rapid advancement of Large Language Models (LLMs) has significantly influenced various domains, leveraging their exceptional few-shot and zero-shot learning capabilities. In this work, we aim to explore and understand the LLMs-based feature selection methods from a data-centric perspective. We begin by categorizing existing feature selection methods with LLMs into two groups: data-driven feature selection which requires numerical values of samples to do statistical inference and text-based feature selection which utilizes prior knowledge of LLMs to do semantical associations using descriptive context. We conduct experiments in both classification and regression tasks with LLMs in various sizes (e.g., GPT-4, ChatGPT and LLaMA-2). Our findings emphasize the effectiveness and robustness of text-based feature selection methods and showcase their potentials using a real-world medical application. We also discuss the challenges and future opportunities in employing LLMs for feature selection, offering insights for further research and development in this emerging field.

Motivation & Objective

  • To investigate and categorize LLM-based feature selection methods from a data-centric perspective.
  • To compare the effectiveness and robustness of data-driven versus text-based prompting strategies in low-resource feature selection scenarios.
  • To evaluate the performance of LLMs in real-world medical applications, particularly for survival prediction in cancer patients with privacy constraints.
  • To develop and validate a retrieval-augmented feature selection (RAFS) method tailored for domain-specific biomedical datasets.
  • To identify challenges and future research directions for integrating LLMs into feature selection and data engineering pipelines.

Proposed method

  • Categorizes LLM-based feature selection into two types: data-driven (using sample values for statistical inference) and text-based (using descriptive context for semantic association).
  • Employs few-shot and zero-shot prompting with diverse LLMs (GPT-4, ChatGPT, LLaMA-2) across classification and regression tasks to evaluate both methods.
  • Introduces the Retrieval-Augmented Feature Selection (RAFS) framework, which enhances LLMs’ understanding of medical gene names by retrieving and integrating descriptions from the NIH database.
  • Uses retrieval-augmented generation (RAG) to inject domain-specific knowledge into the LLM prompting process, improving relevance and accuracy in feature selection.
  • Employs standard metrics—Antolini’s Concordance (C), Integrated Brier Score (IBS), and D-Calibration (D-CAL)—to evaluate survival prediction performance after feature selection.
  • Compares RAFS against random feature selection and baseline methods to validate its effectiveness in high-dimensional, privacy-sensitive biomedical data.
Figure 1: Comparison of traditional feature selection (FS) algorithms and LLM-based methods. Instead of requiring the whole dataset to make statistic inference, recent works prompt LLMs to select features in an efficient way. This is often achieved in a ( i ) data-driven, or ( ii ) text-based way.
Figure 1: Comparison of traditional feature selection (FS) algorithms and LLM-based methods. Instead of requiring the whole dataset to make statistic inference, recent works prompt LLMs to select features in an efficient way. This is often achieved in a ( i ) data-driven, or ( ii ) text-based way.

Experimental results

Research questions

  • RQ1How do data-driven and text-based LLM-based feature selection methods compare in terms of effectiveness and robustness under varying data availability?
  • RQ2What is the impact of LLM size on the performance of text-based feature selection in low-resource settings?
  • RQ3Can LLMs effectively perform feature selection in privacy-sensitive domains like medical survival prediction without accessing raw patient data?
  • RQ4How does the integration of external knowledge (e.g., from NIH) improve LLM-based feature selection in domain-specific applications?
  • RQ5What are the key challenges and future opportunities in leveraging LLMs for automated feature selection and data engineering?

Key findings

  • Text-based feature selection using LLMs consistently outperforms data-driven methods in both classification and regression tasks, especially in low-resource settings.
  • The text-based approach exhibits a stronger scaling law with respect to LLM size, showing greater performance gains as model capacity increases.
  • In the TCGA-LUAD dataset, RAFS improved survival prediction performance: Antolini’s C increased to 0.6566, IBS decreased to 0.1830, and D-CAL to 1.7666, outperforming random selection and the full feature set.
  • Even random feature selection outperformed the full feature set, indicating that high-dimensional data can degrade model performance, underscoring the value of feature selection.
  • The RAFS method effectively handles domain-specific feature sets (e.g., gene names) by retrieving and integrating contextual descriptions from the NIH, enhancing LLM understanding.
  • Data-driven LLM-based feature selection is limited by poor statistical inference on long input sequences, suggesting a need for agentic or tool-augmented LLMs for such tasks.
Figure 2: Prompting strategies for data-driven and text-based feature selection methods with LLMs.
Figure 2: Prompting strategies for data-driven and text-based feature selection methods with LLMs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.