TL;DR
The authors introduce GIST (Grounded Identity-preserving Stylized composiTion), a training-free, plug-and-play image compositor for automated graphic design pipelines. By sitting between layout prediction and typography generation, GIST stylistically harmonizes mismatched input elements (like images and SVGs) into a cohesive background canvas while strictly preserving their semantic identity.
What Problem Does This Paper Address?
When human designers create graphics, they assemble multimodal components—images, text, logos, and vector graphics (SVGs)—from various sources into a visually unified layout. Current automated "components-to-design" AI pipelines typically fall into two flawed paradigms:
- Naive Pasting: They predict a spatial layout and naively copy-paste the user's assets onto the canvas. This results in jarring visual discontinuities because the assets often have clashing color palettes, lighting, or textures.
- Pure Generation: They generate a design entirely from scratch based on text prompts, completely sacrificing the user's specific, intended visual assets.
The fundamental challenge is design compositing: how do we adapt the appearance of existing design elements so they blend naturally with the rest of the design, without altering what those elements actually represent?
Methods
GIST is a training-free framework that leverages the architectural properties of Emu-2, a generative multimodal large language model (MLLM). Emu-2 features a unique 64-token bottleneck between its LLaMA decoder (which handles prompt understanding and stylization) and its SDXL renderer. GIST introduces two key enhancements at this bottleneck to achieve identity-preserving composition:
-
Cross-Attention Guided Token Injection: The model extracts two sets of tokens: $T_{gen}$ (capturing the stylization intent from the compositional prompt) and $T_{auto}$ (capturing raw identity by passing a naive composite directly through Emu-2's visual encoder). To avoid a global replacement that would destroy the style, GIST uses the SDXL UNet's cross-attention maps to calculate spatial relevance scores for the foreground and background. It then selectively blends $T_{auto}$ into $T_{gen}$ only where those regions are most dominant.
-
Latent Initialization via Flow Matching: Instead of starting the diffusion process from pure noise, GIST initializes the denoising latents using a partially noised version of the background canvas. It utilizes a Flow Matched Euler Discrete Scheduler to invert the background, which preserves structural fidelity far better than traditional DDIM inversion.
This process repeats sequentially for each visual element, building up a harmonized backing image that is then passed to a downstream typography module.
Datasets
The authors evaluated their full pipeline using:
- Crello Dataset: A benchmark of 1,500 real-world graphic designs containing layer-wise metadata (backgrounds, foreground images, SVGs, and text).
For isolating and testing the identity-preservation capabilities of the composition module alone, they used:
- Human Face Generation (HFG): Composing face images from the CelebA dataset onto diverse backgrounds.
- Specific Object Generation (SOG): Composing everyday objects using data from Stanford Background and DreamEditBench.
Key Insights and Ideas
- The Autoencoder Advantage: The authors realized that because Emu-2's visual encoder and SDXL decoder were jointly trained as an autoencoder, bypassing the LLaMA decoder entirely yields a token set ($T_{auto}$) that can reconstruct an image near-perfectly. This provides an ideal anchor for fine-grained identity preservation.
- Spatial Blending via Cross-Attention: Rather than applying a heavy-handed global constraint, the "aha moment" lies in using cross-attention maps as a lightweight, training-free spatial guide. This allows the model to inject identity precisely where the foreground object resides while letting the rest of the canvas absorb the intended stylistic changes.
Key Results
The authors integrated GIST into two distinct layout pipelines: LaDeCo (an LMM-based planner) and Design-o-meter (an aesthetic-driven optimizer).
Quantitative Performance
Evaluated by advanced vision-language models (LLaVA-OV and GPT-4V):
- Aesthetic Boost: Integrating GIST into the LaDeCo pipeline significantly outperformed vanilla copy-pasting on Graphics & Imagery (7.83 vs 7.74) and Innovation & Originality (7.05 vs 6.93) metrics.
- Holistic Superiority: When paired with Design-o-meter, GIST outperformed a diffusion-based baseline (OpenCOLE++, which uses AnyDoor) across all five design aspects, achieving a 1.0-point higher mean rating (5.9 vs 4.9) on a 1-10 scale.
- Human-like Preference: In pairwise comparisons against OpenCOLE++, GIST's outputs were preferred 71.43% of the time due to its superior ability to preserve foreground identity (e.g., keeping branded assets and faces recognizable).
Qualitative Performance
As shown in the qualitative comparisons, naive pasting results in flat, sticker-like cutouts. GIST successfully harmonizes the lighting, color palette, and textures, making the elements feel truly integrated into a single scene.
Limitations and Future Work
While GIST represents a major step forward, the authors note several limitations:
- Diffusion Artifacts: The pipeline can occasionally introduce standard diffusion anomalies or slight text rendering issues in the background.
- Architectural Dependency: GIST is currently tied to the specific 64-token bottleneck architecture of Emu-2.
Future Directions: The authors suggest extending this training-free, cross-attention-guided injection approach to newer, state-of-the-art unified generative models such as FLUX and Janus-Pro.
Summary updated