Abstract
Modern object detection frameworks often struggle to incorporate semantic context, focusing primarily on local visual features within isolated image regions. This paper introduces a novel approach that jointly models objects and their relationships using "context-likelihood graphs." By combining initial detector predictions with statistical priors and refining them through an energy-based optimization process, the proposed method significantly improves detection accuracy. The framework is particularly effective for rare object classes and demonstrates consistent performance gains across both convolutional and transformer-based architectures.
Introduction
While state-of-the-art object detectors like Faster-RCNN or DETR are highly effective, they frequently ignore the "common sense" of a scene—the semantic relationships that define our world. For example, identifying a face should logically increase the probability of finding eyes and a nose in the immediate vicinity.
Existing methods that attempt to incorporate this context usually model objects and relations separately or sequentially. This creates a critical dependency: if the initial object detection is incorrect, the subsequent context model is likely to fail. This paper addresses this limitation by learning the joint distribution of objects and their relationships, allowing contextual reasoning to "fix" or "fill in" detections that a base model might miss due to poor lighting, occlusion, or insufficient training data for rare categories.
Methodology: The CLik Framework
The authors propose a two-step framework designed to be integrated into existing object detection pipelines. The process moves from raw proposals to a refined, context-aware graph.
1. Context-Likelihood (CL) Graphs
Instead of relying solely on final labels, the system takes the initial class probability matrix ($P$) and multiplies it by a prior relationship matrix ($T$) derived from the Visual Genome dataset. This results in an edge connectivity matrix ($E = P \times T \times P^T$) representing the likelihood of relationships between any two object proposals.
2. Energy-Based Graph Refinement
The core innovation lies in treating the graph as a state within an energy-based model (EBM). During inference, the system employs Stochastic Gradient Langevin Dynamics (SGLD)—an iterative sampling technique—to "wiggle" the graph into a lower-energy state. This state represents a configuration that better fits the learned joint distribution of objects and relations.
3. Message Passing
Following refinement, a Graph Attention Network (GAT) propagates information across the nodes. This enhances the feature vectors of each object proposal with contextual data before they undergo final classification and bounding box regression.
Experimental Evaluation
The researchers evaluated their method on two major benchmarks: Visual Genome (VG) (specifically the VG1000 and VG3000 subsets) and MS-COCO 2017. Visual Genome provided a rich source of relationship annotations for context modeling, while MS-COCO served to demonstrate the generalizability of the method when relationship priors are transferred across datasets.
Key Results
- Performance Gains: On the VG1000 task, the method improved Faster-RCNN from 7.3 to 8.5 mAP and DETR from 5.8 to 6.8 mAP. On MS-COCO, it achieved an absolute improvement of 4.2 AP over the Faster-RCNN baseline.
- Rare Class Boosting: The most significant improvements were observed in "rare" classes. In these categories, where visual training examples are scarce, the model successfully leveraged context (e.g., using the presence of a horse to identify a saddle) to improve detection.
- Oracle Potential: An experiment using ground-truth relations (an "Oracle") revealed a potential jump to 15.3 mAP on VG1000, suggesting that improved scene understanding is a major frontier for future detection performance.
Discussion and Limitations
While the framework provides a robust "wrapper" for existing detectors, it faces two primary challenges. First, it is dependent on the base detector's proposals; if a region is never proposed, the graph cannot recover the object. Second, the iterative SGLD refinement adds computational overhead, reducing inference speed from 14.6 fps to 9.4 fps in testing.
Future work may involve integrating the proposal generation phase directly into the joint distribution modeling to overcome the "missing proposal" limitation and exploring more complex relationship priors to further enhance scene reasoning.
Summary updated