Papers › LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation

LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation

9 Aug 2023arXiv:2308.05095archive 2025-07-28

Leigang Qu, Shengqiong Wu, Hao Fei, Liqiang Nie, Tat-Seng Chua

In the text-to-image generation field, recent remarkable progress in Stable Diffusion makes it possible to generate rich kinds of novel photorealistic images. However, current models still face misalignment issues (e.g., problematic spatial relation understanding and numeration failure) in complex natural scenes, which impedes the high-faithfulness text-to-image generation. Although recent efforts have been made to improve controllability by giving fine-grained guidance (e.g., sketch and scribbles), this issue has not been fundamentally tackled since users have to provide such guidance information manually. In this work, we strive to synthesize high-fidelity images that are semantically aligned with a given textual prompt without any guidance. Toward this end, we propose a coarse-to-fine paradigm to achieve layout planning and image generation. Concretely, we first generate the coarse-grained layout conditioned on a given textual prompt via in-context learning based on Large Language Models. Afterward, we propose a fine-grained object-interaction diffusion method to synthesize high-faithfulness images conditioned on the prompt and the automatically generated layout. Extensive experiments demonstrate that our proposed method outperforms the state-of-the-art models in terms of layout and image generation. Our code and settings are available at https://layoutllm-t2i.github.io.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2308.05095")

Code

Syntology Ran 11 of 17 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 7 ran with no contract checked.

By repository: community (archive-listed): 17 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

layoutllm-t2i/layoutllm-t2i mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 11 ran; 2 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
7ran
6unverified

Licence: 17 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from layoutllm-t2i/layoutllm-t2i. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

CheckpointFunction layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) ran no licence file found · pointer only · 62f5f6f02082d074 · report
CrossAttention layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) ran no licence file found · pointer only · 62dab2e5d80c65f2 · report
GatedCrossAttentionDense layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) ran no licence file found · pointer only · 685ba45c824392d7 · report
GatedSelfAttentionDense layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) ran no licence file found · pointer only · 3c992fc8cf1bcb11 · report
GatedSelfAttentionDense2 layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) ran no licence file found · pointer only · 6fda5be5b47ceae2 · report
RelationCrossAttention layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) ran no licence file found · pointer only · 78f4c181439d2228 · report
SelfAttention layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) ran no licence file found · pointer only · 35a9d16404c55eee · report
alpha_generator layoutllm-t2i/layoutllm-t2i/txt2img.py community (archive-listed) ran · fixture could not drive it no licence file found · pointer only · d123d0ead32f6b21 · report
checkpoint layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) ran · honoured contract no licence file found · pointer only · d0408ce6cb5db238 · report
project layoutllm-t2i/layoutllm-t2i/txt2img.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 519518427f6e4e2f · report
resume layoutllm-t2i/layoutllm-t2i/train_rl.py community (archive-listed) ran · honoured contract no licence file found · pointer only · 6ffddab9b4a35318 · report
BasicTransformerBlock layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) unverified no licence file found · pointer only · 71d199572f378540 · report
GligenCombineLayout layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) unverified no licence file found · pointer only · 1ce47bfbc5b62bab · report
ResBlock layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) unverified no licence file found · pointer only · b79532254b752520 · report
SpatialTransformer layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) unverified no licence file found · pointer only · 3f6fea66d029ae8a · report
TimestepEmbedSequential layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) unverified no licence file found · pointer only · 8bab56c818b37ac8 · report
UNetModel layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py community (archive-listed) unverified no licence file found · pointer only · f0258fd515fdbbe6 · report

Tasks

Image GenerationIn-Context LearningText to Image GenerationText-to-Image Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections