Skip to main content
QUICK REVIEW

[Paper Review] Mapping Natural Language Instructions to Mobile UI Action Sequences

Yang Li, Jiacong He|arXiv (Cornell University)|May 7, 2020
Multimodal Machine Learning ApplicationsComputer Science23 references5 citations
TL;DR

This paper introduces a novel task of grounding natural language instructions into executable action sequences on mobile UIs, proposing a two-stage model that first extracts action phrase tuples (operation, object, argument) from instructions using a Transformer, then grounds these to UI objects via contextual screen representations. The approach achieves 70.59% accuracy on a new dataset, PixelHelp, for full action sequence prediction.

ABSTRACT

We present a new problem: grounding natural language instructions to mobile user interface actions, and create three new datasets for it. For full task evaluation, we create PIXELHELP, a corpus that pairs English instructions with actions performed by people on a mobile UI emulator. To scale training, we decouple the language and action data by (a) annotating action phrase spans in HowTo instructions and (b) synthesizing grounded descriptions of actions for mobile user interfaces. We use a Transformer to extract action phrase tuples from long-range natural language instructions. A grounding Transformer then contextually represents UI objects using both their content and screen position and connects them to object descriptions. Given a starting screen and instruction, our model achieves 70.59% accuracy on predicting complete ground-truth action sequences in PIXELHELP.

Motivation & Objective

  • To address the challenge of automatically executing multi-step natural language instructions on mobile touch UIs without user intervention.
  • To create a new benchmark dataset, PixelHelp, pairing real-world English instructions with corresponding action sequences on a mobile UI emulator.
  • To decouple and scale training by using web-sourced HowTo instructions for phrase extraction and synthetic command-generation for grounding.
  • To develop a model that can accurately extract and ground action phrase tuples from long-range instructions in a mobile UI context.
  • To enable accessible and automated task execution for visually or situationally impaired users through language-based UI control.

Proposed method

  • A Transformer-based phrase extractor identifies operation, object, and argument spans from long-form natural language instructions using three span representation strategies, including sum pooling.
  • The grounding model uses a context-aware Transformer to represent UI objects via their content and screen position, enabling alignment with natural language descriptions.
  • The system decomposes the task into two stages: (1) phrase extraction to produce tuple sequences, and (2) grounding to map these to executable actions on a sequence of UI screens.
  • A synthetic data generation pipeline produces 295k single-step commands across 25k mobile UI screens, covering 178k unique UI objects, to pre-train the grounding model.
  • The grounding model leverages screen transition functions and structural relationships (e.g., View hierarchy) to model screen state evolution during action execution.
  • The full pipeline is trained and evaluated end-to-end, with performance measured on both partial and complete action sequence accuracy.

Experimental results

Research questions

  • RQ1Can a two-stage model effectively extract action phrase tuples (operation, object, argument) from long-form, multi-step natural language instructions?
  • RQ2How well can a context-aware Transformer model ground extracted phrase tuples to specific UI objects in a mobile touchscreen environment?
  • RQ3What is the performance of the full pipeline in predicting complete, ground-truth action sequences on real-world mobile UI instructions?
  • RQ4How do different span representations and object encoding strategies affect the accuracy of phrase extraction and grounding?
  • RQ5To what extent do cascading errors from phrase extraction impact grounding performance, and can hidden states from the phrase model improve grounding robustness?

Key findings

  • The phrase extractor achieves 85.56% accuracy in predicting complete, ground-truth span sequences on the HowTo instruction dataset using sum pooling for span representation.
  • The full system achieves 70.59% complete accuracy and 89.21% partial accuracy on the PixelHelp dataset for predicting full action sequences from natural language instructions.
  • The grounding model performs poorly when using hidden states from the phrase decoder, indicating domain shift between synthetic and real-world instruction data.
  • The phrase extractor failed to extract correct steps for 14 tasks in PixelHelp, primarily generating extra steps (11 tasks) or incorrect steps (3 tasks), but never skipping steps.
  • There is a strong correlation between location-related words in instructions and the screen position embeddings of corresponding UI objects, as shown in qualitative analysis.
  • The model's performance is sensitive to language style differences across datasets, with synthetic commands favoring brevity and real-world instructions showing greater lexical diversity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.