Semi-MsST-GAN: A Semi-Supervised Segmentation Method for Corneal Ulcer Segmentation in Slit-Lamp Images

Tingting Wang, Meng Wang, Weifang Zhu, Lianyu Wang, Zhongyue Chen, Yuanyuan Peng, Fei Shi, Yi Zhou, Chenpu Yao, Xinjian ChenFrontiers in Neuroscience 2022

Abstract

Corneal ulcer is a common leading cause of corneal blindness. It is difficult to accurately segment corneal ulcers due to large differences in pathological shapes, blurred boundaries, noise interference, and the lack of sufficient labeled slit-lamp images. This paper proposes a novel semi-supervised multi-scale self-transformer generative adversarial network (Semi-MsST-GAN) that leverages unlabeled images to improve segmentation performance. The framework utilizes a multi-scale self-transformer network (MsSTNet) as a generator to aggregate low-level weak semantic features with high-level strong semantic information. Evaluated on the public SUSTech-SYSU dataset, the proposed Semi-MsST-GAN achieves state-of-the-art performance with high efficiency, demonstrating the effectiveness of incorporating unlabeled data through adversarial learning.

Introduction

Corneal ulcers are a leading cause of blindness worldwide, making accurate segmentation essential for effective diagnosis and treatment. However, automating this process is challenging due to several factors:

  1. Pathological Variety: Ulcers vary significantly in shape, ranging from small "point-like" spots to large, irregular "flaky" regions.
  2. Image Quality Issues: Slit-lamp images often feature blurred boundaries, low contrast, and significant noise.
  3. The Annotation Gap: High-quality, expert-annotated "ground truth" images are scarce and expensive to produce.

Standard Convolutional Neural Networks (CNNs) often fail to capture the global context necessary to distinguish complex ulcer shapes from healthy tissue. This research addresses these gaps by introducing a semi-supervised approach that utilizes both labeled and unlabeled data.

Methodology

The Semi-MsST-GAN framework consists of two primary components designed to optimize feature extraction and leverage unlabeled data.

The Generator: MsSTNet

The generator, MsSTNet, replaces standard U-Net architectures with a Multi-scale Self-Transformer. It utilizes a ResNet-18 backbone as an encoder and introduces a Multi-scale Self-Transformer (MsST) module. This module extracts feature maps from multiple encoder stages and fuses them using a self-attention mechanism, allowing the model to adaptively learn spatial correlations and weigh low-level details against high-level semantic information.

Semi-Supervised GAN Framework

The model operates within a Generative Adversarial Network (GAN) framework. The generator produces segmentation masks, while a PatchGAN discriminator attempts to distinguish these masks from real expert annotations. For labeled data, the model minimizes a joint loss (Dice, Binary Cross Entropy, and Adversarial loss). For unlabeled data, adversarial learning is used to force the generator to produce realistic masks that can "fool" the discriminator.

The Semi-MsST-GAN framework utilizes both labeled and unlabeled data through a generator-discriminator adversarial loop.

Results and Discussion

The Semi-MsST-GAN was evaluated on the SUSTech-SYSU dataset, which includes 354 labeled and 358 unlabeled images. The model outperformed several state-of-the-art architectures, including U-Net, CE-Net, and CPFNet.

  • Performance Metrics: The semi-supervised approach achieved a Dice coefficient (Dsc) of 90.93% and a Jaccard index (Jac) of 83.79%.
  • The Semi-Supervised Advantage: Incorporating the 358 unlabeled images improved the Dice score by 1.03% compared to a purely supervised version of the same architecture.
  • Efficiency: The model maintains an inference speed of approximately 0.0025 seconds per image, making it suitable for real-time clinical use.
Qualitative comparison of corneal ulcer segmentation results across different state-of-the-art models, highlighting the superior boundary definition of Semi-MsST-GAN.

Key insights from the study suggest that transformers effectively solve the receptive field limitations of standard CNNs, while the inclusion of unlabeled "point-like" images helps the model learn more robust features for complex "flaky" ulcers.

Conclusion

Semi-MsST-GAN provides a robust solution for corneal ulcer segmentation by effectively utilizing unlabeled data and multi-scale self-attention. While the results are promising, future work will focus on expanding the dataset size and diversity to ensure the model's robustness across different clinical settings and hardware. This approach marks a significant step toward automated, high-precision ophthalmic diagnostics.

Summary updated

BibTeX
@inproceedings{wang2022semi,
  author = {Tingting Wang and Meng Wang and Weifang Zhu and Lianyu Wang and Zhongyue Chen and Yuanyuan Peng and Fei Shi and Yi Zhou and Chenpu Yao and Xinjian Chen},
  title = {{Semi-MsST-GAN: A Semi-Supervised Segmentation Method for Corneal Ulcer Segmentation in Slit-Lamp Images}},
  booktitle = {Frontiers in Neuroscience},
  year = {2022},
  doi = {10.3389/fnins.2021.793377},
}
Figure