Skip to main navigation Skip to search Skip to main content

D2N: enhancing medical image segmentation with dual-path attention and domain adaptation

  • Noor Ahmed*
  • , Lizhuang Ma
  • *Corresponding author for this work
  • Shanghai Jiao Tong University
  • Balochistan University of Engineering & Technology, Khuzdar

Research output: Contribution to journalArticlepeer-review

Abstract

The domain shifts often hinder accurate medical image segmentation, particularly when models trained on a source dataset are applied to a heterogeneous target dataset. To address this challenge, we propose a Dual-Path Attention Network (D2N) that explicitly incorporates domain adaptation. The framework integrates a Gradient Reversal Mechanism (GRM) to encourage domain-invariant feature learning, along with a Cross-Domain Attention Module (CDAM) that enhances the fusion of global contextual information and local boundary details, thereby improving segmentation accuracy. To comprehensively evaluate the proposed model, we conducted experiments across four medical imaging datasets spanning diverse clinical applications: skin cancer segmentation (ISIC2018 and PH2), polyp segmentation and brain tumor segmentation. D2N achieved strong performance, with Dice scores of 94.0% on ISIC2018, 92.1% on PH2, 96.55% on the polyp dataset and 91.5% on the brain tumor dataset. When compared against existing state-of-the-art methods, D2N consistently achieved better performance than competing approaches, with superior Dice, IoU and other metric scores across all datasets. These findings demonstrate that D2N effectively mitigates the impact of domain shift, substantially improves segmentation precision and generalizes well across a range of imaging modalities and anatomical structures. The code is available in the GitHub repository at https://github.com/nooriahmed/D2N-Dual-Path-Attention.

Original languageEnglish
Article number139
JournalVisual Computer
Volume42
Issue number2
DOIs
StatePublished - Jan 2026

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 3 - Good Health and Well-being
    SDG 3 Good Health and Well-being

Keywords

  • Lesions
  • Multi-scale
  • Polyp
  • Segmentation
  • Skin cancer

Fingerprint

Dive into the research topics of 'D2N: enhancing medical image segmentation with dual-path attention and domain adaptation'. Together they form a unique fingerprint.

Cite this