Abstract
Accurate segmentation of retinal layers in Optical Coherence Tomography (OCT) is critical for diagnosing and monitoring ophthalmic diseases. However, standard deep learning methods often struggle with thin layers and pathological disruptions. This paper introduces a novel approach using Probabilistic Signed Distance Functions (pSDF) to represent retinal boundaries. By modeling the layer boundary as the zero-level set of a distance map and incorporating Gaussian uncertainty, the proposed method achieves a 2.4x improvement in accuracy over standard regression techniques. Furthermore, the generated uncertainty maps provide a reliable signal for identifying disease-related disruptions, such as those found in Age-related Macular Degeneration (AMD).
Introduction
Optical Coherence Tomography (OCT) is the gold standard for retinal imaging, yet segmenting its individual layers remains a significant challenge. Retinal layers are often only a few pixels thick, and pathologies like AMD can cause them to deform or vanish. Existing deep learning approaches typically fall into two categories: pixel-wise classification and coordinate regression. Pixel-wise models often fail to maintain geometric continuity, while coordinate regression models lose spatial congruence by collapsing image columns into single values, hindering the learning of fine-grained local features. This research aims to bridge this gap by developing a method that respects ocular geometry, maintains spatial congruence, and provides a measure of predictive uncertainty.
Methodology
The core innovation of this work is the use of Signed Distance Functions (SDF) to implicitly represent retinal layer boundaries. Instead of direct classification or height regression, the model predicts the distance of each pixel from the target boundary.
Implicit Representation and Constraints
The layer boundary is defined as the "zero-level set" where the distance function $d(x,y) = 0$. To ensure a valid SDF, the authors enforce the Eikonal constraint, requiring the gradient magnitude to be unity. This ensures the distance map changes at a constant rate relative to the boundary.
Probabilistic Modeling (pSDF)
The network outputs two values per pixel: a mean distance ($\mu$) and a variance ($\sigma$). By assuming a Gaussian likelihood and using a Negative Log-Likelihood loss, the model naturally learns to assign high variance to ambiguous or noisy regions. Final layer coordinates are extracted with sub-pixel precision using a Gaussian-weighted averaging scheme around the zero-crossing.
Experimental Setup
The method was evaluated on two primary datasets:
- Internal Dataset: 384 OCT volumes (healthy and AMD) with manual annotations for the Inner Limiting Membrane (ILM), Retinal Pigment Epithelium (RPE), and Bruch’s membrane (BM).
- External Dataset: 458 B-scans from the Rotterdam Study, used to test generalization across different hardware (Topcon vs. Bioptigen).
To assess robustness, the authors also simulated common OCT artifacts, including shadowing, blinking, speckle noise, and motion blur.
Results
Quantitative and Qualitative Performance
The pSDF model significantly outperformed standard regression (REGR). On the internal test set, pSDF achieved a Mean Absolute Error (MAE) of 0.55 pixels compared to 1.35 pixels for REGR. This performance gap was even more pronounced on the external dataset (1.30 MAE for pSDF vs. 3.40 MAE for REGR), demonstrating superior generalization.
Qualitatively, the model successfully segments complex pathologies, such as Pigment Epithelial Detachments (PED), where layers form dome-like shapes that typically confuse standard algorithms.
Uncertainty as a Biomarker
A key finding is that the model's uncertainty ($\sigma$) serves as a clinical signal. In regions where layers are physically disrupted or missing (e.g., macular holes or geographic atrophy), the pSDF produces distinct uncertainty spikes. This suggests that uncertainty maps could be used to automatically quantify layer integrity in clinical settings.
Discussion and Conclusion
While the pSDF framework offers significant advantages in accuracy and robustness, it currently carries a higher computational cost due to the use of a five-model ensemble for stability. Additionally, the "clamping" function used to focus the model near boundaries requires precise tuning to balance generalization and precision.
Future work will explore extending this framework to 3D volumes and investigating the use of layer uncertainty as a formal clinical biomarker for disease progression in conditions like retinitis pigmentosa. By maintaining spatial congruence and providing reliable uncertainty estimates, pSDF represents a significant step forward in automated retinal image analysis.
Summary updated