← Latest papers
🤖 machine learning

Pathology Transport: Optimal-Transport Explanations for Clinical Data, and When Their Heatmaps (Fail to) Localize Disease

This paper introduces an optimal-transport-based generative framework for explaining clinical AI that successfully generates unsupervised malignancy scores and tabular counterfactuals, but critically reveals that while its heatmaps can localize synthetic lesions, they fail to accurately identify real disease regions in medical imaging, highlighting a significant gap between synthetic benchmarks and clinical reality.

Original authors: Lalit Kumar

Published 2026-08-19
📖 5 min read🧠 Deep dive

Original authors: Lalit Kumar

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the world of medical AI, a computer program that predicts whether a patient has a disease is only half the story. Doctors need to know why the machine reached that conclusion. They need to see which specific measurements tipped the scales or which part of an X-ray image looks suspicious. For years, researchers have tried to build these explanations by poking at a finished prediction model, asking it to justify its choices. But a different approach asks a bolder question: what if we could map the journey from health to sickness directly, without ever needing a prediction model to begin with? This idea treats a group of healthy patients and a group of sick patients as two distinct clouds of data points. The goal is to draw a smooth, logical path that connects these two clouds, showing exactly how a healthy body changes to become a diseased one. If such a map exists, it could reveal the precise biological shifts that define an illness, offering a clear, visual explanation of disease that feels natural and grounded in reality.

A researcher set out to test this concept using a mathematical framework known as optimal transport, which essentially finds the most efficient way to move one group of things into the shape of another. They built a system that learns this movement by studying real medical data, first using a dataset of breast cancer biopsies and then moving to chest X-rays. In the first experiment, they fed the computer information about thirty different measurements taken from cell nuclei, such as their size, shape, and texture. The system learned to transport the data points representing healthy cells into the space occupied by malignant cells. The result was a single model that could do three things at once. It could take a specific patient's data and show what that patient would look like if they were sick, highlighting exactly which measurements changed. It could assign a risk score to any patient based on how far their data had to travel to reach the "sick" zone. And it could produce a general map showing which biological features are most important for the disease, without the system ever being told which patients were actually sick during its training.

The results on the breast cancer data were encouraging. The system generated a risk score that correctly identified malignant cases about ninety-one percent of the time, a strong performance for a method that never saw a diagnosis label. More importantly, the explanations it produced made sense to human experts. When the system showed how a healthy cell became cancerous, it pointed to the exact same biological features that pathologists look for, such as irregular nuclear shapes and larger cell sizes. The system did not beat a standard, supervised computer program at predicting the outcome, but it succeeded in creating a clear, navigable path between health and disease that a standard program cannot provide. It offered a way to visualize the disease process itself rather than just a final verdict.

However, the story took a sharp turn when the researcher applied the same method to chest X-rays, trying to see if the system could pinpoint the exact location of pneumonia in a lung image. They trained the model to move images of healthy lungs toward the shape of lungs with pneumonia. When they looked at the resulting heatmaps, which were supposed to highlight the diseased areas, the system failed to localize the problem. Instead of focusing on the specific spot where the infection was, the heatmap spread out across the entire lung, acting more like a general signal that "something is wrong" rather than a precise map of where the trouble lies. To understand why this happened, the researcher created a controlled test by planting a fake, artificial spot of disease into a healthy lung image. On these synthetic, perfect spots, the system's heatmap did work, successfully pointing to the fake lesion.

This success on fake data led to a critical discovery about the limits of the technology. When the researcher tested the system on real X-rays from a large medical challenge, where doctors had drawn actual boxes around the pneumonia, the system's performance collapsed. The heatmaps that looked so promising on the artificial spots failed to find the real disease, performing no better than random chance. The researcher found that the system was reacting to the normal, complex variations in human anatomy, such as the edges of ribs or the curve of the diaphragm, rather than the actual infection. The lesson was stark: a heatmap that looks convincing on a simple, artificial test does not prove the system can find real disease in a complex, messy human body. While the method successfully created a beautiful and logical map of how health transforms into disease for simple data, it has not yet solved the harder problem of pinpointing specific diseases in real medical images without human guidance. The work stands as a powerful demonstration of how to build explainable AI, but also as a necessary warning that what looks like a solution in a controlled simulation may not hold up in the real world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →