Towards Trustworthy Breast Cancer Diagnosis: A Comparative Explainability Stability Study of DenseNet121 and Vision Transformers
This study compares the classification accuracy and explainability stability of DenseNet121 and Vision Transformer models on breast histopathology images, revealing a critical trade-off where DenseNet121 achieves higher accuracy and localized explanations while the Vision Transformer demonstrates greater robustness of explanations under input perturbations.
Original paper licensed under CC BY 4.0 (https://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 are a doctor trying to diagnose breast cancer by looking at tiny, magnified images of tissue under a microscope. It's a tough job, and sometimes human eyes get tired or miss small details. To help, scientists have built "AI assistants" (deep learning models) that can look at these images and say, "This looks like cancer" or "This looks healthy."
However, there's a problem: these AI assistants are like black boxes. They give you an answer, but they don't explain why. If you ask, "Why did you think that was cancer?" the AI just says, "Because I calculated it." Doctors can't trust a tool they don't understand, especially when lives are on the line.
To fix this, researchers use a tool called SHAP (think of it as a "highlighter"). It lights up the specific parts of the image that the AI used to make its decision. But here is the catch: What if the AI's "highlighting" changes just because you slightly adjusted the brightness of the photo or added a tiny bit of dust (noise)? If the AI highlights a completely different spot just because the lighting changed, it's unreliable.
This paper is a tug-of-war between two different types of AI assistants to see which one is better at both getting the right answer and keeping its explanation steady when things get a little messy.
The Two Contenders
DenseNet121 (The "Local Expert"):
- How it works: Imagine a team of detectives who look at the image in very small, tight neighborhoods. They pass notes to each other, sharing every tiny detail they see. They are great at spotting specific, small patterns (like a single weird cell).
- The Result: This model was the better detective. It got the diagnosis right 91% of the time. When it used its "highlighter," it pointed very precisely to the specific cancer cells. It knew exactly where the trouble was.
Vision Transformer (The "Global Observer"):
- How it works: Imagine a detective who steps back and looks at the whole picture at once, connecting dots across the entire image. It understands how different parts of the image relate to each other over long distances.
- The Result: This model was also good, getting the diagnosis right 89% of the time. However, its "highlighter" was a bit more spread out, looking at larger areas rather than pinpointing a single cell.
The Stress Test: Shaking the Table
The researchers didn't just ask, "Who got the right answer?" They asked, "Who stays calm when the table shakes?"
They took the images and did three things to them:
- Added static noise (like TV snow).
- Changed the brightness (made it darker or lighter).
- Adjusted the contrast (made the colors pop or fade).
Then, they asked both AIs to explain themselves again. Did they still highlight the same cancer cells?
- DenseNet121 (Local Expert): When the image got noisy or brighter, this model got a little confused. Its "highlighter" jumped around a bit more. It was very sensitive to small changes because it was looking so closely at tiny details.
- Vision Transformer (Global Observer): This model was much steadier. Even when the image was noisy or the lighting changed, it kept highlighting roughly the same areas. Because it looks at the "big picture," small glitches didn't throw it off as much.
The Big Trade-Off
The paper found a classic trade-off, like choosing between a precision scalpel and a steady hand:
- DenseNet121 is the Precision Scalpel. It is slightly more accurate at finding the cancer and points to the exact spot. But, if the conditions aren't perfect (like a slightly blurry photo), its explanation might wobble.
- Vision Transformer is the Steady Hand. It is slightly less accurate at the diagnosis, but its explanation is rock-solid. It doesn't change its mind just because the photo got a little brighter.
The Conclusion
The researchers used math (statistics) to prove that this difference in "steadiness" is real and not just a fluke.
The main takeaway is that for medical AI to be truly trustworthy, we can't just look at how often it gets the diagnosis right. We also have to look at how reliable its explanation is when the real world gets messy.
- If you need the absolute highest accuracy and precise location, DenseNet121 wins.
- If you need an explanation that won't change its mind just because the lighting in the room shifted, the Vision Transformer is more stable.
The paper suggests that future medical AI systems need to balance both: they must be smart enough to diagnose correctly, but also stable enough to explain themselves consistently, so doctors can trust them.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.