Abstract
As Large Language Models (LLMs) are increasingly applied to tabular data tasks, recent research reveals a sobering reality: they inherit and amplify significant social biases from their pre-training data. While fine-tuning and in-context learning can mitigate these biases, LLMs often remain less "fair" than traditional machine learning models like Random Forests. This paper systematically audits GPT-3.5-turbo across high-stakes tabular benchmarks to understand how "social baggage" affects automated decision-making.
Introduction
Tabular data—the structured rows and columns found in databases—powers high-stakes decision-making in finance, healthcare, and the legal system. Traditionally, practitioners use "shallow" models like XGBoost or Random Forests for these tasks. However, a new trend involves serializing this data into natural language and feeding it to LLMs. This shift raises a critical question: while the fairness of traditional ML is well-studied, we don't fully understand how the stereotypes learned from the internet affect tabular classification. If an LLM is asked to predict credit risk, does it rely on the data provided, or does it fall back on societal biases regarding gender or race?
Methodology and Datasets
The researchers conducted a systematic audit of GPT-3.5-turbo across several experimental setups:
- Zero-Shot Prompting: Asking the model for a prediction with just a task description.
- In-Context Learning (ICL): Providing 50 labeled examples within the prompt.
- Label-Flipping: A "stress test" where labels of ICL examples are reversed to see if the model prioritizes the provided examples or its internal biases.
- Fine-Tuning (FT): Training the model on the full task dataset.
- Resampling: Applying traditional fairness techniques like oversampling minority groups during fine-tuning.
These approaches were compared against two traditional baselines: Random Forests (RF) and a 3-layer Neural Network (NN). Fairness was measured using Statistical Parity (SP) and Equality of Opportunity (EoO), which track whether different subgroups (e.g., male vs. female) receive similar treatment or accuracy.
The study utilized three classic "high-stakes" tabular benchmarks: Adult Income (predicting income >$50k), German Credit (classifying credit risk), and COMPAS (predicting criminal recidivism).
Analysis of LLM Bias
The study yielded several key insights into the nature of LLM bias in tabular contexts:
- Bias is Inherent, Not Just Data-Driven: Even when protected attributes (like race or sex) were removed from the prompt, the LLM still exhibited significant fairness gaps. This suggests the model uses other features to "proxy" for the missing information based on stereotypes learned during pre-training.
- The Semantic Prior Trap: In many NLP tasks, the actual labels in few-shot examples don't matter much. However, in tabular tasks, the authors found that label-flipping (e.g., showing examples where "low income" is the positive class) drastically reduced bias. This confirms that the LLM's bias is tied to its pre-trained semantic understanding of the features.
- Traditional Mitigation Fails LLMs: Techniques like resampling, which are highly effective for Random Forests, yielded inconsistent results for LLMs. This indicates that LLMs require a different "fairness toolkit" than traditional ML.
Key Results
The empirical results highlight a substantial fairness gap between zero-shot LLMs and traditional models.
In the Adult Income dataset (zero-shot), the Equality of Opportunity (EoO) gap for GPT-3.5 was a massive 0.483, compared to just 0.195 for a Random Forest. While fine-tuning was the most effective mitigation strategy—reducing the Adult EoO gap to 0.0714, which actually outperformed the Neural Network baseline (0.123)—the initial bias in zero-shot settings remains a significant barrier to deployment. Furthermore, while label-flipping in the prompt nearly eliminated the bias (dropping the Adult EoO gap to 0.037), it came at a significant cost to overall prediction accuracy.
Conclusion and Future Work
While LLMs offer flexibility, they introduce significant fairness risks in tabular classification that traditional models do not. Fine-tuning helps close this gap, but the LLM often still struggles to reach the fairness levels of a simple Random Forest. Future directions include exploring Chain-of-Thought (CoT) prompting to see if forcing the model to "reason" through the data reduces its reliance on stereotypes, and developing LLM-specific fairness interventions that go beyond simple data resampling.
Summary updated