[Paper Review] DroidBot-GPT: GPT-powered UI Automation for Android
DroidBot-GPT is a novel, unsupervised framework that uses large language models (LLMs) to automate Android app interactions via natural language instructions. It translates GUI states and actions into natural language prompts for LLMs, which then generate and execute task-specific actions, achieving a 39.39% task completion rate and 66.76% average partial progress on a diverse set of 33 real-world tasks across 17 apps.
This paper introduces DroidBot-GPT, a tool that utilizes GPT-like large language models (LLMs) to automate the interactions with Android mobile applications. Given a natural language description of a desired task, DroidBot-GPT can automatically generate and execute actions that navigate the app to complete the task. It works by translating the app GUI state information and the available actions on the smartphone screen to natural language prompts and asking the LLM to make a choice of actions. Since the LLM is typically trained on a large amount of data including the how-to manuals of diverse software applications, it has the ability to make reasonable choices of actions based on the provided information. We evaluate DroidBot-GPT with a self-created dataset that contains 33 tasks collected from 17 Android applications spanning 10 categories. It can successfully complete 39.39% of the tasks, and the average partial completion progress is about 66.76%. Given the fact that our method is fully unsupervised (no modification required from both the app and the LLM), we believe there is great potential to enhance automation performance with better app development paradigms and/or custom model training.
Motivation & Objective
- To enable zero-shot, unsupervised automation of Android app tasks using pre-trained LLMs without modifying the app or model.
- To address the challenge of automating diverse mobile applications with minimal development effort and natural language input.
- To explore how LLMs can interpret GUI states and generate accurate action sequences for complex, multi-step tasks.
- To evaluate the feasibility and performance of LLM-powered GUI automation in real-world Android applications.
Proposed method
- Translates Android GUI elements into natural language descriptions using structured properties like 'editable', 'clicked', and 'selected' to improve LLM interpretability.
- Constructs a prompt combining the current GUI state, action history, and user task description to guide the LLM in selecting the next action.
- Uses DroidBot to extract GUI state and execute actions on the device, enabling end-to-end automation without app-level changes.
- Maps GUI actions (e.g., click, scroll, edit) into a natural language action space that aligns with LLM reasoning.
- Employs a zero-shot prompting strategy to avoid fine-tuning, relying on the LLM’s pre-trained knowledge of software interaction.
- Designs a prompt engineering pipeline that grounds LLM decisions in real-time GUI context, enhancing action accuracy.
Experimental results
Research questions
- RQ1Can a pre-trained LLM be effectively used to automate Android app interactions without fine-tuning or app modifications?
- RQ2How well can an LLM generalize across diverse Android applications and complex, multi-step tasks using only natural language descriptions of GUI states?
- RQ3What are the main failure modes of LLM-based GUI automation, and how do they relate to GUI element ambiguity and action uncertainty?
- RQ4To what extent can LLMs handle implicit GUI relationships and unnamed elements in real-world app interfaces?
- RQ5Can the performance of LLM-based automation be improved through better prompt design and future model fine-tuning?
Key findings
- DroidBot-GPT achieved a 39.39% task completion rate on a dataset of 33 real-world tasks across 17 Android apps from 10 categories.
- The system demonstrated strong generalization, successfully completing complex tasks requiring multiple GUI transitions and prior knowledge, such as searching for holidays in Bavaria.
- Average partial completion progress reached 66.76%, indicating that the LLM often generates near-correct action sequences even when full tasks are not completed.
- Failure cases were primarily due to unnamed GUI elements, ambiguous GUI relationships, and probabilistic instability in LLM responses.
- The method is fully unsupervised, requiring no modifications to the target app or the LLM, highlighting its broad applicability and low deployment barrier.
- The study identifies key limitations—especially in recognizing unnamed elements and inferring implicit GUI relationships—suggesting future improvements through fine-tuning and visual understanding.
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.