Skip to main content
QUICK REVIEW

[Paper Review] OpenAGI: When LLM Meets Domain Experts

Yingqiang Ge, Wenyue Hua|arXiv (Cornell University)|Apr 10, 2023
Topic ModelingComputer Science76 citations
TL;DR

OpenAGI presents an open-source platform that combines LLMs with domain-specific expert models to solve multi-step tasks, plus a Reinforcement Learning from Task Feedback (RLTF) loop to improve planning performance.

ABSTRACT

Human Intelligence (HI) excels at combining basic skills to solve complex tasks. This capability is vital for Artificial Intelligence (AI) and should be embedded in comprehensive AI Agents, enabling them to harness expert models for complex task-solving towards Artificial General Intelligence (AGI). Large Language Models (LLMs) show promising learning and reasoning abilities, and can effectively use external models, tools, plugins, or APIs to tackle complex problems. In this work, we introduce OpenAGI, an open-source AGI research and development platform designed for solving multi-step, real-world tasks. Specifically, OpenAGI uses a dual strategy, integrating standard benchmark tasks for benchmarking and evaluation, and open-ended tasks including more expandable models, tools, plugins, or APIs for creative problem-solving. Tasks are presented as natural language queries to the LLM, which then selects and executes appropriate models. We also propose a Reinforcement Learning from Task Feedback (RLTF) mechanism that uses task results to improve the LLM's task-solving ability, which creates a self-improving AI feedback loop. While we acknowledge that AGI is a broad and multifaceted research challenge with no singularly defined solution path, the integration of LLMs with domain-specific expert models, inspired by mirroring the blend of general and specialized intelligence in humans, offers a promising approach towards AGI. We are open-sourcing the OpenAGI project's code, dataset, benchmarks, evaluation methods, and the UI demo to foster community involvement in AGI advancement: https://github.com/agiresearch/OpenAGI.

Motivation & Objective

  • Motivate integrating generalist LLMs with specialized domain models for complex, multi-step problem solving.
  • Provide a dual benchmarking platform with fixed benchmark tasks and flexible open-ended tasks.
  • Offer a learning schema (RLTF) to enable self-improvement of LLM-driven task planning.
  • Enable community-driven development by open-sourcing code, datasets, benchmarks, and UI.

Proposed method

  • Define a modular domain expert model set (language, vision, and vision-language) as building blocks for task solving.
  • Construct benchmark tasks with datasets and evaluation metrics to assess LLM planning and synthesis capabilities.
  • Create open-ended tasks via LangChain to incorporate expandable tools and sources (e.g., Google, Wikipedia, Wolfram Alpha).
  • Propose Reinforcement Learning from Task Feedback (RLTF) to fine-tune LLM planning using task outcomes (REINFORCE-based).
  • Implement a planning solution parser to convert LLM outputs into executable sequences of domain models.
  • Evaluate multiple LLM backbones (closed- and open-source) under zero-shot, few-shot, fine-tuning, and RLTF, with multiple prompts.

Experimental results

Research questions

  • RQ1Can an LLM-driven controller effectively select, synthesize, and execute external domain models to solve complex, multi-step tasks?
  • RQ2Does RLTF provide tangible improvements in planning quality and task performance across benchmark and open-ended tasks?
  • RQ3How do open-source LLMs fare against closed-source models in OpenAGI under various learning schemas?
  • RQ4What is the impact of prompt design and model description on zero-shot task solving?
  • RQ5Can nonlinear planning and multi-modal tasks be effectively handled within this platform?

Key findings

  • Under RLTF, open-source models (e.g., LLaMA-2-13B) approach the performance of larger models like GPT-3.5 in some settings.
  • Closed-source models (GPT-4, Claude-2) generally outperform open-source ones on benchmark tasks, especially in zero- and few-shot settings.
  • RLTF and fine-tuning significantly boost open-source model performance, with RLTF giving notable gains across CLIP, BERT, and ViT metrics.
  • Non-linear planning demonstrations show GPT-3.5 can generate tree-style plans for open-ended tasks, while some open-source models struggle with complex prompts without tuning.
  • Prompt design (Prompt-1 vs Prompt-2) can improve zero-shot results for large closed-source models but may mislead smaller open-source models.

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.