MultiTask learning AI system to assist BCC diagnosis with dual explanation
4 affiliations
- 1Departamento Teoría de la Señal y Comunicaciones, Escuela Técnica Superior de Ingeniería, Universidad de Sevilla, Seville, Andalucía, Spain. [email protected]
- 2Departamento Teoría de la Señal y Comunicaciones, Escuela Técnica Superior de Ingeniería, Universidad de Sevilla, Seville, Andalucía, Spain
- 3Servicio de Dermatología, Hospital Universitario Virgen Macarena, Seville, Andalucía, Spain
- 4Hospitales Quirón Salud Infanta Luisa y Sagrado Corazón, Quirón Salud, Seville, Andalucía, Spain
Abstract
Basal cell carcinoma (BCC) accounts for 75% of all skin cancers. Currently, all major public hospitals in Spain have a dermatology care protocol that includes teledermatology. This has created an overload for hospital dermatologists, which could be alleviated with an AI tool for prioritization. Several AI systems have been proposed for this purpose, but the lack of transparent diagnostic explanations limits their clinical acceptance and implementation. This fact motivates the present study, which aims to develop an AI tool focused on detecting BCC from dermoscopic images incorporating dermatologist diagnostic criteria to enhance reliability. Specifically, the BCC diagnostic criterium is that a lesion is not considered BCC if it exhibits pigment network pattern, and that a lesion is considered BCC if it exhibits at least one of these BCC patterns: ulceration, ovoid nest, multi globules, maple-leaf, spoke wheel, arborizing telangiectasia. We analyzed 1,559 dermoscopic images collected from 60 primary care centers in Andalusia. Four dermatologists annotated the images as exhibiting or not each of the seven possible BCC patterns. As there is no established Ground Truth to determine the BCC patterns present in a lesion, we propose an Expectation-Maximization consensus algorithm to consolidate the multi-rater annotations into a unified standard reference (SR). As an additional novelty, the system incorporates the symbolic reasoning of dermatologists, who base their diagnoses on BCC patterns shown in lesions. To this end, a multitask learning (MTL) system based on MobileNet-V2 was designed. This system can rapidly triage BCC and non-BCC lesions while providing clinical information justifying this classification. This system also provides GradCAM-based maps to dermatologists to improve its reliability and confidence. Three evaluations were performed on the AI system. First, a performance analysis was conducted to evaluate the AI tool’s ability to classify lesions as BCC or non-BCC. In this analysis, the model achieved 90% accuracy (precision=0.90, recall=0.89). The second evaluation analyzed whether the detected patterns agreed with dermoscopic criteria. Notably, at least one clinically relevant BCC pattern was correctly identified in 99% of BCC-positive cases, and the pigment-network negative criterion was met in 95% of non-BCC cases. A comparison of the GradCAM maps with the dermatologist’s manual delineation demonstrated strong colocalization with dermatologist-segmented regions (mean foreground density 0.57 vs. background 0.16), confirming alignment of the visual focus of experts. This work introduces the first clinically validated dual-explanation AI system that combines high-accuracy BCC detection with transparent, pattern-based explanations. This approach closes the critical gap between AI performance and clinical trust in teledermatology, positioning the system for immediate deployment in primary care. Future work will focus on determining the extent to which this dual explanation system improves dermatologists’ confidence.
Related
- Clinically Generalisable End-to-End Graph Learning for CT Image-Based Multitask Stroke Diagnosis
- “It’s Not Like My Old Life, But It’s Still Freedom”: An ACTION learning network mixed methods analysis of the adolescent ventricular assist device experience at home
- Resting-state cortical alpha frequency in Parkinson’s disease and multiple system atrophy: associations with diagnosis, age, and symptom burden
- Hypopyon from observation to insight: a multidimensional system involving pathogenesis, lesion nature, clinical manifestations and diagnosis and treatment
- Disability related disparities in diagnosis and survival of digestive system cancers in Northern Italy
BibTeX
@article{matas2026multitask,
title = {{MultiTask learning AI system to assist BCC diagnosis with dual explanation}},
author = {Iván Matas and Carmen Serrano and Francisca Silva‐Clavería and Amalia Serrano and Tomás Toledo‐Pastrana and Begoña Acha},
journal = {Scientific Reports},
year = {2026},
month = may,
doi = {10.1038/s41598-026-40229-8},
url = {https://doi.org/10.1038/s41598-026-40229-8},
note = {CC BY},
}
RIS
TY - JOUR
TI - MultiTask learning AI system to assist BCC diagnosis with dual explanation
AU - Iván Matas
AU - Carmen Serrano
AU - Francisca Silva‐Clavería
AU - Amalia Serrano
AU - Tomás Toledo‐Pastrana
AU - Begoña Acha
PY - 2026
DA - 2026/05/19
JO - Scientific Reports
DO - 10.1038/s41598-026-40229-8
UR - https://doi.org/10.1038/s41598-026-40229-8
AB - Basal cell carcinoma (BCC) accounts for 75% of all skin cancers. Currently, all major public hospitals in Spain have a dermatology care protocol that includes teledermatology. This has created an overload for hospital dermatologists, which could be alleviated with an AI tool for prioritization. Several AI systems have been proposed for this purpose, but the lack of transparent diagnostic explanations limits their clinical acceptance and implementation. This fact motivates the present study, which aims to develop an AI tool focused on detecting BCC from dermoscopic images incorporating dermatologist diagnostic criteria to enhance reliability. Specifically, the BCC diagnostic criterium is that a lesion is not considered BCC if it exhibits pigment network pattern, and that a lesion is considered BCC if it exhibits at least one of these BCC patterns: ulceration, ovoid nest, multi globules, maple-leaf, spoke wheel, arborizing telangiectasia. We analyzed 1,559 dermoscopic images collected from 60 primary care centers in Andalusia. Four dermatologists annotated the images as exhibiting or not each of the seven possible BCC patterns. As there is no established Ground Truth to determine the BCC patterns present in a lesion, we propose an Expectation-Maximization consensus algorithm to consolidate the multi-rater annotations into a unified standard reference (SR). As an additional novelty, the system incorporates the symbolic reasoning of dermatologists, who base their diagnoses on BCC patterns shown in lesions. To this end, a multitask learning (MTL) system based on MobileNet-V2 was designed. This system can rapidly triage BCC and non-BCC lesions while providing clinical information justifying this classification. This system also provides GradCAM-based maps to dermatologists to improve its reliability and confidence. Three evaluations were performed on the AI system. First, a performance analysis was conducted to evaluate the AI tool’s ability to classify lesions as BCC or non-BCC. In this analysis, the model achieved 90% accuracy (precision=0.90, recall=0.89). The second evaluation analyzed whether the detected patterns agreed with dermoscopic criteria. Notably, at least one clinically relevant BCC pattern was correctly identified in 99% of BCC-positive cases, and the pigment-network negative criterion was met in 95% of non-BCC cases. A comparison of the GradCAM maps with the dermatologist’s manual delineation demonstrated strong colocalization with dermatologist-segmented regions (mean foreground density 0.57 vs. background 0.16), confirming alignment of the visual focus of experts. This work introduces the first clinically validated dual-explanation AI system that combines high-accuracy BCC detection with transparent, pattern-based explanations. This approach closes the critical gap between AI performance and clinical trust in teledermatology, positioning the system for immediate deployment in primary care. Future work will focus on determining the extent to which this dual explanation system improves dermatologists’ confidence.
SN - 2045-2322
ER -