TL;DR
Standard AI fairness tools assume a model only predicts a single outcome based on fixed, real-world inputs—a neat assumption that completely breaks down when a generative model hallucinates an entire persona from scratch. This paper extends causal fairness to generative AI, allowing us to pinpoint why an LLM produces biased outputs by untangling its internal beliefs about direct stereotypes, socioeconomic mediators, and demographic confounders. When applied to 10 major open-weight LLMs, this causal audit reveals that models don't just amplify real-world disparities—they frequently invent inverted realities of their own.
What Problem Does This Paper Address?
Imagine you are auditing a traditional machine learning model that predicts loan defaults ($Y$). You feed it real-world tabular data: race ($X$), age ($Z$), and income ($W$). Because $X$, $Z$, and $W$ come straight from reality, any new bias the model introduces must live inside that final predictive step mapping features to $Y$.
Generative AI throws this tidy setup out the window. If you prompt an LLM to write a story about a "24-year-old White woman" and ask whether she smokes marijuana, the model doesn't just output the final outcome ($Y$). Along the way, it invents her education and income ($W$). If the LLM exhibits a racial disparity in substance use, why did it happen? Does the model encode a direct stereotype linking race to drug use ($X \to Y$), or does it believe race dictates income, which in turn drives drug use ($X \to W \to Y$)? Furthermore, generative models operate on raw text or pixels rather than neat tabular variables, and their internal variable correlations often drift far from reality. Prior fairness frameworks couldn't untangle this web of synthetic causal mechanisms.
Methods
To bridge the real world and the model's synthetic world, the author introduces the $S$-Standard Fairness Model ($S$-SFM) using Structural Causal Models (SCMs). Here, $X$ is a protected attribute, $Z$ represents confounders, $W$ represents mediators, and $Y$ is the outcome.
The magic lies in the selection node $S$, which acts like a railway switch toggling between real-world mechanisms ($S = 0$) and generative model mechanisms ($S = 1$). Unlike standard ML—where $S$ only points to $Y$—in generative AI, $S$ points to everything ($X, Z, W, Y$).
Using this setup, the author derives a two-way Causal Decomposition of Total Variation (the overall disparity between groups):
- By Pathway: Breaking disparities into direct ($X \to Y$), indirect ($X \to W \to Y$), and spurious/confounded ($X \leftrightarrow Z \to Y$) effects.
- Stepwise by Mechanism: Progressively flipping the $S$-switches from real-world data to LLM generation—first letting the LLM generate only $Y$, then both $W$ and $Y$, and finally the entire profile $(X, Z, W, Y)$.
To make this operational on text, the pipeline queries an LLM generator with conditional prompts (seeded with real survey rows) to write short biographical narratives, and uses a second, validated LLM as an annotator to extract structured tabular values from the stories.
Datasets
The paper audits 10 open-weight LLMs (spanning Llama 3, Qwen 3.5, Gemma 3, DeepSeek-R1, Ministral/Mistral, and Phi-4 families) against three nationally representative US survey datasets ($n = 8,192$ weighted rows each) serving as the real-world ground truth:
- NSDUH 2023: Examining racial bias (White vs. African-American/Hispanic) in monthly marijuana use, mediated by education and income.
- BRFSS 2023: Examining racial bias in diabetes diagnosis, mediated by education, income, BMI, and exercise.
- ACS 2023 (US Census): Examining sex bias (male vs. female) in earning below $50k/year, mediated by education, hours worked, and employer type.
No new standalone benchmark datasets are introduced; rather, the methodology turns existing public surveys into causal auditing baselines.
Key Insights and Ideas
- Traditional ML fairness is just a special case: If you lock the $S$-switches for $X$, $Z$, and $W$ to the real world, all the new generative decomposition terms cleanly collapse to zero, unifying tabular ML and generative AI under one mathematical roof.
- LLMs don't just amplify reality; they flip it: We often expect AI trained on human data to act like a funhouse mirror, exaggerating existing biases. Surprisingly, LLMs frequently reverse the sign of real-world causal pathways, hallucinating disparities that run completely counter to empirical data.
- Model families don't share "bias DNA": Comparing the 27-dimensional "bias signatures" across models reveals that architectural siblings don't reliably think alike. For instance, Llama 3 8B and 70B sit closer to Mistral models than to each other ($p = 0.19$ in a family permutation test), suggesting scale and post-training recipes overwrite family lineage.
Key Results
- Widespread Amplification and Reversal: Across 21 real-world disadvantage pathways, no model consistently dampens bias. Depending on the model, real-world biases are amplified in 24%–53% of pathways (with Llama 3 70B amplifying 53%) and outright reversed in 5%–52% of pathways.
- Localizing Stereotypes in Llama 3 8B: In real NSDUH data, minority respondents have a lower direct rate of marijuana use when controlling for socioeconomic factors ($\text{DE} = -3.8\%$). When Llama 3 8B generates mediators and outcomes, the aggregate disparity flips from $-1.7\%$ to $+4.2\%$. The causal decomposition proves this isn't due to imagined income gaps—it is driven almost entirely by a reversed direct stereotype ($\text{DE}$ jumps to $+3.6\%$).
- Epidemiological Inversion in Qwen 3.5 27B: In reality, minority respondents in BRFSS face higher direct ($\text{DE} = +5.7\%$) and socioeconomic-mediated ($\text{IE} = +2.7\%$) diabetes risks. Under full generation, Qwen 3.5 27B flips both ($\text{DE} = -1.1\%$, $\text{IE} = -6.2\%$), shifting the overall disparity from $+3.2\%$ to $-9.1\%$.
Limitations and Future Work
- Prompt Sensitivity: Audited distributions depend on how you ask. Changing from narrative stories to structured JSON-like prompts shifts the resulting bias signatures, meaning audits reflect a specific elicitation protocol rather than an immutable model property.
- Modality Bottlenecks: While the math applies to any generator, querying arbitrary conditionals in vision models is tricky (e.g., how do you prompt an image generator with a precise income bracket without leaking other cues?).
- Causal Direction & Graph Assumptions: The framework requires humans to specify a valid causal graph ($S$-SFM) upfront—different graphs may yield different conclusions—and does not yet audit reverse-causal inferences (like inferring a person's sex from their salary). Finally, this tool strictly diagnoses causal bias; figuring out how to surgically debias these internal mechanisms remains an open frontier.
Summary updated