[Paper Review] Screen Correspondence: Mapping Interchangeable Elements between UIs
This paper introduces screen correspondence, a novel unsupervised machine learning approach that maps interchangeable UI elements between screenshots by leveraging multi-modal features—semantics, appearance, and text—without requiring labeled data. The method outperforms existing baselines in correspondence accuracy and enables practical applications like instructional overlay generation, semantic UI search, and automated GUI testing.
Understanding user interface (UI) functionality is a useful yet challenging task for both machines and people. In this paper, we investigate a machine learning approach for screen correspondence, which allows reasoning about UIs by mapping their elements onto previously encountered examples with known functionality and properties. We describe and implement a model that incorporates element semantics, appearance, and text to support correspondence computation without requiring any labeled examples. Through a comprehensive performance evaluation, we show that our approach improves upon baselines by incorporating multi-modal properties of UIs. Finally, we show three example applications where screen correspondence facilitates better UI understanding for humans and machines: (i) instructional overlay generation, (ii) semantic UI element search, and (iii) automated interface testing.
Motivation & Objective
- Address the challenge of inferring higher-level UI functionality from pixel-level screenshots, especially when view hierarchies or metadata are missing.
- Overcome limitations of existing UI understanding methods that rely on classification of isolated elements rather than functional similarity across screens.
- Develop an unsupervised approach to screen correspondence that avoids costly annotation by leveraging multi-modal signals from UI elements.
- Demonstrate the utility of screen correspondence in real-world applications such as instructional overlay transfer, semantic UI search, and automated testing.
- Establish a foundation for reasoning about UIs through analogy to previously seen examples, inspired by human and machine learning via comparison.
Proposed method
- Employ a multi-modal transformer model to encode UI screenshots into feature representations using segmentation, appearance, text, and semantic embeddings.
- Use a contrastive learning objective to align feature representations of functionally equivalent UI elements across different screens.
- Perform element-level matching by computing similarity scores between candidate pairs using the learned multi-modal embeddings.
- Train the model in an unsupervised manner using self-supervision, with no need for human-annotated correspondence labels.
- Integrate visual, textual, and semantic cues into a unified representation space to improve correspondence robustness across diverse UI layouts.
- Apply early stopping and standard optimization (Adam, weight decay) during training to prevent overfitting and improve convergence.
Experimental results
Research questions
- RQ1Can an unsupervised multi-modal model effectively map functionally equivalent UI elements between two screenshots without labeled examples?
- RQ2How does incorporating appearance, text, and semantics improve correspondence accuracy compared to unimodal or heuristic baselines?
- RQ3To what extent can screen correspondence enhance downstream applications such as instructional overlay generation and automated GUI testing?
- RQ4How well does the model generalize across different UI categories and screen types, including login, registration, and pop-up interfaces?
- RQ5Can the model transfer knowledge from one app or screen to another with similar functionality, even when layouts differ?
Key findings
- The proposed multi-modal screen correspondence model significantly outperforms strong baselines, including CV-based correspondence methods and schema-matching heuristics, in mapping functionally equivalent UI elements.
- The model achieves superior performance by integrating visual, textual, and semantic features, demonstrating that multi-modal signals are essential for accurate UI element matching.
- The unsupervised training paradigm enables effective correspondence learning without requiring large-scale annotated datasets, reducing annotation costs.
- In application scenarios, screen correspondence enables high-quality transfer of coach marks from exemplar screens to new but similar UIs, improving accessibility and user guidance.
- The model enables efficient semantic UI element search by indexing a large dataset of UI screens and retrieving semantically similar elements across apps.
- The approach enhances automated GUI testing by identifying consistent element mappings across multiple test runs, improving test reliability and maintenance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.