DogLayout
A layout generator that runs a diffusion process inside a GAN to produce element labels and boxes.
Diffusion and generative · 511 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 24.5M
- Operations
- 511
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2024
- Cited by
- 2 (as of 16 November 2026)
- Authors
- Zhaoxing Gan, Guangnan Ye
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16178
- Graph hash
- 6ce27bbe6c60c3424c26a9442314bb467e40e42ac7b6571c5d72def59a40fafc
- Skeleton hash
- c470cb4c9a5a7c49a1ccd882b25efbfea8e3bfee0befe65236aff1de7a202496
- Architecture hash
- 30af634bea77703919016b4151bea3e001dd4341e75658937eb6a719d796d309
- Diagram SHA-256
- 6b610eaa2dd79aac6c941d870345f4e65571373dff6b5e0e9cca88cbe05adddc
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
DogLayout is a layout generation model, a task that aims to synthesize plausible arrangements from given elements. The name stands for Denoising Diffusion GAN Layout model.
According to the paper, GANs struggle with discrete data because they require differentiable generated samples, and earlier GAN approaches avoided generating discrete labels by treating them as fixed conditions. Diffusion-based models require extensive sampling steps, which costs time. DogLayout integrates a diffusion process into a GAN so that the model can generate discrete label data and sampling takes less time.
At inference, the process starts from a noisy layout drawn from a standard Gaussian, and the generator takes it as input and outputs a predicted clean layout. A less noisy layout is then derived by adding noise to the predicted clean layout. The paper reports sampling costs reduced by up to 175 times and overlap cut from 16.43 to 9.59 compared with existing diffusion models.
Key idea. DogLayout integrates a diffusion process into a GAN, which lets the GAN generate discrete label data and reduces the sampling time of diffusion-based layout generation.
- DogLayout
- layout generation
- denoising diffusion GAN
- discrete and continuous layout
- document layout
- PubLayNet
- Rico
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{gan2024doglayoutdenoisingdiffusiongan,
title={DogLayout: Denoising Diffusion GAN for Discrete and Continuous Layout Generation},
author={Zhaoxing Gan and Guangnan Ye},
year={2024},
eprint={2412.00381},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2412.00381},
}