CVCLJun 12, 2024

Tell Me What's Next: Textual Foresight for Generic UI Representations

arXiv:2406.07822v228 citations
Originality Incremental advance
AI Analysis

This addresses the challenge of automating user commands and other UI tasks for mobile app developers and users, representing an incremental improvement over prior methods.

The paper tackles the problem of learning generic UI representations for mobile apps by proposing Textual Foresight, a pretraining objective that generates global text descriptions of future UI states, resulting in UI agents outperforming state-of-the-art by 2% with 28x fewer images and improving average task performance by 5.7% with less data.

Mobile app user interfaces (UIs) are rich with action, text, structure, and image content that can be utilized to learn generic UI representations for tasks like automating user commands, summarizing content, and evaluating the accessibility of user interfaces. Prior work has learned strong visual representations with local or global captioning losses, but fails to retain both granularities. To combat this, we propose Textual Foresight, a novel pretraining objective for learning UI screen representations. Textual Foresight generates global text descriptions of future UI states given a current UI and local action taken. Our approach requires joint reasoning over elements and entire screens, resulting in improved UI features: on generation tasks, UI agents trained with Textual Foresight outperform state-of-the-art by 2% with 28x fewer images. We train with our newly constructed mobile app dataset, OpenApp, which results in the first public dataset for app UI representation learning. OpenApp enables new baselines, and we find Textual Foresight improves average task performance over them by 5.7% while having access to 2x less data.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes