Skip to main content
QUICK REVIEW

[Paper Review] Dual-Branch Network with Dual-Sampling Modulated Dice Loss for Hard Exudate Segmentation from Colour Fundus Images

Qing Liu, Haotian Liu|arXiv (Cornell University)|Dec 3, 2020
Retinal Imaging and AnalysisMedicine34 references5 citations
TL;DR

This paper proposes a dual-branch U-Net-like network with a novel dual-sampling modulated Dice loss to address extreme class imbalance and large size variation in hard exudate segmentation from color fundus images. The method uses one branch biased toward large exudates via uniform sampling and another toward small exudates via re-balanced sampling, with adaptive loss modulation enabling easy-to-difficult learning; it achieves state-of-the-art performance on DDR and IDRiD datasets.

ABSTRACT

Automated segmentation of hard exudates in colour fundus images is a challenge task due to issues of extreme class imbalance and enormous size variation. This paper aims to tackle these issues and proposes a dual-branch network with dual-sampling modulated Dice loss. It consists of two branches: large hard exudate biased learning branch and small hard exudate biased learning branch. Both of them are responsible for their own duty separately. Furthermore, we propose a dual-sampling modulated Dice loss for the training such that our proposed dual-branch network is able to segment hard exudates in different sizes. In detail, for the first branch, we use a uniform sampler to sample pixels from predicted segmentation mask for Dice loss calculation, which leads to this branch naturally be biased in favour of large hard exudates as Dice loss generates larger cost on misidentification of large hard exudates than small hard exudates. For the second branch, we use a re-balanced sampler to oversample hard exudate pixels and undersample background pixels for loss calculation. In this way, cost on misidentification of small hard exudates is enlarged, which enforces the parameters in the second branch fit small hard exudates well. Considering that large hard exudates are much easier to be correctly identified than small hard exudates, we propose an easy-to-difficult learning strategy by adaptively modulating the losses of two branches. We evaluate our proposed method on two public datasets and results demonstrate that ours achieves state-of-the-art performances.

Motivation & Objective

  • Address the challenge of extreme class imbalance in hard exudate segmentation, where background pixels vastly outnumber exudate pixels (ratio up to 512:1).
  • Overcome the difficulty of segmenting hard exudates with enormous size variation, where 90% of exudate pixels belong to regions smaller than 9.7×10⁻⁵ of the image.
  • Improve segmentation performance by learning large and small exudates separately through a dual-branch architecture with partial weight sharing.
  • Develop a loss function that adaptively modulates training to prioritize learning small exudates after large ones are well-learned, enabling easy-to-difficult training.
  • Achieve state-of-the-art performance on public datasets DDR and IDRiD, outperforming models trained with standard cross-entropy or Dice loss.

Proposed method

  • Propose a dual-branch network where one branch is trained with uniform sampling for Dice loss (favoring large exudates), and the other with re-balanced sampling (oversampling exudates, undersampling background) to emphasize small exudates.
  • Design a dual-sampling modulated Dice loss (DSM loss) that combines two loss components: one from uniform sampling (large exudate focus) and one from re-balanced sampling (small exudate focus).
  • Apply adaptive loss modulation during training, where the loss weight for the small-exudate branch is increased as training progresses, enabling an easy-to-difficult learning strategy.
  • Use partial weight sharing between the two branches to share low-level features while allowing task-specific adaptation in high-level features.
  • Train the network using the DSM loss on both DDR and IDRiD datasets, with evaluation on standard metrics including IoU, F1-score, and AUPR.
  • Integrate the dual-branch network with backbone architectures including PSPNet, Deeplabv3, and HED to validate generalization across models.

Experimental results

Research questions

  • RQ1Can a dual-branch network with separate sampling strategies improve segmentation of hard exudates with extreme size variation?
  • RQ2Does a dual-sampling modulated Dice loss effectively balance learning between large and small exudates under severe class imbalance?
  • RQ3Can adaptive loss modulation from easy-to-difficult training improve performance on small, hard-to-detect exudates?
  • RQ4How does the proposed method compare to standard loss functions (e.g., CBCE, Dice) in terms of segmentation accuracy and robustness?
  • RQ5Does the dual-branch design generalize across different segmentation backbones (e.g., PSPNet, Deeplabv3, HED) on public fundus image datasets?

Key findings

  • On the DDR dataset, the proposed dual-branch network with DSM loss achieved an IoU of 0.8640, F1-score of 0.7790, and F1-score at σ=0.5 of 0.6954, outperforming all baselines including SPNet and DNL with CBCE or Dice loss.
  • On the IDRiD dataset, the method achieved an IoU of 0.6239, F1-score of 0.7684, and F1-score at σ=0.8 of 0.8353, surpassing L-seg, LWENet, and Bin loss in all metrics.
  • The dual-branch network with DSM loss reduced false positives (background misclassified as exudate) compared to CBCE-based models, which were prone to hard exudate bias.
  • The method reduced false negatives (exudate misclassified as background), especially for small exudates, compared to Dice-loss models that were background-biased.
  • Visual comparisons showed that the proposed method better preserves small exudate regions and avoids over-segmenting background regions, unlike models trained with standard losses.
  • The dual-branch architecture with adaptive loss modulation achieved the highest AUPR (0.8296) on IDRiD, indicating superior performance in detecting rare, small exudates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.