TransUNet-GradCAM: A Hybrid Transformer-U-Net with Self-Attention and Explainable Visualizations for Foot Ulcer Segmentation
Akwasi Asare, Mary Sagoe, Justice Williams Asare, Stephen Edward Moore

TL;DR
This paper introduces TransUNet-GradCAM, a hybrid transformer-U-Net model for foot ulcer segmentation that combines global attention with local detail, achieving high accuracy and strong generalization across diverse clinical datasets.
Contribution
The study presents a novel hybrid transformer-U-Net architecture with explainability, demonstrating superior segmentation performance and zero-shot transferability in clinical foot ulcer datasets.
Findings
Achieved a Dice score of 0.8886 on internal validation.
Demonstrated robust zero-shot transfer with Dice scores of 0.6209 and 0.7850 on external datasets.
High correlation (r=0.9749) between predicted and actual wound areas.
Abstract
Automated segmentation of diabetic foot ulcers (DFUs) plays a critical role in clinical diagnosis, therapeutic planning, and longitudinal wound monitoring. However, this task remains challenging due to the heterogeneous appearance, irregular morphology, and complex backgrounds associated with ulcer regions in clinical photographs. Traditional convolutional neural networks (CNNs), such as U-Net, provide strong localization capabilities but struggle to model long-range spatial dependencies due to their inherently limited receptive fields. To address this, we employ the TransUNet architecture, a hybrid framework that integrates the global attention mechanism of Vision Transformers (ViTs) into the U-Net structure. This combination allows the model to extract global contextual features while maintaining fine-grained spatial resolution. We trained the model on the public Foot Ulcer…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDiabetic Foot Ulcer Assessment and Management · Pressure Ulcer Prevention and Management · Cutaneous Melanoma Detection and Management
