paper-with-me

홈 › Papers

Improving Explicit Spatial Relationships in Text-to-Image Generation through an Automatically Derived Dataset

2024-03-01 · Ander Salaberria, Gorka Azkune, Oier Lopez de Lacalle, Aitor Soroa, Eneko Agirre, Frank Keller

Existing work has observed that current text-to-image systems do not accurately reflect explicit spatial relations between objects such as 'left of' or 'below'. We hypothesize that this is because explicit spatial relations rarely appear in the image captions used to train these models. We propose an automatic method that, given existing images, generates synthetic captions that contain 14 explicit spatial relations. We introduce the Spatial Relation for Generation (SR4G) dataset, which contains 9.9 millions image-caption pairs for training, and more than 60 thousand captions for evaluation. In order to test generalization we also provide an 'unseen' split, where the set of objects in the train and test captions are disjoint. SR4G is the first dataset that can be used to spatially fine-tune text-to-image systems. We show that fine-tuning two different Stable Diffusion models (denoted as SD$_{SR4G}$) yields up to 9 points improvements in the VISOR metric. The improvement holds in the 'unseen' split, showing that SD$_{SR4G}$ is able to generalize to unseen objects. SD$_{SR4G}$ improves the state-of-the-art with fewer parameters, and avoids complex architectures. Our analysis shows that improvement is consistent for all relations. The dataset and the code will be publicly available.

📄 PDF Abstract BibTeX arXiv:2403.00587

Code (1)

salanueva/sr4g 공식 구현

Tasks

Image CaptioningImage GenerationText to Image GenerationText-to-Image Generation

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

GoT: Unleashing Reasoning Capability of Multimodal Large Language Model for Visual Generation and Editing

2025-03-13 · Rongyao Fang, Chengqi Duan, Kun Wang, Linjiang Huang 외

Current image generation and editing methods primarily process textual prompts as direct inputs without reasoning about visual composition and explicit operations. We present Generation Chain-of-Thought (GoT), a novel pa…

Image GenerationLanguage ModelingLanguage ModellingLarge Language Model+3

SpatialReward: Verifiable Spatial Reward Modeling for Fine-Grained Spatial Consistency in Text-to-Image Generation

2026-03-23 · Sashuai Zhou, Qiang Zhou, Junpeng Ma, Yue Cao 외 arxiv

Recent advances in text-to-image (T2I) generation via reinforcement learning (RL) have benefited from reward models that assess semantic alignment and visual quality. However, most existing reward models pay limited atte…

Text-to-Image GenerationReinforcement LearningVisual Grounding

LayoutTransformer: Scene Layout Generation With Conceptual and Spatial Diversity

2021-06-19 · CVPR 2021 1 · Cheng-Fu Yang, Wan-Cyuan Fan, Fu-En Yang, Yu-Chiang Frank Wang

When translating text inputs into layouts or images, existing works typically require explicit descriptions of each object in a scene, including their spatial information or the associated relationships. To better ex…

DecoderDiversityLayout Generation

Relationship-based Neural Baby Talk

2021-03-08 · Fan Fu, TingTing Xie, Ioannis Patras, Sepehr Jalali

Understanding interactions between objects in an image is an important element for generating captions. In this paper, we propose a relationship-based neural baby talk (R-NBT) model to comprehensively investigate several…

Caption GenerationGraph Attention

7Bench: a Comprehensive Benchmark for Layout-guided Text-to-image Models

2025-08-18 · Elena Izzo, Luca Parolari, Davide Vezzaro, Lamberto Ballan arxiv

Layout-guided text-to-image models offer greater control over the generation process by explicitly conditioning image synthesis on the spatial arrangement of elements. As a result, their adoption has increased in many co…

Synthetic Data GenerationText-to-Image Generation