TL;DR
This paper introduces SPROUT, a novel semi-supervised learning framework that leverages Large Language Models (LLMs) for tabular data classification. SPROUT effectively utilizes unlabeled tabular data to generate informative prompts for LLMs, significantly improving performance in low-data scenarios and demonstrating robustness to missing values and heterogeneous data sources.
What Problem Does This Paper Address?
Acquiring labeled data for tabular datasets is often expensive and time-consuming, posing a significant challenge for many real-world machine learning applications. While semi-supervised learning has shown promise in other domains like images and text, its application to tabular data, especially in low-label regimes, has been less explored. The authors aim to bridge this gap by investigating how the recent advancements in LLMs, particularly their in-context learning (ICL) capabilities, can be harnessed to effectively learn from limited labeled tabular data and abundant unlabeled data.
Methods
The core of SPROUT lies in its ability to generate effective prompts for LLMs from unlabeled tabular data. The process involves:
- Tabular Serialization: Converting tabular data into a natural language format that LLMs can understand.
- Correlation Identification: Identifying a feature within the unlabeled data that is highly correlated with the target label. This feature is then treated as a "pseudo-label" to guide prompt generation.
- Prompt Generation: Creating "SPROUT prompts" by formulating questions that predict the identified correlated feature using the remaining features from unlabeled data. These prompts are designed to mimic the actual target task.
- In-Context Learning (ICL): Combining the generated SPROUT prompts with a few labeled examples and a test query to form a complete prompt for the LLM. The LLM then performs classification without any parameter updates.
A key innovation is the generic indicator discovery method, which helps SPROUT create effective prompts even when column descriptions are missing or anonymized. This involves an unsupervised approach to find LLM-friendly feature and target indicators.
Datasets
The authors evaluate SPROUT on nine tabular datasets from the OpenML repository, including:
- Breast
- TAE
- Vehicle
- Hamster
- Customers
- LED
- Pollution
- Diabetes
- Car
These datasets vary in their number of columns, numerical/categorical features, and classes, providing a diverse benchmark for evaluation.
Key Insights and Ideas
- LLMs as powerful tools for tabular data: The paper demonstrates that LLMs, typically associated with natural language tasks, can be effectively applied to tabular classification, especially in low-data regimes.
- Unlabeled data as a knowledge source: SPROUT's success hinges on its ability to extract valuable information from unlabeled tabular data to create informative prompts, effectively augmenting the limited labeled data.
- The power of "pseudo-labeling" for prompt generation: Identifying a highly correlated feature in unlabeled data and using it to generate task-specific prompts is a clever way to align LLM's learning with the target task.
- Robustness to missing values: SPROUT's ICL approach naturally handles missing values by simply omitting them from the prompt, avoiding the need for complex imputation strategies.
- Leveraging language priors for transfer learning: SPROUT can effectively combine information from heterogeneous data sources by serializing them into natural language, allowing LLMs to understand relationships across different feature sets.
Key Results
- SPROUT consistently outperforms existing semi-supervised and few-shot learning methods across various tabular benchmarks, achieving substantial performance improvements.
- In 1-shot classification, SPROUT achieved the highest score on all 9 datasets, showing an approximate 10.9% improvement over the best baselines.
- In 5-shot classification, SPROUT achieved the highest score in 7 out of 9 datasets, with an approximate 5.4% improvement.
- SPROUT exhibits robustness to missing values, showing the smallest performance drop (-1.22% and -1.43% on Breast and Diabetes datasets, respectively) when 50% of features were randomly omitted.
- The method demonstrates consistent performance improvements when incorporating additional training samples from heterogeneous data sources, outperforming baselines that struggle with disparate column sets.
Limitations and Future Work
- Prompt size limitations: The authors acknowledge that LLMs have input prompt size limitations, which can affect the number of examples or features that can be included. They mention using GPT-4 with batch-wise queries for some experiments to mitigate this.
- Hyperparameter sensitivity: While SPROUT aims to be less sensitive to hyperparameters than some other methods, the choice of generic indicators and the selection of unlabeled data subsets might still require careful consideration.
- Future work: The paper suggests exploring the discovery of LLM-friendly generic indicators further and investigating the impact of language priors from LLMs on tabular classification more broadly. The potential for SPROUT to be used alongside privacy-preserving techniques is also highlighted.
Summary updated