Abstract
Deep Neural Networks (DNNs) have achieved expert-level performance in skin lesion classification but remain opaque "black boxes." This paper proposes a domain-specific approach to Explainable AI (XAI) by synthesizing the popular LIME (Local Interpretable Model-agnostic Explanations) method with the clinical "ABCD rule" used by dermatologists. By perturbing images along medically relevant dimensions—such as boundary sharpness and color uniformity—the authors create explanations that are more intuitive and useful for clinical decision support than generic saliency maps.
1. Introduction: The Need for Domain-Specific XAI
While DNNs excel at classification tasks, their lack of transparency hinders trust in medical settings. Standard XAI techniques like Grad-CAM or vanilla LIME often produce generic heatmaps or highlight "super-pixels" that lack clinical context. For instance, a heatmap might indicate that a model is focusing on the edge of a lesion, but it fails to clarify why—is it due to border irregularity (a sign of malignancy) or simple contrast with the skin? To be effective in medicine, AI must "speak the language" of the domain, bridging the gap between pixel-importance maps and structured diagnostic procedures.
2. Methodology: Bridging LIME and the ABCD Rule
The authors introduce a domain-specific explainer that modifies the perturbation logic of LIME. Instead of occluding random segments of an image, they manipulate the image along four specific dimensions:
- Medically Relevant (derived from the ABCD rule):
- Boundary (B): Perturbing the lesion's edge. "Negative" perturbation involves sharpening the border (simulating benignity), while "Positive" perturbation adds Gaussian blur to fade the lesion into the skin (a common sign of malignancy).
- Color (C): "Negative" perturbation harmonizes the lesion into a uniform color, while "Positive" perturbation adds random, plausible brown patches to simulate color variegation.
- Medically Irrelevant (Control Group):
- Rotate (R) and Shift (S): These affine transformations serve as a baseline to ensure the model is robust to changes that should not affect a medical diagnosis.
By observing how the model's prediction probability shifts as these specific features are exaggerated or removed, the authors can determine if the model's internal logic aligns with medical theory.
3. Experimental Setup
The study utilizes the HAM10000 dataset, a benchmark in dermatology containing dermatoscopic images of pigmented skin lesions. The authors focused on two classes: nevus (benign) and melanoma (malignant). Associated segmentation masks were used to ensure perturbations were limited strictly to the lesion area. The underlying MobileNet classifier achieved an F1-score of 0.91 for nevi and 0.57 for melanoma (overall macro F1 approx. 0.74).
4. Results: Validating Model Logic
The proposed method allows for hypothesis-driven XAI, asking whether specific clinical features drive the model's decision rather than just identifying important pixels.
Key findings include:
- Sensitivity to Medical Features: In "True Positive" cases, the scatter plots showed that the model's confidence decreased significantly when "malignant" features (like blurred boundaries) were removed, confirming the model was using correct clinical indicators.
- Robustness: For correctly classified samples, the model remained stable under rotation and shifting, suggesting it had learned invariant features rather than overfitting on artifacts.
- Debugging Errors: The tool proved useful for post-mortem analysis. For False Positives (benign nevi predicted as melanoma), the explainer revealed hypersensitivity to color irregularities, suggesting a need for more robust training data in those areas.
5. Limitations and Future Work
This work currently implements the B (Boundary) and C (Color) dimensions of the ABCD rule. Future work will incorporate A (Asymmetry) and D (Differential structure/Diameter) for a complete clinical explanation. Additionally, the authors plan to explore the interaction between multiple simultaneous perturbations and conduct human evaluation studies with dermatologists to quantify if these explanations truly improve clinical trust and decision-making speed.
Summary updated