Preprint
Computer Vision

Attention gated networks: Learning to leverage salient regions in medical images

Jo Schlemper(NIHR Imperial Biomedical Research Centre), Ozan Oktay(HeartFlow (United States)), Michiel Schaap(HeartFlow (United States)), Mattias P. Heinrich‬(University of Lübeck), Bernhard Kainz(Imperial College London), Ben Glocker(Imperial College London), Daniel Rueckert(Imperial College London)
February 5, 2019Medical Image Analysis1,946 citations

1.9k

Citations

94

Influential Citations

Medical Image Analysis

Venue

2019

Year

Abstract

We propose a novel attention gate (AG) model for medical image analysis that automatically learns to focus on target structures of varying shapes and sizes. Models trained with AGs implicitly learn to suppress irrelevant regions in an input image while highlighting salient features useful for a specific task. This enables us to eliminate the necessity of using explicit external tissue/organ localisation modules when using convolutional neural networks (CNNs). AGs can be easily integrated into standard CNN models such as VGG or U-Net architectures with minimal computational overhead while increasing the model sensitivity and prediction accuracy. The proposed AG models are evaluated on a variety of tasks, including medical image classification and segmentation. For classification, we demonstrate the use case of AGs in scan plane detection for fetal ultrasound screening. We show that the proposed attention mechanism can provide efficient object localisation while improving the overall prediction performance by reducing false positives. For segmentation, the proposed architecture is evaluated on two large 3D CT abdominal datasets with manual annotations for multiple organs. Experimental results show that AG models consistently improve the prediction performance of the base architectures across different datasets and training sizes while preserving computational efficiency. Moreover, AGs guide the model activations to be focused around salient regions, which provides better insights into how model predictions are made. The source code for the proposed AG models is publicly available.

Analysis

Why This Paper Matters

This paper addresses a critical challenge in medical image analysis: the need for models to focus on relevant anatomical structures while ignoring irrelevant background. Traditional CNNs often require separate localization modules or multi-stage pipelines to achieve this, which adds complexity and computational cost. The proposed attention gate (AG) provides a simple, elegant solution that can be plugged into existing architectures like U-Net, enabling end-to-end learning of salient regions.

The significance of this work lies in its broad applicability and demonstrated effectiveness. By integrating AGs, models achieve higher accuracy and better interpretability without significant overhead. This has made AGs a standard tool in medical imaging, influencing many subsequent works. The paper's impact is evidenced by its high citation count (1946) and its adoption in diverse applications beyond the original tasks.

Technical Contributions

  • Attention Gate Module: A novel gating mechanism that computes attention coefficients to weight feature maps, emphasizing salient regions and suppressing irrelevant ones. It is designed to be lightweight and easily integrated into existing CNN architectures.
  • Integration with U-Net: The authors show how AGs can be incorporated into U-Net, a popular segmentation architecture, by applying them at multiple scales to refine feature representations.
  • End-to-End Training: AGs are trained jointly with the base network using standard backpropagation, requiring no additional supervision or external localization modules.
  • Interpretability: The attention maps provide visual insights into which regions the model focuses on, aiding in understanding model predictions.
  • Versatility: The method is evaluated on both classification (fetal ultrasound) and segmentation (CT abdominal organs) tasks, demonstrating its generalizability.

Results

The paper reports consistent improvements across tasks. For fetal ultrasound scan plane detection, AGs reduce false positives while improving overall classification performance. For segmentation on two large 3D CT datasets, AG-augmented U-Net outperforms the base U-Net across multiple organs and training set sizes. The improvements are achieved with minimal computational overhead, making the method practical for real-world clinical use. The attention maps also show that the model focuses on anatomically relevant regions, confirming the effectiveness of the gating mechanism.

Significance

The attention gate has had a lasting impact on the field of medical image analysis. It provided a simple yet powerful mechanism to improve model performance and interpretability, which is crucial for clinical adoption. The idea has been extended to various architectures and tasks, including 3D segmentation, detection, and even non-medical domains. By eliminating the need for external localization modules, AGs streamline the pipeline and enable more efficient training. This work has inspired a wave of attention-based methods and remains a foundational reference for researchers and practitioners.