StructLayoutFormer: Conditional Structured Layout Generation via Structure Serialization and Disentanglement
- 27 May 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Visualization and Computer Graphics
- Vol. 31 (10) , 8623-8636
Abstract
Structured layouts are preferable in many 2D visual contents (e.g., GUIs, webpages) since the structural information allows convenient layout editing. Computational frameworks can help create structured layouts but require heavy labor input. Existing data-driven approaches are effective in automatically generating fixed layouts but fail to produce layout structures. We present StructLayoutFormer, a novel Transformer-based approach for conditional structured layout generation. We use a structure serialization scheme to represent structured layouts as sequences. To better control the structures of generated layouts, we disentangle the structural information from the element placements. Our approach is the first data-driven approach that achieves conditional structured layout generation and produces realistic layout structures explicitly. We compare our approach with existing data-driven layout generation approaches by including post-processing for structure extraction. Extensive experiments have shown that our approach exceeds these baselines in conditional structured layout generation. We also demonstrate that our approach is effective in extracting and transferring layout structures.Keywords
Funding Information
- National Natural Science Foundation of China (62472287, 62072316, U21B2023)
- Basic and Applied Basic Research Foundation of Guangdong Province (2023A1515011297, 2023B1515120026)
- DEGP Innovation Team (2022KCXTD025)
- Scientific Development Funds from Shenzhen University
This publication has 33 references indexed in Scilit:
- GTLayout: Learning General Trees for Structured Grid Layout Generation2024
- LayoutDM: Transformer-based Diffusion Model for Layout Generation2023
- LayoutDM: Discrete Diffusion Model for Controllable Layout Generation2023
- Unifying Layout Generation with a Decoupled Diffusion Model2023
- LayoutFormer++: Conditional Graphic Layout Generation via Constraint Serialization and Decoding Space Restriction2023
- BLT: Bidirectional Layout Transformer for Controllable Layout Generation2022
- Variational Transformer Networks for Layout Generation2021
- Neural Design Network: Graphic Layout Generation with Constraints2020
- READ: Recursive Autoencoders for Document Layout Generation2020
- LayoutVAE: Stochastic Scene Layout Generation From a Label Set2019