Anatomy Prior Based U-net for Pathology Segmentation with Attention

Yuncheng Zhou, Ke Zhang, Xinzhe Luo, Sihan Wang, Xiahai Zhuang

Abstract

Pathological area segmentation in cardiac magnetic resonance (MR) images plays a vital role in the clinical diagnosis of cardiovascular diseases. Because of the irregular shape and small area, pathological segmentation has always been a challenging task. We propose an anatomy prior based framework, which combines the U-net segmentation network with the attention technique. Leveraging the fact that the pathology is inclusive, we propose a neighborhood penalty strategy to gauge the inclusion relationship between the myocardium and the myocardial infarction and no-reflow areas. This neighborhood penalty strategy can be applied to any two labels with inclusive relationships to form a neighboring loss. The proposed framework is evaluated on the EMIDEC dataset. Results show that our framework is effective in pathological area segmentation.

Introduction

Accurately segmenting pathological areas—specifically myocardial infarction (MI) and "no-reflow" (NoR) zones—in Late Gadolinium Enhancement (LGE) MRI is critical for diagnosing cardiovascular disease. However, it is notoriously difficult for AI for three primary reasons: the unpredictable shapes and blurry boundaries of pathological regions, the severe class imbalance caused by the tiny scale of these areas compared to the heart, and the low visual contrast between healthy and diseased tissue.

Existing models often produce "cracks" or anatomically impossible segmentations because they treat labels as independent pixels rather than parts of a biological structure. This paper introduces an anatomy-aware U-Net framework designed to enforce anatomical hierarchy and improve the detection of these difficult features.

Methods

The proposed framework enhances the standard U-Net architecture with several key innovations:

  • Anatomy Prior (Neighborhood Penalty Strategy): This leverages the biological fact that these pathologies are "inclusive": a no-reflow zone is always inside an infarction, and an infarction is always inside the myocardium. A neighboring loss ($L_{NP}$) penalizes the model if these spatial relationships are violated.
  • Attention Blocks: Integrated into the U-Net, these blocks use convolutions and sigmoid activation to create "attention maps" that help the network focus on relevant features while suppressing background noise.
  • Automated Weighted Cross-Entropy (AWCE): To address class imbalance, a "Weight Generator" sub-network automatically calculates optimal weights for different labels during training, ensuring small pathological zones are not ignored.
  • Pathology Mixup: A specialized data augmentation technique that registers and interpolates cardiac images to create synthetic training examples.
The proposed architecture featuring a weight generator, a U-Net segmenter with attention blocks, and the integration of the neighborhood penalty.

Results and Discussion

The framework was evaluated on the EMIDEC challenge dataset, consisting of 150 cardiac MRI images. The proposed methods showed substantial improvements over a standard baseline U-Net across all metrics, measured by the Dice Similarity Coefficient (DSC):

Region Baseline DSC Proposed (Attention+AWCE+Penalty)
Myocardium (Myo) 0.871 0.916
Infarction (Inf) 0.622 0.747
No-Reflow (NoR) 0.246 0.538

The most striking result is the 118% improvement in the No-Reflow zone (0.246 to 0.538), proving that anatomical priors are essential for detecting the most subtle pathologies. Treating segmentation as a hierarchical problem (A is inside B) acts as a "soft constraint" that guides the model toward biologically plausible shapes.

Visual comparison of segmentation results on basal and middle slices, showing the refinement of pathological zones using the proposed framework.

Conclusion

While the neighborhood penalty is excellent for enforcing inclusive relationships, it does not necessarily guarantee a perfect geometric shape prior. Additionally, while the penalty significantly helped the hardest class (NoR), the model achieved its highest overall scores on easier classes when using only the attention and AWCE modules, suggesting a trade-off. Future research will focus on optimizing data augmentation methods and testing the framework across more diverse clinical scenarios.

Summary updated

BibTeX
@inproceedings{zhou2020anatomy,
  author = {Yuncheng Zhou and Ke Zhang and Xinzhe Luo and Sihan Wang and Xiahai Zhuang},
  title = {{Anatomy Prior Based U-net for Pathology Segmentation with Attention}},
  booktitle = {M\&Ms and EMIDEC/STACOM @ MICCAI},
  year = {2020},
  doi = {10.1007/978-3-030-68107-4\_41},
}
Figure