Mycosis fungoides (MF) is a rare form of cutaneous T-cell lymphoma that is often misdiagnosed in early stages due to its visual similarity to benign inflammatory dermatoses. Early and accurate diagnosis is critical for improving patient outcomes. In this paper, we propose a comprehensive diagnostic framework for automated MF detection that combines dual- scale histopathological image analysis with deep learning. To distinguish MF from other lymphoproliferative skin conditions, the proposed approach leverages a late-fusion ensemble of dual- magnification (10x and 20x) convolutional neural networks (CNNs), complemented by a random forest classifier trained on 16 clinical features. Experimental results on an expanded dataset of 6,267 images (4,306 MF; 1,961 Non-MF) across 463 patients demonstrate that strong detection performance is obtained by prioritizing higher-resolution cytological details (20x) within broader architectural context (10x). The image-based late-fusion model achieves an accuracy of 83.58% and a sensitivity of 89.13%, while the clinical random forest model achieves an accuracy of 96.6% and sensitivity of 93.8%, highlighting the po- tential of this multimodal framework as a robust clinical decision support system in dermatology. This framework addresses two distinct clinical objectives: an image-based dual-scale pipeline optimized for the early diagnostic screening of MF versus non- MF dermatoses, and a complementary clinical metadata model designed for the subsequent staging of confirmed MF cases (patch/plaque versus tumor)
Figures & tables
Diagnostic Category
No. of Patients
No. of Images
Mycosis Fungoides (MF)
311
4,306
Non-MF Cohort (Total)
152
1,961
B-cell lymphoma
18
358
PLEVA / PLC
108
1,268
T-cell dyscrasia
15
180
Pseudolymphoma
11
155
TABLE I: Distribution of patients and images across diagnostic categories and magnifications.
Fig. 1: Different foreground ratios for patches of a sample TIF image
Parameter
10 × Model
20 × Model
Base Architecture
TF-EfficientNet-B3
TF-EfficientNet-B3
Input Resolution
512×512
512×512
Dropout Rate
0.40
0.40
Inference Batch Size
8
2
Validation Metric
F 2 -Score
F 2 -Score
TABLE II: Model Configuration and Hyperparameters
Fig. 2: Optimization of multimodal late fusion weights. The graph illustrates the impact of varying the 10 × model’s weight ( w ) on overall Accuracy and MF-specific F2-Score. The clinical optimum was identified at w=0.2 , demonstrating that a fusion ratio heavily weighted toward 20 × cytological features (80%) augmented by 10 × architectural context (20%) optimally balances high accuracy with the strict sensitivity required for MF screening.
Clinical Feature
Data Type
Statistical Test
p -value
Selected Features (Significant)
Macules
Categorical
Chi-Squared
<0.001
Biopsy 1 Morphology
Categorical
Chi-Squared
<0.001
Papules
Categorical
Chi-Squared
<0.001
Age
Continuous
Mann-Whitney U
<0.001
Color
Categorical
Chi-Squared
<0.001
TABLE III: Univariate statistical analysis of clinical features ranked by p -value. Features with p<0.05 were selected; Nodule was retained despite p>0.05 for its staging value (see text).
Fig. 4: SHAP feature importance for Task 1 (MF vs. Non-MF). Features ranked by the mean absolute SHAP value.
Fig. 5: SHAP beeswarm plot for Task 1. Each dot represents a single patient; color indicates feature value (red = high, blue = low), and horizontal position shows the SHAP value (impact on prediction).
Fig. 6: Feature importance for Task 2 (Stage of MF). The Nodule feature dominates, confirming its near-deterministic role in identifying the tumor stage.
Study
Data Modality
Clinical Task
Reported Metric
Deployment Requirement
Doeleman et al. (2024) [ 5 ]
WSI (H&E)
Early MF vs. Benign
Mean AUC: 0.827
High (Digital WSI Scanner)
Zhao et al. (2026) [ 9 ]
WSI + Clinical Data
MF vs. Benign Inflammatory
Macro-AUC: > 0.85
High (Digital WSI Scanner)
Liu et al. (2025) [ 10 ]
Dermoscopy + Clinical Images
Early MF vs. Inflammatory
Accuracy: 82.9%*
Medium (Dermoscopy equipment)
Ghosh et al. (2026) [ 11 ]
Non-Linear Optical Microscopy
Detection of Epidermotropism
Qualitative
Very High (NLOM infrastructure)
Ours
Fixed-Magnification (10 × , 20 × ) H&E
MF vs. Non-MF
Accuracy: 83.58%
Low (Standard Optical Microscope)
*Performance reported for the Dermatologist + AI assisted group.
TABLE VII: Comparison of Recent AI Frameworks for Mycosis Fungoides (MF) Diagnosis
Universidade Federal do Vale do São Francisco (Univasf), Petrolina, Pernambuco, Brasil · Universidade Tecnológica Federal do Paraná (UTFPR), Pato Branco, Paraná, Brasil
School of Computing, Informatics Institute of Technology, Colombo, Sri Lanka · Department of Electronic and Telecommunication Engineering, University of Moratuwa, Katubedda, Sri Lanka