Skip to main navigation Skip to search Skip to main content

Psychologically-inspired, unsupervised inference of perceptual groups of GUI widgets from GUI images

  • Mulong Xie
  • , Zhenchang Xing
  • , Sidong Feng
  • , Xiwei Xu
  • , Liming Zhu
  • , Chunyang Chen

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

Graphical User Interface (GUI) is not merely a collection of individual and unrelated widgets, but rather partitions discrete widgets into groups by various visual cues, thus forming higher-order perceptual units such as tab, menu, card or list. The ability to automatically segment a GUI into perceptual groups of widgets constitutes a fundamental component of visual intelligence to automate GUI design, implementation and automation tasks. Although humans can partition a GUI into meaningful perceptual groups of widgets in a highly reliable way, perceptual grouping is still an open challenge for computational approaches. Existing methods rely on ad-hoc heuristics or supervised machine learning that is dependent on specific GUI implementations and runtime information. Research in psychology and biological vision has formulated a set of principles (i.e., Gestalt theory of perception) that describe how humans group elements in visual scenes based on visual cues like connectivity, similarity, proximity and continuity. These principles are domain-independent and have been widely adopted by practitioners to structure content on GUIs to improve aesthetic pleasantness and usability. Inspired by these principles, we present a novel unsupervised image-based method for inferring perceptual groups of GUI widgets. Our method requires only GUI pixel images, is independent of GUI implementation, and does not require any training data. The evaluation on a dataset of 1,091 GUIs collected from 772 mobile apps and 20 UI design mockups shows that our method significantly outperforms the state-of-the-art ad-hoc heuristics-based baseline. Our perceptual grouping method creates opportunities for improving UI-related software engineering tasks.

Original languageEnglish
Title of host publicationProceedings of the 30th ACM Joint Meeting - European Software Engineering Conference and Symposium on the Foundations of Software Engineering
EditorsAbhik Roychoudhury, Cristian Cadar, Miryung Kim
Place of PublicationNew York NY USA
PublisherAssociation for Computing Machinery (ACM)
Pages332-343
Number of pages12
ISBN (Electronic)9781450394130
DOIs
Publication statusPublished - 2022
EventJoint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering 2022 - Singapore, Singapore
Duration: 14 Nov 202218 Nov 2022
Conference number: 30th
https://dl.acm.org/doi/proceedings/10.1145/3540250 (Proceedings)
https://2022.esec-fse.org (Website)

Conference

ConferenceJoint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering 2022
Abbreviated titleESEC/FSE 2022
Country/TerritorySingapore
CitySingapore
Period14/11/2218/11/22
Internet address

Keywords

  • Graphical User Interface
  • Perceptual Grouping
  • Widget Grouping

Cite this