GUIGAN
SeqGAN-based model that composes new mobile GUI designs from subtrees of existing app GUIs.
Diffusion and generative · 141 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
- 27.2M
- Operations
- 141
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICSE 2021
- Cited by
- 57 (as of 29 October 2026)
- Authors
- Tianming Zhao, Chunyang Chen, Yuanning Liu, Xiaodong Zhu
- 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
- m16988
- Graph hash
- e18553a09e16520f39ba2365746a1834fc55a7c1a5191abbd81d28c119409279
- Skeleton hash
- 05075c234a09187dc6335076ff5e8c354b13305e2cc324177d76972daa4f8e38
- Architecture hash
- da73fcac117e7965088681e8f14c12afe34955fde31b7ca1e8a8a07ab608c410
- Diagram SHA-256
- 1d4dd5ed9d903ee92982d13082b981c8cfa3059cd0ef77b934e7b1186504da43
- 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
GUIGAN is a model that automatically generates graphical user interface (GUI) designs, built to assist designers. Rather than producing pixels, it reuses GUI components collected from existing mobile app GUIs and composes them into a new design, which the authors liken to natural-language generation. It is based on SeqGAN, with added modeling of GUI component style compatibility and GUI structure.
The unit of generation is a subtree cut from an existing GUI, and the task is framed as selecting a list of compatible GUI subtrees. The generator is a Long Short-Term Memory (LSTM) network. The discriminator is a CNN with the highway architecture, the same as the discriminative model in SeqGAN. A siamese network, a two-channel CNN with shared weights, learns GUI design style by judging whether two GUI images come from the same app.
The generator is updated from three balanced losses: the feedback loss from the discriminator, a compatibility loss and a structure loss. The paper reports that GUIGAN outperforms the best of its baseline methods by 30.77% in Frechet Inception distance (FID) and 12.35% in 1-Nearest Neighbor Accuracy (1-NNA). The training data comes from Rico, an open source mobile app dataset.
Key idea. GUIGAN generates new GUI designs by composing components reused from existing mobile app GUIs, using a SeqGAN-based model that accounts for style compatibility and GUI structure.
- GUIGAN
- GUI design generation
- GUI generation
- mobile app GUI
- user interface design
- GUI subtree
- generative adversarial network
- Rico
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhao2021guiganlearninggenerategui,
title={GUIGAN: Learning to Generate GUI Designs Using Generative Adversarial Networks},
author={Tianming Zhao and Chunyang Chen and Yuanning Liu and Xiaodong Zhu},
year={2021},
eprint={2101.09978},
archivePrefix={arXiv},
primaryClass={cs.HC},
url={https://arxiv.org/abs/2101.09978},
}