基于多模态信息图学习的GUI设计碎片化图层分组
Fragmented Layer Grouping in GUI Designs Through Graph Learning Based on Multimodal Information
AI总结:
针对工业GUI转代码中碎片化图层降低代码质量的问题,提出基于多模态信息图学习的碎片化图层分组方法,通过分类图层与回归边界框实现分组,在真实数据集上达SOTA,可辅助生成更优质前端代码。
摘要:
自动构建不同粒度的GUI(图形用户界面)分组是实现GUI设计与实现任务自动化的关键智能步骤。具体而言,在工业界GUI转代码流程中,碎片化图层会降低生成代码的可读性与可维护性,而对设计原型中语义一致的碎片化图层进行分组可缓解该问题。本研究旨在提出一种基于图学习的方法,利用设计原型中的多模态信息解决碎片化图层分组问题。我们的图学习模块由自注意力模块与图神经网络模块组成。以GUI图层的多模态融合表示为输入,我们创新性地通过同时对GUI图层进行分类并回归对应GUI组件的边界框,实现碎片化图层的分组。在两个真实世界数据集上的实验表明,我们的模型取得了当前最优性能。我们还开展了进一步的用户研究,验证了该方法能够辅助下游智能工具生成更具可维护性与可读性的前端代码。
英文摘要:
Automatically constructing GUI groups of different granularities constitutes a critical intelligent step towards automating GUI design and implementation tasks. Specifically, in the industrial GUI-to-code process, fragmented layers may decrease the readability and maintainability of generated code, which can be alleviated by grouping semantically consistent fragmented layers in the design prototypes. This study aims to propose a graph-learning-based approach to tackle the fragmented layer grouping problem according to multi-modal information in design prototypes. Our graph learning module consists of self-attention and graph neural network modules. By taking the multimodal fused representation of GUI layers as input, we innovatively group fragmented layers by classifying GUI layers and regressing the bounding boxes of the corresponding GUI components simultaneously. Experiments on two real-world datasets demonstrate that our model achieves state-of-the-art performance. A further user study is also conducted to validate that our approach can assist an intelligent downstream tool in generating more maintainable and readable front-end code.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。