Accuracy is Not Enough: Multi-Head Gated Attention Multiple Instance Learning Model for Explainable Breast Cancer Diagnosis
Attention-based models are inherently interpretable owing to their ability to highlight relevant features, yet their explanations are rarely rigorously validated. We introduce a multi-head gated attention multiple instance learning (MH-GAMIL) mechanism for image classification, designed to provide disentangled attention via separated heads, and compare it with established models like gated attention (GAMIL), clustering constrained attention (CLAM), and dual-stream attention (DSMIL) to assess both predictive performance and explanation effectiveness. The study used two mammography datasets: TOMPEI-CMMD, comprising 2436 images, and a non-public dataset from the Medical University of Gdańsk (MUG) with 2422 images. The datasets differ in resolution, pixel depth, spacing, and acquisition devices. Breast cancer classification performance was evaluated using accuracy, macro precision, macro recall, and macro F1-score, while explanation quality was assessed with Relevance Rank Accuracy (RRA) and an adapted Effective Sparseness. GAMIL and MH-GAMIL consistently outperformed CLAM and DSMIL, achieving 76–78% intra-site and 57–67% cross-site accuracy, though accuracy was not our main focus. MH-GAMIL achieved the highest localization performance, with the positive head reaching an average RRA of up to 0.452 and moderate sparsity (0.361–0.565) across all training–testing permutations. DSMIL showed moderate localization (RRA 0.115–0.269, sparsity 0.256–0.440), while CLAM exhibited high sparsity but almost no correct localization (RRA as low as 0.005). Single-head GAMIL performed poorly in both metrics. Notably, MH-GAMIL and DSMIL maintained reasonable RRA even under cross-site evaluation, demonstrating robustness to domain shift. Our study highlights empirical evaluation is crucial to ensure attention-based models provide meaningful, trustworthy insights rather than giving the illusion of decision interpretability.
Authors
- Maciej Bobowicz (ORCID: https://orcid.org/0000-0002-3608-1960)
- Michał Grochowski (ORCID: https://orcid.org/0000-0002-2453-2410)
- Jakub Buler (ORCID: https://orcid.org/0009-0008-6684-7446)
- Rafał Buler
Institutions
- SK Group (South Korea) (KR)
Publication Details
- Journal
- IEEE Access
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/access.2025.3627387
- Primary Topic
- AI in cancer detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00