Benchmarking the Robustness of Foundation Models for Mammography under Domain Shift
This paper benchmarks the robustness of 15 foundation models for mammography under domain shifts, revealing that while mammography-specific vision-language models achieve the best out-of-distribution performance, generalization is not guaranteed by domain-specific pretraining alone and requires rigorous dataset-level evaluation.
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
Imagine you have a super-smart robot eye that's been trained to look at millions of pictures of everything in the world—cats, cars, sunsets, and even regular X-rays. You want to use this robot to spot breast cancer in mammograms (special X-rays of the breast). The big question is: If you take this robot, which learned on "general" pictures, and drop it into a brand-new hospital with different machines and different patients, will it still work? Or will it get confused and start seeing things that aren't there?
This paper is like a giant, rigorous "stress test" for 15 different versions of these robot eyes. The researchers didn't just check if the robots were good at the homework they studied for; they threw them into 12 different countries, 15 different datasets, and 3 tricky medical tasks to see how they handled the unexpected.
The Big Surprise: "Specialized" Isn't Always "Stronger"
You might think that a robot trained only on mammograms would be the ultimate champion. After all, it's like a student who only studied for the final exam, right?
The paper actually argues against this idea. They found that just because a model was trained specifically on mammograms doesn't mean it will be robust when the data changes. In fact, some models that were "adapted" to mammograms performed worse than models that were trained on general natural images or general radiology. It's like a student who memorized the answers to one specific test but fails when the teacher changes the question format, while a student who learned how to think about pictures in general does surprisingly well.
The Real Champions: The "Talkers" vs. The "Lookers"
So, who won the stress test? The paper suggests that the winners are a special group called Vision-Language Models (VLMs).
Think of these models as robots that don't just look at the X-ray; they also read the doctor's notes attached to it.
- MaMA and Mammo-FM (the two top contenders) are like detectives who look at the picture and read the case file together. They achieved the strongest average performance across the board.
- Mammo-FM was the best at predicting the severity of the condition (BI-RADS), scoring a 0.688 ± 0.016 on average for out-of-distribution tests.
- MaMA was the best at spotting breast density and cancer status, scoring 0.865 ± 0.006 for density and 0.718 ± 0.014 for cancer.
However, there's a twist! The paper measured that even the best models aren't perfect. When they moved from the training data to new, unseen data (Out-of-Distribution or OOD), the performance dropped. For example, in the "BI-RADS" task, the average drop was -0.092. This means that even the smartest robot gets a bit less confident when it leaves its comfort zone.
The "Generalist" Who Can't Be Ignored
Here is the most playful part of the story: A model called DINOv3, which was trained on natural images (like photos of landscapes and animals) and never saw a mammogram during its training, turned out to be a fierce competitor.
DINOv3 is like a generalist artist who has never seen a medical scan but has such a good eye for shapes and textures that it can still guess the medical details better than some specialists.
- On the cancer task, DINOv3 scored 0.677 ± 0.015, which is very close to the specialized models.
- On density, it scored 0.848 ± 0.006.
The paper suggests that having a "natural image" brain is actually a very strong baseline, and sometimes it's hard to beat even with extra medical training.
The "One-Size-Fits-All" Myth is Broken
The researchers also looked at how these models behaved in different places. They found that a model that is great at one hospital might be terrible at another.
- Mammo-FM was amazing at handling weird, non-standard X-ray machines (like those that scan film or use contrast dye), but MaMA was consistently better at spotting breast density across all datasets.
- Why? The paper suggests it's about how they were taught. MaMA was trained using text reports that explicitly mentioned density (like a recipe listing ingredients), so it learned density really well. Mammo-FM was trained on real clinical reports that focused more on the final diagnosis (cancer or no cancer), so it became better at spotting the "big picture" outcomes rather than the specific texture of the tissue.
The Bottom Line
The main takeaway is that you can't just assume a model is good because it's "specialized" or because it scored high on the training data.
The paper proves that:
- Robustness is tricky: A model that works great on the data it was trained on often struggles when it sees new data from different countries or machines.
- Language helps: Models that can read medical reports (VLMs) generally do better than models that just look at pictures, but it depends on the specific task.
- Context matters: The best model for one job (like checking density) might be the worst for another (like checking cancer severity).
The authors measured these results using a strict method where they froze the robot's brain and only trained a tiny "head" to make the final decision. They suggest that to truly know if a medical AI is ready for the real world, we need to test it on many different external datasets, not just the one it learned from. Until we do that, we can't be sure if the robot is a genius or just a lucky guesser.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.