LayCoder: UI Layout Completion with an Encoder-Only Transformer and Layout Tokenizer
International Journal of Advanced Computer Science and Applications · 2026 · 17 (2)
DOI: 10.14569/ijacsa.2026.0170209 ↗Kurz gefasst
Fachartikel in der Zeitschrift International Journal of Advanced Computer Science and Applications, 2026. Verfasst von Iskandar Salama und 2 weiteren Autor:innen.
Abstract (Originalsprache)
The growing complexity of user interface (UI) design calls for effective methods to understand, complete, and refine layout structures. While prior work has focused pre-dominantly on generating UI layouts from scratch, completing partially designed interfaces is equally critical, particularly in iterative design workflows and scenarios involving incomplete prototypes. In this study, we address the UI layout completion task for mobile app screens using an encoder-only transformer architecture with masked modeling and a layout tokenizer. By representing UI elements as discrete tokens, we formulate layout completion as a sequence prediction problem that leverages global context to infer missing components. We evaluate our approach on subsets of the RICO dataset designed with varying constraints on UI element types and spatial overlap, and report results using standard layout metrics: Coverage, Intersection over Union (IoU), Max IoU, and Alignment. The experiments demonstrate that the proposed method achieves substantial improvements over LayoutFormer++, a widely adopted baseline in UI layout generation, particularly in Coverage, and in several cases, IoU, Max IoU, and Alignment. Additional experiments on noise-reduced subsets reveal that dataset curation can enhance spatial consistency but may also reduce Coverage, reflecting an inherent trade-off between completeness and structural precision. These findings highlight both the effectiveness and the limitations of encoder-only masked modeling for layout completion, and underscore the importance of balancing model design with dataset construction when tackling complex UI design tasks.
Zitieren
APA
Salama, I., Mormille, L. H., & Atsumi, M. (2026). LayCoder: UI Layout Completion with an Encoder-Only Transformer and Layout Tokenizer. International Journal of Advanced Computer Science and Applications, 17(2). https://doi.org/10.14569/ijacsa.2026.0170209
Vancouver
Salama I, Mormille LH, Atsumi M. LayCoder: UI Layout Completion with an Encoder-Only Transformer and Layout Tokenizer. International Journal of Advanced Computer Science and Applications. 2026;17(2). doi:10.14569/ijacsa.2026.0170209
BibTeX
@article{Salama2026,
author = {Salama, Iskandar and Mormille, Luiz Henrique and Atsumi, Masayasu},
title = {LayCoder: UI Layout Completion with an Encoder-Only Transformer and Layout Tokenizer},
journal = {International Journal of Advanced Computer Science and Applications},
year = {2026},
volume = {17},
number = {2},
doi = {10.14569/ijacsa.2026.0170209}
}
EUVIMED