English

Global Context Networks

Computer Vision and Pattern Recognition 2020-12-25 v1

Abstract

The Non-Local Network (NLNet) presents a pioneering approach for capturing long-range dependencies within an image, via aggregating query-specific global context to each query position. However, through a rigorous empirical analysis, we have found that the global contexts modeled by the non-local network are almost the same for different query positions. In this paper, we take advantage of this finding to create a simplified network based on a query-independent formulation, which maintains the accuracy of NLNet but with significantly less computation. We further replace the one-layer transformation function of the non-local block by a two-layer bottleneck, which further reduces the parameter number considerably. The resulting network element, called the global context (GC) block, effectively models global context in a lightweight manner, allowing it to be applied at multiple layers of a backbone network to form a global context network (GCNet). Experiments show that GCNet generally outperforms NLNet on major benchmarks for various recognition tasks. The code and network configurations are available at https://github.com/xvjiarui/GCNet.

Keywords

Cite

@article{arxiv.2012.13375,
  title  = {Global Context Networks},
  author = {Yue Cao and Jiarui Xu and Stephen Lin and Fangyun Wei and Han Hu},
  journal= {arXiv preprint arXiv:2012.13375},
  year   = {2020}
}

Comments

To appear in TPAMI. Full version of GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond (arXiv:1904.11492)

R2 v1 2026-06-23T21:23:37.073Z