CoPa-SG: Dense Scene Graphs with Parametric and Proto-Relations

Julian Lorenz, Mrunmai Phatak, Robin Schön, Katja Ludwig, Nico Hörmann, Annemarie Friedrich, Rainer LienhartarXiv 2025

TL;DR

CoPa-SG introduces a fully automated pipeline and a massive synthetic dataset to solve the sparsity and ambiguity plaguing traditional 2D scene graphs. By introducing parametric relations (adding exact distances and angles) and proto-relations (mapping hypothetical spaces for future objects), it transforms scene graphs from sparse, subjective summaries into dense, geometrically precise representations optimized for robotic planning and reasoning.

What Problem Does This Paper Address?

Traditional 2D scene graphs represent images as structured triplets—(subject, predicate, object), such as (chair, next to, table). While useful for scene understanding, existing human-annotated datasets (like Visual Genome or PSG) suffer from severe limitations. Humans typically only annotate "salient" relationships, leaving up to 96% of valid object pairs completely unannotated.

Furthermore, spatial predicates like "behind" or "left of" are highly subjective and ambiguous. Does a chair count as "behind" a table if it's just further away, or must it be physically occluded? This lack of geometric precision and exhaustive coverage creates a data bottleneck, making it difficult to train robust models for downstream tasks like robotic navigation or spatial reasoning.

Figure 1. COPA-SG contains exhaustive scene graph annotations. In contrast, traditional scene graphs focus mostly on salient rela- tions. This makes our dataset more suitable for training and eval- uating scene graph generation models that will be employed in downstream applications. Note that the magnified graph displays only a subset of the available relations for better readability.

Methods

The authors developed an automated, rule-based pipeline to extract dense scene graphs from 3D synthetic data, entirely removing human subjectivity. They introduced two key concepts:

  1. Parametric Relations: Instead of binary classifications, relations are enriched with continuous values. Distance-based relations (e.g., touching, next to) store the exact shortest distance in meters computed via voxelized grids and K-d trees. Directional relations (e.g., front, right) store the minimum angular deviation ($\alpha$) from a test direction vector ($\vec{v}$), calculated using a ray-sweep technique. The authors explicitly distinguish between camera-dependent and object-dependent (intrinsic pose) orientations.
  2. Proto-Relations: To model hypothetical scenarios, they define a voxelized volume of space around an anchor object. If a new object enters this volume, it automatically satisfies a specific spatial relation. These volumes can be manipulated using Constructive Solid Geometry (CSG) operations (intersection, union, difference).

To predict these complex structures, the authors adapted a state-of-the-art scene graph generator (DSFormer) with custom multi-label prediction layers and specific loss functions ($\mathcal{L}_A$ for angles, $\mathcal{L}_D$ for distances) to predict parametric values directly from images.

Figure 2. Schematic of the directional right of relation. Shown are both the camera-dependent and the object-dependent variant. For a directional relation, we define the parameter α as the min- imum angle between front and back surface compared to the test direction ⃗v. The arrows show the connecting vectors from object to subject.

Datasets

The authors introduced COPA-SG (Complete and Parametric Scene Graphs), a synthetic panoptic scene graph dataset generated using the procedural engine Infinigen.

  • Scale: Contains over 1.2k unique indoor scenes and 36k rendered images (complete with segmentation masks, depth maps, and surface normals).
  • Density: Features over 86 million relation annotations (averaging 72k relations per scene).
  • Coverage: Achieves 100% coverage of all possible subject-object pairs, a massive leap from Visual Genome (3.4%) and PSG (12.6%).

Key Insights and Ideas

  • Exhaustive Coverage Changes the Metric: Traditional scene graph evaluation relies on Recall@k (like mR@50) because ground truth is sparse. On a fully dense dataset like COPA-SG, a perfect model scores terribly on mR@50 because there are simply too many valid relations per pair. The authors argue for Mean Average Precision (mAP) and higher $k$ values ($k=1000$) to properly evaluate dense scene understanding.
  • Disentangling Perspectives: Separating whether something is "in front of" an object from the camera's view versus the object's intrinsic front orientation resolves a major source of ambiguity in spatial reasoning.
  • Actionable Graphs: Proto-relations shift the paradigm of scene graphs from static descriptions of what is there to dynamic, actionable maps of what could be there, making them highly useful for robotics (e.g., "place the cup to the left of the plate without blocking the teapot").

Key Results

  • Model Benchmarking: When evaluated on COPA-SG using parameter thresholds, DSFormer significantly outperformed older architectures like Neural Motifs and VCTree, achieving a Predicate Classification (PredCls) mAP of 67.0% and Scene Graph Detection (SGDet) mAP of 30.7%.
  • Parametric Estimation: Models trained with 4 transformer blocks achieved up to 79.05% mAP for relation existence, with mean angular errors ranging from ~10° (for above) to ~23° (for right).
  • Multi-View Aggregation: Aggregating predictions across multiple viewpoints (taking the median of model outputs) consistently improved performance, saturating at around 15 views with an Average Precision (AP) boost of up to +6.2%.
  • LLM/SLM Integration: The authors demonstrated that small language models (like Phi-4 or Qwen2.5) can seamlessly convert natural language queries into Cypher graph queries or Python-based CSG operations over COPA-SG data, enabling efficient on-device spatial reasoning.

Limitations and Future Work

  • Synthetic Domain Gap: Because the dataset is entirely procedurally generated, models trained exclusively on COPA-SG may face a domain gap when deployed in real-world environments.
  • Computational Cost: The voxel-based distance extraction and ray-sweeping pipeline are computationally intensive during dataset generation.
  • Full Scene Graph Reconciliation: While multi-view evaluation was explored for individual relations, the authors note that fully reconciling and merging disparate scene graphs from different perspectives into a single unified global graph remains an open challenge.

Summary updated

BibTeX
@misc{lorenz2025copa,
  author = {Julian Lorenz and Mrunmai Phatak and Robin Schön and Katja Ludwig and Nico Hörmann and Annemarie Friedrich and Rainer Lienhart},
  title = {{CoPa-SG: Dense Scene Graphs with Parametric and Proto-Relations}},
  year = {2025},
  eprint = {2506.21357},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.21357},
}
Figure