Learning to Denoise Raw Mobile UI Layouts for Improving Datasets at Scale
Title of the Paper
Learning to Denoise Raw Mobile UI Layouts for Improving Datasets at Scale
Paper Information
- Domain: Cleaning and classification of mobile user interface (UI) layout data
- Keywords: Dataset, Neural Networks, Mobile UI Layouts, Graph Neural Networks, Transformer, Convolutional Neural Networks
Research Background and Problem
-
Existing Issues or Challenges:
- Mobile screen UI layout data is often incomplete, including invalid objects, inconsistencies between layouts and screenshots, or overly generic or specific types (e.g.,
VieworColombiaNativeAdView). - These issues make layout data difficult to utilize in analysis and modeling, potentially reducing model performance.
- Traditional manual methods for cleaning layout data are inefficient and costly.
- Mobile screen UI layout data is often incomplete, including invalid objects, inconsistencies between layouts and screenshots, or overly generic or specific types (e.g.,
-
Significance of the Research:
- UI layouts are a critical data source for UI design research and semantic understanding. Cleaning and improving layout data is essential for advancing related work and enhancing task performance (e.g., screen summarization and component detection).
-
Motivation and Related Work:
- Previous researchers have attempted to address these issues using heuristic rules or manual annotation, but these methods suffer from poor scalability and high costs.
- The use of deep learning methods to automatically clean layout data is still in its early stages.
- This study aims to achieve automated, efficient correction and standardization of layout data using deep learning methods while creating a standardized large-scale dataset.
Solution
-
Proposed Method and Solution:
- A two-stage pipeline called "CLAY" is proposed, leveraging deep learning models to clean layout data.
- Invalid Object Detection Module: Removes objects that do not match the screenshot.
- Object Type Recognition Module: Assigns a semantically meaningful type to each valid object.
- A two-stage pipeline called "CLAY" is proposed, leveraging deep learning models to clean layout data.
-
Innovations:
- Replacing manual cleaning with an automated deep learning-based approach, reducing costs and enabling large-scale applications.
- Proposing an object type recognition method that combines Graph Neural Networks (GNN) and Transformer to better capture relationships and features between objects.
- Creating a higher-quality mobile UI layout dataset, "CLAY," containing 59,555 human-annotated screen layouts.
-
Implementation Steps and Key Techniques:
- Invalid Object Detection:
- Utilizes a ResNet-50 convolutional neural network model, combined with a mask channel to distinguish objects for binary classification.
- Object Type Recognition:
- Two models are designed based on Graph Neural Networks and Transformer, respectively.
- The GNN method leverages the hierarchical tree structure of view relationships through message-passing mechanisms, incorporating pixel, text, and positional information.
- The Transformer method employs an image-encoded Transformer and applies self-attention mechanisms to model relationships between objects.
- Data and Annotation:
- Cleans and annotates the Rico dataset, filtering 59,555 layouts, marking them as valid or invalid, and defining semantic types for each valid object.
- Invalid Object Detection:
Research Outcomes
-
Specific Outcomes:
- Developed the CLAY pipeline for automated cleaning and classification.
- Produced a high-quality dataset, CLAY, containing 59,555 screen layouts where invalid objects are labeled, and each valid object is assigned a semantically meaningful type.
- Model performance:
- The Invalid Object Detection module achieved an F1 score of 82.7%.
- The Object Type Recognition module achieved F1 scores of 85.9% (GNN) and 84.7% (Transformer).
- The new method significantly outperformed heuristic baselines.
-
Comparative Analysis and Advantages:
- The GNN model is more sensitive to common types, while the Transformer performs better with rare categories.
- Compared to heuristic methods, deep learning approaches are more flexible and exhibit stronger generalization capabilities across different types.
-
Experimental or Evaluation Results:
- The model demonstrates robustness to rare objects and complex layouts.
- Error analysis indicates that the main sources of errors are boundary deviations, overlapping regions, or data imbalance.
-
Limitations and Future Directions:
- Model training and evaluation are based solely on Android screenshots and have not been validated on other platforms (e.g., iOS).
- The approach is still insufficient for certain complex cleaning tasks, such as adding missing objects or modifying attributes.
- Future improvements include hybrid model architectures, incorporating full image context information, and building cross-platform datasets.
Research Questions / Practical Problems
Question signals indexed for this paper.
Research Questions
3- How can smartphone screen UI layout data be automatically cleaned and standardized?Category: Scene-Based Sketch Understanding and RecognitionSimilar questionsarrow_forward
- How do deep learning methods perform in identifying invalid objects and assigning semantic types?Category: Scene-Based Sketch Understanding and RecognitionSimilar questionsarrow_forward
- Can graph neural networks and Transformer models improve UI layout data cleaning effectiveness?Category: Scene-Based Sketch Understanding and RecognitionSimilar questionsarrow_forward
Practical Problems
1- Mobile UI layout data often contains invalid objects and semantic inconsistencies, affecting task performance.Category: Scene-Based Sketch Understanding and RecognitionSimilar questionsarrow_forward
- 100%
Varv: Reprogrammable Interactive Software as a Declarative Data Structure
CHI '22· Prototyping & User Testing +1
- 100%
How To Draw Commands? An Elicitation Study for Sketching on Spreadsheets
CHI '25· Prototyping & User Testing +1
- 100%
Learning User Interface Semantics from Heterogeneous Networks with Multimodal and Positional Attributes
IUI '22· Prototyping & User Testing +1
- 80%
Guided Bug Crush: Assist Manual GUI Testing of Android Apps via Hint Moves
CHI '22· Open-Source Collaboration & Code Review +2
- 75%
Steering Performance with Error-accepting Delays
CHI '19· Prototyping & User Testing +1
- 75%
KeyMap: Improving Keyboard Shortcut Vocabulary Using Norman's Mapping
CHI '20· Prototyping & User Testing
- 75%
X-Droid: A Quick and Easy Android Prototyping Framework with a Single App Illusion
UIST '19· Prototyping & User Testing
- 67%
Exploring The Future of Data-Driven Product Design
CHI '20· Knowledge Worker Tools & Workflows +2
- 67%
Screen2Vec: Semantic Embedding of GUI Screens and GUI Components
CHI '21· Explainable AI (XAI) +2
- 67%
Belidor: A Specification Language for Operationalizing Structural Analogies Between User Interfaces
CHI '26· Participatory Design +2
Based on Jaccard similarity of research subtopics & professions (≥60%)