[论文解读] OpenAGI: When LLM Meets Domain Experts
OpenAGI 提供一个开源平台,将大语言模型(LLMs)与领域特定的专家模型结合起来,以解决多步任务;并引入一个来自任务反馈的强化学习循环(RLTF)以提升规划性能。
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.
研究动机与目标
- 推动将通用型 LLM 与专门的领域模型整合,用于解决复杂的多步问题。
- 提供一个双重基准测试平台,包含固定基准任务和灵活的开放式任务。
- 提供一个学习框架(RLTF),以实现基于 LLM 的任务规划的自我改进。
- 通过开源代码、数据集、基准和用户界面,促进社区驱动的开发。
提出的方法
- 将模块化的领域专家模型集合(语言、视觉、视觉-语言)定义为解决任务的构建模块。
- 构建包含数据集和评估指标的基准任务,以评估 LLM 的规划与综合能力。
- 通过 LangChain 创建开放式任务,以整合可扩展的工具与资源(例如 Google、Wikipedia、Wolfram Alpha)。
- 提出 Reinforcement Learning from Task Feedback (RLTF) 以基于任务结果微调 LLM 规划(基于 REINFORCE)。
- 实现一个规划解决方案解析器,将 LLM 输出转换为可执行的领域模型序列。
- 在零-shot、少量样本、微调和 RLTF 下,对多种 LLM backbone(闭源与开源)进行评估,并使用多种提示。
实验结果
研究问题
- RQ1由 LLM 驱动的控制器是否能够有效地选择、综合并执行外部领域模型来解决复杂的多步任务?
- RQ2在基准任务和开放式任务中,RLTF 是否能在规划质量和任务表现方面带来实际改进?
- RQ3在 OpenAGI 的各种学习模式下,开源 LLM 与闭源模型的表现如何?
- RQ4提示设计和模型描述对零-shot 任务求解有何影响?
- RQ5在本平台内,非线性规划和多模态任务是否可以高效处理?
主要发现
- 在 RLTF 下,开源模型(如 LLaMA-2-13B)在某些设置中接近更大模型如 GPT-3.5 的性能。
- 闭源模型(GPT-4、Claude-2)在基准任务上通常优于开源模型,尤其是在零-shot 和少量-shot 设置中。
- RLTF 和微调显著提升开源模型的性能,RLTF 在 CLIP、BERT 和 ViT 指标上带来明显提升。
- 非线性规划示例显示 GPT-3.5 能为开放式任务生成树状规划,而某些开源模型在未进行调优的情况下会对复杂提示表现不佳。
- 提示设计(Prompt-1 与 Prompt-2)可以改善大型闭源模型的零-shot 结果,但可能会误导较小的开源模型。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。