CAAP: Context-Aware Action Planning Prompting to Solve Computer Tasks with Front-End UI Only
<|reference_start|>CAAP: Context-Aware Action Planning Prompting to Solve Computer Tasks with Front-End UI Only: Software robots have long been deployed in Robotic Process Automation (RPA) to automate mundane and repetitive computer tasks. The advent of Large Language Models (LLMs) with advanced reasoning capabilities has set the stage for these agents to now undertake more complex and even previously unseen tasks. However, the LLM-based automation techniques in recent literature frequently rely on HTML source codes for input, limiting their application to web environments. Moreover, the information contained in HTML codes is often inaccurate or incomplete, making the agent less reliable for practical applications. We propose an LLM-based agent that functions solely on the basis of screenshots for recognizing environments, while leveraging in-context learning to eliminate the need for collecting large datasets of human demonstration. Our strategy, named Context-Aware Action Planning (CAAP) prompting encourages the agent to meticulously review the context in various angles. Through our proposed methodology, we achieve a success rate of 94.4% on 67~types of MiniWoB++ problems, utilizing only 1.48~demonstrations per problem type. Our method offers the potential for broader applications, especially for tasks that require inter-application coordination on computers or smartphones, showcasing a significant advancement in the field of automation agents. Codes and models are accessible at https://github.com/caap-agent/caap-agent.<|reference_end|>
@article{cho2024caap:,
    title={CAAP: Context-Aware Action Planning Prompting to Solve Computer Tasks
  with Front-End UI Only},
    author={Junhee Cho, Jihoon Kim, Daseul Bae, Jinho Choo, Youngjune Gwon,
  Yeong-Dae Kwon},
    journal={arXiv preprint arXiv:2406.06947},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.06947},
    primaryClass={cs.AI cs.HC}
}