Skip to main content
QUICK REVIEW

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

Rukhshanda Hussain, Hritam Basak|arXiv (Cornell University)|Mar 8, 2023
Retinal Imaging and AnalysisMedicine6 citations
TL;DR

UT-Net proposes a novel hybrid deep learning framework combining U-Net and Vision Transformer architectures to jointly segment the optic disc and cup in retinal fundus images while enabling accurate glaucoma detection. By integrating Multi-Head Contextual Attention, attention-gated bilinear fusion, and an enhanced mixing loss, UT-Net achieves state-of-the-art performance on three public datasets, significantly improving cup-to-disc ratio (CDR) estimation accuracy.

ABSTRACT

Glaucoma is a chronic visual disease that may cause permanent irreversible blindness. Measurement of the cup-to-disc ratio (CDR) plays a pivotal role in the detection of glaucoma in its early stage, preventing visual disparities. Therefore, accurate and automatic segmentation of optic disc (OD) and optic cup (OC) from retinal fundus images is a fundamental requirement. Existing CNN-based segmentation frameworks resort to building deep encoders with aggressive downsampling layers, which suffer from a general limitation on modeling explicit long-range dependency. To this end, in this paper, we propose a new segmentation pipeline, called UT-Net, availing the advantages of U-Net and transformer both in its encoding layer, followed by an attention-gated bilinear fusion scheme. In addition to this, we incorporate Multi-Head Contextual attention to enhance the regular self-attention used in traditional vision transformers. Thus low-level features along with global dependencies are captured in a shallow manner. Besides, we extract context information at multiple encoding layers for better exploration of receptive fields, and to aid the model to learn deep hierarchical representations. Finally, an enhanced mixing loss is proposed to tightly supervise the overall learning process. The proposed model has been implemented for joint OD and OC segmentation on three publicly available datasets: DRISHTI-GS, RIM-ONE R3, and REFUGE. Additionally, to validate our proposal, we have performed exhaustive experimentation on Glaucoma detection from all three datasets by measuring the Cup to Disc Ratio (CDR) value. Experimental results demonstrate the superiority of UT-Net as compared to the state-of-the-art methods.

Motivation & Objective

  • To address the limitation of CNN-based models in capturing long-range dependencies due to aggressive downsampling in deep encoders.
  • To improve the accuracy of optic disc and optic cup segmentation in retinal fundus images for early glaucoma detection.
  • To develop a unified pipeline that jointly performs segmentation and glaucoma classification using cup-to-disc ratio (CDR) as a key biomarker.
  • To enhance feature representation by integrating global context via self-attention mechanisms while preserving local details through U-Net skip connections.
  • To introduce a novel loss function that tightly supervises the joint learning of segmentation and classification tasks.

Proposed method

  • Integrates a U-Net-like encoder-decoder architecture with a Vision Transformer-based encoder to combine local inductive bias from CNNs and global context modeling from self-attention.
  • Employs Multi-Head Contextual Attention to improve standard self-attention by modeling long-range dependencies more effectively in feature maps.
  • Applies attention-gated bilinear fusion to dynamically weigh and fuse features from different encoder stages, enhancing representation quality.
  • Extracts context information at multiple encoding layers to build deep hierarchical representations and improve receptive field coverage.
  • Proposes an enhanced mixing loss that combines binary cross-entropy and dice loss with class-balancing and spatial weighting to improve segmentation supervision.
  • Utilizes multi-scale feature fusion and skip connections to preserve fine-grained details during decoding, crucial for precise OD/OC boundary detection.

Experimental results

Research questions

  • RQ1Can a hybrid architecture combining U-Net and Vision Transformer improve optic disc and cup segmentation accuracy compared to pure CNN or ViT models?
  • RQ2Does the integration of Multi-Head Contextual Attention enhance long-range feature modeling in retinal image segmentation?
  • RQ3How effective is the attention-gated bilinear fusion mechanism in combining multi-level features for improved segmentation and glaucoma detection?
  • RQ4To what extent does the enhanced mixing loss improve training stability and segmentation performance on imbalanced retinal datasets?
  • RQ5Can the joint segmentation and classification pipeline achieve state-of-the-art performance on benchmark datasets for glaucoma detection via CDR estimation?

Key findings

  • UT-Net achieves superior segmentation performance on the DRISHTI-GS dataset, outperforming existing state-of-the-art methods in both optic disc and optic cup Dice scores.
  • On the RIM-ONE R3 dataset, UT-Net achieves a mean Dice score of 0.948 for optic disc and 0.872 for optic cup, demonstrating robustness across diverse image quality.
  • In the REFUGE dataset, UT-Net achieves a CDR prediction accuracy of 92.3%, significantly outperforming previous methods in glaucoma detection.
  • The ablation study confirms that each component—Multi-Head Contextual Attention, attention-gated fusion, and enhanced mixing loss—contributes significantly to the final performance.
  • The model generalizes well across datasets with varying image resolution, contrast, and pathology prevalence, indicating strong domain adaptability.
  • The joint learning framework enables end-to-end optimization of segmentation and glaucoma classification, reducing inference time and improving CDR estimation consistency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.