Skip to main content
QUICK REVIEW

[논문 리뷰] Language Models can Solve Computer Tasks

Geunwoo Kim, Pierre Baldi|arXiv (Cornell University)|2023. 03. 30.
Topic ModelingComputer Science인용 수 68
한 줄 요약

이 논문은 Recursive Criticism and Improvement (RCI) 프롬프트를 도입하여 LLM 에이전트가 자연어를 통해 컴퓨터 작업을 실행하도록 하고,Few demonstrations와 특정 작업 보상 없이 MiniWoB++에서 최첨단 성능을 달성한다.

ABSTRACT

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.

연구 동기 및 목표

  • 자연어 명령으로 컴퓨터 작업을 해결하는 일반적으로 지능적인 에이전트를 구축하는 데 동기를 부여한다.
  • 프롬프트를 가진 LLM 기반 에이전트가 SL 및 RL 기준선을 능가할 수 있음을 보여준다.
  • 새로운 작업에 대해 RCI가 데이터 요구를 감소시키고 작업별 보상 신호를 피하는 것을 입증한다.
  • RCI가 컴퓨터 작업을 넘어서 다양한 추론 벤치마크에서 LLM의 추론 능력을 향상시킨다는 것을 보여준다.

제안 방법

  • LLM이 먼저 계획을 출력한 다음 이를 비판하고 개선하는 재귀적 비판 및 개선(RCI) 프롬프트를 도입한다.
  • 작업 근거화(task grounding), 상태 근거화(state grounding), 에이전트 근거화(agent grounding)으로 행동 샘플링을 분해한다.
  • 현재 상태와 에이전트 제약 조건에 대한 명시적 RCI를 계획 생성에 적용하고, 암시적으로 RCI를 적용해 행동을 근거화한다.
  • InstructGPT-3+RLHF 모델을 사용해 작업당 소수의 시연으로 MiniWoB++에서 RCI를 평가한다.
  • RCI를 제로샷 프롬프트 및 체인-오브-생각(CoT) 프롬프트와 비교하고 CoT 하이브리드를 포함한다.
  • RCI가 CoT와 결합될 때 추론 능력을 더욱 향상시킬 수 있음을 강조한다.

실험 결과

연구 질문

  • RQ1자연어에 의해 안내되는 컴퓨터 작업을 에이전트가 특정 작업 보상 없이 혹은 대규모 전문 데이터 세트 없이 수행할 수 있는가?
  • RQ2RCI가 작업 근거화(작업), 상태 근거화, 에이전트 근거화 및 전체 작업 성공에 얼마나 기여하는가?
  • RQ3RCI가 표준 벤치마크에서 Chain-of-Thought 프롬 prompting과 어떻게 상호작용하여 추론 능력을 향상시키는가?

주요 결과

  • RCI 프롬프팅은 MiniWoB++에서 기존의 SL, RL 및 LLM 방식에 비해 상당히 우수한 성능을 보인다.
  • InstructGPT-3+RLHF를 사용하면 RCI가 작업당 소수의 시연만으로 MiniWoB++에서 최첨단 성능을 달성하고 작업별 보상 함수 없이도 가능하다.
  • RCI는 8개의 추론 벤치마크(산술 및 상식 추론)에 대해 제로샷 프롬프트 대비 성능을 향상시킨다.
  • RCI는 Chain-of-Thought 프롬프팅과 시너지 효과를 보여, 종종 어느 한 쪽 방식보다 큰 성능 향상을 달성한다.
  • 절삭 연구에서 작업 근거화, 상태 근거화, 에이전트 근거화가 각각 성능에 의미 있게 기여하며, 특히 긴 작업이나 복잡한 작업 처리에 대해 상태 근거화가 중요하다는 것을 보여준다.
  • RCI는 강력한 성능을 달성하기 위해 필요한 시연 수를 CC-Net 대비 약 120배, CC-Net 대비 약 11,000배 더 줄일 수 있음을 시사한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.