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:
- Relational Proposal Graph Construction: Proposals from the Region Proposal Network (RPN) are mapped to graph nodes.
- 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.
- Graph Cut Pooling (GCPool): This layer performs hierarchical clustering to capture global scene information.
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.
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