Building Trust in Clinical LLMs: Bias Analysis and Dataset Transparency
Svetlana Maslenkova, Clement Christophe, Marco AF Pimentel, Tathagata Raha, Muhammad Umar Salman, Ahmed Al Mahrooqi, Avani Gupta, Shadab Khan, Ronnie Rajan, Praveenkumar Kanithi
TL;DR
This work addresses the risk that pretraining data biases propagate into clinical LLMs by introducing HC4, a healthcare-focused corpus exceeding 89 billion tokens, and a bias-evaluation framework tailored to healthcare. It combines general-domain bias benchmarks (e.g., BOLD) with a healthcare-specific probe for differential opioid prescribing, implemented through nine models across GPT-2, Llama-3, and Mistral trained on HC4, SlimPajama, and FineWeb. The study demonstrates that pretraining data and architecture shape bias patterns, revealing distinct healthcare biases such as ethnicity- and age-related prescribing tendencies, and highlights the Net Bias Prescription Score $NBPS = M_{over} - M_{under}$ as a key metric. By releasing HC4 and a transparent bias-analysis methodology, the paper advocates for systematic, domain-aware bias evaluation throughout dataset curation and model deployment to promote fair and safe clinical AI.
Abstract
Large language models offer transformative potential for healthcare, yet their responsible and equitable development depends critically on a deeper understanding of how training data characteristics influence model behavior, including the potential for bias. Current practices in dataset curation and bias assessment often lack the necessary transparency, creating an urgent need for comprehensive evaluation frameworks to foster trust and guide improvements. In this study, we present an in-depth analysis of potential downstream biases in clinical language models, with a focus on differential opioid prescription tendencies across diverse demographic groups, such as ethnicity, gender, and age. As part of this investigation, we introduce HC4: Healthcare Comprehensive Commons Corpus, a novel and extensively curated pretraining dataset exceeding 89 billion tokens. Our evaluation leverages both established general benchmarks and a novel, healthcare-specific methodology, offering crucial insights to support fairness and safety in clinical AI applications.
