Learning Interaction between Image and Layout Priors for Joint Image-Layout Generation in Design Templates

Shirong Yang, Bo Yang, Ying Cao

ShanghaiTech University

Under review · IEEE Transactions on Visualization and Computer Graphics · 2026

Public arXiv preprint; manuscript under review at IEEE TVCG.

Four wide-format examples jointly generated as background images and foreground layouts by InterIL.
A joint diffusion framework that learns how pretrained image and layout models communicate instead of asking one modality to follow the other.

Abstract

InterIL addresses text-conditioned graphic design template creation, where a background image and a foreground layout must form a harmonious composition. Sequential pipelines generate one modality first and force the second to adapt to a decision that can no longer change, making it difficult to capture the bidirectional dependency between visual content and spatial arrangement. InterIL instead connects pretrained image and layout diffusion backbones with a learnable communication module and generates both modalities in one denoising process. The backbones remain frozen during joint training, allowing the model to preserve strong single-modality priors while focusing its capacity on image-layout interaction. A training-free guidance strategy further steers generated templates toward preferences such as lower salient-region occlusion or improved text readability. Experiments show substantial gains in image quality, layout quality, and holistic template realism, while the guidance mechanism supports preference control without retraining.

Sequential generation hides the dependency.

A background image and its foreground layout are not independent outputs: composition, empty space, visual saliency, and semantic intent constrain both. Sequential pipelines generate one modality first and force the second to adapt to a decision that can no longer change.

InterIL models the two modalities in a single generative process. The aim is not to replace strong pretrained priors, but to teach them when and what to exchange while their predictions are still evolving.

The output is a design template rather than a finished graphic: the generated background establishes visual content, while typed foreground boxes specify the spatial structure that a designer can refine into the final artifact.

Freeze the priors; learn the interaction.

InterIL connects frozen image and layout diffusion backbones with a lightweight bidirectional communication module. The module is trained to move useful signals across the two denoising trajectories while retaining the knowledge already encoded by each backbone.

Cross-attention communication is enabled during the early part of denoising, when global image composition and layout structure are still being established. This schedule improves coordination without allowing cross-modal exchange to overwhelm either pretrained generator.

At inference time, occlusion-aware guidance discourages foreground boxes from covering salient image regions, while readability-aware guidance steers text boxes toward visually flatter areas. Both operate without retraining the image or layout backbones.

Joint Generation and Preference Guidance

Learning interaction between frozen priors

InterIL architecture with frozen image and layout backbones joined by a trainable communication module.
Figure 1. Only the communication pathway is learned; the image and layout backbones remain frozen and exchange information throughout denoising.

Preference-based guidance

InterIL results comparing unguided generation with occlusion-aware and readability-aware guidance.
Figure 2. Occlusion-aware guidance moves foreground boxes away from salient image regions, while readability-aware guidance favors flatter areas for text. The unguided model retains the most natural training-distribution characteristics.

Bidirectional communication produces more realistic templates.

19.57Image FID ↓Web-design test split
0.15Layout FID ↓Joint image-layout model
86.63TemplateFID ↓Holistic template realism
3.25TemplateCLIP ↑Text-template alignment

On the Web-design benchmark, InterIL achieves an image FID of 19.57, layout FID of 0.15, TemplateFID of 86.63, and TemplateCLIP of 3.25. It substantially improves holistic template quality over the iterative Desigen baseline while retaining strong image and layout performance.

Communication ablations show that independent or one-way denoising cannot match bidirectional exchange. Removing communication raises TemplateFID to 99.14, while the bidirectional model also moves alignment, occlusion, and readability closer to real-data statistics.

Preference guidance exposes a controllable trade-off. Occlusion-aware guidance reduces salient-region occlusion from 19.30% to 12.66%, and readability-aware guidance reduces the readability error from 11.41% to 7.49%, with a modest reduction in overall template realism.

Key Contributions

  1. 01

    Introduces a joint image-layout generation paradigm for design templates rather than a fixed sequential pipeline.

  2. 02

    Learns explicit bidirectional interaction between frozen pretrained image and layout diffusion priors.

  3. 03

    Supports inference-time guidance for different image-layout preferences without updating the backbones.

BibTeX

@misc{yang2026interil,
  title={Learning Interaction between Image and Layout Priors for Joint Image-Layout Generation in Design Templates},
  author={Yang, Shirong and Yang, Bo and Cao, Ying},
  year={2026},
  eprint={2609.11519},
  archivePrefix={arXiv},
  url={https://arxiv.org/abs/2609.11519},
  note={Manuscript under review at IEEE Transactions on Visualization and Computer Graphics}
}