Introduction
Generating realistic images from Scene Graphs (SGs)—structured representations where nodes denote objects and edges describe their relationships—remains a significant challenge in conditional image synthesis. Current approaches generally fall into two categories: image-oriented methods, which often produce blurry results due to difficulties in modeling complex spatial interactions, and code-oriented methods (e.g., using VQGAN), which yield sharper images but suffer from "object ignorance." This phenomenon occurs when models omit small or rare objects because the mapping from the graph to the discrete latent code space is insufficiently sensitive to minor graph perturbations.
The LOCI Framework
To bridge the gap between visual fidelity and object consistency, the Learning Object Consistency and Interaction (LOCI) framework integrates three core components to ensure that every node in a scene graph is accurately reflected in the generated output.
Consistency through Counterfactual Augmentation
The Consistency Module addresses object ignorance via a weighted augmentation strategy. During training, the model generates "counterfactual" scene graphs by selectively removing objects likely to be ignored (such as small or infrequent classes). A matching loss then forces the model to distinguish between the original graph and its "missing-object" counterpart, effectively training the latent space to be sensitive to every node.
Multi-Level Interaction via Supergraphs
The Interaction Module treats image patches and scene graph nodes as a unified supergraph. This architecture enables explicit spatial modeling through three types of message propagation:
- Global Message Propagation (GMP): Links object nodes to image patches to dictate overall layout.
- Local Message Propagation (LMP): Connects patches within a single object to maintain internal consistency and detail.
- Relational Message Propagation (RMP): Connects patches of interacting objects (e.g., a person's feet and the floor) to ensure natural-looking transitions and physical grounding.
Experimental Results
LOCI was evaluated on the COCO-stuff and Visual Genome benchmarks. On COCO-stuff, the model achieved a state-of-the-art Fréchet Inception Distance (FID) of 49.8, a significant improvement over previous code-oriented baselines like IGSGWT (61.4).
To specifically measure object preservation, the authors utilized the Object Occurrence Ratio (OOR). LOCI reached an OOR of 81.26% on COCO-stuff, demonstrating superior consistency compared to existing methods. Human evaluation further confirmed that users prefer LOCI for both its visual quality and its adherence to the input scene graph. Additionally, the research introduces a new dataset of approximately 1 million art images with attribute annotations to facilitate future work in the field.
Conclusion and Future Work
The LOCI framework demonstrates that high visual fidelity and strict object consistency are not mutually exclusive. By regularizing the mapping process and employing a supergraph for spatial interactions, LOCI overcomes the "sensitivity problem" inherent in discrete latent spaces. Future work will explore the application of these consistency strategies to other conditional generation tasks, such as layout-to-image and text-to-image synthesis, to mitigate the broader "missing mode" problem in generative modeling.
Summary updated