SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.05095 · 2023

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

arXiv · PDF · Open in the Atlas

Code that ran

11 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 2 failures of our instrument; 6 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2308.05095.json · badge: /api/ran/2308.05095.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
layoutllm-t2i/layoutllm-t2i canonical (classifier label)
classifier basis: classifier_2025
11 ran · 6 no recorded run
FunctionStatusWhere it lives
CheckpointFunction Ran
ran on a synthesized input · constructed an object; no result was computed
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("62f5f6f02082d074")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

CrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("62dab2e5d80c65f2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GatedCrossAttentionDense Ran
ran on a synthesized input
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("685ba45c824392d7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GatedSelfAttentionDense Ran
ran on a synthesized input · constructed an object; no result was computed
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("3c992fc8cf1bcb11")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

GatedSelfAttentionDense2 Ran
ran on a synthesized input
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("6fda5be5b47ceae2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

RelationCrossAttention Ran
ran on a synthesized input · constructed an object; no result was computed
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("78f4c181439d2228")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SelfAttention Ran
ran on a synthesized input
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("35a9d16404c55eee")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

alpha_generator Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
layoutllm-t2i/layoutllm-t2i/txt2img.py
pointer only (licence: NONE) · get_code("d123d0ead32f6b21")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

checkpoint Ran
ran, honoured the contract we drafted
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("d0408ce6cb5db238")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

project Ran
ran; our contract draft was wrong, not the code
layoutllm-t2i/layoutllm-t2i/txt2img.py
pointer only (licence: NONE) · get_code("519518427f6e4e2f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

resume Ran
ran, honoured the contract we drafted
layoutllm-t2i/layoutllm-t2i/train_rl.py
pointer only (licence: NONE) · get_code("6ffddab9b4a35318")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BasicTransformerBlock Not yet run
unverified (harvested, no recorded run)
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("71d199572f378540")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

GligenCombineLayout Not yet run
unverified (harvested, no recorded run)
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("1ce47bfbc5b62bab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ResBlock Not yet run
unverified (harvested, no recorded run)
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("b79532254b752520")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

SpatialTransformer Not yet run
unverified (harvested, no recorded run)
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("3f6fea66d029ae8a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

TimestepEmbedSequential Not yet run
unverified (harvested, no recorded run)
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("8bab56c818b37ac8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

UNetModel Not yet run
unverified (harvested, no recorded run)
layoutllm-t2i/layoutllm-t2i/GLIGEN/ldm/modules/diffusionmodules/gligen_combine_layout.py
pointer only (licence: NONE) · get_code("f0258fd515fdbbe6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, layoutllm-t2i/layoutllm-t2i when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 14 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
checkpoint
brick of this paper's assembly: helper
51 other papers
20 dated earlier, 31 later · 29 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2105.05233 (2021-05)
Diffusion Models Beat GANs on Image Synthesis
2110.11291 (2021-10)
Likelihood Training of Schrödinger Bridge using Forward-Backward SDEs Theory
and 48 more not named here
alpha_generator 4 other papers
1 dated earlier, 3 later
2305.15393 (2023-05)
LayoutGPT: Compositional Visual Planning and Generation with Large Language Models
2310.01107 (2023-10)
Ground-A-Video: Zero-shot Grounded Video Editing using Text-to-image Diffusion Models
2311.00571 (2023-11)
LLaVA-Interactive: An All-in-One Demo for Image Chat, Segmentation, Generation and Editing
and 1 more not named here
project 3 other papers
1 dated earlier, 2 later
2305.15393 (2023-05)
LayoutGPT: Compositional Visual Planning and Generation with Large Language Models
2310.01107 (2023-10)
Ground-A-Video: Zero-shot Grounded Video Editing using Text-to-image Diffusion Models
2311.00571 (2023-11)
LLaVA-Interactive: An All-in-One Demo for Image Chat, Segmentation, Generation and Editing

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2308.05095")
get_code_for_paper("2308.05095")
have("2308.05095")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2308.05095.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2308.05095.svg)](https://syntology.ai/paper/2308.05095)

Connect an agent — have() is free.