Lesion Segmentation from Imperfect Medical Data via Weakly Supervised Learning with SAM and Explainable Vision Transformer.
Ahmad Nawaz Zaheer, Cao Suirong, Muhammad Farhan, Awais Ahmad, Sohail Jabbar, Shaharyar Kamal, Alaa Menshawi
Key points
From the paper's conclusion- To address these challenges, this paper proposes a hybrid weakly supervised framework that integrates the Segment Anything Model (SAM) with an Explainable Vision Transformer (ViT) for robust and interpretable lesion segmentation.
Abstract
Accurate lesion segmentation remains a critical yet challenging task in medical imaging due to scarce pixel-level annotations, inter-observer variability and modality-specific noise. Conventional fully supervised models require exhaustive manual labeling, which limits scalability and clinical applicability. To address these challenges, this paper proposes a hybrid weakly supervised framework that integrates the Segment Anything Model (SAM) with an Explainable Vision Transformer (ViT) for robust and interpretable lesion segmentation. The SAM module converts weak annotations such as bounding boxes and sparse points into high-quality pseudo-masks refined through ensemble consistency, shape priors, and confidence masking, reducing dependency on dense labels. A ViT-based multiple-instance learning (MIL) module then performs weakly supervised classification and mask refinement using uncertainty-aware optimization and self-training, ensuring resilience to noisy supervision. A SAM-ViT alignment loss enforces consistency between pseudo-masks and transformer attention maps, improving anatomical plausibility. Additionally, an explainable AI (XAI) mechanism aligns attention rollout and gradient-based saliency with lesion masks, embedding interpretability directly into the training process. This unified pipeline delivers noise-robust segmentation, clinically transparent predictions, and efficient label utilization under imperfect supervision. Experimental results on CAMELYON16/17 and BraTS datasets demonstrate state-of-the-art performance, achieving AUCs of 0.972, 0.949 and 0.941, with a Dice coefficient of 0.883 and mIoU of 0.826, outperforming existing weakly supervised and SAM-only baselines. This framework establishes a scalable and interpretable foundation for clinical-grade lesion segmentation, reducing annotation cost while improving reliability in real-world medical imaging workflows.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Multi-Caption Guided Weakly Supervised Disease Localization on Medical Cancer Images.Journal of imaging · 2026
- Adapting Segment Anything Model 3 for concept-driven lesion segmentation in medical images: an experimental studyVisual Computing for Industry Biomedicine and Art · 2026
- TeF-SAM: Prototype memory for medical lesion segmentation with text-free inference.Computerized medical imaging and graphics : the official journal of the Computerized Medical Imaging Society · 2026
- TiSAM: fusing spatial and histopathology foundation models for whole-slide image segmentationbioRxiv · 2026
- Beyond Classification: Structured Supervision Aligns Visual Evidence with Medical SemanticsarXiv · 2026
- SAF-Net: Stage-Aware Semantic Allocation with Frequency-Refined Vision-Language Decoding for Medical Lesion SegmentationSymmetry · 2026