AI State of the Art
Domains/AI for Healthcare / Medical/28 min
Section 221

Medical Imaging: Radiology AI (Detection, Segmentation)

Listen as a podcast →

The problem: too many images, and attention that wears out

A modern imaging study is not an image, it is a stack. A chest CT routinely produces several hundred slices; a fine acquisition produces many more. Looking for a two-millimetre nodule in that stack is looking for a grain of sand of a particular colour on a beach, and it has to be done dozens of times a day.

A machine looks at slice 247 with exactly the same attention as slice 1, on the thousandth study as on the first. That is its one genuine superiority, and it is real. So the usual arrangement is a pair: the machine flags, the radiologist decides.

Why radiology is the most advanced ground

Imaging ticks every box: digital data that is already standardized (the DICOM format, Digital Imaging and Communications in Medicine, the exchange standard for medical images), tasks that can be stated cleanly (detect, classify, outline), and very large volumes. It is the medical field with the most tools actually cleared for sale, see the end of this page.

Measurement, before anything else

This page will quote numbers. A performance number in imaging is useless, and often misleading, until you know what it measures. In radiology the trap has a name.

Class imbalance, and why accuracy is worthless here

In organized breast cancer screening, roughly five cancers are found per thousand women screened. Build the dumbest detector in the world: it always answers "nothing to report." It is right 995 times out of 1,000. Its accuracy is 99.5%. It detects nothing.

So a single "diagnostic accuracy" figure means nothing. Two measures are used, always together:

  • sensitivity: among the people who have the disease, what fraction does the tool flag? It measures missed cases.
  • specificity: among those who don't, what fraction does the tool correctly clear? It measures false alarms.

You can always buy one with the other by moving the decision threshold. A tool that cries wolf constantly has perfect sensitivity and zero specificity. That is why any pair of figures must be read together, at a fixed threshold.

Evaluation metrics builds these notions from scratch, sensitivity is recall on the diseased class, specificity is recall on the healthy class. Advanced metrics covers AUC-ROC, the area under the curve that summarizes performance across every threshold at once: convenient for comparing two models, useless for knowing what the tool will do once switched on, since in the clinic you have to pick a threshold.

And for any announced score, the full checklist is in how to read a benchmark score.

The modalities

Radiography (X-ray). Two-dimensional images, the most common. Used to detect pneumonia, fractures, nodules, cardiomegaly. Two public datasets dominate: CheXpert (CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparison) and MIMIC-CXR.

Reading the phrase radiologist-level correctly

CheXpert holds 224,316 chest radiographs from 65,240 patients, labelled for 14 observations. Its radiologist comparison, the one quoted everywhere, has a precise protocol worth knowing:

  • a test set of 500 studies only, annotated by consensus of five board-certified radiologists;
  • a comparison against three other radiologists;
  • on five selected pathologies, not fourteen;
  • and the reported result is that the model's curve lies above all three radiologist operating points on three of them (cardiomegaly, edema, pleural effusion).

Three pathologies out of five, on 500 studies, against three readers. That is a solid and interesting result. It is not "AI matches radiologists." Note too that the training labels are produced automatically from the text of the reports: the model therefore learns to reproduce what a radiologist wrote, not what the patient had.

Four chest radiographs in two rows. On the left, the raw frontal and lateral films of a patient. On the right, the same films overlaid with a purple and orange heat map lighting up at the lung bases, where the pleural effusions are.
What a model trained on CheXpert produces. On the left the radiographs as they are, on the right the region the model judged decisive: it picks out the pleural effusions on both frontal and lateral views, with probabilities of 0.936 and 0.939. The radiologist therefore sees both the prediction and the place that triggered it.Source : CheXpert, Stanford ML Group

Computed tomography (CT). A three-dimensional volume, reconstructed from many X-ray projections. Main grounds: lung nodules, pulmonary embolism, intracranial haemorrhage. The historical reference set for nodules is LUNA16.

MRI (magnetic resonance imaging). High resolution, no ionizing radiation. Brain segmentation, tumours, cardiac analysis. The fastMRI project (New York University and Meta, fastMRI: An Open Dataset and Benchmarks for Accelerated MRI) occupies a special place: instead of interpreting the image, it reconstructs it from deliberately incomplete measurements. Fewer measurements, less time in the tunnel. The project states a goal of up to tenfold acceleration; the clinically evaluated results concern more modest factors, and that gap between the stated goal and the validated factor is exactly the kind of thing to spot in a filing.

