Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Attention Gated Networks: Learning to Leverage Salient Regions in Medical Images

Attention gates teach a single network to focus on target organs

  • Problem Organ segmentation often needs a separate localisation stage that crops a region before a second model runs. Such cascades repeat low-level feature extraction and add parameters, and plain CNNs still produce false positives on small, variably shaped objects.
  • Method Attention gates are small learned modules placed on skip connections. Instead of cropping a region first, each gate scores every position from local features and a coarser gating signal, then rescales the features with those coefficients.
  • Results Attention U-Net reached a pancreas DSC of 0.840 against 0.814 for U-Net on the 120/30 split. AG-Sononet-8 reached accuracy 0.977 against 0.969 for Sononet-8 on fetal ultrasound.

Why cascades are costly for varying targets

When target organs differ in shape and size from patient to patient, many pipelines first extract a region of interest and then run a second model on that crop. Each stage of such a cascade has to make its own dense predictions on the cropped region, so the overall design depends on how well the first stage localises the target.

The cost of this design is redundancy: models in the cascade repeatedly extract similar low-level features, so parameters and intermediate feature maps are not shared. The authors instead aim to keep a single network and make its internal features more selective, with the aim of removing the need for a separate localisation model.

Plain CNNs also struggle with small objects that vary widely in shape, where background responses produce false-positive predictions. Attention gates are proposed to suppress irrelevant background responses progressively inside the network, without cropping a region between networks.

How one gate scales features

A gate receives the activation map of a chosen layer, a set of pixel-wise feature vectors \(x^l_i\) with \(F_l\) channels, together with a gating signal \(g\) taken from a coarser scale. For each position it produces a coefficient \(\alpha^l_i\) in the range \([0,1]\), and the output is the feature vector multiplied by that coefficient.

The coefficients follow an additive form: the features and the gating signal are each mapped by a \(1\times1\times1\) convolution, summed with a bias, passed through a nonlinearity \(\sigma_1\), and projected to one scalar per position. Written out, the score is \( q^{l}_{att,i} = \psi^{T}\big(\sigma_1(W_x^{T} x^l_i + W_g^{T} g + b_{xg})\big) + b_\psi \), and the coefficients are \( \alpha^l = \sigma_2(q^l_{att}(x^l, g; \Theta_{att})) \).

The parameters \(\Theta_{att}\) are the weights \(W_x\), \(W_g\), \(\psi\) and the biases, which are learned during training and then fixed; the gate itself does not take a new gating configuration at run time.

Grid attention changes the gating signal: instead of flattening the coarse map into one global vector, the gate takes the coarse grid itself after a few max-pooling steps. Because the coarse grid is resampled to the resolution of \(x^l\) by bilinear upsampling, each position can be weighted by a local context rather than one global vector.

How gating changes gradients and training

A gate filters activations in the backward pass as well as in the forward pass, so gradients from background positions are down-weighted before they reach earlier layers. For a convolution in layer \(l-1\), the derivative of the gated output splits into a term scaled by \(\alpha^l_i\) and a term through \(\partial \alpha^l_i\), so that earlier parameters are updated mostly from the regions the gate keeps.

\[ \frac{\partial(\hat{x}^l_i)}{\partial(\Phi^{l-1})} = \alpha^l_i \frac{\partial(f(x^{l-1}_i;\Phi^{l-1}))}{\partial(\Phi^{l-1})} + \frac{\partial(\alpha^l_i)}{\partial(\Phi^{l-1})} x^l_i \] The gate itself needs no auxiliary loss, but the authors use deep-supervision at each image scale so that intermediate feature maps stay semantically discriminative and no dense prediction is rebuilt from a small subset of gated maps.

When several classes are present, each gate can produce several coefficient maps, one per sub-gate, and each sub-gate multiplies the features by its own coefficients. The sub-gate outputs are fused to define the skip connection output, which lets one gate focus on a subset of target structures.

Attention U-Net for segmentation

The segmentation model is built on a standard 3D U-Net, and the gates act on the skip connections before the decoder concatenates them with upsampled features. The coarsest activation map serves as the gating signal in the segmentation setting, and the gated features are concatenated with the decoder features to produce the segmentation map.

Class imbalance is handled with a Sorensen-Dice loss defined over all semantic classes, which the authors report is less sensitive to imbalance in segmentation.

The initial number of features is 8 for U-Net and Attention U-Net and doubles after each max-pooling step. The gate parameters start so that the gates pass features at every spatial location, which the authors use in place of a staged training procedure.

AG-Sononet for scan plane classification

Sononet is a VGG-style network whose feature extractor can be separated from an adaptation module, which reduces channels to the class count and applies global average pooling followed by a softmax. AG-Sononet removes this adaptation module and uses the last layer of the feature extractor as the grid-level global feature map.

Gates are placed at layers 11 and 14, just before pooling, because the authors found gates less effective on the earliest layer, whose features are low-level. Each gate's coefficients are used to take a weighted average over the spatial axes, giving a vector per gated layer.

