Heterogeneous Image GNN: Graph-Conditioned Diffusion for Image Synthesis
Preprint
Abstract
We introduce a novel method for conditioning diffusion-based image synthesis models with heterogeneous graph data. Existing approaches typically incorporate conditioning variables directly into model architectures, either through cross-attention layers that attend to text latents or image concatenation that spatially restrict generation. However, these methods struggle to handle complex scenarios involving diverse, relational conditioning variables, which are more naturally represented as unstructured graphs. This paper presents Heterogeneous Image Graphs (HIG), a novel representation that models conditioning variables and target images as two interconnected graphs, enabling efficient handling of variable-length conditioning inputs and their relationships. We also propose a magnitude-preserving GNN that integrates the HIG into the existing EDM2 diffusion model using a ControlNet approach. Our approach improves upon the SOTA on a variety of conditioning inputs for the COCO-stuff and Visual Genome datasets, and showcases the ability to condition on graph attributes and relationships represented by edges in the HIG.Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- ControlNet$++$: Improving Conditional Controls with Efficient Consistency Feedback2024
- LayoutDiffusion: Controllable Diffusion Model for Layout-to-Image Generation2023
- High-Resolution Image Synthesis with Latent Diffusion Models2022
- Semantic Image Manipulation Using Scene Graphs2020
- Graph R-CNN for Scene Graph Generation2018
- The Unreasonable Effectiveness of Deep Features as a Perceptual Metric2018
- Image Generation from Scene Graphs2018
- Scene Graph Generation by Iterative Message Passing2017
- Rethinking the Inception Architecture for Computer Vision2016
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015