Researchers at Johns Hopkins University, working with the U.S. Food and Drug Administration, have built a tool designed to uncover hidden problems in the datasets used to train medical AI — a class of research whose implications land squarely in African healthcare, where the imaging systems, patient populations and clinical workflows behind training data often vary sharply from the settings the models will later be deployed in.
The tool, called Generalized Attribute Utility and Detectability-Induced Bias Testing (G-AUDIT), scans training data for subtle patterns that could lead AI models to draw the wrong conclusions. Rather than auditing model outputs after the fact, it examines the training data itself, ranking the attributes most likely to lead the model to learn from unintended cues rather than clinically meaningful signals. The work has been published in the Springer Nature journal npj Digital Medicine.
At the centre of the argument is what the senior author, Mathias Unberath, calls the “Clever Hans” problem — a reference to a horse in early-1900s Germany that appeared to do arithmetic but was in fact reading its handler’s body language for cues. Medical AI systems, Unberath argues, can behave the same way, reaching seemingly correct clinical conclusions by picking up on irrelevant signals. “Models take the same shortcuts,” he said, pointing to a system trained to predict a person’s sex from images of their eyes — which turned out to be relying on the presence of mascara rather than any biological feature.
The team’s guiding concern is that clinical performance is not the same as clinical reasoning. “We train models to be the most predictive,” Unberath said, adding that developers have essentially no control over which features the model chooses to lean on. That gap is precisely what G-AUDIT tries to close, by flagging the metadata that carries the highest risk of teaching the model the wrong lesson.
Mitchell Pavlak, a co-author and PhD student in Unberath’s lab, framed the shift as being about intervening earlier in the pipeline. “We’re not checking our work after the fact,” he said — the tool works on the data before a model has been trained.
The team tested G-AUDIT on medical images, text and structured data. In one striking case, a skin cancer dataset combined images from a specialist cancer clinic serving a high-risk population with images from a general dermatology clinic seeing fewer cancer cases. The two clinics used imaging systems of different quality, and the cancer clinic more often included rulers in photographs to track lesion growth. A model trained on that dataset could learn to associate camera quality — or the mere presence of a ruler — with the likelihood of cancer. Deploy it on a smartphone camera in a community clinic without rulers, and, as Unberath put it, “you have just created a health disparity.”
That failure mode has direct relevance for African healthcare AI. The continent’s medical AI ecosystem — from TB screening tools to radiology assistants to maternal health decision-support systems — is expanding rapidly, but training datasets often carry site-specific artifacts that don’t survive the leap into rural clinics, mobile deployments or under-resourced hospitals. Every source of variance the G-AUDIT team documented in the Johns Hopkins skin cancer case (imaging equipment, clinic patient mix, metadata conventions) exists in African medical imaging pipelines too, often with larger cross-site variance than in the US datasets G-AUDIT was tested on. Justice Kubayi flagged the same category of risk at the UJ AI and the Law conference earlier this month, warning that AI trained largely on foreign datasets risks perpetuating structural bias when deployed in African contexts.
The team plans to expand the tool beyond healthcare, and Unberath framed the broader contribution as a change in what auditors know to look for in the first place. Existing safeguards, he argued, are built around what developers can already imagine going wrong, which means the failure modes that matter most — the ones nobody has thought to check — routinely slip through.
The paper is available in npj Digital Medicine (Drenkow et al., “Detecting dataset bias in medical AI using a generalized and modality agnostic auditing approach,” DOI 10.1038/s41746-026-02807-y).





