UT-Net: Combining U-Net and Transformer for Joint Optic Disc and Cup Segmentation and Glaucoma Detection

Rukhshanda Hussain, Hritam BasakarXiv 2023 · DOI

Abstract

UT-Net is a novel deep-learning architecture that combines the local feature-extraction strengths of U-Net with the global context-awareness of Transformers. By accurately segmenting the optic disc and cup in retinal images, it provides a highly reliable automated tool for calculating the Cup-to-Disc Ratio (CDR), a critical metric for early glaucoma detection.

What Problem Does This Paper Address?

Glaucoma is a leading cause of irreversible blindness, often progressing unnoticed until significant vision loss occurs. Clinicians screen for it by measuring the Cup-to-Disc Ratio (CDR)—the size of the "optic cup" relative to the "optic disc."

Retinal fundus images showing the difference between a normal eye and one with glaucoma, highlighting the optic cup and disc.

Automating this measurement is challenging. Standard Convolutional Neural Networks (CNNs), like the popular U-Net, excel at finding local patterns but often "lose the forest for the trees," failing to model long-range dependencies across an image. Conversely, pure Vision Transformers are great at global context but lack the "spatial inductive bias" needed to pinpoint fine-grained boundaries, especially in the low-contrast regions of the optic cup. This paper introduces UT-Net to bridge that gap.

Methods

The authors propose a dual-branch encoder architecture that processes information in parallel, merging local and global features to improve segmentation accuracy.

The UT-Net architecture, featuring a dual-branch encoder with U-Net and Transformer components, and a Multi-Head Contextual Self-Attention (MCSA) module.
  1. U-Net Branch: A standard CNN encoder that captures high-resolution, local spatial features.
  2. Transformer Branch: A branch utilizing a modified Multi-Head Contextual Self-Attention (MCSA) mechanism. Unlike traditional self-attention that looks at isolated pixels, MCSA uses $k \times k$ convolutions on the "keys" to incorporate local neighborhood context into the global attention map.
  3. Bilinear Fusion Block: Instead of simply concatenating features, the model uses an attention-gated fusion scheme. It applies channel attention to the Transformer features and spatial attention to the U-Net features, merging them via a Hadamard product to filter out noise.
  4. Multi-Scale Context Extraction: Standard skip connections are replaced with Receptive Field Blocks (RFB) that use dilated convolutions to capture information at multiple scales, helping the decoder reconstruct the image more accurately.

Datasets

The model was evaluated on three widely recognized public benchmarks for retinal fundus images:

  • DRISHTI-GS: Specifically for glaucoma and optic nerve head analysis.
  • RIM-ONE R3: An open retinal image database for optic nerve evaluation.
  • REFUGE: A large-scale challenge dataset for glaucoma medical diagnosis.

Key Results and Insights

The "hybrid advantage" of UT-Net allows it to maintain the sharp boundaries of a CNN while gaining the structural "sanity check" of a Transformer. This approach yields significant performance gains in the difficult optic cup regions, where boundaries are often blurry.

UT-Net outperformed several state-of-the-art (SOTA) methods across all three datasets:

  • Segmentation Accuracy: On the DRISHTI-GS dataset, it achieved a Dice Similarity Coefficient (DSC) of 97.92% for the Optic Disc and 94.09% for the Optic Cup.
  • Glaucoma Detection: The model achieved a mean Area Under the Curve (AUC) of 0.984 on DRISHTI-GS, significantly higher than previous methods like CDED-Net (0.963).
  • Reliability: The Pearson Correlation Coefficient (PCC) for CDR measurement reached 91.2%, indicating a very high correlation between automated measurements and expert clinical annotations.

Conclusion and Future Work

While UT-Net is highly effective, future work aims to address data scarcity through adversarial learning and extend the architecture to other retinal pathologies, such as diabetic retinopathy. The researchers also plan to explore "fuzzy fusion" techniques to further refine the integration of CNN and Transformer features.

Summary updated

BibTeX
@misc{hussain2023ut,
  author = {Rukhshanda Hussain and Hritam Basak},
  title = {{UT-Net: Combining U-Net and Transformer for Joint Optic Disc and Cup Segmentation and Glaucoma Detection}},
  year = {2023},
  eprint = {2303.04939},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.04939},
}
Figure