A Computational Method for Evaluating UI Patterns

Bardia Doosti, Tao Dong, Biplab Deka, Jeffrey NicholsarXiv 2018

Abstract

Standardized UI pattern languages, such as Google's Material Design, aim to solve recurring design problems, yet they are rarely evaluated empirically at scale. This research introduces a computational pipeline that combines text mining and computer vision to analyze the usage of Material Design components across more than 9,000 Android apps. The study finds that the adoption of these patterns—even controversial ones like the Floating Action Button (FAB)—correlates strongly with higher user ratings and install counts, suggesting that standardized design languages significantly contribute to app success in the wild.

Introduction

In the fields of Human-Computer Interaction (HCI) and software engineering, design patterns provide a common vocabulary for solving UI challenges. However, debates over the effectiveness of specific components, such as the "hamburger menu" or the Floating Action Button (FAB), often rely on anecdotal evidence rather than large-scale data. This paper addresses this gap by proposing an objective, automated method to measure how UI patterns are used in a massive computing ecosystem and how they relate to market success.

Methods

To identify Material Design elements accurately, the researchers developed a two-phase detection pipeline. Relying solely on code class names is insufficient because developers often use custom or third-party implementations.

  1. Text Mining on View Hierarchies: The system first performs a depth-first search on the app's View Hierarchy (JSON structure) to find keywords like "Float" in class names or ancestors.
  2. Computer Vision Filtering: To eliminate false positives from the text search, the system crops the UI element based on bounding box coordinates and processes it through a custom-trained Convolutional Neural Network (CNN) based on the AlexNet architecture. This CNN verifies if the visual representation matches the intended Material Design component.
Overview of targeted Material Design components including the App Bar, FAB, and Navigation Drawer.

Datasets

The study utilized the Rico Dataset, which contains over 72,000 UI screens from approximately 9,700 Android apps. This was augmented with Google Play Metadata, including average user ratings, install counts, and app categories, to provide a basis for correlating design choices with app performance.

Key Insights

The data challenges the common design critique that certain Material Design components harm user experience.

  • Success Correlates with Standardization: Highly successful apps are more likely to use standardized patterns. The developers of top-tier apps appear to find value in these components despite vocal criticism in the design community.
  • Contextual Utility: The effectiveness of a pattern like the FAB is highly domain-dependent. It is particularly prevalent in "Food and Drink" or "Parenting" apps, where a single primary action (e.g., "Add Recipe") is clearly defined.

Key Results

The custom CNN achieved a high detection accuracy of at least 95% across six targeted components.

Examples of Floating Action Buttons (FAB) identified by the automated detection pipeline.

Statistical analysis revealed a near-perfect linear relationship between the density of Material Design components and app quality metrics. Specifically, the usage of these components showed a Pearson correlation of $\rho = 0.99$ with average rating percentiles and $\rho = 0.94$ with install counts. Notably, 13.4% of high-rating apps utilized the FAB, compared to only 6.6% of low-rating apps.

Conclusion and Future Work

This computational approach demonstrates that Material Design fulfills its promise of improving app quality. While the study is limited by the scope of the Rico dataset and the exclusion of apps with login screens, it opens doors for future longitudinal and cross-cultural studies. Understanding how UI patterns evolve over time and how they serve specific user tasks remains a critical area for future research.

Summary updated

BibTeX
@misc{doosti2018computational,
  author = {Bardia Doosti and Tao Dong and Biplab Deka and Jeffrey Nichols},
  title = {{A Computational Method for Evaluating UI Patterns}},
  year = {2018},
  eprint = {1807.04191},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.04191},
}
Figure