Layout Generation as Intermediate Action Sequence Prediction

Abstract

Layout generation plays a crucial role in graphic design intelligence. One important characteristic of the graphic layouts is that they usually follow certain design principles. For example, the principle of repetition emphasizes the reuse of similar visual elements throughout the design. To generate a layout, previous works mainly attempt at predicting the absolute value of bounding box for each element, where such target representation has hidden the information of higher-order design operations like repetition (e.g. copy the size of the previously generated element). In this paper, we introduce a novel action schema to encode these operations for better modeling the generation process. Instead of predicting the bounding box values, our approach autoregressively outputs the intermediate action sequence, which can then be deterministically converted to the final layout. We achieve state-of-the-art performances on three datasets. Both automatic and human evaluations show that our approach generates high-quality and diverse layouts. Furthermore, we revisit the commonly used evaluation metric FID adapted in this task, and observe that previous works use different settings to train the feature extractor for obtaining real/generated data distribution, which leads to inconsistent conclusions. We conduct an in-depth analysis on this metric and settle for a more robust and reliable evaluation setting. Code is available at this website.

Cite

Text

Yang et al. "Layout Generation as Intermediate Action Sequence Prediction." AAAI Conference on Artificial Intelligence, 2023. doi:10.1609/AAAI.V37I9.26277

Markdown

[Yang et al. "Layout Generation as Intermediate Action Sequence Prediction." AAAI Conference on Artificial Intelligence, 2023.](https://mlanthology.org/aaai/2023/yang2023aaai-layout/) doi:10.1609/AAAI.V37I9.26277

BibTeX

@inproceedings{yang2023aaai-layout,
  title     = {{Layout Generation as Intermediate Action Sequence Prediction}},
  author    = {Yang, Huiting and Huang, Danqing and Lin, Chin-Yew and He, Shengfeng},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2023},
  pages     = {10762-10770},
  doi       = {10.1609/AAAI.V37I9.26277},
  url       = {https://mlanthology.org/aaai/2023/yang2023aaai-layout/}
}