RepGN: Object Detection with Relational Proposal Graph Network

Xingjian Du (杜行健), Xingjian Du, Xuan Shi, Risheng HuangarXiv 2019

Abstract: Modern object detection frameworks typically treat region proposals as independent entities, neglecting the inherent spatial and semantic relationships between objects in a scene. We present the Relational Proposal Graph Network (RepGN), a graph-based module designed to capture these interactions. By representing proposals as nodes in a graph and utilizing graph attention alongside a novel Graph Cut Pooling (GCPool) layer, RepGN effectively models local overlaps and global context. Evaluated on the COCO dataset, RepGN demonstrates consistent improvements in Mean Average Precision (mAP) across various baselines with minimal computational overhead.

Introduction

The dominant paradigm in object detection, exemplified by Faster R-CNN, follows a two-stage "propose-then-classify" pipeline. While effective, this approach treats each proposal in isolation during the second stage. However, real-world scenes are structured; for instance, a "keyboard" is contextually linked to a "monitor," and overlapping bounding boxes often represent competing hypotheses for the same object. RepGN addresses this by introducing a relational reasoning module that integrates seamlessly into existing detectors.

The RepGN Architecture

RepGN transforms the set of object proposals into a relational graph where nodes represent proposals and edges denote spatial relationships (initially defined by Intersection over Union, IoU). The network processes this graph through three primary stages:

  1. Relational Proposal Graph Construction: Proposals from the Region Proposal Network (RPN) are mapped to graph nodes.
  2. Graph Attention Module: A learnable attention mechanism refines edge weights based on semantic similarity, allowing the network to focus on the most relevant neighboring context.
  3. Graph Cut Pooling (GCPool): This layer performs hierarchical clustering to capture global scene information.
The RepGN pipeline integrates a graph-based reasoning module between the RPN and the final bounding box head, utilizing graph attention and pooling to refine proposal features.

Graph Cut Pooling (GCPool)

A key innovation of RepGN is the GCPool layer, which addresses the need for global context. Standard Graph Convolutional Networks (GCNs) often focus on local neighborhoods. GCPool utilizes the Normalized Cut (NCut) algorithm to cluster related proposals into "super-nodes," effectively coarsening the graph. This hierarchical structure allows the model to reason about the scene at multiple scales—from fine-grained local overlaps to broad object distributions across the entire image.

Visualization of proposal clustering via GCPool. (a, c) show proposals on the original image, while (b, d) illustrate how the graph is partitioned into semantic and spatial clusters.

Experimental Results

The efficacy of RepGN was validated on the COCO benchmark using Faster R-CNN and Cascade R-CNN baselines.

  • Performance Gains: On Faster R-CNN (ResNet-50), RepGN increased mAP from 36.4% to 37.5%. On the stronger Cascade R-CNN (ResNet-101), it achieved a peak mAP of 42.2%.
  • Efficiency: Despite the added relational reasoning, the inference speed remained nearly constant. For Faster R-CNN, throughput only shifted from 10.4 to 10.2 samples per second, making it a practical addition for real-time applications.

Conclusion

RepGN demonstrates that modeling object relationships through a graph-based approach significantly enhances detection performance without sacrificing efficiency. By leveraging graph attention and hierarchical pooling, the model captures the rich contextual tapestry of visual scenes. Future work may explore alternative graph construction methods beyond IoU, such as visual similarity or relative distance, to further unlock the potential of relational reasoning in computer vision.

Summary updated

BibTeX
@misc{2019repgn,
  author = {Xingjian Du (杜行健) and Xingjian Du and Xuan Shi and Risheng Huang},
  title = {{RepGN: Object Detection with Relational Proposal Graph Network}},
  year = {2019},
  eprint = {1904.08959},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.08959},
}
Figure