Active Learning with LLMs for Partially Observed and Cost-Aware Scenarios

Nicolás Astorga, Tennison Liu, Nabeel Seedat, Mihaela van der SchaarNeurIPS 2024

This research introduces POCA (Partially Observable Cost-Aware Active-Learning), a framework designed for real-world machine learning where training data is incomplete and acquiring new information—whether labels or specific features—is expensive. By using Large Language Models (LLMs) to "fill in the blanks" of missing data, the authors demonstrate a strategic way to decide exactly which data points and features are worth acquiring to improve a model most efficiently.

TL;DR

The authors propose POCA, a framework that handles active learning in "messy" real-world scenarios where features are partially missing and data acquisition is costly. By leveraging LLMs as generative models to estimate the value of unobserved information, their method significantly outperforms traditional active learning techniques that struggle with incomplete data.

The Challenge of Incomplete Data and Acquisition Costs

Traditional Active Learning (AL) is built on a clean assumption: you have a "pool" of data where all features are visible, and you just need to decide which samples to send to a human for labeling.

In reality, data is rarely that pristine. In fields like healthcare or finance, you might only have basic demographics for a patient (partial features) and need to decide if it's worth paying for an expensive MRI (additional features) or a specialist's diagnosis (label). Standard AL metrics fail here because they cannot accurately estimate uncertainty when half the input features are missing. This paper tackles the dual challenge of partial observability and acquisition costs for both features and labels.

Comparison of Partially Observable Cost-aware Active-learning (POCA) and traditional Active Learning.

The $\mu$POCA Framework

The authors introduce $\mu$POCA, a Bayesian instantiation of their framework. The core idea is to maximize "uncertainty reduction" (Information Gain) while staying within a budget.

  1. Generative Surrogate Models (GSMs): Since we don't know the values of missing features, we can't calculate how much they would help. $\mu$POCA uses an LLM (specifically Mistral-7B) fine-tuned on tabular data to act as a GSM. The LLM generates probable values for missing features based on the ones we already see.
  2. New Metrics (PO-EIG & PO-EPIG): They extend classic metrics like Expected Information Gain (EIG) to the partially observed (PO) setting. These new metrics use the LLM's probabilistic imputations to estimate how much a model's uncertainty would drop if we actually acquired those missing features.
  3. Cost-Aware Utility: The framework uses a utility function that balances this estimated uncertainty reduction against the actual monetary or time cost of acquiring the data.

Datasets and Evaluation

The researchers evaluated $\mu$POCA on five diverse tabular datasets commonly used in AL and tabular generation benchmarks:

  • Magic: Gamma telescope data.
  • Adult: Census income data.
  • Housing: California housing prices.
  • Cardio: Cardiovascular disease records.
  • Banking: Marketing campaign data.
  • Synthetic 2D Data: Used for controlled experiments to validate theoretical proofs regarding feature correlation and uncertainty.

Key Insights

  • The Failure of "Vanilla" AL: Standard AL metrics computed on partially observed features can perform worse than random selection. This is because the model's uncertainty estimates are unreliable when the input is incomplete.
  • LLMs as Tabular Experts: The paper highlights that LLMs are surprisingly good at handling tabular data. Their ability to handle "arbitrary conditioning"—meaning they can predict any missing feature given any subset of observed ones—makes them superior to traditional imputation methods for this task.
  • The "Aha" Moment on Cost: The authors show that "buying" fewer features for more instances is often better than buying all features for fewer instances. $\mu$POCA naturally finds this balance, allowing for a more efficient allocation of a fixed budget.
  • Imputation is not Acquisition: While the LLM is used to estimate the value of data, the paper emphasizes that synthetic data cannot replace real data for final model training. Imputation helps you decide what to buy, but you still need to buy the real thing to maximize performance.

Key Results

The results show that $\mu$POCA consistently outperforms standard Active Learning and random baselines across all tested datasets.

  • Performance Boost: In datasets like Magic and Banking, $\mu$POCA reached higher accuracy levels much faster than vanilla AL.
  • Matching the Oracle: In many scenarios, $\mu$POCA's performance closely tracked the "Oracle" baseline (a theoretical model that can see all features for free), proving the LLM-based estimation is highly effective.
  • Budget Efficiency: Under strict budget constraints, $\mu$POCA's cost-aware feature selection provided a significant accuracy lead over methods that blindly acquired all features for every selected sample.
Test accuracy across various datasets showing $\mu$POCA outperforming vanilla AL metrics and random baselines.

Limitations and Future Work

  • LLM Bias: Like all generative models, LLMs can have biases. If the LLM's imputations are biased, the acquisition strategy might systematically ignore certain types of important data.
  • Computational Overhead: Fine-tuning and running inference on a 7B-parameter LLM for every acquisition cycle is computationally expensive compared to simpler methods.
  • Future Directions: The authors suggest exploring even larger LLMs and developing methods to better quantify the uncertainty of the GSM itself to make the acquisition process even more robust.

Summary updated

BibTeX
@inproceedings{astorga2024active,
  author = {Nicolás Astorga and Tennison Liu and Nabeel Seedat and Mihaela van der Schaar},
  title = {{Active Learning with LLMs for Partially Observed and Cost-Aware Scenarios}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=bescO94wog},
}
Figure