The vectors from layers 11, 14 and 17, together with a global average pooling of the coarsest representation, are concatenated and fed to a fully connected layer. For AG-Sononet the coefficients are normalised by subtracting their minimum and dividing by the sum of the shifted values, because the authors found the softmax output too sparse for this prediction.

Pancreas and organ results on CT-150

On the 120/30 split, Attention U-Net reached a pancreas DSC of 0.840 against 0.814 for U-Net. Pancreas S2S distance was 1.920 mm for Attention U-Net and 2.358 mm for U-Net, with both values for the same split.

The gain is mainly in recall, which rose to 0.841 from 0.806, and the paper reports this difference with p = .005. The authors attribute the recall gain to the gates helping the model localise foreground pixels.

With 30 training and 120 test scans, DSC was 0.767 for Attention U-Net and 0.741 for U-Net, and the authors describe the improvement as consistent across training sizes with p = .01. Spleen and kidney DSC were close for both models, with spleen DSC falling less steeply with the smaller training set for the gated model.

The authors conclude that the gate contributes more than uniformly added capacity (p = .007), which they relate to using the extra capacity for localisation.

Transfer to TCIA Pancreas-CT

Models trained on CT-150 and applied directly to CT-82, before fine-tuning, gave a DSC of 0.712 for Attention U-Net and 0.690 for U-Net. The surface distance was 5.251 mm for Attention U-Net and 6.389 mm for U-Net in that setting.

In Table 4 the single-model and multi-model 2D FCN methods are listed with 4-fold cross-validation and 62/20 splits, and the authors state that their models were trained on the same training data. Because the protocols, fold counts and training sets differ across these rows, the comparison is indicative rather than controlled, and no post-processing is applied to the gated model.

Fetal ultrasound plane classification

The fetal ultrasound dataset has 2694 examinations, covering 13 standard planes and a background class, and the data were split by subject into training, validation and test sets. Background dominates the frames, so a weighted sampling strategy balanced foreground and background draws.

On the test set AG-Sononet-8 reached accuracy 0.977 and precision 0.916, against 0.969 and 0.878 for Sononet-8.

The authors attribute the precision gain to the gates suppressing background noise, which leads to fewer false positives. In the class-wise table for AG-Sononet-8, precision rose by about 5% for kidneys, profile and spines, and by about 3% for 4CH and 3VV, which the authors mark as p < 0.05.

AG-Sononet-8 is therefore not free, although the authors report it stays close to the accuracy of Sononet with double the capacity.

What the attention maps show

The authors observe that coefficients start close to uniform, so the gates pass features at all locations, and then become concentrated around organ boundaries as training proceeds. The coefficients were visualised at epochs 3, 6, 10, 60 and 150 on test CT volumes.

At coarser scales the coefficients give a rough outline of the organs, which is refined at finer resolutions. Across several gates at one scale, each gate tends to attend a different subset of organs.

For ultrasound, the authors derive a bounding box from the attention map, and it agrees with the ground-truth annotation in the examples shown. The attention map outlines the discriminant region rather than the whole object, and the authors note that the attention-based localisation avoids a backpropagation-based saliency step.

Limitations

The authors used softmax in an earlier setting and found it sparsely activated and sensitive to local intensity, which matters for low-quality ultrasound. Sigmoid normalisation restricts the range well and lets more information flow, but the authors found training non-trivial because of gradient saturation.

The authors found that the way scale-wise attention maps are aggregated affects learning, and that first training each scale separately and then fine-tuning gave the most stable result. Residual connections in the gating blocks did not give a significant improvement in the segmentation experiments.

The 3D segmentation model is compared with 2D cascaded models that use the full in-plane axial resolution, and the authors state that this comparison is not enough for a final conclusion. The gate's localisation maps are discriminant regions and may not cover the whole object, as noted for the ultrasound maps.

Paper info

Authors
Jo Schlemper, Ozan Oktay, Michiel Schaap, Mattias Heinrich, Bernhard Kainz, Ben Glocker, Daniel Rueckert
Venue
arXiv · Preprint
First published
2018-8-22
Added
2026-11-12
Updated
2019-1-20
Version
v2
arXiv
1808.08114
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Jo Schlemper, Ozan Oktay, Michiel Schaap, Mattias Heinrich, Bernhard Kainz, Ben Glocker, Daniel Rueckert (2018). Attention Gated Networks: Learning to Leverage Salient Regions in Medical Images. arXiv:1808.08114v2. https://arxiv.org/abs/1808.08114v2

BibTeX
@misc{schlemper2018attention,
  title = {{Attention Gated Networks: Learning to Leverage Salient Regions in Medical Images}},
  author = {Jo Schlemper and Ozan Oktay and Michiel Schaap and Mattias Heinrich and Bernhard Kainz and Ben Glocker and Daniel Rueckert},
  year = {2018},
  eprint = {1808.08114},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.08114v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up