When I show a colleague a heatmap from one of my models, the red blob sitting over the lesion, the reaction is almost always the same. They nod and say something like, so it found it. And it did, in the sense that the number came out right. But the word “found” smuggles in a whole theory of what happened inside the network, and that theory is usually wrong. The model did not find a lesion. It does not have a lesion in its head to find. It has pixels, and a function it learned that turns those pixels into a score, and the score happened to be high.
That sounds like a technicality. It is not. Almost everything that goes wrong with medical imaging AI, and almost everything that makes it worth using anyway, comes from taking that sentence seriously.
What the model is doing
A convolutional network starts with the image as a grid of numbers. The first thing it does is slide small filters across that grid, a few pixels at a time, and at each position it multiplies the filter against the patch under it and adds up the result. Stanford’s CS231n notes describe this plainly: each filter is small in width and height but runs through the full depth of the input, and you convolve it across the image computing dot products. A five by five filter over a color image is just seventy five numbers the network gets to tune.
Slide one filter over the whole image and you get a new grid called an activation map, bright where the filter’s pattern was present and dark where it was not. Stack the maps from all the filters and you have the layer’s output, which the next layer treats as its input. The early filters learn tiny, generic things. Zeiler and Fergus, who built a way to see what each layer responds to, found the second layer keying on corners and edge and color junctions, the third layer on textures like mesh and text, the fourth on class-specific parts like a dog’s face, and the fifth on whole objects. Edges become textures become parts become things. Nobody programs that hierarchy. It falls out of training.
Two details matter for anyone who reads scans. The first is pooling, which throws away three quarters of the activations at a stroke by keeping only the strongest response in each little neighborhood. It buys efficiency and a bit of tolerance to small shifts, and it is one reason the output is coarse. The second is the receptive field, the region of the original image that can influence a given unit. You would think a deep network sees the whole image at every layer. It does not. Luo and colleagues showed that the part of the field that actually drives a unit is a Gaussian blob near the center, and it grows only with roughly the square root of the depth. The network’s real window on the image is smaller than the architecture suggests, and it is looking hardest at the middle.
So the honest description is this. The model learns a stack of pattern detectors, tuned by gradient descent to whatever features happen to lower its error on the training set. It is very good at that. It has no idea what a tooth is, what an infection is, or that a patient is attached to the image.
That is not how I read
When I open a scan I do not start with pixels. The perception research is fairly settled on this. Kundel and Nodine flashed chest films at radiologists for two tenths of a second, too short for a single eye movement, and readers still hit around seventy percent accuracy on normal versus abnormal. Something global and nearly instant happens before the eyes even move. Kundel’s later gaze tracking found that most cancers were fixated inside the first second of viewing. You get a gestalt, a sense that something is off, and only then does the slow, deliberate search begin to confirm or dismiss it.
That global read is powered by everything the model does not have. I know the patient’s age and history, so I walk in with a prior. Ground glass in a young patient with a painless expansile mandible points one way; the same texture somewhere else points another. Radiologists are running a rough Bayesian update, and a systematic review found clinical history improved interpretation in fifteen of twenty two studies. The scan is one input among several.
Human reading has its own failures, and they are humbling. Satisfaction of search is the classic one, where you find the first abnormality and stop seeing the second, and it accounts for up to a third of certain reading errors. Drew and Wolfe famously pasted a gorilla into a chest CT, forty eight times the size of a nodule, and eighty three percent of radiologists never reported it, many of them looking straight at it. Expertise did not protect against it. So the two readers, the model and me, fail in different directions. I anchor, I tire, I stop searching once satisfied. The model never tires and never anchors, and it also never knows what it is looking at.
Right for the wrong reason
Here is the failure mode that should keep anyone honest. Because the model chases whatever features lower its error, it will happily learn something that has nothing to do with disease, as long as that something is correlated with the label in the data you gave it. Geirhos and colleagues call these shortcuts, and the literature on them in medical imaging is genuinely alarming.
Zech’s group trained a pneumonia detector that worked well on its home hospitals and fell apart across town. It turned out the network could tell which hospital a film came from, and different hospitals had different disease rates, so it partly learned to read the scanner instead of the lungs. Oakden-Rayner found a pneumothorax model scoring far better on images that contained a chest drain, which is a treatment for pneumothorax, not a cause. A model leaning on the drain is dangerous precisely because the drain-free cases, the ones nobody has treated yet, are the ones you need it to catch. A melanoma classifier’s confidence jumped when a clinician had drawn a purple ink mark next to the lesion. During the pandemic, a wave of COVID chest x-ray models turned out to be reading dataset artifacts and patient positioning rather than lung disease. Every one of these models scored beautifully on its own test set. That is the trap. A good number on data that looks like your training data tells you almost nothing about whether the model learned the thing you wanted.
The heatmap does not save you
The natural response is to look at where the model attended and check that it looks reasonable. That is what my colleague was doing with the red blob. The most common tool for it, Grad-CAM, takes the gradients flowing into the last convolutional layer and turns them into a coarse map of which regions pushed the score up. It is useful. It is also weaker than it looks.
Adebayo and colleagues ran a simple sanity check: randomize the model’s weights and see if the explanation changes. For some popular methods it barely did, which means the pretty map was reflecting the image, not what the model learned, behaving more like an edge detector than an explanation. In medical imaging specifically the picture is worse. Saporta’s group built the first radiologist benchmark for chest x-ray localization and tested seven saliency methods; Grad-CAM did best among them and still fell well short of the human readers, worst on small and oddly shaped findings. A follow-up showed the maps could stay nearly identical while the model’s accuracy collapsed from an AUC of 0.88 to 0.01, and two radiologists caught the manipulated images less than half the time. A heatmap tells you where, at best, and coarsely. It does not tell you why, and it can look perfectly convincing while the model underneath is broken. Rudin’s argument, that for high stakes decisions we should build models that are interpretable to begin with rather than explaining black boxes after the fact, lands harder the more of this you read.
The coyote
The first time I got scared about any of this was a line I found while looking for reassurance, back when I had just committed to this specialty. Geoffrey Hinton, 2016: people should stop training radiologists now, because within five years, maybe ten, deep learning will do it better. He compared radiologists to the coyote in the cartoon, already over the edge of the cliff, just not yet looking down.
The five years came and went. By 2026 the reporting had flipped the other way. The radiologist workforce grew rather than shrank, roughly ten percent over the decade, into what has been called the largest shortage in the field’s history, with average compensation around five hundred seventy one thousand dollars and imaging volumes climbing faster than the people to read them. Hinton himself walked the timeline back and clarified he had meant image analysis specifically. Curtis Langlotz’s version has aged much better than the coyote: AI will not replace radiologists, but radiologists who use AI will replace those who do not.
I think the reason the prediction missed is the same sentence I started with. The model sees numbers. It is a genuinely powerful second reader, one that does not get tired or anchor or quit searching, and it is worth building and worth using. It is also a reader with no priors, no history, no idea what it is looking at, and a documented habit of learning the wrong thing and hiding it behind a plausible heatmap. That is not a machine you handoff the read to. It is a machine you read alongside, knowing exactly which of you is prone to which mistake. Which is why I still read the scan myself.
Sources
- Karpathy A, et al. Stanford CS231n course notes, “Convolutional Neural Networks.” https://cs231n.github.io/convolutional-networks/
- Zeiler MD, Fergus R. “Visualizing and Understanding Convolutional Networks.” ECCV 2014. https://arxiv.org/abs/1311.2901
- Luo W, Li Y, Urtasun R, Zemel R. “Understanding the Effective Receptive Field in Deep Convolutional Neural Networks.” NeurIPS 2016. https://arxiv.org/abs/1701.04128
- Kundel HL, Nodine CF. “Interpreting Chest Radiographs without Visual Search.” Radiology 1975;116(3):527–532. https://pubs.rsna.org/doi/10.1148/116.3.527
- van der Gijp A, et al. “Analysis of Perceptual Expertise in Radiology.” Front Hum Neurosci 2019;13:213. https://pmc.ncbi.nlm.nih.gov/articles/PMC6603246/
- Castillo C, Steffens T, Sim L, Caffery L. “The Effect of Clinical History on Diagnostic Imaging Interpretation – A Systematic Review.” 2021. https://www.sciencedirect.com/science/article/abs/pii/S1076633220306097
- Adamo SH, Cain MS, Mitroff SR. “From ‘satisfaction of search’ to ‘subsequent search misses’.” Cogn Res Princ Implic 2021. https://pmc.ncbi.nlm.nih.gov/articles/PMC8403090/
- Drew T, Võ MLH, Wolfe JM. “The Invisible Gorilla Strikes Again: Sustained Inattentional Blindness in Expert Observers.” Psychol Sci 2013;24(9):1848–1853. https://pmc.ncbi.nlm.nih.gov/articles/PMC3964612/
- Geirhos R, et al. “Shortcut Learning in Deep Neural Networks.” Nat Mach Intell 2020;2:665–673. https://www.nature.com/articles/s42256-020-00257-z
- Zech JR, et al. “Variable generalization performance of a deep learning model to detect pneumonia in chest radiographs.” PLOS Med 2018;15(11):e1002683. https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1002683
- Oakden-Rayner L, Dunnmon J, Carneiro G, Ré C. “Hidden Stratification Causes Clinically Meaningful Failures in Machine Learning for Medical Imaging.” ACM CHIL 2020. https://arxiv.org/abs/1909.12475
- Winkler JK, et al. “Association Between Surgical Skin Markings in Dermoscopic Images and Diagnostic Performance of a Deep Learning CNN for Melanoma Recognition.” JAMA Dermatol 2019;155(10):1135–1141. https://pmc.ncbi.nlm.nih.gov/articles/PMC6694463/
- DeGrave AJ, Janizek JD, Lee S-I. “AI for radiographic COVID-19 detection selects shortcuts over signal.” Nat Mach Intell 2021;3:610–619. https://www.nature.com/articles/s42256-021-00338-7
- Selvaraju RR, et al. “Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization.” ICCV 2017. https://arxiv.org/abs/1610.02391
- Adebayo J, et al. “Sanity Checks for Saliency Maps.” NeurIPS 2018. https://arxiv.org/abs/1810.03292
- Saporta A, et al. “Benchmarking saliency methods for chest X-ray interpretation.” Nat Mach Intell 2022;4:867–878. Preprint: https://www.medrxiv.org/content/10.1101/2021.02.28.21252634v4.full
- Zhang, et al. “Revisiting the Trustworthiness of Saliency Methods in Radiology AI.” Radiol Artif Intell 2023. https://pmc.ncbi.nlm.nih.gov/articles/PMC10831523/
- Rudin C. “Stop Explaining Black Box Machine Learning Models for High Stakes Decisions and Use Interpretable Models Instead.” Nat Mach Intell 2019;1:206–215. https://arxiv.org/abs/1811.10154
- Mukherjee S. “A.I. Versus M.D.” The New Yorker, April 3, 2017. https://www.newyorker.com/magazine/2017/04/03/ai-versus-md
- Langlotz CP. “Will Artificial Intelligence Replace Radiologists?” Radiol Artif Intell 2019;1(3):e190058. https://pubs.rsna.org/doi/10.1148/ryai.2019190058
- “A decade after the ‘Godfather of AI’ said radiologists were obsolete, their salaries are up to $571K and demand is growing fast.” Fortune, May 4, 2026. https://fortune.com/2026/05/04/godfather-of-ai-geoffrey-hinton-radiologists-future-of-work-tech-ai-job-anxiety/