LAION-SG: An Enhanced Large-Scale Dataset for Training Complex Image-Text Models with Structural Annotations
Zejian Li, Chenye Meng, Yize Li, Ling Yang, Shengyuan Zhang, Jiarui Ma, Jiayi Li, Guang Yang, Changyuan Yang, Zhiyuan Yang, Jinxiong Chang, Lingyun Sun
TL;DR
This work introduces LAION-SG, a large-scale scene-graph annotated dataset built atop LAION-Aesthetic V2 to enable robust compositional image generation. It pairs SGs with images and trains a SG-aware foundation model, SDXL-SG, by integrating a graph-neural-network-based SG encoder into Stable Diffusion XL, yielding superior performance on complex scenes. A new CompSGen Bench provides standardized evaluation using SG-IoU, Entity-IoU, and Relation-IoU alongside Fréchet Inception Distance and CLIP scores, with experiments showing substantial gains over text-only prompts and prior SG2IM methods. The dataset, model, and benchmark collectively advance the data- and model-level capabilities for SG-guided image synthesis, with potential impacts across content creation and AI-assisted perception, while acknowledging automation and bias considerations.
Abstract
Recent advances in text-to-image (T2I) generation have shown remarkable success in producing high-quality images from text. However, existing T2I models show decayed performance in compositional image generation involving multiple objects and intricate relationships. We attribute this problem to limitations in existing datasets of image-text pairs, which lack precise inter-object relationship annotations with prompts only. To address this problem, we construct LAION-SG, a large-scale dataset with high-quality structural annotations of scene graphs (SG), which precisely describe attributes and relationships of multiple objects, effectively representing the semantic structure in complex scenes. Based on LAION-SG, we train a new foundation model SDXL-SG to incorporate structural annotation information into the generation process. Extensive experiments show advanced models trained on our LAION-SG boast significant performance improvements in complex scene generation over models on existing datasets. We also introduce CompSG-Bench, a benchmark that evaluates models on compositional image generation, establishing a new standard for this domain. Our annotations with the associated processing code, the foundation model and the benchmark protocol are publicly available at https://github.com/mengcye/LAION-SG.
