Brighteye: Glaucoma Screening with Color Fundus Photographs Based on Vision Transformer

Hui Lin, Charilaos Apostolidis, Aggelos K. KatsaggelosISBI 2024

TL;DR

This paper introduces Brighteye, a novel Vision Transformer-based framework for glaucoma screening using color fundus photographs. By integrating optic disc detection and cropping with a Vision Transformer architecture, Brighteye significantly improves glaucoma detection and feature classification accuracy, achieving a top-tier ranking in a major challenge.

What Problem Does This Paper Address?

Glaucoma, a leading cause of irreversible blindness, is often detected late due to the complexity and labor-intensive nature of manual diagnosis from fundus photographs. Factors like varying image quality, lighting, and patient demographics further complicate automated screening. Existing methods, while promising, can struggle with subtle glaucomatous features and require precise alignment. This paper aims to develop a more robust and accurate automated system that can effectively screen for glaucoma and classify its features from standard color fundus images.

Methods

Brighteye employs a two-stage approach. First, it utilizes YOLOv8, a state-of-the-art object detection model, to accurately locate the optic disc (OD) within the fundus image. This is a crucial preprocessing step, as clinical diagnosis heavily relies on the OD area. Following detection, a region of interest (ROI) around the OD center is cropped, and the background is removed. This ensures that the subsequent classification model focuses on the most relevant anatomical structures and improves alignment.

The core of Brighteye is a Vision Transformer (ViT) architecture, adapted for this task. The ViT processes the cropped ROI by dividing it into patches, which are then linearly projected into embeddings. Positional embeddings are added to retain spatial information, and a learnable class token is introduced to capture global image representations. A key innovation is the addition of a patch feature aggregation mechanism at the end of the transformer encoder. This mechanism learns weights for each patch's features, allowing for a more comprehensive aggregation of information compared to relying solely on the class token. Brighteye produces two outputs: a binary classification for glaucoma detection and 10 independent binary classifications for specific glaucomatous features. The training loss is a combination of two binary cross-entropy losses.

Datasets

The primary dataset used is from the Justified Referral in AI Glaucoma Screening (JustRAIGS) challenge. The paper notes that optic disc annotations were not initially available, so they manually annotated 100 images for training and evaluating the YOLOv8 optic disc detector. For the main classification task, the dataset was curated to include all referable glaucomatous (RG) cases and 4000 randomly selected non-referable glaucomatous (NRG) cases from the challenge dataset, with a 4:1 split for training and validation.

Key Insights and Ideas

  • Optic Disc Localization is Crucial: The paper strongly emphasizes that detecting and cropping the optic disc region significantly boosts the performance of both glaucoma detection and feature classification. This highlights the importance of focusing on clinically relevant areas.
  • Vision Transformers Excel at Global Context: The ViT's self-attention mechanism is well-suited for learning long-range dependencies within the large fundus images, enabling it to capture subtle patterns that might be missed by purely convolutional approaches.
  • Patch Feature Aggregation Enhances Representation: The novel patch feature aggregation module, which learns weighted contributions from different image patches, appears to provide a richer and more robust representation of the fundus image for classification.
  • Combined Approach Outperforms Simpler Methods: Table 1 clearly shows that combining OD cropping and background removal (Experiment 3) leads to superior results compared to using only OD cropping (Experiment 2) or no preprocessing (Experiment 1).

Key Results

  • Improved Sensitivity: The sensitivity for glaucoma detection at 95% specificity increased from 79.20% (without OD cropping/BG removal) to 85.70% with the full Brighteye preprocessing and model.
  • Reduced Classification Error: The normalized Hamming distance for glaucomatous feature classification decreased from 0.2470 to 0.1250.
  • Top Ranking: Brighteye secured the fifth position out of 226 entries in the development phase of the JustRAIGS challenge.
  • High Optic Disc Detection Performance: The trained YOLOv8 model achieved an AUC of 0.995 for optic disc detection, with only a very small percentage of images not being detected.

Limitations and Future Work

  • Manual Annotation Effort: The need for manual annotation of optic discs for the detector, even if limited, is a practical consideration.
  • Extreme Cases: Figure 3 illustrates some challenging false-negative and false-positive cases, where subtle features (shallow RNFL defects, narrow neuroretinal rims) or noisy images contributed to misclassifications.
  • Future Directions: The paper suggests further exploration of the ViT architecture and its components, potentially leading to even more refined glaucoma screening models. The authors also implicitly point towards the need for models that are robust to image noise and can better discern extremely subtle features.

Summary updated

BibTeX
@inproceedings{lin2024brighteye,
  author = {Hui Lin and Charilaos Apostolidis and Aggelos K. Katsaggelos},
  title = {{Brighteye: Glaucoma Screening with Color Fundus Photographs Based on Vision Transformer}},
  booktitle = {ISBI},
  year = {2024},
}
Figure