GPA: Learning GUI Process Automation from Demonstrations
Organizations: Salesforce AI Research
Abstract
GUI Process Automation (GPA) is a lightweight but general vision-based Robotic Process Automation (RPA), which enables fast and stable process replay with only a single demo. Addressing the fragility of traditional RPA and the non-deterministic risks of current vision language model-based GUI agents, GPA introduces three core benefits: (1) Robustness via Sequential Monte Carlo-based localization to handle rescaling and detection uncertainty; (2) Deterministic and Reliability safeguarded by readiness calibration; and (3) Privacy through fast, fully local execution. This approach delivers the adaptability, robustness, and security required for enterprise workflows. It can also be used as an MCP/CLI tool by other agents with coding capabilities so that the agent only reasons and orchestrates while GPA handles the GUI execution. We conducted a pilot experiment to compare GPA with Gemini 3 Pro (with CUA tools) and found that GPA achieves higher success rate with 10 times faster execution speed in finishing long-horizon GUI tasks.
Figures & tables
| GPA | GUI Agents | Traditional RPA | |
|---|---|---|---|
| Setup | Learn from a single demonstration | Prompt engineering | Manual scripting and selector labelling |
| Runtime AI | Tiny local models only | LLM call per action | No AI |
| Reliability | Deterministic, reliable replay | Non-deterministic | Fragile under UI drift |
| Privacy | Fully local | Screenshots sent to external providers | Local |
| Variables | Auto-extracted at build time | Ad hoc via prompting | Hard-coded |
| GPA | Gemini 3 pro | ||||
|---|---|---|---|---|---|
| Task level | Avg demo steps | Success (%) | Time (s) | Success (%) | Time (s) |
| Simple | 10.80 | 100 | 17.84 | 93.2 | 210.66 |
| Hard | 27.27 | 100 | 40.96 | 87.64 | 383.24 |
| Avg | 22.13 | 100 | 33.74 | 89.38 | 329.31 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
GUI Automation
GUI automation uses AI agents to understand and operate graphical interfaces across desktop, mobile, and web applications.
See all 39 papers