Abstract
Retinal vessel segmentation is a critical component in the diagnosis and monitoring of ocular and systemic diseases. However, existing deep learning approaches often suffer from "brittleness" when faced with domain shift—variations in lighting, noise, and pathology across different clinical settings. We present a novel framework that utilizes a contrastive variational auto-encoder (VAE) to produce a "Deep Angiogram": a high-contrast, disentangled latent representation of the retinal vasculature. By training the model to be invariant to illumination and noise through domain randomization, the complex task of vessel segmentation is reduced to a simple, robust thresholding problem. Our method demonstrates superior generalization across multiple public datasets, offering a non-invasive alternative to traditional fluorescein angiography.
Introduction
Retinal fundus photography provides a non-invasive window into the human vascular system, essential for managing conditions such as diabetic retinopathy and glaucoma. Despite its utility, fundus images often suffer from poor contrast, particularly in the peripheral regions or in the presence of pathological features like hemorrhages and drusen.
While deep learning models have achieved high performance on specific datasets, they frequently fail to generalize to unseen data. This domain shift is a significant barrier to clinical deployment. Current research often attempts to solve this by increasing model depth or complexity, which rarely addresses the underlying sensitivity to image artifacts. This paper proposes a paradigm shift: instead of building a more complex segmenter, we focus on isolating the causal features (the vessels) from nuisance features (lighting and noise) to create a representation so clean that segmentation becomes trivial.
Methodology
The proposed framework shifts the computational burden from the final classification step to the feature extraction phase through three key components:
1. Contrastive Variational Auto-encoder (VAE)
The architecture consists of a residual U-Net encoder ($E_\theta$) and a corresponding decoder ($D_\phi$). During training, the model learns to compress the input image into a single-channel latent space—the Deep Angiogram—before reconstructing the original image. The decoder acts as a structural scaffold, ensuring that the latent space maintains the spatial and topological integrity of the vascular network.
2. Domain Randomization via CLAHE
To ensure the model is robust to varying image qualities, the authors employ Contrast Limited Adaptive Histogram Equalization (CLAHE) with randomized clip limits during training. This process creates augmented versions of the images with exaggerated contrast and noise, simulating the diverse conditions found in real-world clinical data.
3. Contrastive Invariance
The "secret sauce" of the method is a contrastive loss function ($L_{cont}$). The model is penalized if the latent representation of an original image differs from the latent representation of its noisy, augmented counterpart. This forces the encoder to become invariant to illumination and noise, focusing strictly on the underlying vascular structure that remains constant across both versions.
4. Trivial Segmentation
During inference, the decoder is discarded. The encoder produces a Deep Angiogram where vessels are represented by high-intensity pixels against a suppressed background. Because this representation is highly disentangled, the final binary segmentation is achieved using simple Otsu thresholding. This removes the need for a complex, multi-layer pixel classifier at the end of the pipeline.
Experimental Setup and Datasets
To rigorously test cross-domain generalization, the researchers utilized four distinct public datasets:
- Source Domains (Training): DRIVE (20 images) and HRF (45 images).
- Target Domains (Testing): STARE (20 images) and ARIA (138 images).
By training on one set of datasets and testing on entirely different ones, the study evaluates how the model handles "unseen" imaging hardware and patient populations.
Results and Discussion
Quantitative Performance
The Deep Angiogram method consistently outperformed baseline networks (trained on standard green-channel or PCA-transformed images) across all metrics on the target domains. On the ARIA dataset, the method showed significantly higher sensitivity and Dice coefficients while maintaining high specificity. This indicates that the model is better at capturing fine vessels without introducing false positives from noise.
Qualitative Improvements
Qualitatively, the Deep Angiogram successfully filters out circular artifacts and handles regions of poor illumination where traditional deep learning methods often fail. In several instances, the model delineated vessel diameters more precisely than the manual ground-truth labels provided in the datasets, highlighting its potential to assist or even surpass human graders in consistency.
Clinical Utility
The resulting Deep Angiogram provides a safe, non-invasive alternative to fluorescein angiography, which requires the injection of contrast dye. It offers excellent visualization of thin vessels even in low-light regions, making it a viable tool for early disease detection.
Conclusion and Future Work
The Deep Angiogram framework trivializes retinal vessel segmentation by prioritizing feature disentanglement over model complexity. While the authors noted that confidence can decrease for the most minute vessels, the overall robustness of the system makes it an ideal candidate for integration into low-cost, portable, or smartphone-based fundus photography systems. Future work may focus on further refining the encoder's sensitivity to capillary-level details and deploying the system in primary care settings to expand access to retinal screening.
Summary updated