Mammography. The best-documented case, and the only one on this page resting on a prospective randomized clinical trial. See the next section: it deserves detail.

Double reading, and what AI comes to do there

In organized screening, several countries mandate double reading: two radiologists read the same film independently. It is effective and expensive. AI slots naturally into that gap, either as a third eye or as a replacement for one of the two readers. This is not an organizational detail: it changes what has to be proved. Replacing a human reader requires demonstrating non-inferiority, which is a clinical trial protocol, not a dataset score.

The mammography case: what real clinical evidence looks like

The Swedish MASAI trial randomly assigned more than 100,000 women to two arms: AI-supported screening, or standard double reading without AI. Enrolment ran from April 2021 to December 2022. Results published in The Lancet.

AI-supported armStandard double reading
Cancers detected at screening81% (338 / 420)74% (262 / 355)
Interval cancers1.55 per 1,000 women1.76 per 1,000
False positive rate1.5%1.4%

Three things to take away, and they hold well beyond mammography.

The protocol is what makes it evidence. This is not a score on archived images. It is prospective randomization across a whole screening population: you draw lots, switch it on, and watch what follows. It is the only setup that answers "does this change anything for the patients."

Both measures move together, and you need both. The share of cancers caught at screening goes from 74% to 81%, a sensitivity gain at programme level. And the false alarm rate is essentially unchanged, 1.5% against 1.4%, specificity was not paid out. Had only the first number been reported, you could not tell whether the gain had been bought by crying wolf more often.

The interval cancer is the honest measure. An interval cancer is one that appears between two screening rounds, meaning the screen missed it. It is the measure that resists gaming: you cannot improve it by finding more harmless lesions. It falls from 1.76 to 1.55 per thousand.

What even MASAI does not say

Detecting more cancers and detecting them earlier is not automatically the same as lowering mortality. A screening programme can find more lesions that would never have caused harm, that is overdiagnosis, and it leads to unnecessary treatment. Establishing an effect on mortality requires years of follow-up. That is the next question, it is open, and a filing that steps over it deserves close reading.

The architectures, one sentence each

Classify (does this image contain a pathology?): CNNs, convolutional neural networks (ResNet, DenseNet, EfficientNet) remain strong, see CNN architectures. ViTs, vision transformers, are gaining ground: they compare every region of the image against every other from the outset, where a convolution only ever looks at a neighbourhood.

Locate (where is the abnormality?): detectors that draw a box around the lesion, YOLO, Faster R-CNN, RetinaNet.

Outline (which pixels exactly?): U-Net (U-Net: Convolutional Networks for Biomedical Image Segmentation) has been the dominant medical imaging architecture since 2015. nnU-Net (nnU-Net: Self-adapting Framework for U-Net-Based Medical Image Segmentation) automates it: it picks its own settings (resolution, sub-volume size, augmentations) from the dataset it is handed. SAM (Segment Anything, Segment Anything) is a general-purpose segmenter that needs adaptation before it is useful in medicine.

U-shaped diagram. On the left, an input image tile passes down through blue blocks that shrink in size while the channel count grows (64, 128, 256, 512, 1024). On the right, a symmetric ascent up to the output segmentation map. Grey horizontal arrows link each level of the descent to the matching level of the ascent. The legend reads conv 3x3 ReLU, copy and crop, max pool 2x2, up-conv 2x2 and conv 1x1.
The diagram that gave U-Net its name. The left branch compresses the image to work out what it contains, the right branch expands it back into a pixel-level mask. The grey horizontal arrows are the skip connections: they feed the fine detail captured on the way down back into the way up, without which a tumour outline would come out blurred.Source : U-Net paper (Ronneberger et al., 2015), via VITAL Lab
Why the U shape, in one picture

Going down is working out what: at each stage the image shrinks, forcing the network to summarize. Coming back up is recovering where: it expands back to a pixel-level map. The problem is that the descent destroyed the fine detail. The skip connections (the grey horizontal arrows) copy each stage of the descent directly across to the matching stage of the ascent. At the moment of drawing the outline, the network therefore has both the summary and the original detail. Without them, a tumour's edges come out blurred.

