Machine learning

attention gate

注意力门

An attention gate learns how strongly to transmit features using information from the features themselves and from a contextual signal, for example when a segmentation model sends encoder features through a skip connection.

In an attention-gated U-Net, a skip connection brings fine spatial detail from the encoder toward the decoder. The gate combines the encoder features with a coarser contextual signal from the decoder. After alignment, the learned weights scale the encoder features at each location. Broad spatial context can guide which fine details are retained for the next decoding step.

The gate is trained through the segmentation objective along with the other network layers. A large gate value indicates that the feature is transmitted more strongly at that point. Feature responses for the same structure can be compared before and after gating. Overlap between predicted masks and reference annotations measures segmentation performance.

Sources
  1. Oktay O, Schlemper J, Le Folgoc L, et al. Attention U-Net: Learning Where to Look for the Pancreas. 2018. arxiv.org/abs/1804.03999

Key works · 1

Key2018MIDL 201812,560 citations

Attention U-Net: Learning Where to Look for the Pancreas

Ozan Oktay, Jo Schlemper … Kazunari Misawa

Attention U-Net gates encoder features before they are passed across the skip connections, using coarser features to weight the spatial responses. The authors evaluate multi-organ segmentation on two abdominal CT datasets and report improvements over the corresponding U-Net without attention gates.

SignificanceThe method embedded learned region selection directly within a segmentation architecture, providing a reference for gated U-Net variants. A later journal study of attention gates applies the mechanism to both abdominal CT segmentation and fetal ultrasound plane detection.