Towards Aligned Layout Generation via Diffusion Model with Aesthetic Constraints
Jian Chen, Ruiyi Zhang, Yufan Zhou, Rajiv Jain, Zhiqiang Xu, Ryan Rossi, Changyou Chen
TL;DR
We address the problem of controllable layout generation with diffusion-based models that often struggle with alignment. We propose LACE, a unified continuous-diffusion framework that generates both geometric and categorical layout attributes, and incorporate differentiable aesthetic constraints for alignment and overlap, plus a time-dependent constraint weight and masking-based conditional generation. Empirical results on PubLayNet and Rico show state-of-the-art performance across unconditional, conditional, completion, and refinement tasks, with post-processing further enhancing alignment without degrading FID. The work advances practical, high-quality layout generation by combining continuous-space diffusion with explicit aesthetic constraints and a flexible conditioning mechanism, though it is limited to rectangular elements and a fixed label set. Future work could extend to arbitrary shapes and content-aware conditioning to broaden applicability to real-world design tasks.
Abstract
Controllable layout generation refers to the process of creating a plausible visual arrangement of elements within a graphic design (e.g., document and web designs) with constraints representing design intentions. Although recent diffusion-based models have achieved state-of-the-art FID scores, they tend to exhibit more pronounced misalignment compared to earlier transformer-based models. In this work, we propose the $\textbf{LA}$yout $\textbf{C}$onstraint diffusion mod$\textbf{E}$l (LACE), a unified model to handle a broad range of layout generation tasks, such as arranging elements with specified attributes and refining or completing a coarse layout design. The model is based on continuous diffusion models. Compared with existing methods that use discrete diffusion models, continuous state-space design can enable the incorporation of differentiable aesthetic constraint functions in training. For conditional generation, we introduce conditions via masked input. Extensive experiment results show that LACE produces high-quality layouts and outperforms existing state-of-the-art baselines.
