Papers › Rethinking The Training And Evaluation of Rich-Context Layout-to-Image Generation

Rethinking The Training And Evaluation of Rich-Context Layout-to-Image Generation

7 Sep 2024arXiv:2409.04847archive 2025-07-28

Jiaxin Cheng, Zixu Zhao, Tong He, Tianjun Xiao, Yicong Zhou, Zheng Zhang

Recent advancements in generative models have significantly enhanced their capacity for image generation, enabling a wide range of applications such as image editing, completion and video editing. A specialized area within generative modeling is layout-to-image (L2I) generation, where predefined layouts of objects guide the generative process. In this study, we introduce a novel regional cross-attention module tailored to enrich layout-to-image generation. This module notably improves the representation of layout regions, particularly in scenarios where existing methods struggle with highly complex and detailed textual descriptions. Moreover, while current open-vocabulary L2I methods are trained in an open-set setting, their evaluations often occur in closed-set environments. To bridge this gap, we propose two metrics to assess L2I performance in open-vocabulary scenarios. Additionally, we conduct a comprehensive user study to validate the consistency of these metrics with human preferences.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2409.04847")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 8 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

cplusx/rich_context_l2i officialmentioned in papermentioned 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

13 samples harvested; 10 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · violated contract
1ran · our draft was wrong
8ran
3unverified

Licence: 13 of the 13 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 cplusx/rich_context_l2i. “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.

clip_image cplusx/rich_context_l2i/callbacks/common.py official repository ran fingerprinted no licence file found · pointer only · 43749669b9801ca6 · report
exists cplusx/rich_context_l2i/misc_utils/model_utils.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 608e364a9d2376a3 · report
format_dtype_and_shape cplusx/rich_context_l2i/callbacks/common.py official repository ran no licence file found · pointer only · 43cc14973f357339 · report
get_coco_id_mapping cplusx/rich_context_l2i/diffusion_dataset/COCOStuff.py official repository ran no licence file found · pointer only · 862ce6b655ad9e1f · report
get_obj_from_str cplusx/rich_context_l2i/misc_utils/model_utils.py official repository ran · our draft was wrong no licence file found · pointer only · 221b2d116fdf1032 · report
load_boxdiff_image cplusx/rich_context_l2i/evaluation.py official repository ran no licence file found · pointer only · 47ed05cc10ac81e2 · report
load_gligen_image cplusx/rich_context_l2i/evaluation.py official repository ran no licence file found · pointer only · 59fdc706e1142dc3 · report
load_instdiff_image cplusx/rich_context_l2i/evaluation.py official repository ran no licence file found · pointer only · 8e721c9b6023bbf1 · report
rename_duplicated_label_with_index cplusx/rich_context_l2i/diffusion_dataset/LAION_synthetic.py official repository ran fingerprinted no licence file found · pointer only · 41527b34aedeb1bb · report
unnorm cplusx/rich_context_l2i/callbacks/common.py official repository ran fingerprinted no licence file found · pointer only · 5639833613f1f408 · report
get_cocostuff_caption_dataset cplusx/rich_context_l2i/diffusion_dataset/COCOStuff.py official repository unverified no licence file found · pointer only · cf2e00fe902bb93e · report
get_cocostuff_dataset cplusx/rich_context_l2i/diffusion_dataset/COCOStuff.py official repository unverified no licence file found · pointer only · b8024f9ffe4b18f6 · report
instantiate_from_config cplusx/rich_context_l2i/misc_utils/model_utils.py official repository unverified no licence file found · pointer only · f0ac78b4e05be194 · report

Tasks

Image GenerationLayout-to-Image GenerationVideo Editing

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Concatenated Skip ConnectionSoftmax

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