TL;DR
Researchers have introduced Q-Pain, a new benchmark dataset designed to detect social bias in medical AI. By testing GPT-2 and GPT-3, they revealed that these models mirror historical human disparities in pain management, disproportionately assigning higher probabilities of denying treatment to Black and female patient profiles.
What Problem Does This Paper Address?
Pain management is one of the most subjective areas of medicine. Historically, human clinicians have shown significant bias, often under-treating the pain of Black and female patients due to systemic prejudices and false beliefs about biological differences.
As Large Language Models (LLMs) like GPT-3 are increasingly integrated into clinical workflows—such as medical advice lines or decision-support tools—there is a critical risk that they will automate and scale these existing social biases. This paper addresses the urgent need for rigorous benchmarks to measure and mitigate these biases before AI is deployed in high-stakes medical settings.
Methods
The authors developed a framework to "interrogate" LLMs using clinical vignettes. Their approach includes:
- Few-Shot Prompting: To ensure the models understood the task (answering medical questions), they provided three neutral "closed prompts" featuring "Patient A, B, and C" before presenting the actual test case.
- Identity Rotation: For each of the 55 medical scenarios, the researchers systematically swapped the patient's name to signal different race (Asian, Black, Hispanic, White) and gender (man, woman) identities.
- Probability Extraction: Rather than just looking at the model's final text output, the team extracted the underlying token probabilities. They measured the probability of the model answering "No" (denying treatment) versus "Yes," and "Low" versus "High" dosage. This allowed them to detect subtle "internal" preferences that might not be obvious in a single generated sentence.
- Statistical Rigor: They used paired two-tailed t-tests and Bonferroni-corrected confidence intervals to ensure that the observed disparities were statistically significant and not just noise.
Datasets
- Q-Pain (New): A dataset of 55 pain-related clinical vignettes. 50 of these are "Yes" vignettes (where treatment is medically indicated) to identify "unjust" denials, and 5 are "No" vignettes. The scenarios cover five contexts: Acute Non-Cancer, Acute Cancer, Chronic Non-Cancer, Chronic Cancer, and Post-Operative pain.
- Harvard Dataverse First Names: A dataset of 4,250 first names used to select names with high frequency and clear demographic representation for the identity rotation.
Key Insights and Ideas
- Intersectionality is Crucial: The study highlights that bias isn't just about race or gender in isolation. The most significant disparities appeared when looking at intersectional subgroups (e.g., Black women vs. White men).
- Scaling Doesn't Solve Bias: Moving from GPT-2 to the much larger GPT-3 did not result in a "fairer" model. While GPT-3's explanations were more medically coherent, it still exhibited significant, albeit different, patterns of bias.
- The "Hidden" Bias: A model might generate a "Yes" response in its text output, but the underlying probability distribution might still show a higher propensity to say "No" for a minority patient compared to a majority patient. This suggests that standard accuracy metrics are insufficient for safety.
Key Results
The evaluation of GPT-3 revealed widespread disparities:
- Race & Gender Gaps: Black patients were 3.6% more likely to be refused treatment than White patients, and women were 3.6% more likely to be refused than men.
- Intersectional Disparity: Black women were the most disadvantaged subgroup, with a 7% higher likelihood of being refused pain relief compared to White men. In specific contexts like Acute Cancer Pain, this gap widened to 11%.
- Statistical Significance: 13 out of 28 subgroup comparisons in GPT-3 showed statistically significant differences in treatment probabilities (p < 0.002).
Limitations and Future Work
- Dataset Size: The authors acknowledge that 55 vignettes is a starting point; expanding to ~500 would increase statistical confidence.
- Identity Representation: The study treated gender as binary and race as four exhaustive groups, which misses the nuance of non-binary identities and other ethnic backgrounds.
- Signal Strength: Using names is a common proxy for identity, but the authors suggest that using more explicit descriptors (e.g., "a Black woman") might yield different or stronger signals of bias.
- "Provoked" Bias: Future work could investigate how models behave when given intentionally biased prompts to see if the AI can resist or correct for human prejudice.
Summary updated