Foundation models in imaging

BiomedCLIP: a CLIP-style model (contrastive language-image pre-training, a training scheme that learns to pull an image and its caption together in a shared space) trained on biomedical image-text pairs. It lets you retrieve an image from a written description. RadImageNet: a pre-training base built from radiological images rather than everyday photographs.

LLaVA-Med and Med-Gemini are medical vision-language models: you show an image and ask a question in ordinary language. Mind what the output actually is: plausible text about an image is not a validated diagnosis, and these systems are generally not what gets cleared for sale.

The three remaining obstacles

Annotation. Having an expert radiologist trace the exact outline of a lesion, slice by slice, is very expensive. Self-supervised learning (the model first trains on unlabelled images by setting itself exercises) and data augmentation (manufacturing variants of existing images) soften the problem without removing it.

Domain shift. This is obstacle number one for deployment, and it is not anecdotal: a model trained at hospital A can collapse at hospital B. Different machines, different acquisition protocols, different population. The model has learned, unasked, regularities specific to the training site.

The textbook case: the model that reads the marker, not the lung

The classic imaging failure mode is this one. In a hospital, the sickest patients are X-rayed at the bedside with a portable unit, and those films carry a distinctive marking. A model trained there learns to spot the marking rather than the disease. It scores excellently on that hospital's data and falls apart everywhere else.

This is not a bug: the model optimized perfectly for what it was asked. It is what makes external validation (on data from another site, produced by other machines) not a good practice but the minimum condition for any claim of generalization.

Interpretability. Grad-CAM (gradient-weighted class activation mapping) and attention maps produce a heat map: the regions that weighed most in the model's output.

Three panels side by side. On the left, a paediatric chest radiograph in greyscale. In the middle, the Grad-CAM heat map alone, blue to red, with two red foci in the mid-zone of both lungs. On the right, the heat map overlaid on the original radiograph.
What Grad-CAM actually shows, and what it does not. The heat map indicates which zones weighed most in the prediction, here two lung foci. But it only says where the model looked, not why it concluded pneumonia: a plausibility cue, not a medical justification.Source : Information (MDPI), Interpretable Deep Learning for Pneumonia Detection

The limitation is one of kind, not of degree. A heat map says where, never why. It is useful for coarsely catching the marker case above, if the hot spot sits in a corner of the image, you have been warned. It does not constitute a medical justification, and an "explainability" claim resting on a heat map is claiming a localization, not a line of reasoning.

Automation bias

There is a failure mode that comes from neither the model nor the doctor, but from the pair. A reader exposed daily to a reliable tool relaxes their vigilance, and may change a correct judgment to align with an incorrect output. This is documented in several human-machine interaction studies in imaging. Practical consequence: the performance of the "clinician plus tool" system is not the better of the two, and can be worse than the clinician alone. It therefore has to be measured directly, one more argument for trials of the MASAI kind.

What is actually cleared

This is the medical field where AI is most present on the market. The US Food and Drug Administration (FDA) maintains a public list of authorized AI-enabled medical devices: at the end of 2025 it held roughly 1,450 devices, of which around 1,100 in radiology, close to three quarters of the total. The vast majority went through the 510(k) route, the pathway based on equivalence to a device already on the market.

That last point deserves a pause, and is covered in detail in regulation: equivalence to an existing device is not the same thing as a demonstration of clinical efficacy. A count of clearances is therefore not a count of proofs.

The most established uses are mammography, diabetic retinopathy and chest radiography. The brakes are no longer mainly technical: integration with hospital information systems, allocation of liability when something goes wrong, and reimbursement.

Check your understanding0 / 5

1. A breast screening tool reports 99.5% accuracy. What can you conclude from that figure?

2. A filing claims a model 'matches radiologists', citing the CheXpert comparison. What does that protocol actually establish?

3. The MASAI trial shows 81% of cancers detected against 74%, with a nearly unchanged false positive rate. What does that result not yet establish?

4. A model performs excellently on radiographs from the hospital where it was trained, then collapses at another site. How does the page read that?

5. Why must the performance of the 'radiologist plus tool' pair be measured directly rather than inferred from each one's performance?