理解手机GUI:从像素词到屏幕句子
Understanding Mobile GUI: from Pixel-Words to Screen-Sentences
摘要:
移动电话的普及使得移动GUI理解成为一项重要任务。这个领域以前的大多数作品都需要在推理过程中人为创建屏幕元数据(例如视图层次结构),不幸的是,这对于GUI理解来说往往是不可用或不够可靠的。受Transformers在NLP任务中取得的令人印象深刻的成功的启发,针对纯粹基于视觉的GUI理解,我们将单词/句子的概念扩展到像素单词/屏幕句子,并提出了一个移动GUI理解架构:像素单词到屏幕句子(PW2SS)。与单个单词类似,我们将像素单词定义为原子视觉组件(文本和图形组件),这些组件在各种设计风格的屏幕截图中具有视觉一致性和语义清晰性。从屏幕截图中提取的像素词被聚合成屏幕句子,并提出了一个屏幕Transformer来建模它们之间的关系。由于像素词被定义为原子视觉组件,它们的视觉外观和语义之间的模糊性显着减少。我们能够利用训练数据中可用的元数据来自动生成像素词的高质量注释。基于公共RICO数据集构建了带有像素词注释的屏幕截图数据集RICO-PW,该数据集将被发布以帮助解决该领域缺乏高质量训练数据的问题。我们训练一个检测器来从这个数据集的屏幕截图中提取像素词,并在推理过程中实现无元数据的GUI理解。我们进行了实验,并表明,像素词可以很好地提取RICO-PW和推广到一个新的数据集,P2S-UI,我们自己收集。PW2SS的有效性在GUI理解任务中得到了进一步验证,包括关系预测、可点击性预测、屏幕检索和应用类型分类。
英文摘要:
The ubiquity of mobile phones makes mobile GUI understanding an important task. Most previous works in this domain require human-created metadata of screens (e.g. View Hierarchy) during inference, which unfortunately is often not available or reliable enough for GUI understanding. Inspired by the impressive success of Transformers in NLP tasks, targeting for purely vision-based GUI understanding, we extend the concepts of Words/Sentence to Pixel-Words/Screen-Sentence, and propose a mobile GUI understanding architecture: Pixel-Words to Screen-Sentence (PW2SS). In analogy to the individual Words, we define the Pixel-Words as atomic visual components (text and graphic components), which are visually consistent and semantically clear across screenshots of a large variety of design styles. The Pixel-Words extracted from a screenshot are aggregated into Screen-Sentence with a Screen Transformer proposed to model their relations. Since the Pixel-Words are defined as atomic visual components, the ambiguity between their visual appearance and semantics is dramatically reduced. We are able to make use of metadata available in training data to auto-generate high-quality annotations for Pixel-Words. A dataset, RICO-PW, of screenshots with Pixel-Words annotations is built based on the public RICO dataset, which will be released to help to address the lack of high-quality training data in this area. We train a detector to extract Pixel-Words from screenshots on this dataset and achieve metadata-free GUI understanding during inference. We conduct experiments and show that Pixel-Words can be well extracted on RICO-PW and well generalized to a new dataset, P2S-UI, collected by ourselves. The effectiveness of PW2SS is further verified in the GUI understanding tasks including relation prediction, clickability prediction, screen retrieval, and app type classification.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。