Skip to main content
QUICK REVIEW

[Paper Review] OS-Copilot: Towards Generalist Computer Agents with Self-Improvement

Zhiyong Wu, Chengcheng Han|arXiv (Cornell University)|Feb 12, 2024
Multi-Agent Systems and NegotiationComputer Science5 citations
TL;DR

OS-Copilot presents a framework for OS-level generalist agents and introduces FRIDAY, a self-improving embodied agent that learns to control unseen applications via self-directed curriculum learning, achieving notable improvements on the GAIA benchmark.

ABSTRACT

Autonomous interaction with the computer has been a longstanding challenge with great potential, and the recent proliferation of large language models (LLMs) has markedly accelerated progress in building digital agents. However, most of these agents are designed to interact with a narrow domain, such as a specific software or website. This narrow focus constrains their applicability for general computer tasks. To this end, we introduce OS-Copilot, a framework to build generalist agents capable of interfacing with comprehensive elements in an operating system (OS), including the web, code terminals, files, multimedia, and various third-party applications. We use OS-Copilot to create FRIDAY, a self-improving embodied agent for automating general computer tasks. On GAIA, a general AI assistants benchmark, FRIDAY outperforms previous methods by 35%, showcasing strong generalization to unseen applications via accumulated skills from previous tasks. We also present numerical and quantitative evidence that FRIDAY learns to control and self-improve on Excel and Powerpoint with minimal supervision. Our OS-Copilot framework and empirical findings provide infrastructure and insights for future research toward more capable and general-purpose computer agents.

Motivation & Objective

  • Motivate the development of generalist computer agents that can interact with diverse OS components (web, files, terminals, apps).
  • Propose a unified OS interaction interface and memory-driven configurator to enable generalization across applications.
  • Demonstrate a self-improving embodied agent (FRIDAY) that learns to control unfamiliar apps through autonomous curriculum learning.
  • Showcase FRIDAY's performance on GAIA and its ability to self-direct learning on tasks like Excel and PowerPoint.

Proposed method

  • Introduce OS-Copilot as a universal OS interaction framework integrating Python interpreter, bash, mouse/keyboard control, and API calls.
  • Define planner, configurator, and actor with execution, criticism, and memory modules to decompose tasks and gather feedback.
  • Use a directed acyclic graph planner to model task dependencies and enable parallel subtasks.
  • Implement a declarative memory (user profile, semantic knowledge) and procedural memory (tool repository) for long-term knowledge and skills.
  • In FRIDAY, employ a self-directed learning module where the agent proposes a curriculum of tasks for unfamiliar applications and accumulates tools through solving tasks.
  • Evaluate FRIDAY on GAIA with ablations (FRIDAY w/o learning) and compare to baselines like AutoGPT-4 and GPT-4 Plugins.

Experimental results

Research questions

  • RQ1Can an OS-level language agent generalize across a wide range of applications beyond web and terminals?
  • RQ2Does a self-improvement loop (planning, executing, criticizing, refining, and learning) enhance performance on open-world OS tasks?
  • RQ3How does self-directed learning enable acquisition of new tools and competencies for unseen applications?
  • RQ4What is FRIDAY’s performance and generalization capability on GAIA compared to existing systems?

Key findings

  • FRIDAY achieves 40.86% success on GAIA level-1 tasks, a 35% relative improvement over the previous best system (30.3%).
  • FRIDAY reaches 20.13% on GAIA level-2 tasks and 6.12% on GAIA level-3 tasks, outperforming several baselines.
  • FRIDAY w/o learning already surpasses baselines, demonstrating architecture effectiveness, while self-directed learning further boosts performance.
  • In self-directed learning experiments on a spreadsheet task dataset, FRIDAY attains 60% success, surpassing a SheetCopilot baseline.
  • FRIDAY learns to control Excel and PowerPoint with minimal supervision, accumulating tools autonomously.
  • The framework emphasizes the importance of planner, critic, and refiner in achieving advanced generalization beyond tool quantity alone.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.