English

Layout-Conditioned Autoregressive Text-to-Image Generation via Structured Masking

Computer Vision and Pattern Recognition 2025-09-16 v1 Artificial Intelligence

Abstract

While autoregressive (AR) models have demonstrated remarkable success in image generation, extending them to layout-conditioned generation remains challenging due to the sparse nature of layout conditions and the risk of feature entanglement. We present Structured Masking for AR-based Layout-to-Image (SMARLI), a novel framework for layoutto-image generation that effectively integrates spatial layout constraints into AR-based image generation. To equip AR model with layout control, a specially designed structured masking strategy is applied to attention computation to govern the interaction among the global prompt, layout, and image tokens. This design prevents mis-association between different regions and their descriptions while enabling sufficient injection of layout constraints into the generation process. To further enhance generation quality and layout accuracy, we incorporate Group Relative Policy Optimization (GRPO) based post-training scheme with specially designed layout reward functions for next-set-based AR models. Experimental results demonstrate that SMARLI is able to seamlessly integrate layout tokens with text and image tokens without compromising generation quality. It achieves superior layoutaware control while maintaining the structural simplicity and generation efficiency of AR models.

Keywords

Cite

@article{arxiv.2509.12046,
  title  = {Layout-Conditioned Autoregressive Text-to-Image Generation via Structured Masking},
  author = {Zirui Zheng and Takashi Isobe and Tong Shen and Xu Jia and Jianbin Zhao and Xiaomin Li and Mengmeng Ge and Baolu Li and Qinghe Wang and Dong Li and Dong Zhou and Yunzhi Zhuge and Huchuan Lu and Emad Barsoum},
  journal= {arXiv preprint arXiv:2509.12046},
  year   = {2025}
}

Comments

10 pages, 3 figures

R2 v1 2026-07-01T05:37:06.609Z