SG-Tailor: Inter-Object Commonsense Relationship Reasoning for Scene Graph Manipulation
Haoliang Shang, Hanyu Wu, Guangyao Zhai, Boyang Sun, Fangjinhua Wang, Federico Tombari, Marc Pollefeys
TL;DR
This work tackles the challenging problem of manipulating scene graphs in a coherent, commonsense-aware manner. SG-Tailor reframes node additions and edge changes as autoregressive inter-object relationship predictions, using a Cut-And-Stitch strategy to ensure conflict-free edits. It encodes triplets as quintuple tokens and trains a decoder-only Transformer to predict next tokens, achieving robust, globally consistent graph manipulation. The approach delivers substantial improvements over baselines on multiple 3D scene benchmarks and proves effective as a plug-in for scene generation and robotic manipulation, with strong qualitative and user-study support.
Abstract
Scene graphs capture complex relationships among objects, serving as strong priors for content generation and manipulation. Yet, reasonably manipulating scene graphs -- whether by adding nodes or modifying edges -- remains a challenging and untouched task. Tasks such as adding a node to the graph or reasoning about a node's relationships with all others are computationally intractable, as even a single edge modification can trigger conflicts due to the intricate interdependencies within the graph. To address these challenges, we introduce SG-Tailor, an autoregressive model that predicts the conflict-free relationship between any two nodes. SG-Tailor not only infers inter-object relationships, including generating commonsense edges for newly added nodes but also resolves conflicts arising from edge modifications to produce coherent, manipulated graphs for downstream tasks. For node addition, the model queries the target node and other nodes from the graph to predict the appropriate relationships. For edge modification, SG-Tailor employs a Cut-And-Stitch strategy to solve the conflicts and globally adjust the graph. Extensive experiments demonstrate that SG-Tailor outperforms competing methods by a large margin and can be seamlessly integrated as a plug-in module for scene generation and robotic manipulation tasks.
