[Paper Review] Joint Segmentation and Uncertainty Visualization of Retinal Layers in Optical Coherence Tomography Images using Bayesian Deep Learning
This paper proposes a Bayesian fully convolutional Densenet (BFC-DN) for joint retinal layer segmentation and pixel-wise uncertainty quantification in OCT images. By integrating epistemic and aleatoric uncertainty via dropout variational inference and a class-weighted Bayesian loss, the method achieves state-of-the-art segmentation accuracy and improved robustness to noise, with uncertainty maps effectively highlighting unreliable segmentation regions.
Optical coherence tomography (OCT) is commonly used to analyze retinal layers for assessment of ocular diseases. In this paper, we propose a method for retinal layer segmentation and quantification of uncertainty based on Bayesian deep learning. Our method not only performs end-to-end segmentation of retinal layers, but also gives the pixel wise uncertainty measure of the segmentation output. The generated uncertainty map can be used to identify erroneously segmented image regions which is useful in downstream analysis. We have validated our method on a dataset of 1487 images obtained from 15 subjects (OCT volumes) and compared it against the state-of-the-art segmentation algorithms that does not take uncertainty into account. The proposed uncertainty based segmentation method results in comparable or improved performance, and most importantly is more robust against noise.
Motivation & Objective
- To address the lack of uncertainty quantification in deep learning-based retinal layer segmentation, which often treats models as black boxes with unverified outputs.
- To improve robustness of segmentation models in the presence of image noise or distribution shift, especially when test data differs from training data.
- To develop a method that provides pixel-wise uncertainty maps to guide downstream clinical decisions or active learning by identifying regions of low confidence.
- To integrate uncertainty estimation into a fully convolutional architecture without sacrificing segmentation accuracy.
- To validate that uncertainty maps correlate with segmentation errors and can be used to flag regions requiring manual review or re-evaluation.
Proposed method
- Adapts fully convolutional Densenet (FC-DN) with dense blocks and skip connections for end-to-end retinal layer segmentation.
- Introduces Bayesian inference via dropout variational inference to estimate epistemic uncertainty during inference by performing multiple forward passes.
- Models aleatoric uncertainty by predicting output variance alongside segmentation logits, enabling uncertainty estimation for inherent image noise.
- Uses a class-weighted Bayesian loss function that incorporates both prediction uncertainty and class imbalance in training.
- Employs a temperature scaling technique (T) to calibrate uncertainty estimates during inference, with T > 1 enabling better uncertainty calibration.
- Generates uncertainty maps by computing variance across multiple forward passes with dropout enabled, where high variance indicates low confidence.
Experimental results
Research questions
- RQ1Can Bayesian deep learning improve the reliability of retinal layer segmentation in OCT by providing uncertainty estimates?
- RQ2Does the inclusion of both epistemic and aleatoric uncertainty improve model robustness to noise and distribution shift?
- RQ3Can uncertainty maps effectively highlight regions of inaccurate segmentation, particularly in noisy or out-of-distribution images?
- RQ4How does the proposed method compare to non-Bayesian state-of-the-art segmentation models in terms of Dice score and boundary accuracy?
- RQ5Can uncertainty quantification enhance downstream clinical decision-making or active learning pipelines in retinal imaging?
Key findings
- The proposed BFC-DN method achieved a Dice coefficient of 0.97 for the GCL+IPL layer and 0.91 for OPL and IS layers, outperforming the non-Bayesian FC-DN baseline.
- Boundary error was reduced by up to 30% on average compared to the state-of-the-art method by Lang et al. [12], with the lowest error of 2.1 μm for IS-OS boundary.
- In noisy test conditions, BFC-DN maintained significantly better segmentation performance than FC-DN, demonstrating superior robustness to random block noise.
- Uncertainty maps generated by the model showed strong spatial correlation with segmentation errors, with warmer (higher) colors indicating regions of higher uncertainty and lower accuracy.
- The average inference time for BFC-DN was 2.5 seconds per image (on Tesla K40), which is slower than FC-DN (300 ms) due to T=10 forward passes required for uncertainty estimation.
- The method demonstrated that uncertainty quantification can guide clinical decisions and support active learning by identifying regions needing expert validation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.