AICurious Logo

What is: Global Context Block?

SourceGCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond
Year2000
Data SourceCC BY-SA - https://paperswithcode.com

A Global Context Block is an image model block for global context modeling. The aim is to have both the benefits of the simplified non-local block with effective modeling of long-range dependencies, and the squeeze-excitation block with lightweight computation.

In the Global Context framework, we have (a) global attention pooling, which adopts a 1x1 convolution WkW_{k} and softmax function to obtain the attention weights, and then performs the attention pooling to obtain the global context features, (b) feature transform via a 1x1 convolution W_vW\_{v}; (c) feature aggregation, which employs addition to aggregate the global context features to the features of each position. Taken as a whole, the GC block is proposed as a lightweight way to achieve global context modeling.