Abstract
Traditional benchmarks for Large Language Models (LLMs) often focus on tasks with deterministic answers. However, many real-world applications require models to navigate inherent uncertainty. This paper introduces folktexts, a framework designed to evaluate LLMs as "risk scorers" by measuring their ability to quantify aleatoric uncertainty. The study reveals that while modern LLMs possess significant predictive power, they often suffer from poor calibration, with instruction-tuning frequently exacerbating overconfidence and polarization.
Introduction
Most current LLM evaluations prioritize accuracy in "realizable" tasks—questions with a single, verifiable correct answer. In contrast, consequential domains like healthcare, finance, and hiring involve decisions where the ground truth is statistically uncertain. In these contexts, a model's utility depends not just on its average accuracy, but on its calibration: the degree to which its predicted probabilities reflect actual outcomes.
The researchers argue that current benchmarks have a "blind spot" regarding aleatoric uncertainty (uncertainty inherent in the data). A model that is right on average but provides misleadingly high or low confidence scores can be dangerous for decision-making. This work seeks to bridge this gap by treating LLMs as traditional statistical risk scores.
Methodology: The folktexts Framework
To evaluate LLMs in this capacity, the researchers developed folktexts, an open-source Python package that integrates tabular machine learning workflows with natural language processing. The framework transforms structured data into natural language prompts to elicit probabilistic responses from models.
As shown in Figure 1, the workflow consists of four primary stages:
- Data Encoding: Tabular features (e.g., age, occupation) are extracted from a dataset.
- Prompting: These features are converted into a "persona" description. The model is then asked a question based on US Census survey data.
- Score Extraction: The framework extracts the logprobs of specific tokens (e.g., "A" or "B" in a multiple-choice format) to derive a continuous risk score between 0 and 1.
- Comparison: These scores are benchmarked against actual outcomes to assess calibration and predictive performance (AUC).
The study explored two prompting strategies: Multiple-choice (standard A/B selection) and Numeric prompting (asking the model to explicitly state a probability value).
Datasets and Benchmarking
The benchmarks were constructed using the American Community Survey (ACS) Public Use Microdata Sample, encompassing over 3.2 million individuals. Five specific tasks were adapted from the folktables package:
- ACSIncome: Predicting if yearly income exceeds $50,000.
- ACSPublicCoverage: Predicting public health insurance coverage.
- ACSMobility: Predicting residential moves within the last year.
- ACSEmployment: Predicting employment status.
- ACSTravelTime: Predicting if a commute exceeds 20 minutes.
Key Insights
The Instruction-Tuning Paradox
A significant finding is that instruction tuning—while improving a model's ability to follow directions—often degrades calibration in multiple-choice settings. It tends to "polarize" models, pushing them toward 0% or 100% confidence even when the underlying data is highly uncertain. In contrast, base models (not fine-tuned for chat) often exhibit "under-confidence," with scores clustering around 0.5.
Impact of Prompting Styles
Prompting style significantly influences calibration. The researchers found that numeric prompting (asking for a verbalized probability) generally improved calibration for instruction-tuned models, although it sometimes led to a slight decrease in overall predictive accuracy (AUC).
Predictive Signal vs. Calibration Error
Most evaluated LLMs (8B parameters and larger) demonstrated a strong predictive signal, outperforming simple linear regression in terms of AUC. However, they consistently lagged behind specialized supervised models like XGBoost in calibration. While XGBoost achieved near-perfect calibration (Expected Calibration Error ≈ 0.00), LLMs frequently showed ECEs above 0.20.
Hidden Biases and Subgroup Calibration
The study also highlighted issues of fairness. Even when sensitive attributes like race were omitted from the prompt, models exhibited "subgroup miscalibration." For instance, some models consistently assigned lower income-risk scores to Black individuals compared to White or Asian individuals with identical statistical probabilities of high income.
Conclusion and Future Directions
While LLMs show promise as predictive tools, their current calibration levels make them risky for direct use as automated risk scorers in sensitive domains. Calibration is a necessary, but not sufficient, condition for fairness and ethical deployment. Future work will explore advanced uncertainty quantification techniques, such as conformal prediction and confidence intervals, to further refine the reliability of LLMs in statistical decision-making tasks.
Summary updated