Diffusion-Based Scene Graph to Image Generation with Masked Contrastive Pre-Training
Ling Yang Zhilin Huang Thanks: Contributed equally. Affiliation: Tsinghua University Yang Song Affiliation: OpenAI Shenda Hong Affiliation: Peking University Guohao Li Affiliation: KAUST Wentao Zhang Affiliation: Mila Bin Cui Affiliation: Peking University Bernard Ghanem Affiliation: KAUST Ming-Hsuan Yang Affiliation: University of California, Merced Affiliation: Google {hongshenda,
Abstract
Generating images from graph-structured inputs, such as scene graphs, is uniquely challenging due to the difficulty of aligning nodes and connections in graphs with objects and their relations in images. Most existing methods address this challenge by using scene layouts, which are image-like representations of scene graphs designed to capture the coarse structures of scene images. Because scene layouts are manually crafted, the alignment with images may not be fully optimized, causing suboptimal compliance between the generated images and the original scene graphs. To tackle this issue, we propose to learn scene graph embeddings by directly optimizing their alignment with images. Specifically, we pre-train an encoder to extract both global and local information from scene graphs that are predictive of the corresponding images, relying on two loss functions: masked autoencoding loss and contrastive loss. The former trains embeddings by reconstructing randomly masked image regions, while the latter trains embeddings to discriminate between compliant and non-compliant images according to the scene graph. Given these embeddings, we build a latent diffusion model to generate images fro
原文 arXiv:2211.11138;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2211.11138v1