Instruction Agent: Enhancing Agent with Expert Demonstration

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Li, Yinheng, Hultquist, Hailey, Wagle, Justin, Koishida, Kazuhito
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912576875528192
author Li, Yinheng
Hultquist, Hailey
Wagle, Justin
Koishida, Kazuhito
author_facet Li, Yinheng
Hultquist, Hailey
Wagle, Justin
Koishida, Kazuhito
contents Graphical user interface (GUI) agents have advanced rapidly but still struggle with complex tasks involving novel UI elements, long-horizon actions, and personalized trajectories. In this work, we introduce Instruction Agent, a GUI agent that leverages expert demonstrations to solve such tasks, enabling completion of otherwise difficult workflows. Given a single demonstration, the agent extracts step-by-step instructions and executes them by strictly following the trajectory intended by the user, which avoids making mistakes during execution. The agent leverages the verifier and backtracker modules further to improve robustness. Both modules are critical to understand the current outcome from each action and handle unexpected interruptions(such as pop-up windows) during execution. Our experiments show that Instruction Agent achieves a 60% success rate on a set of tasks in OSWorld that all top-ranked agents failed to complete. The Instruction Agent offers a practical and extensible framework, bridging the gap between current GUI agents and reliable real-world GUI task automation.
format Preprint
id arxiv_https___arxiv_org_abs_2509_07098
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Instruction Agent: Enhancing Agent with Expert Demonstration
Li, Yinheng
Hultquist, Hailey
Wagle, Justin
Koishida, Kazuhito
Artificial Intelligence
Computation and Language
Graphical user interface (GUI) agents have advanced rapidly but still struggle with complex tasks involving novel UI elements, long-horizon actions, and personalized trajectories. In this work, we introduce Instruction Agent, a GUI agent that leverages expert demonstrations to solve such tasks, enabling completion of otherwise difficult workflows. Given a single demonstration, the agent extracts step-by-step instructions and executes them by strictly following the trajectory intended by the user, which avoids making mistakes during execution. The agent leverages the verifier and backtracker modules further to improve robustness. Both modules are critical to understand the current outcome from each action and handle unexpected interruptions(such as pop-up windows) during execution. Our experiments show that Instruction Agent achieves a 60% success rate on a set of tasks in OSWorld that all top-ranked agents failed to complete. The Instruction Agent offers a practical and extensible framework, bridging the gap between current GUI agents and reliable real-world GUI task automation.
title Instruction Agent: Enhancing Agent with Expert Demonstration
topic Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2509.07098