Abstract
ReLayNet is an end-to-end deep learning framework designed for the simultaneous segmentation of seven retinal layers and fluid masses in Optical Coherence Tomography (OCT) scans. Utilizing a specialized encoder-decoder architecture with a multi-part loss function, ReLayNet achieves state-of-the-art accuracy and clinical-grade inference speeds of 0.01 seconds per scan, facilitating the diagnosis of conditions like diabetic macular edema.
Introduction
Optical Coherence Tomography (OCT) is a critical non-invasive imaging modality for visualizing retinal layers. In pathologies such as diabetic macular edema (DME), fluid accumulation (edema) between these layers can lead to significant vision loss. Accurate segmentation—the process of outlining specific layers and fluid pockets—is essential for diagnosis and treatment monitoring. However, manual segmentation is labor-intensive and subjective, while traditional automated methods often fail in the presence of noise or structural distortions caused by fluid.
Methodology
The proposed ReLayNet (Retinal Layer segmentation network) architecture is a Fully Convolutional Network (FCN) featuring an encoder-decoder structure inspired by U-Net and DeconvNet.
Architecture and Technical Innovations
- Encoder-Decoder with Skip Connections: The contracting path captures high-level context, while the expansive path restores spatial resolution. Skip connections preserve fine-grained details necessary for identifying thin retinal layers.
- Unpooling with Indices: To maintain sharp boundaries, the network utilizes unpooling layers that leverage indices from the pooling stage, ensuring precise spatial reconstruction.
- Joint Loss Function: Training is guided by a combination of Weighted Logistic Regression, which addresses class imbalance and boundary errors, and Dice Loss, which optimizes spatial overlap.
Experimental Results
ReLayNet was evaluated using the Duke SD-OCT dataset, comprising 110 annotated B-scans from patients with DME. Each scan was manually annotated by two expert clinicians to establish a ground truth.
Performance Metrics
- Accuracy: ReLayNet achieved a Dice overlap score exceeding 0.90 for most retinal layers, outperforming standard U-Net and FCN baselines.
- Fluid Segmentation: The model demonstrated superior performance in fluid detection with a Dice score of 0.77, significantly higher than U-Net (0.67) and standard FCN (0.28).
- Inference Speed: A complete B-scan is processed in approximately 0.01 seconds, enabling real-time clinical applications or integration into intra-operative displays.
Discussion and Conclusion
By treating fluid as a distinct class, ReLayNet effectively manages anatomical distortions that typically hinder automated segmentation. The integration of boundary-aware logistic loss and shape-optimizing Dice loss proves critical for high-fidelity results. While the current 2D approach is highly efficient, future work will explore 3D convolutional kernels to enhance inter-frame consistency and evaluate the model's robustness against surgical artifacts. ReLayNet represents a significant step toward automated, real-time diagnostic tools for retinal pathology.
Summary updated