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

Andrea Burns, Kate Saenko, Bryan Plummer


Abstract
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.
Anthology ID:
2024.findings-acl.273
Volume:
Findings of the Association for Computational Linguistics ACL 2024
Month:
August
Year:
2024
Address:
Bangkok, Thailand and virtual meeting
Editors:
Lun-Wei Ku, Andre Martins, Vivek Srikumar
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
4590–4611
Language:
URL:
https://aclanthology.org/2024.findings-acl.273
DOI:
Bibkey:
Cite (ACL):
Andrea Burns, Kate Saenko, and Bryan Plummer. 2024. Tell Me What’s Next: Textual Foresight for Generic UI Representations. In Findings of the Association for Computational Linguistics ACL 2024, pages 4590–4611, Bangkok, Thailand and virtual meeting. Association for Computational Linguistics.
Cite (Informal):
Tell Me What’s Next: Textual Foresight for Generic UI Representations (Burns et al., Findings 2024)
Copy Citation:
PDF:
https://aclanthology.org/2024.findings-acl.273.pdf