arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.09012cs.CV
收藏

GUILGET:基于Transformer的GUI布局生成

GUILGET: GUI Layout GEneration with Transformer

Polytechnique Montréal(蒙特利尔理工学院);McGill University(麦吉尔大学)

Andrey Sobolevsky, Guillaume-Alexandre Bilodeau, Jinghui Cheng, Jin L. C. Guo

AI总结:

本文提出GUILGET方法,基于Transformer从GUI排列图自动生成符合位置约束的真实多样GUI布局,并在CLAY数据集上取得最佳性能。

摘要:

勾勒图形用户界面(GUI)布局是GUI设计流程的一部分,也是软件应用成功的关键任务。在GUI布局中手动排列所有组件是一项耗时的工作。为了辅助设计师,我们开发了一种名为GUILGET的方法,可根据以GUI排列图(GUI-AG)表示的位置约束自动生成GUI布局。其目标是通过生成真实且多样的GUI布局来支持GUI设计的初始步骤。现有的图像布局生成技术通常无法纳入GUI设计约束。因此,GUILGET需要调整现有技术,以生成遵守GUI设计特定约束的GUI布局。GUILGET基于Transformer,以捕获GUI-AG中元素之间关系的语义。此外,该模型通过最小化损失来学习约束,这些损失分别负责将每个组件放置在其父布局内部、防止同一父布局内的组件重叠以及实现组件对齐。我们在CLAY数据集上进行的实验表明,我们的模型对GUI-AG中的关系具有最佳理解,并在大多数评估指标上取得了最佳性能。因此,我们的工作提出了一种有效考虑GUI元素约束的新方法,为更高效的GUI设计流程铺平了道路,从而改进了GUI布局生成。

英文摘要:

Sketching out Graphical User Interface (GUI) layout is part of the pipeline of designing a GUI and a crucial task for the success of a software application. Arranging all components inside a GUI layout manually is a time-consuming task. In order to assist designers, we developed a method named GUILGET to automatically generate GUI layouts from positional constraints represented as GUI arrangement graphs (GUI-AGs). The goal is to support the initial step of GUI design by producing realistic and diverse GUI layouts. The existing image layout generation techniques often cannot incorporate GUI design constraints. Thus, GUILGET needs to adapt existing techniques to generate GUI layouts that obey to constraints specific to GUI designs. GUILGET is based on transformers in order to capture the semantic in relationships between elements from GUI-AG. Moreover, the model learns constraints through the minimization of losses responsible for placing each component inside its parent layout, for not letting components overlap if they are inside the same parent, and for component alignment. Our experiments, which are conducted on the CLAY dataset, reveal that our model has the best understanding of relationships from GUI-AG and has the best performances in most of evaluation metrics. Therefore, our work contributes to improved GUI layout generation by proposing a novel method that effectively accounts for the constraints on GUI elements and paves the road for a more efficient GUI design pipeline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