Pair then Relation: Pair-Net for Panoptic Scene Graph Generation
Jinghao Wang, Zhengyu Wen, Xiangtai Li, Zujin Guo, Jingkang Yang, Ziwei Liu
TL;DR
This work targets Panoptic Scene Graph Generation (PSG) by identifying inter-object pair recalls as a bottleneck and proposing a Pair-Net framework that first learns sparse subject–object pairs with a Pair Proposal Network and a Matrix Learner, then predicts relations via a Relation Fusion module. The method combines a Mask2Former-based panoptic segmentation backbone, a learned sparse pairing mechanism, and a DETR-style relation decoder, achieving substantial improvements over prior PSG methods (notably over 10 percentage points in key Recall metrics). Key contributions include the explicit pair-wise learning objective, the Matrix Learner for sparsity, and comprehensive ablation/visualization analyses that underscore pair recall as a critical driver for PSG performance. The approach provides a strong, scalable baseline for PSG with practical implications for downstream vision tasks requiring fine-grained scene understanding and relational reasoning.
Abstract
Panoptic Scene Graph (PSG) is a challenging task in Scene Graph Generation (SGG) that aims to create a more comprehensive scene graph representation using panoptic segmentation instead of boxes. Compared to SGG, PSG has several challenging problems: pixel-level segment outputs and full relationship exploration (It also considers thing and stuff relation). Thus, current PSG methods have limited performance, which hinders downstream tasks or applications. The goal of this work aims to design a novel and strong baseline for PSG. To achieve that, we first conduct an in-depth analysis to identify the bottleneck of the current PSG models, finding that inter-object pair-wise recall is a crucial factor that was ignored by previous PSG methods. Based on this and the recent query-based frameworks, we present a novel framework: Pair then Relation (Pair-Net), which uses a Pair Proposal Network (PPN) to learn and filter sparse pair-wise relationships between subjects and objects. Moreover, we also observed the sparse nature of object pairs for both Motivated by this, we design a lightweight Matrix Learner within the PPN, which directly learns pair-wised relationships for pair proposal generation. Through extensive ablation and analysis, our approach significantly improves upon leveraging the segmenter solid baseline. Notably, our method achieves over 10\% absolute gains compared to our baseline, PSGFormer. The code of this paper is publicly available at https://github.com/king159/Pair-Net.
