Language Models can Solve Computer Tasks

By Geunwoo Kim, Pierre Baldi, Stephen Marcus McAleer. 2023

522 citations recorded by the source corpus.

Agents capable of carrying out general tasks on a computer can improve efficiency and productivity by automating repetitive tasks and assisting in complex problem-solving. Ideally, such agents should be able to solve new computer tasks presented to them through natural language commands. However, previous approaches to this problem require large amounts of expert demonstrations and task-specific reward functions, both of which are impractical for new tasks. In this work, we show that a pre-trained large language model (LLM) agent can execute computer tasks guided by natural language using a simple prompting scheme where the agent Recursively Criticizes and Improves its output (RCI). The RCI approach significantly outperforms existing LLM methods for automating computer tasks and surpasses supervised learning (SL) and reinforcement learning (RL) approaches on the MiniWoB++ benchmark. We compare multiple LLMs and find that RCI with the InstructGPT-3+RLHF LLM is state-of-the-art on MiniWoB++, using only a handful of demonstrations per task rather than tens of thousands, and without a task-specific reward function. Furthermore, we demonstrate RCI prompting's effectiveness in enhancing LLMs' reasoning abilities on a suite of natural language reasoning tasks, outperforming chain of thought (CoT) prompting with external feedback. We find that RCI combined with CoT performs better than either separately. Our code can be found here: https://github.com/posgnu/rci-agent.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models, Code Generation & Program Synthesis

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Jianfeng Gao
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Percy Liang
  5. Graham Neubig
  6. Quoc V. Le
  7. Noah A. Smith
  8. Yejin Choi

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Jianfeng Gao
  3. Dacheng Tao
  4. Trevor Darrell
  5. Ming-Hsuan Yang
  6. Xiaogang Wang
  7. Jitendra Malik
  8. Andrew Zisserman

In Large Language Models

  1. Jianfeng Gao
  2. Minlie Huang
  3. Jie Tang
  4. Denny Zhou
  5. Jie Huang
  6. Noah A. Smith
  7. Graham Neubig
  8. Xiao Liu

In Code Generation & Program Synthesis

  1. Graham Neubig
  2. Frank F. Xu
  3. Shuyan Zhou
  4. Uri Alon
  5. Michihiro Yasunaga
  6. Percy Liang
  7. Huan Sun
  8. Xinyun Chen

Citations in the corpus