Can SAEs reveal and mitigate racial biases of LLMs in healthcare?

Hiba Ahsan, Byron C Wallace

TL;DR

Sparse Autoencoders (SAEs) can successfully uncover hidden, stigmatizing racial biases inside healthcare LLMs, revealing that models secretly link Black identity with concepts like violence or drug use. However, while researchers can use SAEs to prove these biases causally affect clinical predictions—even when the model's Chain-of-Thought reasoning hides it—simply turning off these "race latents" fails to meaningfully mitigate bias in complex, real-world clinical tasks.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly being deployed in healthcare for tasks like automated documentation and clinical decision support. However, these models risk inheriting and amplifying systemic racial biases, potentially exacerbating health disparities (e.g., inappropriately factoring race into pain management or risk assessments).

Because LLMs are black boxes, clinicians cannot easily tell when a model is spuriously relying on patient demographics. The authors investigate whether Sparse Autoencoders (SAEs)—tools from mechanistic interpretability that map unreadable neural network activations into human-understandable "concepts" (latents)—can be used to detect, understand, and ultimately remove racial bias from LLMs operating on clinical text.

Methods

The researchers focused on gemma-2-2B-it and gemma-2-9B-it models, utilizing their corresponding open-source Gemmascope SAEs. Their approach involved:

  1. Locating Race Latents: They trained a logistic regression probe on SAE activations over clinical notes to identify specific latents that strongly predict whether a patient is Black or White.
  2. Domain-Specific Reinterpretation: Because default SAE concept descriptions are general-purpose, they often fail in medical contexts (e.g., a latent labeled "vehicle maintenance" actually fired on "heart valve replacements"). The authors used an LLM explainer to automatically generate new, clinically accurate descriptions for the latents.
  3. Causal Steering: To prove these latents actually drive model behavior, they artificially boosted the activation of the "Black" latent during inference to see if it changed the model's clinical predictions (e.g., predicting if a patient will become "belligerent").
  4. Bias Mitigation (Ablation): They attempted to debias the models by zero-ablating (turning off) the identified race latents during both simple tasks (generating patient vignettes) and complex tasks (clinical risk prediction and pain management), comparing this to standard anti-bias prompting.

Datasets

  • MIMIC-III: Deidentified clinical discharge summaries used to train the race probe and reinterpret SAE latents.
  • MIMIC-IV (Brief Hospital Courses): Used for clinical risk prediction tasks (e.g., predicting cocaine abuse, gestational hypertension, and patient belligerence from clinical notes).
  • Q-Pain: An existing benchmark dataset of medical scenarios designed to measure social bias in pain management (e.g., deciding whether to prescribe oxycodone).

Key Insights and Ideas

  • Context is king for interpretability: SAE latents must be interpreted within the domain they are being used. General-domain SAE labels are highly misleading when applied to specialized fields like healthcare.
  • Problematic entanglement: The SAE latent that fires for literal mentions of "African American" also fires heavily on stigmatizing terms like "incarceration," "altercation with police," and "cocaine." The model has deeply internalized harmful stereotypes into single conceptual features.
Latent activations showing problematic entanglement with stigmatizing terms.
  • Chain-of-Thought (CoT) is unfaithful: When researchers causally steered the model to view a patient as "more Black," the model drastically increased its prediction that the patient would become violent. Yet, the model's CoT explanation never once mentioned race as a factor. You cannot trust an LLM to honestly explain its own biases.
  • Interpretability doesn't easily translate to mitigation: While ablating a single race latent works for simple, localized tasks, it fails in realistic clinical reasoning. Race is likely too dispersed and entangled with other clinical concepts for simple "concept deletion" to work without breaking the model.

Key Results

  • Finding the Bias: The top "Black" latent strongly correlated with Black identity, achieving AUROCs of 0.63 (2B model) and 0.72 (9B model) on the clinical probe.
  • Steering Behavior: Artificially increasing the "Black" latent increased the model's positive rate for predicting patient belligerence by a massive +0.51 (2B) and +0.80 (9B).
Effect of specific latents on clinical prediction tasks across gemma-2 models.
  • Mitigation Success (Simple Task): When asked to generate a vignette of a patient with cocaine abuse, the baseline model made the patient Black 88% of the time. Ablating the race latent successfully dropped this to 46%.
  • Mitigation Failure (Complex Tasks): In realistic clinical tasks (like the Q-Pain benchmark or predicting risk from a real patient note), ablating race latents had almost zero impact on the model's biased outputs (Fractional Logit Difference Decrease was < 3% across the board). Standard anti-bias prompting in the context window actually outperformed SAE ablation.

Limitations and Future Work

  • Model Scope: The study primarily analyzes the gemma-2 family of models (with a brief check on gpt-oss-20b), so the specific encoding of racial associations might differ in other architectures.
  • Demographic Scope: Due to sample size limitations in the clinical datasets, the analysis was restricted strictly to Black vs. White patient comparisons.
  • Data Diversity: The clinical datasets (MIMIC) are sourced from a single hospital system, which may reflect localized documentation quirks rather than universal clinical language.
  • Future Work: The authors suggest that future research must figure out how to disentangle demographic concepts from valid clinical concepts if SAEs are ever to be practically useful for debiasing complex downstream tasks.

Summary updated

BibTeX
@inproceedings{ahsan2026can,
  author = {Hiba Ahsan and Byron C Wallace},
  title = {{Can SAEs reveal and mitigate racial biases of LLMs in healthcare?}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=HAdITwqwLH},
}
Figure