On the Effectiveness and Generalization of Race Representations for Debiasing High-Stakes Decisions
Introduction
As Large Language Models (LLMs) are increasingly integrated into high-stakes decision-making pipelines, such as university admissions and corporate hiring, their propensity for social bias has become a critical concern. Models often infer protected characteristics—like race—from proxy variables such as applicant names, leading to disparate outcomes even when explicit racial information is withheld. This paper investigates the reliability of common "black-box" prompt engineering fixes and proposes a more robust mechanistic intervention targeting the model's internal representations.
The Failure of Prompt-Based Debiasing
A common approach to mitigating bias is prompt engineering, where users add instructions like "please do not discriminate based on race." However, this study finds such methods to be highly unpredictable. In many instances, explicit fairness instructions actually increased bias or led to "model collapse," where the LLM began rejecting nearly all applicants regardless of merit. For example, asking the Gemma model not to discriminate in hiring tasks resulted in a 137% increase in its BiasScore.
Mechanistic Intervention: Searching for the Race Subspace
Instead of treating the model as a black box, the authors utilize Distributed Alignment Search (DAS) to identify specific "race subspaces" within the model's internal activations (specifically the residual streams of transformer blocks). By identifying where the model encodes racial information, "surgical" interventions become possible.
The researchers tested two primary mechanistic strategies:
- Race Averaging: Replacing a specific racial representation with the average representation across all racial groups to neutralize the signal.
- Race Projection: Mathematically removing race-related information from the activations entirely.
Experimental Setup and Datasets
To evaluate these methods, the authors developed two synthetic benchmarks:
- ADMISSIONS: 10,000 profiles for top US universities, including GPA, extracurricular activities, and names.
- HIRING: Profiles for 40 job roles featuring years of experience and referrals. The study utilized a curated list of 400 names (100 per racial group: Asian, Black, Latino, White) where race is highly inferable, while balancing for gender.
Key Results and Baseline Biases
Baseline evaluations revealed significant disparities. Without intervention, Gemma admitted 26% more White than Black applicants, while LLaMA 3.2 hired 60% more Asian than White applicants for the same qualifications.
The mechanistic "Race Averaging" approach proved most effective, reducing Gemma’s bias by 37-57% and LLaMA’s by 32% in the Admissions task. Crucially, unlike prompting, these internal interventions reduced bias while maintaining stable overall acceptance rates, preserving the model's utility.
Discussion and Generalization Challenges
A significant finding of the research is that race representations are highly prompt-dependent. The internal subspace used to represent race changes based on whether the input is a bulleted list or a paragraph. This suggests that the model's "concept" of race is not a single, universal vector but a fragmented set of representations that shift with context. Consequently, a debiasing intervention optimized for one prompt format may not generalize to others, highlighting the need for more robust, context-invariant debiasing techniques in future work.
Summary updated