LoCo: Locally Constrained Training-Free Layout-to-Image Synthesis. Zhao, P., Li, H., Jin, R., & Zhou, S. K. 2023. Version Number: 3
Paper doi abstract bibtex Recent text-to-image diffusion models have reached an unprecedented level in generating high-quality images. However, their exclusive reliance on textual prompts often falls short in precise control of image compositions. In this paper, we propose LoCo, a training-free approach for layout-to-image Synthesis that excels in producing high-quality images aligned with both textual prompts and layout instructions. Specifically, we introduce a Localized Attention Constraint (LAC), leveraging semantic affinity between pixels in self-attention maps to create precise representations of desired objects and effectively ensure the accurate placement of objects in designated regions. We further propose a Padding Token Constraint (PTC) to leverage the semantic information embedded in previously neglected padding tokens, improving the consistency between object appearance and layout instructions. LoCo seamlessly integrates into existing text-to-image and layout-to-image models, enhancing their performance in spatial control and addressing semantic failures observed in prior methods. Extensive experiments showcase the superiority of our approach, surpassing existing state-of-the-art training-free layout-to-image methods both qualitatively and quantitatively across multiple benchmarks.
@misc{zhao_loco_2023,
title = {{LoCo}: {Locally} {Constrained} {Training}-{Free} {Layout}-to-{Image} {Synthesis}},
copyright = {arXiv.org perpetual, non-exclusive license},
shorttitle = {{LoCo}},
url = {https://arxiv.org/abs/2311.12342},
doi = {10.48550/ARXIV.2311.12342},
abstract = {Recent text-to-image diffusion models have reached an unprecedented level in generating high-quality images. However, their exclusive reliance on textual prompts often falls short in precise control of image compositions. In this paper, we propose LoCo, a training-free approach for layout-to-image Synthesis that excels in producing high-quality images aligned with both textual prompts and layout instructions. Specifically, we introduce a Localized Attention Constraint (LAC), leveraging semantic affinity between pixels in self-attention maps to create precise representations of desired objects and effectively ensure the accurate placement of objects in designated regions. We further propose a Padding Token Constraint (PTC) to leverage the semantic information embedded in previously neglected padding tokens, improving the consistency between object appearance and layout instructions. LoCo seamlessly integrates into existing text-to-image and layout-to-image models, enhancing their performance in spatial control and addressing semantic failures observed in prior methods. Extensive experiments showcase the superiority of our approach, surpassing existing state-of-the-art training-free layout-to-image methods both qualitatively and quantitatively across multiple benchmarks.},
urldate = {2025-10-07},
publisher = {arXiv},
author = {Zhao, Peiang and Li, Han and Jin, Ruiyang and Zhou, S. Kevin},
year = {2023},
note = {Version Number: 3},
keywords = {Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences},
}
Downloads: 0
{"_id":"RpyhW6PXHyJt3QgiS","bibbaseid":"zhao-li-jin-zhou-locolocallyconstrainedtrainingfreelayouttoimagesynthesis-2023","author_short":["Zhao, P.","Li, H.","Jin, R.","Zhou, S. K."],"bibdata":{"bibtype":"misc","type":"misc","title":"LoCo: Locally Constrained Training-Free Layout-to-Image Synthesis","copyright":"arXiv.org perpetual, non-exclusive license","shorttitle":"LoCo","url":"https://arxiv.org/abs/2311.12342","doi":"10.48550/ARXIV.2311.12342","abstract":"Recent text-to-image diffusion models have reached an unprecedented level in generating high-quality images. However, their exclusive reliance on textual prompts often falls short in precise control of image compositions. In this paper, we propose LoCo, a training-free approach for layout-to-image Synthesis that excels in producing high-quality images aligned with both textual prompts and layout instructions. Specifically, we introduce a Localized Attention Constraint (LAC), leveraging semantic affinity between pixels in self-attention maps to create precise representations of desired objects and effectively ensure the accurate placement of objects in designated regions. We further propose a Padding Token Constraint (PTC) to leverage the semantic information embedded in previously neglected padding tokens, improving the consistency between object appearance and layout instructions. LoCo seamlessly integrates into existing text-to-image and layout-to-image models, enhancing their performance in spatial control and addressing semantic failures observed in prior methods. Extensive experiments showcase the superiority of our approach, surpassing existing state-of-the-art training-free layout-to-image methods both qualitatively and quantitatively across multiple benchmarks.","urldate":"2025-10-07","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Zhao"],"firstnames":["Peiang"],"suffixes":[]},{"propositions":[],"lastnames":["Li"],"firstnames":["Han"],"suffixes":[]},{"propositions":[],"lastnames":["Jin"],"firstnames":["Ruiyang"],"suffixes":[]},{"propositions":[],"lastnames":["Zhou"],"firstnames":["S.","Kevin"],"suffixes":[]}],"year":"2023","note":"Version Number: 3","keywords":"Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences","bibtex":"@misc{zhao_loco_2023,\n\ttitle = {{LoCo}: {Locally} {Constrained} {Training}-{Free} {Layout}-to-{Image} {Synthesis}},\n\tcopyright = {arXiv.org perpetual, non-exclusive license},\n\tshorttitle = {{LoCo}},\n\turl = {https://arxiv.org/abs/2311.12342},\n\tdoi = {10.48550/ARXIV.2311.12342},\n\tabstract = {Recent text-to-image diffusion models have reached an unprecedented level in generating high-quality images. However, their exclusive reliance on textual prompts often falls short in precise control of image compositions. In this paper, we propose LoCo, a training-free approach for layout-to-image Synthesis that excels in producing high-quality images aligned with both textual prompts and layout instructions. Specifically, we introduce a Localized Attention Constraint (LAC), leveraging semantic affinity between pixels in self-attention maps to create precise representations of desired objects and effectively ensure the accurate placement of objects in designated regions. We further propose a Padding Token Constraint (PTC) to leverage the semantic information embedded in previously neglected padding tokens, improving the consistency between object appearance and layout instructions. LoCo seamlessly integrates into existing text-to-image and layout-to-image models, enhancing their performance in spatial control and addressing semantic failures observed in prior methods. Extensive experiments showcase the superiority of our approach, surpassing existing state-of-the-art training-free layout-to-image methods both qualitatively and quantitatively across multiple benchmarks.},\n\turldate = {2025-10-07},\n\tpublisher = {arXiv},\n\tauthor = {Zhao, Peiang and Li, Han and Jin, Ruiyang and Zhou, S. Kevin},\n\tyear = {2023},\n\tnote = {Version Number: 3},\n\tkeywords = {Computer Vision and Pattern Recognition (cs.CV), FOS: Computer and information sciences},\n}\n\n","author_short":["Zhao, P.","Li, H.","Jin, R.","Zhou, S. K."],"key":"zhao_loco_2023","id":"zhao_loco_2023","bibbaseid":"zhao-li-jin-zhou-locolocallyconstrainedtrainingfreelayouttoimagesynthesis-2023","role":"author","urls":{"Paper":"https://arxiv.org/abs/2311.12342"},"keyword":["Computer Vision and Pattern Recognition (cs.CV)","FOS: Computer and information sciences"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://api.zotero.org/groups/2938862/collections/H4TUEY6S/items?key=Rhf03alngC5oAHJADUV2KK3J&format=bibtex&limit=100","dataSources":["sBy62ojvQTgSHk6WW"],"keywords":["computer vision and pattern recognition (cs.cv)","fos: computer and information sciences"],"search_terms":["loco","locally","constrained","training","free","layout","image","synthesis","zhao","li","jin","zhou"],"title":"LoCo: Locally Constrained Training-Free Layout-to-Image Synthesis","year":2023}