Understanding Screen Relationships from Screenshots of Smartphone Applications
Authors
Eye Tracking & Gaze InteractionContext-Aware ComputingSoftware Engineers & DevelopersHCI Researchers
Title of the Paper
Understanding Screen Relationships from Screenshots of Smartphone Applications
Bibliographic Information
- Domain: Analysis and modeling of smartphone user interfaces
- Keywords: UI similarity, UI modeling, UI semantics, screen transitions, intelligent app crawling, machine learning, automated testing, image analysis
Research Background and Problem
- Problem or Challenge:
A core aspect of user interface design is understanding and representing the relationships between screens within an application. This is a complex task because different instances of the same screen may vary visually and structurally (e.g., changes in database content, scrolling states, dialog boxes opening and closing). Additionally, different screens within the same application may share similarities in design, structure, and content. - Importance:
Accurately identifying and understanding screen relationships is crucial for various fields, such as automated app crawling, app interaction automation, user interface dataset analysis, and automated testing. - Motivation and Related Work:
Existing research largely relies on underlying implementations (e.g., Android platform view hierarchies), which are limited to specific platforms or UI toolkits. This paper proposes a generalizable approach that analyzes UI screenshots based solely on pixel information, making it applicable across a broader range of scenarios.
Solution
- Method or Solution:
The authors propose two machine learning models:- Screen Similarity Model: Utilizes a UI object detector and Transformer architecture to determine whether two screens are instances of the same screen.
- Screen Transition Model: Based on a Siamese network architecture, detects six common transition events in screen interaction trajectories (e.g., scrolling, dialog box appearance).
- Innovations:
- Analyzes screen relationships entirely based on pixel information, without relying on underlying implementations.
- Introduces a screen similarity model combining Transformer architecture with multimodal features of UI elements.
- Proposes the first screen transition detection model capable of identifying multiple screen events, effectively integrating training signals from the screen similarity task.
- Implementation Steps and Key Techniques:
- Dataset Preparation: Collects over 77,000 screenshots from 1,110 iPhone applications, with detailed annotations.
- Screen Similarity Model:
- Uses a pre-trained Faster-RCNN model to detect and extract features of UI elements in screenshots.
- Inputs detected UI elements into a Transformer model (jointly encoding two screenshots using a [CLS] token) to classify whether the screens are similar.
- Screen Transition Model:
- Encodes each screenshot using ResNet-18.
- Differentiates between same-screen scrolling and other screen changes using the embedding difference in a Siamese network, and classifies multiple transition types.
- Model Optimization: Trains using binary cross-entropy loss and contrastive loss to address data imbalance and improve generalization performance.
Research Outcomes
- Specific Results:
- Screen Similarity Model:
- Achieved an F1 score of 0.83 on the screen similarity task, significantly outperforming baseline methods (e.g., TensorFlow Similarity with an F1 score of 0.69).
- Successfully captured dynamic UI features such as scrolling changes and content variations.
- Screen Transition Model:
- Achieved an average F1 score of 0.65 across six event types, which increased to 0.71 when simplified to three event types.
- Effectively predicted transitions such as scrolling, dialog box opening or closing, and performed well in detecting "same screen" events with an F1 score of 0.80.
- Screen Similarity Model:
- Advantages Over Existing Solutions:
- Compared to pixel-based inference or view hierarchy modeling methods, this approach achieved higher accuracy in screen similarity and event detection tasks.
- Proposed a strategy for jointly optimizing screen event and screen similarity tasks, enhancing the generalizability of specific tasks and models.
- Limitations and Future Directions:
- The dataset size is limited, covering only 1,110 applications; expanding to more applications could further improve model performance.
- Consistency in local annotations needs enhancement; improved annotation processes and training may reduce noise.
- Future work could integrate the models into automated crawling and UI testing tasks to validate practical effectiveness, while exploring applicability in cross-platform scenarios.
Research Questions / Practical Problems
Question signals indexed for this paper.
help
Research Questions
2- How can relationships among in-app screens in smartphone applications be analyzed and understood using pixel information alone?Category: Display Layout, Visual Load, and Presentation PerceptionSimilar questionsarrow_forward
- How can common transition events in screen interaction trajectories, such as scrolling or dialog open and close, be detected?Category: Display Layout, Visual Load, and Presentation PerceptionSimilar questionsarrow_forward
lightbulb
Practical Problems
1- Designers and developers struggle to effectively represent and analyze relationships among screens in applications.Category: Display Layout, Visual Load, and Presentation PerceptionSimilar questionsarrow_forward
- 60%
Pulp Nonfiction: Low-Cost Touch Tracking for Paper
CHI '18· Context-Aware Computing +1
- 60%
Analysis and Modeling of Grid Performance on Touchscreen Mobile Devices
CHI '18· Eye Tracking & Gaze Interaction +1
- 60%
Dynamics of eye-hand coordination are flexibly preserved in eye-cursor coordination during an online, digital, object interaction task
CHI '23· Eye Tracking & Gaze Interaction +1
- 60%
Fast-Forward Reality: Authoring Error-Free Context-Aware Policies with Real-Time Unit Tests in Extended Reality
CHI '24· Context-Aware Computing +1
- 60%
Gaze-Assisted Typing for Smart glasses
UIST '19· Eye Tracking & Gaze Interaction +1
Based on Jaccard similarity of research subtopics & professions (≥60%)
Quick Actions
AdRecommended
Learn AI Coding at CodeNow
open_in_newOpen DOI Link
DOI: https://dl.acm.org/doi/10.1145/3490099.3511109
At a Glance
fact_checkPaper Snapshot
dataset
Source
IUI
calendar_month
Year
2022
emoji_events
Award
No award tagged
group
Authors
6 authors
sell
Subtopics
Eye Tracking & Gaze Interaction, Context-Aware Computing
work
Professions
Software Engineers & Developers, HCI Researchers
article
Content Status
Full text indexed
hub
Related Papers
5 related papers