WaveRNet: Wavelet-Guided Frequency Learning for Multi-Source Domain-Generalized Retinal Vessel Segmentation
Chanchan Wang, Yuanfang Wang, Qing Xu, Guanxin Chen
TL;DR
WaveRNet introduces a frequency-aware framework for multi-source domain-generalized retinal vessel segmentation. It combines a Spectral-guided Domain Modulator to separate illumination-stable low-frequency content from contrast-sensitive high-frequency edges, a Frequency-Adaptive Domain Fusion for test-time domain weighting, and a Hierarchical Mask-Prompt Refiner to progressively recover fine vessel structures beyond SAM's upsampling. Through Leave-One-Domain-Out evaluations on four public datasets, WaveRNet achieves state-of-the-art cross-domain generalization, with ablations confirming the complementary contributions of SDM, FADF, and HMPR. The approach promises robust deployment of automated vascular analysis across heterogeneous ophthalmic imaging environments.
Abstract
Domain-generalized retinal vessel segmentation is critical for automated ophthalmic diagnosis, yet faces significant challenges from domain shift induced by non-uniform illumination and varying contrast, compounded by the difficulty of preserving fine vessel structures. While the Segment Anything Model (SAM) exhibits remarkable zero-shot capabilities, existing SAM-based methods rely on simple adapter fine-tuning while overlooking frequency-domain information that encodes domain-invariant features, resulting in degraded generalization under illumination and contrast variations. Furthermore, SAM's direct upsampling inevitably loses fine vessel details. To address these limitations, we propose WaveRNet, a wavelet-guided frequency learning framework for robust multi-source domain-generalized retinal vessel segmentation. Specifically, we devise a Spectral-guided Domain Modulator (SDM) that integrates wavelet decomposition with learnable domain tokens, enabling the separation of illumination-robust low-frequency structures from high-frequency vessel boundaries while facilitating domain-specific feature generation. Furthermore, we introduce a Frequency-Adaptive Domain Fusion (FADF) module that performs intelligent test-time domain selection through wavelet-based frequency similarity and soft-weighted fusion. Finally, we present a Hierarchical Mask-Prompt Refiner (HMPR) that overcomes SAM's upsampling limitation through coarse-to-fine refinement with long-range dependency modeling. Extensive experiments under the Leave-One-Domain-Out protocol on four public retinal datasets demonstrate that WaveRNet achieves state-of-the-art generalization performance. The source code is available at https://github.com/Chanchan-Wang/WaveRNet.
