Graph-Based Social Relation Reasoning

Wanhua Li, Yueqi Duan, Jiwen Lu, Jianjiang Feng, Jie Zhou

Abstract

Traditional social relation recognition in computer vision often treats person-pairs in isolation, leading to logical inconsistencies and high computational costs. This paper introduces the Graph Relational Reasoning Network (GR²N), a holistic framework that jointly reasons about all social relations within an image. By constructing virtual relation graphs and employing type-specific message passing, GR²N ensures global consistency and achieves state-of-the-art performance while being up to 7x faster than previous methods.

Introduction: The Locality Problem

Recognizing social relations such as "mother-child" or "colleagues" is a fundamental task in social scene understanding. Historically, this has been approached as a pair-wise classification problem: a model extracts features from two bounding boxes and predicts their relationship. However, this "local" approach ignores the inherent logical structure of social groups. For instance, if Person A is the mother of Person C, and Person B is the father of Person C, it is logically consistent that A and B are "lovers" or "spouses." Isolated pair-wise models often fail to capture these dependencies, resulting in contradictory predictions across a single scene.

Social relation reasoning uses global context to resolve ambiguous pairs by enforcing logical consistency across the entire group.

Methodology: Graph Relational Reasoning Network (GR²N)

The GR²N framework shifts the paradigm from person-pair-based to image-based reasoning. The process involves four key stages:

  1. Image-to-Graph Construction: The model processes the entire image using a ResNet-101 backbone. RoI pooling extracts features for every detected person, which are then represented as nodes in a social graph.
  2. Virtual Relation Graphs: To model the specific logic of different social ties, GR²N constructs $K$ virtual graphs, where $K$ corresponds to the number of possible relation types.
  3. Type-Specific Message Passing: Unlike standard Graph Neural Networks (GNNs), GR²N utilizes learned type-specific message matrices. This allows the network to explicitly model how the presence of one relation type (e.g., "parent") influences the likelihood of another (e.g., "spouse") within the graph structure.
  4. Joint Inference: Node representations are updated by aggregating messages across all virtual graphs simultaneously, ensuring that every pair-wise prediction is informed by the global context of the scene.

Experimental Results

The model was evaluated on the PIPA (People in Photo Album) and PISC (People in Social Context) datasets.

  • Accuracy: On PIPA, GR²N achieved 64.3% accuracy, outperforming models that use significantly more CNN components. On the PISC dataset, it reached an mAP of 83.1% for coarse-grained and 72.7% for fine-grained relations, a substantial improvement over the 48.2% baseline of standard Pair CNNs.
  • Efficiency: By avoiding redundant forward passes for every person-pair, GR²N is 2x to 7x faster than competing state-of-the-art methods. Its memory efficiency also scales better as the number of individuals in a scene increases.

Conclusion

GR²N demonstrates that global consistency is a powerful tool for correcting local recognition errors in social scenes. By treating the image as a unified graph rather than a collection of independent pairs, the model achieves superior accuracy and efficiency. Future work aims to integrate person detection directly into the reasoning pipeline for a fully end-to-end social scene parser.

Summary updated

BibTeX
@inproceedings{li2020graph,
  author = {Wanhua Li and Yueqi Duan and Jiwen Lu and Jianjiang Feng and Jie Zhou},
  title = {{Graph-Based Social Relation Reasoning}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58555-6\_2},
}
Figure