Weakly Supervised Segmentation with Multi-scale Adversarial Attention Gates

Gabriele Valvano, Andrea Leo, Sotirios A. TsaftarisarXiv 2020

Introduction

Deep learning has significantly advanced medical image segmentation, yet its progress is often hindered by the "data hunger" of standard convolutional neural networks (CNNs). Training these models typically requires thousands of images paired with pixel-perfect, manual annotations. In the medical domain, such labels must be produced by clinical experts, making the process prohibitively slow, expensive, and difficult to scale.

To address this, researchers have turned to "weak supervision," using sparse annotations like scribbles—simple lines drawn within an anatomical structure. Scribbles can be collected up to 15 times faster than full masks. However, their sparsity poses a challenge: they provide limited information regarding exact boundaries and the global geometric properties of organs. This paper introduces a novel framework that integrates shape priors directly into the training process using a multi-scale Generative Adversarial Network (GAN) and a new mechanism called the Adversarial Attention Gate (AAG).

Overview of the scribble-based segmentation task and the high-level adversarial model architecture.

Methodology

The proposed framework treats segmentation as an adversarial game between two primary components: a Segmentor and a Discriminator.

The Segmentor and Discriminator

The Segmentor is a modified U-Net architecture that generates segmentation masks from input images. To guide the Segmentor in learning realistic shapes from sparse signals, a Discriminator is employed. Unlike traditional supervised learning, the Discriminator is trained on unpaired masks—realistic segmentation maps from different datasets or modalities. This allows the Discriminator to act as a learned shape prior, teaching the Segmentor what a valid organ (e.g., a heart or liver) should look like, even without seeing a full ground-truth mask for every training image.

Adversarial Attention Gates (AAGs)

The core innovation is the Adversarial Attention Gate (AAG). While standard attention gates help models focus on salient regions, AAGs are uniquely conditioned by adversarial signals from the Discriminator.

As shown in the architecture below, the AAGs operate at multiple scales within the U-Net decoder. At each resolution, the AAG generates a soft "region proposal" or attention map. The Discriminator provides feedback at every scale, forcing the AAGs to suppress noisy activations outside the target anatomy and ensuring the model maintains a consistent global structure. This multi-scale approach allows the network to simultaneously solve the "where" (localization at low resolutions) and the "what" (boundary refinement at high resolutions).

Detailed architecture of the multi-scale segmentor and discriminator, highlighting the Adversarial Attention Gate (AAG) mechanism.

Loss Functions

To handle the sparsity of scribbles, the authors utilize a Weighted Partial Cross-Entropy (WPCE) loss. This function ignores unlabelled pixels while balancing the loss for smaller anatomical structures that might otherwise be overwhelmed by the background class. This is combined with the adversarial loss to optimize the Segmentor.

Experimental Evaluation

The model was rigorously evaluated across four diverse datasets to demonstrate its robustness and generalizability:

  • ACDC: Cardiac MRI involving the Right Ventricle, Left Ventricle, and Myocardium.
  • LVSC: Left Ventricular Myocardium in cine MRI.
  • CHAOS: Abdominal MRI focusing on the Liver, Kidneys, and Spleen.
  • PPSS: A non-medical pedestrian parsing dataset used to validate the model's utility in general computer vision tasks.

Key Results and Insights

The experimental results demonstrate that the AAG framework effectively bridges the gap between weak and full supervision:

  1. Performance Parity: On the ACDC dataset, the scribble-based model achieved a Dice score of 84.3%, performing statistically on par with (and occasionally outperforming) a U-Net trained on full, dense manual masks.
  2. Superiority Over Benchmarks: The model consistently outperformed existing weakly supervised methods, including those utilizing Conditional Random Fields (CRFs) or Denoising Autoencoders. In the CHAOS-T1 dataset, it yielded an 8.5% improvement in Dice score over the next best state-of-the-art method.
  3. Gradient Flow: The authors noted that AAGs help mitigate the vanishing gradient problem. The adversarial signal provides a more direct path for gradients to reach deeper layers of the Segmentor, leading to more stable and effective training.
  4. Robustness to Noise: The system remained effective even when training data was limited to 5% of the original set or when subjected to noisy scribbles from multiple different annotators.

Conclusion

By leveraging unpaired data as a shape prior through multi-scale adversarial attention, this framework provides a powerful solution to the data bottleneck in medical imaging. It enables the training of high-performance segmentation models using only a fraction of the annotation effort. Future work may explore replacing the GAN component with Multi-scale Variational Autoencoders (VAEs) to better capture segmentation uncertainty and applying AAGs to other domains such as medical image registration.

Summary updated

BibTeX
@misc{valvano2020weakly,
  author = {Gabriele Valvano and Andrea Leo and Sotirios A. Tsaftaris},
  title = {{Weakly Supervised Segmentation with Multi-scale Adversarial Attention Gates}},
  year = {2020},
  eprint = {2007.01152},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2007.01152},
}
Figure