Abstract
STUDY OBJECTIVES: Chronic wounds represent a significant economic and personal burden. For their successful treatment, the causes must be known and treated. Wounds caused by pyoderma gangrenosum (PG), a rare inflammatory skin disease, are often misdiagnosed. This study, therefore, aims to develop a machine learning model capable of differentiating PG from other wound types, focusing on chronic leg wounds to address this diagnostic challenge. METHODS: We used 3674 wound photographs from three specialised wound centres with the four most common types of foot and leg ulcers and the rare inflammatory differential diagnosis PG. The convolutional neural network classifier ConvNeXt 'B' was pretrained on LAION2B, ImageNet12k and ImageNet 1k before being trained and fine-tuned on an 85:15 train, validation split. RESULTS: The model achieved an overall high accuracy in multiclass classification of the chronic wounds (unbalanced accuracy 90%, balanced accuracy 87%). The sensitivity for identifying PG was 94%, while the sensitivity forother chronic wound types was 97% for diabetic foot ulcers (DFU), 92% for venous leg ulcers (VLU), 78% for mixed leg ulcers and 74% for arterial leg ulcers. DISCUSSION: The machine learning model effectively differentiates PG from the most common leg and foot ulcers and was very accurate for classifying DFU and VLU. A higher rate of misclassifications occurred for the other vascular ulcers, that is, mixed and arterial leg ulcers. This aligns with the challenges in clinical practice. CONCLUSION: Despite the limited number of wound images, this novel multiclass wound classification model accurately identified PG and differentiated leg and foot ulcer subtypes, providing a foundation for a diagnostic support system.