GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond

Yue Cao, Jiarui Xu, Stephen Lin, Fangyun Wei, Han Hu
4/25/2019
cs.CVcs.AIcs.LG

Official code: xvjiarui/GCNet (1,220 stars, Apache-2.0, last commit 2021-02-16).

Abstract

The Non-Local Network (NLNet) presents a pioneering approach for capturing long-range dependencies, 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 non-local network are almost the same for different query positions within an image. 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 observe that this simplified design shares similar structure with Squeeze-Excitation Network (SENet). Hence we unify them into a three-step general framework for global context modeling. Within the general framework, we design a better instantiation, called the global context (GC) block, which is lightweight and can effectively model the global context. The lightweight property allows us to apply it for multiple layers in a backbone network to construct a global context network (GCNet), which generally outperforms both simplified NLNet and SENet on major benchmarks for various recognition tasks. The code and configurations are released at https://github.com/xvjiarui/GCNet.

View on arXivView PDF

Code Implementations(1)

xvjiarui/GCNetOfficial100%
Apache-2.0

GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond

1,220165C++, CudaApr 25, 20195 years agoApache-2.0
computer-visiondeep-learninginstance-segmentationobject-detection

Similar Papers

Cite this paper

@article{cao2019gcnet,
  title  = {GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond},
  author = {Yue Cao and Jiarui Xu and Stephen Lin and Fangyun Wei and Han Hu},
  year   = {2019},
  eprint = {1904.11492},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.11492}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1904.11492.svg)](https://codeofpaper.com/paper/1904.11492)

Discussion