Constrained Graphic Layout Generation via Latent Optimization

Kotaro Kikuchi, Edgar Simo-Serra, Mayu Otani, Kota Yamaguchi
8/2/2021
cs.CVcs.MM

Official code: ktrk115/const_layout (140 stars, Python, AGPL-3.0, PyTorch, last commit 2023-07-24).

Abstract

It is common in graphic design humans visually arrange various elements according to their design intent and semantics. For example, a title text almost always appears on top of other elements in a document.

Show full abstract

In this work, we generate graphic layouts that can flexibly incorporate such design semantics, either specified implicitly or explicitly by a user. We optimize using the latent space of an off-the-shelf layout generation model, allowing our approach to be complementary to and used with existing layout generation models. Our approach builds on a generative layout model based on a Transformer architecture, and formulates the layout generation as a constrained optimization problem where design constraints are used for element alignment, overlap avoidance, or any other user-specified relationship. We show in the experiments that our approach is capable of generating realistic layouts in both constrained and unconstrained generation tasks with a single model. The code is available at https://github.com/ktrk115/const_layout .

View on arXivView PDF

Code Implementations(1)

PyTorchAGPL-3.0

Official implementation of the MM'21 paper "Constrained Graphic Layout Generation via Latent Optimization" (LayoutGAN++, CLG-LO, and Layout evaluation)

14028Python, ShellJul 5, 20213 years agoAGPL-3.0
augmented-lagrangian-methodcma-esgenerative-adversarial-networklatent-spacelayoutgan+2 more

Similar Papers

Cite this paper

@article{kikuchi2021constrained,
  title  = {Constrained Graphic Layout Generation via Latent Optimization},
  author = {Kotaro Kikuchi and Edgar Simo-Serra and Mayu Otani and Kota Yamaguchi},
  year   = {2021},
  eprint = {2108.00871},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.00871}
}

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

Discussion