Research
SEGA: A Stepwise Evolution Paradigm for Content-Aware Layout Generation with Design Prior
Overview Research area: Computer vision and multimodal large language models, specifically content-aware graphic layout generation (automatically arranging text, images, and logos onto a background im
- arXiv
- 2510.15749
- Published
- 2025-10-17
- Authors
- Haoran Wang, Bo Zhao, Jinghui Wang, Hanzhang Wang, Huan Yang, Wei Ji, Hao Liu, Xinyan Xiao
AI summary
Overview
Research area: Computer vision and multimodal large language models, specifically content-aware graphic layout generation (automatically arranging text, images, and logos onto a background image).
Technical level: Intermediate. The paper assumes familiarity with multimodal LLMs (MLLMs), instruction tuning, and graphic layout metrics, but the core idea (coarse-to-fine refinement) is explained in plain language.
Scope: This paper introduces SEGA, a two-stage coarse-to-fine layout generation paradigm with a self-evaluation feedback mechanism, plus a new 105,456-poster dataset called GenPoster-100K.
What This Paper Is About
Existing layout generation models work in a single step: they take instructions and emit a final layout with no chance to check or correct their own work. The authors observe that this causes planning ability to drop sharply when a layout must place many elements. The goal of this paper is to give a layout model a human-like two-system thinking process, where a fast module drafts a layout and a slower module critiques and improves it using explicit design rules.
Key Contributions
-
SEGA (Stepwise Evolution Paradigm for Content-Aware Layout Generation): A hierarchical framework consisting of a Coarse-level Estimation module (CE module) built on LLaVA-1.5, and a Fine-level Refinement module (FR module) that is initialized from the trained CE module weights and iteratively self-corrects the draft layout.
-
Evaluation Chain-of-Thought (ECoT) driven by design priors: Four explicit layout design principles are encoded into the model so that it first states what is wrong with a layout (for example, "there is element overlap in the current poster" or "current layout is fine") before predicting the corrected layout, using the auto-regressive mechanism to feed that evaluation into the prediction.
-
GenPoster-100K dataset: A new large-scale poster dataset containing 105,456 posters with multi-grained metadata, layer-parseable high-fidelity components, structured annotations, and clustered layouts — attributes the authors report as absent in PKU (9,974 layouts), CGL (60,548 layouts), and Crello (23,182 layouts).
-
State-of-the-art results and a generalization study: The method is evaluated on three benchmark datasets (PKU, CGL, Crello) and shown to outperform non-LLM baselines (CGL-GAN, FlexDM, RALF, LayoutDM) and the LLM-based PosterLlama, plus a cross-dataset pre-training study showing GenPoster-100K pre-training transfers better than CGL pre-training.
Main Findings
- Outperformance on constrained layout tasks: On CGL, SEGA (7B) reaches Alignment 0.0020, Overlay 0.0017, Underlay-loose 0.9913, Underlay-strict 0.9782, Readability 0.0294, and Occlusion 0.2430. The authors report SEGA wins on 11 of 12 metrics on CGL and PKU relative to the voting-based SEGA w/o FR (Ens-2) baseline.
- Gains on the most complex benchmark: On Crello, SEGA (7B) achieves Alignment 0.0086, Overlay 0.0040, Underlay-loose 0.9337, Underlay-strict 0.8978, Readability 0.0282, Occlusion 0.3964, with a mean aesthetic score of 5.941 and inference time of 8.76+7.77 seconds. SEGA (13B) achieves Alignment 0.0095, Overlay 0.0025, Underlay-loose 0.9541, Underlay-strict 0.9270, Readability 0.0260, Occlusion 0.3907, mean aesthetic score 6.320, and inference time 10.28+10.01 seconds.
- Scaling holds: The authors report that SEGA leads on both 7B and 13B base models, which they present as evidence of framework scalability.
- Hard-scene advantage: On Crello scenes with more than 8 elements, the reported relative improvements from adding the FR module are +133% Alignment, +25% Overlay, +48% Underlay-loose, +148% Underlay-strict, +2% Readability, +1% Occlusion. On scenes with 8 or fewer elements the reported gains are +22%, +171%, +15%, +31%, +6%, and +1% respectively.
- Ablation confirms each component matters: The paper reports progressive gains across six configurations on Crello (13B) from data collection, pruning, ECoT, and visual prompt; the fully enabled configuration reaches Underlay-strict 0.9270 versus 0.7315 for the base configuration.
- One refinement round is the sweet spot: Iterative refinement yields a substantial gain after one iteration, with further rounds giving relatively restricted improvement, so one-time iteration is the default setting.
- Framework is portable but weaker: Replacing the CE module with PosterLlama and the FR module with GPT-4o still improves over PosterLlama alone (Underlay-strict 0.8579 vs 0.7378), but lags behind full SEGA.
- GenPoster-100K pre-training transfers: Zero-shot transfer to Crello after pre-training on GenPoster-100K yields Alignment 0.0103, Overlay 0.0125, Underlay-loose 0.7711, Underlay-strict 0.6673, Readability 0.0247, Occlusion 0.4000, and mean aesthetic score 6.002, compared with CGL pre-training (Alignment 0.0068, Overlay 0.0014, Underlay-loose 0.5564, Underlay-strict 0.2999, Readability 0.0419, Occlusion 0.4002, mean 5.425).
- Dataset statistics: GenPoster-100K has 105,456 layouts with an average of 5.85 elements and element-count variance of 34.90, versus Crello's 4.29 average and 10.23 variance, CGL's 4.80 and 3.84, and PKU's 4.53 and 3.39.
- Weakness noted by authors: On CGL, content metrics are weaker, which the authors speculate is because inpainting-derived background images degrade the visual encoder's representational capability in MLLMs; SEGA still outperforms PosterLlama there.
Methodology in Plain English
The system works in two trained stages.
Stage one — drafting (CE module). A base multimodal model (LLaVA-1.5, in 7B and 13B versions) is instruction-tuned to take a background image and a task instruction and output a rough layout. Each element is described by its type, left coordinate, top coordinate, width, and height.
Stage two — refining (FR module). The draft layout is rendered onto the background image to create an intermediate image (a visual prompt). A second module, initialized from the weights of the first, receives this rendered image, a refinement instruction, and the draft layout, and outputs two things at once: an evaluation written in text and a corrected layout.
Making the refiner robust. Because the refiner must cope with inputs of varying quality, the authors build its training data from two sources: layouts produced by an earlier (fewer-epoch) CE checkpoint — deliberately chosen to avoid the domain gap caused by a fully trained CE module having already seen the ground truth — and intentionally perturbed layouts created by randomly selecting and disturbing an element of the ground truth. Layouts that violate the design principles are pruned out to keep data quality high.
Injecting design knowledge. Four principles are summarized: elements should not be overlaid; non-underlay elements should be covered by the underlay; elements should not cover the object in the background; and elements should align with each other. The model is trained to first report violations of these principles and then produce the refined layout.
Inference. The user supplies a background image and a conditional constraint; the CE module produces an initial layout; the FR module then iterates, with each round rendering the current layout onto the background. One round is used by default based on a performance/compute trade-off.
Evaluation setup. Layouts are generated in three independent trials and averaged. Metrics include graphic metrics (Alignment, Overlay, Underlay-loose, Underlay-strict), content metrics (Readability, Occlusion), and aesthetic scores from GPT-4V across four aspects plus a mean. Text on the Crello dataset is classified into predefined categories using the Yi-34B LLM because Crello lacks element-type annotations.
Why This Matters
Impact on research. The paper challenges the prevailing single-step paradigm for multimodal layout generation and shows that a lightweight architectural change — reusing the same base model twice, once as a drafter and once as a refiner — can beat larger single-pass models and voting ensembles. It also argues that self-evaluation as an intermediate auto-regressive step is a workable substitute for chain-of-thought in a spatial design task where numerical reasoning is weak.
Real-world applications:
- Automated poster and advertising design for e-commerce, the domain covered by the PKU and CGL benchmarks.
- Web page and slide layout automation, which the introduction names as target scenarios.
- Design tooling that acts as a reviewer, since the model outputs an explicit critique of a layout as well as a correction.
- Cross-domain layout bootstrapping, where a model pre-trained on GenPoster-100K is fine-tuned for a narrower distribution.
Industry relevance. All authors are affiliated with Baidu Inc., Nanjing University, Harbin Institute of Technology, and Kuaishou Technology, and the work targets applied design automation pipelines. The reported inference times (8.76+7.77 s for 7B on Crello) indicate the two-pass approach roughly doubles cost per generated layout, a practical consideration for deployment.
Future Directions
- Pushing refinement beyond one round: The paper finds performance saturates quickly, so understanding why additional iterations stop helping — and whether a better training signal could unlock further gains — is left open.
- Improving content metrics on inpainting-derived datasets: The authors attribute weaker CGL content metrics to background-image quality from inpainting, suggesting dataset fidelity as an unresolved bottleneck.
- Extending GenPoster-100K pre-training: The paper reports benefits for Crello and states that results for PKU and CGL are in the appendix, leaving broader domain coverage as future work.
- Beyond posters: The authors state GenPoster-100K "holds the potential to advance numerous related tasks," but the paper does not demonstrate transfers to web pages, slides, or other layout domains.
Target Audience
Researchers and practitioners working on generative layout design, multimodal LLM instruction tuning, and design automation. It is most useful to readers who already understand layout benchmark metrics (Alignment, Overlay, Underlay, Occlusion) and want to see how a self-critique loop can be added to an existing MLLM-based layout generator without building a new architecture from scratch.
Authors’ abstract
In this paper, we study the content-aware layout generation problem, which aims to automatically generate layouts that are harmonious with a given background image. Existing methods usually deal with this task with a single-step reasoning framework. The lack of a feedback-based self-correction mechanism leads to their failure rates significantly increasing when faced with complex element layout planning. To address this challenge, we introduce SEGA, a novel Stepwise Evolution Paradigm for Content-Aware Layout Generation. Inspired by the systematic mode of human thinking, SEGA employs a hierarchical reasoning framework with a coarse-to-fine strategy: first, a coarse-level module roughly estimates the layout planning results; then, another refining module performs fine-level reasoning regarding the coarse planning results. Furthermore, we incorporate layout design principles as prior knowledge into the model to enhance its layout planning ability. Besides, we present GenPoster-100K that is a new large-scale poster dataset with rich meta-information annotation. The experiments demonstrate the effectiveness of our approach by achieving the state-of-the-art results on multiple benchmark datasets. Our project page is at: https://brucew91.github.io/SEGA.github.io/