LayoutDiT: Exploring Content-Graphic Balance in Layout Generation with Diffusion Transformer

Yu Li, Yifan Chen, Gongye Liu, Fei Yin, Qingyan Bai +4 more
7/21/2024
cs.CV

No official code found. Best implementation: yuli0103/LayoutDiT (50 stars, Apache-2.0, last commit 2026-01-06).

Abstract

Layout generation is a foundation task of graphic design, which requires the integration of visual aesthetics and harmonious expression of content delivery. However, existing methods still face challenges in generating precise and visually appealing layouts, including blocking, overlapping, small-sized, or spatial misalignment. We found that these methods overlook the crucial balance between learning content-aware and graphic-aware features. This oversight results in their limited ability to model the graphic structure of layouts and generate reasonable layout arrangements. To address these challenges, we introduce LayoutDiT, an effective framework that balances content and graphic features to generate high-quality, visually appealing layouts. Specifically, we first design an adaptive factor that optimizes the model's awareness of the layout generation space, balancing the model's performance in both content and graphic aspects. Secondly, we introduce a graphic condition, the saliency bounding box, to bridge the modality difference between images in the visual domain and layouts in the geometric parameter domain. In addition, we adapt a diffusion transformer model as the backbone, whose powerful generative capability ensures the quality of layout generation. Benefiting from the properties of diffusion models, our method excels in constrained settings without introducing additional constraint modules. Extensive experimental results demonstrate that our method achieves superior performance in both constrained and unconstrained settings, significantly outperforming existing methods.

View on arXivView PDF

Code Implementations(1)

yuli0103/LayoutDiTCommunity67%
Apache-2.0

LayoutDiT: Exploring Content-Graphic Balance in Layout Generation with Diffusion Transformer

502PythonJul 19, 20249 months agoApache-2.0

Similar Papers

Cite this paper

@article{li2024layoutdit,
  title  = {LayoutDiT: Exploring Content-Graphic Balance in Layout Generation with Diffusion Transformer},
  author = {Yu Li and Yifan Chen and Gongye Liu and Fei Yin and Qingyan Bai and Jie Wu and Hongfa Wang and Ruihang Chu and Yujiu Yang},
  year   = {2024},
  eprint = {2407.15233},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.15233v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.15233.svg)](https://codeofpaper.com/paper/2407.15233)

Discussion