Detecting Dataset Bias in Medical AI: A Generalized and Modality-Agnostic Auditing Framework

Nathan Drenkow, Mitchell Pavlak, Keith Harrigian, Ayah Zirikly, Adarsh Subbaswamy, Mathias Unberath

Introduction

Machine learning models in healthcare often achieve high performance by exploiting "shortcuts"—statistical correlations that do not reflect the underlying pathology. For example, a model might learn to identify skin cancer based on the specific camera model used at a high-volume clinic rather than the lesion's features. This paper introduces G-AUDIT, a modality-agnostic framework designed to proactively identify these latent biases across images, text, and tabular data before model deployment.

The G-AUDIT Framework

G-AUDIT quantifies shortcut risk by analyzing the relationship between raw data ($X$), task labels ($Y$), and auxiliary attributes ($A$). The framework relies on two primary information-theoretic metrics:

  1. Utility ($MI(A; Y)$): Measures how much information an attribute provides about the target label. High utility suggests the attribute is a strong candidate for a shortcut.
  2. Detectability ($MI(A; \hat{A})$): Measures how easily a surrogate model can extract the attribute from the raw input. If an attribute is easily "seen" by a model, it is more likely to be exploited.
The G-AUDIT workflow consists of three stages: data collection and annotation, a generalized data audit using utility and detectability metrics, and a final risk analysis to identify high-risk shortcuts.

An attribute is considered a high-risk shortcut if it possesses both high utility and high detectability. To make these scores interpretable, the authors include a calibration procedure that maps utility to a potential drop in Area Under the Curve (AUC), providing a quantitative bound on performance degradation.

Experimental Setup and Datasets

The authors validated G-AUDIT across three distinct medical data modalities:

  • Images (ISIC 2019): Auditing skin lesion metadata (e.g., image dimensions, collection year) against patient demographics.
  • Text (JHM Clinical Notes): Analyzing stigmatizing language in notes, focusing on patient race, sex, and clinical specialty.
  • Tabular (MIMIC-III): Predicting ICU mortality while examining features like intervention "missingness" (e.g., whether a lab value was recorded or not).

Key Findings

Metadata and Technical Artifacts

In the ISIC dataset, technical metadata such as "Year of Collection," "Image Height," and "Image Width" emerged as significantly higher risks than patient demographics like age or sex. These artifacts often serve as proxies for specific clinical sites or equipment, which may be correlated with disease prevalence.

Contextual and Structural Shortcuts

In EHR text analysis, "Clinical Specialty" was found to be a more potent shortcut for stigmatizing language than patient race, suggesting models may learn departmental biases. In tabular data, the "missingness" of clinical data (e.g., a missing temperature reading) was both highly detectable and predictive of mortality, representing a classic data leakage shortcut where the care process itself reveals the outcome.

Results and Risk Bounding

Empirical results demonstrate that G-AUDIT effectively flags high-risk attributes. For the ISIC dataset, "Year" showed a detectability of 0.862 and a utility of 0.052. The calibration tool translated these metrics into a tangible risk: shortcuts flagged by the framework could lead to a worst-case AUC drop of over 0.20.

Left: Attribute detectability vs. utility for the ISIC dataset, highlighting technical metadata as high-risk. Right: Task performance calibration showing the potential AUC drop as shortcut utility increases.

Conclusion and Future Directions

G-AUDIT provides a rigorous, quantitative method for auditing medical datasets. While it identifies statistical risks, the authors emphasize the necessity of a "human-in-the-loop" to distinguish between harmful shortcuts and clinically valid features (e.g., ventilator use as a predictor of mortality). Future work aims to automate causal direction detection and improve computational scalability for massive datasets.

Summary updated

BibTeX
@misc{drenkow2025detecting,
  author = {Nathan Drenkow and Mitchell Pavlak and Keith Harrigian and Ayah Zirikly and Adarsh Subbaswamy and Mathias Unberath},
  title = {{Detecting Dataset Bias in Medical AI: A Generalized and Modality-Agnostic Auditing Framework}},
  year = {2025},
  eprint = {2503.09969},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.09969},
}
Figure