Step-by-step Layered Design Generation

Faizan Farooq Khan, K. J. Joseph, Koustava Goswami, Mohamed Elhoseiny, Balaji Vasan Srinivasan

TL;DR

This paper introduces SLEDGE, a framework for Step-by-step Layered Design Generation that mimics the iterative workflow of human graphic designers. By combining Multi-modal Large Language Models (MLLMs) with diffusion models, SLEDGE processes sequential text instructions to generate graphic designs layer-by-layer, significantly improving user control, editability, and design quality compared to single-step generation methods.

What Problem Does This Paper Address?

While modern text-to-image and layout generation models can produce visually impressive graphics, they typically operate in a single step from a single prompt. This "one-and-done" approach fails to capture the true nature of the creative process, where human designers progressively build, refine, and modify a canvas over multiple steps.

Furthermore, existing models output flat images, making post-hoc editing incredibly difficult. If a user wants to change a single text element or swap a background image, they often have to regenerate the entire design from scratch. While image-editing models exist, they struggle with holistic design updates and adding entirely new components. To bridge this gap, the authors formalize the task of Step-by-step Layered Design Generation, allowing users to guide the AI through sequential, atomic, and layered modifications.

Methods

The authors propose SLEDGE (Step-by-step LayEred Design GEnerator), which leverages the high-level semantic planning of MLLMs alongside the fine-grained synthesis capabilities of diffusion models.

SLEDGE Framework Overview

The architecture is trained via a three-step alignment pipeline:

  1. Aligning Visual Encoder and Decoder: A learnable adapter module ($D$) is trained to map visual features from a frozen Vision Transformer (ViT) encoder to a frozen SD-XL diffusion decoder, ensuring a shared representation space.
  2. Aligning Visual Encoding to MLLM's Encoding: An MLLM (built on Llama2-chat-13B) is fine-tuned to ingest the current canvas state ($C_t$) and text instructions ($I_t$). It learns to predict both the next-step metadata ($\hat{M}_{t+1}$) and the visual embeddings of the updated canvas ($\mathcal{V}(\hat{C}_{t+1})$).
  3. Enhancing Latent Compatibility: The MLLM and decoder are frozen, and the adapter ($D$) is fine-tuned to translate the MLLM's output embeddings into a format perfectly interpretable by the diffusion decoder.

Facilitating Layered Generation

To ensure editability, SLEDGE handles image and text modifications separately:

  • Image Layer: SLEDGE predicts bounding boxes for new visual elements. It refines these boxes into high-quality masks using the Segment Anything Model (SAM) and blends the new element into the original canvas, preserving unchanged regions.
  • Text Layer: Rather than relying on diffusion models to generate text (which often leads to poor legibility), SLEDGE predicts rich text metadata (font type, size, color, alignment, and position) and renders the text deterministically. This keeps text elements fully editable post-generation.

Datasets

Because no dataset existed for iterative graphic design, the authors introduced the IDeation suite:

  • IDeation Dataset: Contains 182,552 training triplets and 22,881 testing triplets. It was built by taking design elements from the Crello dataset and using GPT-4o to deduce a logical layer-by-layer assembly order accompanied by step-by-step instructions.
  • IDeation Benchmark: A diverse evaluation set featuring 10,976 detailed instructions spanning 1,066 unique design themes (e.g., "Climate Change Awareness", "Tropical Beach Vacation") generated using Gemini, GPT-4o, and Claude-Sonnet.

Key Insights and Ideas

  • Atomic, Layered Changes: Instead of treating design as a single image generation task, breaking it down into sequential, localized updates allows the model to maintain global context while executing precise edits.
  • Hybrid Generation (Deterministic + Generative): Recognizing that diffusion models are great for textures/images but terrible at text rendering, SLEDGE combines generative image synthesis with deterministic text rendering guided by predicted metadata.
  • Full-Image Loss for Localized Edits: During training, applying the reconstruction loss to the full predicted canvas—rather than just the edited region—better leverages global context, leading to more cohesive designs.

Key Results

SLEDGE was evaluated against strong baselines including ZONE, Ranni, iCOLE, and T2I+LLMGA using state-of-the-art MLLMs (GPT-4o and InternLM-XComposer-2.5) as automated evaluators alongside human studies.

  • Quantitative Performance: SLEDGE achieved a Fréchet Inception Distance (FID) of 46.8, drastically outperforming the closest iterative baseline, T2I+LLMGA (87.9), and iCOLE (171.3). It also achieved the highest Text Intersection over Union (IoU) of 23.5, indicating superior layout alignment.
  • Human Evaluation: In blind A/B testing on Amazon Mechanical Turk, SLEDGE was preferred over baselines by 63% of users for theme adherence, 59% for aesthetic quality, and 62.5% for edit compliance.
  • Inference Speed: SLEDGE generates an iteration in 17.9 seconds on an NVIDIA A100 GPU, making it faster than Ranni (25.3s) and iCOLE (21.2s).

Limitations and Future Work

The authors note two primary limitations that pave the way for future research:

  1. Variable Resolutions: Current generative models struggle with flexible, non-standard canvas resolutions, which limits creative freedom for diverse print or web layouts.
  2. Native Transparency Support: SLEDGE relies on post-processing segmentation (SAM) to isolate layers. Natively supporting transparency within the generative model would allow for cleaner, direct layer-wise generation and even more seamless design integration.

Summary updated

BibTeX
@inproceedings{khan2026step,
  author = {Faizan Farooq Khan and K. J. Joseph and Koustava Goswami and Mohamed Elhoseiny and Balaji Vasan Srinivasan},
  title = {{Step-by-step Layered Design Generation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i27.39415},
}
Figure