Abstract
Traditional Scene Graph Generation (SGG) relies on bounding boxes, which often lack precision and ignore background context. This paper introduces Panoptic Scene Graph Generation (PSG), a novel task that represents image scenes using pixel-level panoptic segmentations. By releasing a high-quality dataset of 49k images and proposing new Transformer-based one-stage models (PSGTR and PSGFormer), the authors provide a more precise and comprehensive framework for machines to understand complex visual relationships.
Introduction
Scene Graph Generation (SGG) is a fundamental task for high-level visual understanding, yet the traditional "detection perspective"—where objects are identified by rectangular bounding boxes—presents several limitations. First, bounding boxes provide coarse localization, often including "noisy" pixels from adjacent objects that hinder the learning of clean relationships. Second, standard SGG focuses exclusively on "things" (countable objects), missing the essential context provided by "stuff" (background elements like pavement, sky, or grass). Finally, existing datasets are often cluttered with redundant or trivial labels (e.g., "person-has-head") that offer little value for high-level reasoning.
The PSG Dataset
To support this new task, the authors introduced the PSG Dataset, comprising 48,749 images derived from the intersection of COCO and Visual Genome. The dataset features 133 object classes (80 "things" and 53 "stuff") and 56 carefully curated, non-overlapping predicate classes. Unlike previous datasets, PSG was built through a rigorous three-step process involving automated fusion, predicate dictionary refinement, and professional manual annotation to ensure salient and accurate triplets.
Methodology
The authors established benchmarks using two primary architectural philosophies:
- Two-Stage Baselines: These adapt classic SGG methods (such as MOTIFS or VCTree) by replacing the standard object detector with a Panoptic FPN. The model extracts masks and features in the first stage, then predicts relationships in the second.
- One-Stage Transformer Models:
- PSGTR (PSG Transformer): Based on the DETR architecture, it utilizes a set of "triplet queries" to learn subjects, objects, and their relationships simultaneously in a single pass.
- PSGFormer: This model separates object and relation modeling into two distinct Transformer decoders. It uses a "prompting-like" mechanism where relation queries act as prompts to select the most relevant subject and object candidates via cosine similarity.
Key Results and Insights
Quantitative analysis shows that one-stage models have significant potential. On a ResNet-50 backbone, PSGTR achieved a top Scene Graph Generation (SGDet) score of 28.4 R@20, significantly outperforming the best two-stage baseline (VCTree at 20.6). Furthermore, PSGFormer demonstrated a significant advantage in "mean Recall" (mR), indicating a superior ability to predict a diverse range of relationships (e.g., "feeding" or "kissing") rather than defaulting to statistically common ones like "on" or "near."
Qualitatively, PSG models produce much cleaner graphs. Because they use masks, the physical area the model associates with a label (the "grounding") is far more accurate than overlapping boxes. By including "stuff," the scene graph becomes more coherent; for example, a person is not just "near" a bench, but "sitting on" a bench which is "on" the "pavement."
Conclusion
Panoptic Scene Graph Generation marks a shift toward more granular and context-aware scene understanding. While current models like PSGTR show high graph accuracy, future work is needed to improve Panoptic Quality (PQ) by better deduplicating objects across different triplet predictions. Ultimately, the PSG framework could revolutionize downstream tasks such as visual reasoning, image retrieval, and complex image generation.
Summary updated