DogLayout: Denoising Diffusion GAN for Discrete and Continuous Layout Generation
Zhaoxing Gan, Guangnan Ye
TL;DR
DogLayout introduces a diffusion-augmented GAN that enables discrete-label layout generation and dramatically speeds up sampling. By making all generator operations differentiable and ensuring the discriminator operates on denoised representations, it overcomes the discrete-data challenges that hinder traditional GANs while reducing diffusion timesteps for practical use. The approach extends layoutGAN-style generation to unconditional and completion tasks, achieving up to 175× faster sampling and reduced overlap (16.43→9.59) while maintaining or surpassing baselines on standard metrics. This work has practical implications for real-time and interactive layout design and suggests applicability to other discrete-structure synthesis problems via diffusion-assisted GANs.
Abstract
Layout Generation aims to synthesize plausible arrangements from given elements. Currently, the predominant methods in layout generation are Generative Adversarial Networks (GANs) and diffusion models, each presenting its own set of challenges. GANs typically struggle with handling discrete data due to their requirement for differentiable generated samples and have historically circumvented the direct generation of discrete labels by treating them as fixed conditions. Conversely, diffusion-based models, despite achieving state-of-the-art performance across several metrics, require extensive sampling steps which lead to significant time costs. To address these limitations, we propose \textbf{DogLayout} (\textbf{D}en\textbf{o}ising Diffusion \textbf{G}AN \textbf{Layout} model), which integrates a diffusion process into GANs to enable the generation of discrete label data and significantly reduce diffusion's sampling time. Experiments demonstrate that DogLayout considerably reduces sampling costs by up to 175 times and cuts overlap from 16.43 to 9.59 compared to existing diffusion models, while also surpassing GAN based and other layout methods. Code is available at https://github.com/deadsmither5/DogLayout.
