NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Graph-Based Global Reasoning Networks.

Yunpeng Chen, Marcus Rohrbach, Zhicheng Yan, Shuicheng Yan, Jiashi Feng, Yannis Kalantidis

Abstract

Globally modeling and reasoning over relations between regions can be beneficial for many computer vision tasks on both images and videos. Convolutional Neural Networks (CNNs) excel at modeling local relations by convolution operations, but they are typically inefficient at capturing global relations between distant regions and require stacking multiple convolution layers. In this work, we propose a new approach for reasoning globally in which a set of features are globally aggregated over the coordinate space and then projected to an interaction space where relational reasoning can be efficiently computed. After reasoning, relation-aware features are distributed back to the original coordinate space for down-stream tasks. We further present a highly efficient instantiation of the proposed approach and introduce the Global Reasoning unit (GloRe unit) that implements the coordinate-interaction space mapping by weighted global pooling and weighted broadcasting, and the relation reasoning via graph convolution on a small graph in interaction space. The proposed GloRe unit is lightweight, end-to-end trainable and can be easily plugged into existing CNNs for a wide range of tasks. Extensive experiments show our GloRe unit can consistently boost the performance of state-of-the-art backbone architectures, including ResNet, ResNeXt, SE-Net and DPN, for both 2D and 3D CNNs, on image classification, semantic segmentation and video action recognition task.

Introduction

Standard Convolutional Neural Networks (CNNs) are inherently local. Their kernels operate on small neighborhoods (e.g., $3 \times 3$ pixels), meaning a network can only capture relationships between distant image regions by stacking many layers to increase the receptive field. This approach is computationally inefficient and often fails to capture complex semantic dependencies. For example, recognizing a "person playing a TV game" requires relating the person's posture to a distant screen—a task that is difficult for standard local convolutions.

The Graph Reasoning Framework enables global reasoning between distant regions by projecting features into an interaction space.

To address this, we propose the Global Reasoning (GloRe) unit, which aggregates features globally and projects them into an "interaction space" where relational reasoning can be performed efficiently using graph convolutions.

The Global Reasoning (GloRe) Unit

The GloRe unit is a modular component designed to be integrated into existing CNN architectures. It follows a three-step process:

  1. Projection (Coordinate to Interaction Space): Instead of treating every pixel as a node, which would be computationally prohibitive, the unit uses weighted global pooling to aggregate features into a small set of $N$ semantic nodes. Each node represents a region of similar features, regardless of spatial location.
  2. Global Reasoning: In the interaction space, these nodes form a fully connected graph. A Graph Convolutional Network (GCN) is employed to diffuse information across the graph, allowing the model to learn relationships between disparate semantic concepts.
  3. Reverse Projection (Interaction to Coordinate Space): The updated, relation-aware features are then broadcast back to the original spatial grid using a reverse projection matrix.
Architecture of the GloRe unit, showing the projection to interaction space, graph reasoning, and reverse projection.

The entire unit is implemented using $1 \times 1$ and $1D$ convolutions, ensuring it remains lightweight and end-to-end trainable.

Experimental Results

The GloRe unit was evaluated across several key computer vision tasks:

  • Image Classification (ImageNet): Integrating GloRe units into a ResNet-50 improved Top-1 accuracy from 76.2% to 78.4%. Notably, this configuration outperformed the much deeper ResNet-200 while requiring fewer parameters and FLOPs.
  • Semantic Segmentation (Cityscapes): A ResNet-101 with GloRe achieved a state-of-the-art 80.9% mIoU, demonstrating the unit's ability to capture long-range spatial dependencies crucial for segmentation.
  • Video Action Recognition (Kinetics-400): The approach generalizes to 3D CNNs, where GloRe improved the accuracy of 3D ResNet models by 0.5-1.0% by reasoning across both spatial and temporal dimensions.

Conclusion

The GloRe unit provides a highly efficient mechanism for global reasoning in CNNs. By moving from a fixed coordinate grid to a semantic interaction space, it allows networks to capture long-range dependencies that are often missed by local convolutions. Its lightweight nature and ease of integration make it a powerful tool for enhancing a wide variety of vision-based models.

Summary updated

BibTeX
@inproceedings{chen2019graph,
  author = {Yunpeng Chen and Marcus Rohrbach and Zhicheng Yan and Shuicheng YAN and Jiashi Feng and Yannis Kalantidis},
  title = {{Graph-Based Global Reasoning Networks.}},
  booktitle = {CVPR},
  year = {2019},
  url = {https://openreview.net/forum?id=rXC4mRGx_pS},
}
Figure