DEFN: Dual-Encoder Fourier Group Harmonics Network for Three-Dimensional Macular Hole Reconstruction with Stochastic Retinal Defect Augmentation and Dynamic Weight Composition

Xingru Huang, Yihao Guo, Jian Huang, Zhi Li, Tianyun Zhang, Kunyan Cai, Gaopeng Huang, Wenhao Chen, Zhaoyang Xu, Liangqiong Qu, Ji Hu, Tingyu Wang, Shaowei Jiang, Chenggang Yan, Yaoqi Sun, Xin Ye, Yaqi Wang · OpenReview

Abstract

The spatial and quantitative parameters of macular holes are vital for diagnosis, surgical choices, and post-op monitoring. Macular hole diagnosis and treatment rely heavily on spatial and quantitative data, yet the scarcity of such data has impeded the progress of deep learning techniques for effective segmentation and real-time 3D reconstruction. To address this challenge, we developed the Dual-Encoder FuGH Network (DEFN), integrating Fourier Group Harmonics (FuGH), Simplified 3D Spatial Attention (S3DSA), and Harmonic Squeeze-and-Excitation (HSE) modules. We also proposed Stochastic Retinal Defect Injection (SRDI) for data augmentation and Dynamic Weight Composition (DWC) for optimization. Our approach achieves state-of-the-art performance on the ROME-3914 and CARS-30k datasets, offering precise 3D reconstruction tools for clinical decision-making.

Introduction

In medical imaging, critical structures often exhibit "indistinct boundaries"—edges that blend into surrounding tissue or represent theoretical voids. Pathologies such as macular holes or certain tumors present significant challenges for standard segmentation algorithms because their boundaries are often obscured by noise or lack clear contrast.

Examples of indistinct boundaries in medical imaging across different modalities, including MRI (a, b), OCT (c, d), and IVUS (e, f).

Standard deep learning models struggle in these scenarios due to data scarcity and high levels of noise, such as vitreous turbidity in retinal scans. This paper introduces DEFN to address these challenges by leveraging frequency-domain processing and novel data augmentation strategies.

Methodology

The proposed framework centers on the Dual-Encoder Fourier Group Harmonics Network (DEFN), which utilizes a multi-branch architecture to capture both spatial and frequency-domain features.

Overview of the DEFN architecture, including the SRDI data augmentation pipeline and the Dynamic Weight Composition (DWC) loss strategy.

1. Stochastic Retinal Defect Injection (SRDI)

To overcome the scarcity of annotated 3D macular hole data, we developed SRDI. This method "injects" simulated defects into healthy retinal scans using two strategies:

  • Isolated Injection: Replaces a specific zone with a simulated hole.
  • Comprehensive Injection: Uses a depth-first search to ensure simulated holes realistically connect to existing fluid regions or edema, creating more complex training samples.

2. Dual-Encoder Architecture

The network features two primary encoding paths:

  • Main Branch: Utilizes Fourier Group Harmonics (FuGH) and Simplified 3D Spatial Attention (S3DSA) to extract features.
  • HSE Branch: Employs the Harmonic Squeeze-and-Excitation (HSE) module, which combines frequency-domain information with channel-wise attention to prioritize informative features while suppressing noise.

3. Dynamic Weight Composition (DWC)

Training is optimized using DWC, which adaptively adjusts the weights of multiple loss functions (Focal, Boundary, Dice, Cross-Entropy, and Deep Ranking). This allows the model to prioritize regional localization early in training and fine-tune boundary precision in later stages.

Datasets

The study leverages two major datasets:

  • CARS-30k (Comprehensive Archive for Retinal Segmentation): A massive dataset of over 30,000 B-scan images from 137 patients, meticulously annotated for retinal segmentation.
  • ROME-3914: A specialized dataset for macular hole enhancement.
  • OIMHS: A public retinal OCT dataset used for benchmarking.

Results and Discussion

DEFN achieved a 10% improvement in Mean Intersection over Union (MIoU) and Dice scores on the OIMHS dataset compared to baselines like 3D U-Net and Swin UNETR. Notably, the model showed a significant reduction in Hausdorff Distance (HD), indicating superior boundary delineation.

The system's efficiency is also noteworthy; it can generate a full 3D fundus reconstruction in approximately 33 seconds on a modern GPU, making it a viable candidate for real-time clinical applications. By treating noise as a specific frequency signature to be filtered, DEFN demonstrates that frequency-domain processing is a powerful tool for medical image analysis.

Conclusion

DEFN represents a significant advancement in the 3D reconstruction of macular holes. By combining the SRDI augmentation strategy with a frequency-aware dual-encoder network, the model effectively handles the "fuzzy" edges and noise inherent in medical imaging. Future work will explore the generalization of this framework to other clinical domains, such as oncology and cardiology.

Summary updated

Abstract

The spatial and quantitative parameters of macular holes are vital for diagnosis, surgical choices, and post-op monitoring. Macular hole diagnosis and treatment rely heavily on spatial and quantitative data, yet the scarcity of such data has impeded the progress of deep learning techniques for effective segmentation and real-time 3D reconstruction. To address this challenge, we assembled the world's largest macular hole dataset, Retinal OCTfor Macular Hole Enhancement (ROME-3914), and a Comprehensive Archive for Retinal Segmentation (CARS-30k), both expertly annotated. In addition, we developed an innovative 3D segmentation network, the Dual-Encoder FuGH Network (DEFN), which integrates three innovative modules: Fourier Group Harmonics (FuGH), Simplified 3D Spatial Attention (S3DSA) and Harmonic Squeeze-and-Excitation Module (HSE). These three modules synergistically filter noise, reduce computational complexity, emphasize detailed features, and enhance the network's representation ability. We also proposed a novel data augmentation method, Stochastic Retinal Defect Injection (SRDI), and a network optimization strategy DynamicWeightCompose (DWC), to further improve the performance of DEFN. Compared with 13 baselines, our DEFN shows the best performance. We also offer precise 3D retinal reconstruction and quantitative metrics, bringing revolutionary diagnostic and therapeutic decision-making tools for ophthalmologists, and is expected to completely reshape the diagnosis and treatment patterns of difficult-to-treat macular degeneration. The source code is publicly available at: https://github.com/IIPL-HangzhouDianUniversity/DEFN-Pytorch.
BibTeX
@inproceedings{huang2023defn,
  author = {Xingru Huang and Yihao Guo and Jian Huang and Zhi Li and Tianyun Zhang and Kunyan Cai and Gaopeng Huang and Wenhao Chen and Zhaoyang Xu and Liangqiong Qu and Ji Hu and Tingyu Wang and Shaowei Jiang and Chenggang Yan and Yaoqi Sun and Xin Ye and Yaqi Wang},
  title = {{DEFN: Dual-Encoder Fourier Group Harmonics Network for Three-Dimensional Macular Hole Reconstruction with Stochastic Retinal Defect Augmentation and Dynamic Weight Composition}},
  booktitle = {Expert},
  year = {2023},
}
Figure