Assessing Robustness of Deep learning Methods in Dermatological Workflow.

Sourav Mishra, Subhajit Chaudhury, Hideaki Imaizumi, Toshihiko Yamasaki

Abstract

While deep learning shows immense promise for dermatological diagnosis, models are typically trained and evaluated on perfectly curated, lab-quality images. This paper stress-tests these models against real-world clinical workflow issues—such as smartphone camera noise, motion blur, and out-of-distribution patient photos—revealing that even highly accurate models suffer severe performance drops when faced with non-ideal, everyday conditions.

Introduction

There is a global shortage of dermatologists, and deep learning computer vision models have been proposed as a way to triage patients and provide expert-level diagnostics. However, high-profile successes in this field often rely on carefully curated, high-quality datasets. In a real-world clinical workflow, especially in telemedicine, patients submit photos taken on smartphones. These images are frequently plagued by poor lighting, motion blur, and sensor noise. This study investigates how robust state-of-the-art image classifiers are when subjected to the messy, imperfect realities of user-submitted medical images.

Methodology

The authors trained several convolutional neural networks (ResNet-34, 50, 101, and 152) using transfer learning. To achieve optimal convergence on a relatively small medical dataset, they employed a sophisticated training pipeline including Learning Rate Range Tests to identify the optimal starting learning rate and Stochastic Gradient Descent with Warm Restarts (SGD-R) combined with Cycle Length Multiplication (CLM) to help the model escape local minima.

Figure 4: Validation loss as a function of learning rate, used to determine the optimal learning rate during the range test.

To test robustness, they simulated common camera artifacts on the test set:

  1. Shot Noise: Added Salt & Pepper (S&P) noise to up to 5% of the image pixels.
  2. Motion Blur: Applied a 5x5 Gaussian kernel.
  3. Explainability: Used GradCAM to visualize the network's attention and understand why it made incorrect predictions under stress.

Datasets

The primary dataset consisted of a proprietary collection of user-submitted dermatological images from East Asian volunteers, filtered into 10 common disease classes (e.g., Acne, Alopecia, Blister, Tumor, Ulcer). For testing generalization, the authors used the public SD-198 dataset as an Out-of-Distribution (OOD) source, mapping its classes to match the primary 10 categories.

Results and Discussion

On clean, in-distribution data, the models performed well, with ResNet-152 achieving an 89.4% Top-1 accuracy. However, performance was fragile. When 5% Salt & Pepper noise was introduced, the Top-1 accuracy of a ResNet-50 model plummeted from 86.9% to 68.31%. Simulating motion blur further dropped accuracy to 74.85%.

Figure 5: Confusion matrix of the baseline model on the primary dataset, highlighting misclassifications between visually similar conditions.

A key insight from the confusion matrix is that skin diseases often exist on a visual spectrum. The model struggled with chronologically related conditions; for example, it frequently confused ulcers with tumors (26 instances) or erythema with macula (19 instances). GradCAM analysis further revealed that the models often relied on incorrect visual cues, such as the texture of surrounding skin rather than the lesion itself.

Generalization proved to be the greatest challenge. When tested on the OOD SD-198 dataset, the model's aggregate accuracy collapsed to just 32%. The model developed severe biases, defaulting to predicting "Acne" or "Blister" for the majority of cases.

Conclusion

While training on noisy data can improve resistance to artifacts, it does not fully restore baseline performance. Furthermore, the lack of visual landmarks in skin images and the fragility of current models to distribution shifts—especially across different skin tones—mean that human dermatologists remain essential in the diagnostic loop. AI currently serves best as a powerful screening aid rather than a standalone diagnostic tool.

Summary updated

Abstract

This paper aims to evaluate the suitability of current deep learning methods for clinical workflow especially by focusing on dermatology. Although deep learning methods have been attempted to get dermatologist level accuracy in several individual conditions, it has not been rigorously tested for common clinical complaints. Most projects involve data acquired in well-controlled laboratory conditions. This may not reflect regular clinical evaluation where corresponding image quality is not always ideal. We test the robustness of deep learning methods by simulating non-ideal characteristics on user submitted images of ten classes of diseases. Assessing via imitated conditions, we have found the overall accuracy to drop and individual predictions change significantly in many cases despite of robust training.
BibTeX
@inproceedings{mishra2020assessing,
  author = {Sourav Mishra and Subhajit Chaudhury and Hideaki Imaizumi and Toshihiko Yamasaki},
  title = {{Assessing Robustness of Deep learning Methods in Dermatological Workflow.}},
  booktitle = {IEICE},
  year = {2020},
}
Figure