StructLayoutFormer:Conditional Structured Layout Generation via Structure Serialization and Disentanglement

Xin Hu, Pengfei Xu, Jin Zhou, Hongbo Fu, Hui Huang
10/30/2025
1 citation
cs.GRcs.CV

Official code: Teagrus/StructLayoutFormer (0 stars, last commit 2025-06-03).

Abstract

Structured layouts are preferable in many 2D visual contents (\eg, GUIs, webpages) since the structural information allows convenient layout editing. Computational frameworks can help create structured layouts but require heavy labor input.

Show full abstract

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. The code is publicly available at %\href{https://github.com/Teagrus/StructLayoutFormer} {https://github.com/Teagrus/StructLayoutFormer}.

View on arXivView PDF

Code Implementations(1)

codes for the paper StructLayoutFormer

00May 26, 20251 years ago

Similar Papers

Cite this paper

@article{hu2025structlayoutformerconditional,
  title  = {StructLayoutFormer:Conditional Structured Layout Generation via Structure Serialization and Disentanglement},
  author = {Xin Hu and Pengfei Xu and Jin Zhou and Hongbo Fu and Hui Huang},
  year   = {2025},
  eprint = {2510.26141},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.26141v1}
}

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/2510.26141.svg)](https://codeofpaper.com/paper/2510.26141)

Discussion