跳到正文
论文阅读馆THE RESEARCH LIBRARY 查找论文
← 论文库AI 研究与应用 / 智能体协作与通信导出 ↗

PAPER / 2023

AgentVerse:按任务组队、讨论、执行与反馈的智能体框架

AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviors

Weize Chen · Yusheng Su · Jingwei Zuo · Cheng Yang · Chenfei Yuan · Chi-Min Chan · Heyang Yu · Yaxi Lu · Yi-Hsin Hung · Chen Qian · Yujia Qin · Xin Cong · Ruobing Xie · Zhiyuan Liu · Maosong Sun · Jie Zhou

arXiv · 2023

30 秒读懂

框架区分横向与纵向协作:横向让多个成员分别给出意见再汇总;纵向由一个求解者提方案,其他成员审阅,求解者反复修改。最终行动在环境中执行,环境状态再交给评价阶段。若目标未完成,下一轮可以改组。因此评价器和停止条件也是系统的一部分,不是聊天次数越多越好。

它解决的是不同任务应如何配置协作团队,而不是训练新的语言模型。一个招募者根据目标生成专家角色描述,专家在共享任务下合作;反馈会影响下一轮组队。角色描述只是提示配置,不能等同真实专业资格,也不能默认不同角色具有独立知识。

先说结论

AgentVerse让模型根据任务招募角色,再经过讨论、行动和评价决定下一轮如何调整。重要发现不是“多智能体永远更好”:论文自己的数学与创作结果显示,较弱底座可能被其他成员的错误反馈带偏。 (原文:PDF p.3, Section 2;PDF p.3, Sections 2.2–2.3;PDF p.4, Section 3 setup;PDF p.4, Table 1;PDF p.4, Table 1 and discussion;PDF p.6, Table 2; tool-use case study)

论文为什么要做这件事

它解决的是不同任务应如何配置协作团队,而不是训练新的语言模型。一个招募者根据目标生成专家角色描述,专家在共享任务下合作;反馈会影响下一轮组队。角色描述只是提示配置,不能等同真实专业资格,也不能默认不同角色具有独立知识。 (原文:PDF p.3, Section 2)

核心方法到底怎么运转

框架区分横向与纵向协作:横向让多个成员分别给出意见再汇总;纵向由一个求解者提方案,其他成员审阅,求解者反复修改。最终行动在环境中执行,环境状态再交给评价阶段。若目标未完成,下一轮可以改组。因此评价器和停止条件也是系统的一部分,不是聊天次数越多越好。 (原文:PDF p.3, Sections 2.2–2.3)

解释性例子:做一个计算器,可以先招募程序员与界面设计者,由程序员提交版本、其他角色指出问题,再运行检查;若代码已经正确,增加讨论也可能引入不必要修改。

实验怎样检验这个方法

实验比较CoT、Solo与Group。Solo也有专家招募、执行和评价,只在决策阶段使用单个成员;Group才增加讨论。这个区分关键:Group相对CoT的变化不全来自多人协作,应优先观察同框架Solo与Group之间的差别。任务包括对话、创作、数学与逻辑推理,采用相同系列底座的零样本设置。 (原文:PDF p.4, Section 3 setup)

结果说明了什么

GPT-4在逻辑谜题中,CoT为59.5、Solo为64.0、Group为66.5;但数学任务中Group为95.2,低于Solo的96.0,与CoT相同。因此可以说协作在某些任务带来额外收益,不能从框架名称推导出全任务优势。不同任务采用各自评价,分数也不应混成统一能力值。 (原文:PDF p.4, Table 1)

较弱的GPT-3.5-Turbo在数学上Solo为82.4,Group为80.8;创作Solo为93.6,Group为92.3。作者把容易接受错误反馈作为解释方向。这些对照直接反驳“人数越多越聪明”,也提醒读者把角色多样性与判断正确性分开。 (原文:PDF p.4, Table 1 and discussion)

这篇论文哪里最强,哪里最危险

编程、工具和软件界面的证据形式不同:代码有测试通过率,工具利用只有小规模任务,界面完善度还有个案展示。个案能说明协作可能如何起作用,却不能替代大样本可靠性结论。它最可借鉴的是闭环组织方式,是否有效仍取决于底座、反馈可信度与任务。 (原文:PDF p.6, Table 2; tool-use case study)

代码从哪里读

已核验作者代码仓库可以访问。先从项目说明核对版本、运行环境与输入格式,再决定是否复现。本次未安装、运行作者代码,也没有验证复现成功。

读完后记住这三件事

动态组织专家并协作;把讨论、行动与评估接成循环;群体不保证优于强单体。 (原文:PDF p.3, Section 2;PDF p.3, Sections 2.2–2.3;PDF p.4, Section 3 setup;PDF p.4, Table 1;PDF p.4, Table 1 and discussion;PDF p.6, Table 2; tool-use case study)

原文证据

将主张放回条件与原文定位中理解。

方法

研究问题

原文摘录
Preprint executing well-informed actions. In order to enhance the effectiveness of an autonomous multi-agent group in achieving their goals, we simulate the problem-solving processes of a human group to propose the AGENT V ERSE framework, which is composed of four crucial stages: Expert Recruit- ment, Collaborative Decision-Making, Action Execution, and Evaluation, as shown in Figure 1. The entire process can be modeled as a Markov decision process (MDP), characterized as a tuple (S, A, T , R, G). This encompasses the autonomous agent and environment state space S, solution and action space A, transition function T : S × A → S, reward function R, and goal space G. 2.1 E XPERT R ECRUITMENT Expert Recruitment stage determines the composition of a multi-agent group, playing an important role in deciding the upper bounds of the group’s capabilities. Empirical evidence suggests that diversity within human groups introduces varied viewpoints, enhancing the group’s performance across different tasks (Woolley et al., 2015; Phillips & O’Reilly, 1998). Parallel findings from recent research suggest that designating specific roles for autonomous agents, similar to recruiting experts to form a group, can augment their efficacy (Li et al., 2023; Salewski et al., 2023; Qian et al., 2023a). Current methodologies for assigning role descriptions to autonomous agents predominantly involve manual assignment, necessitating prior knowledge and understanding of the task. Consequently, the scalability remains ambiguous, especially in the face of diverse and intricate problem contexts. In view of this, AGENT V ERSE automates expert recruitment to make agent configuration more scalable. For a given goal g ∈ G, a particular agent Mr is prompted as the ”recruiter”, similar to a human resource manager. Instead of relying on pre-defined expert descriptions, Mr dynamically generates a set of expert descriptions based on g. The different agents prompted with these different expert descriptions then form an expert group M = Mr (g) on the given goal g. Notably, the composition of a multi-agent group will be dynamically adjusted based on feedback from the evaluation stage (Section 2.4). This allows AGENT V ERSE to employ the most suitable group based on the current state to make better decisions in future rounds. 2.2 C OLLABORATIVE D ECISION - MAKING This stage engages expert agents in collaborative decision-making. To facilitate effective decision- making, previous research has investigated the impact of different communication structures among agents (Chan et al., 2023; Zhang et al., 2023b; Wu et al., 2023). We focus on two typical communica- tion structures: horizontal structure and vertical structure, respectively. Horizontal Structure ( ) In this democratic structure, each agent, denoted as mi ∈ M, shares and refines its decision ami . The group’s collective decision, A = f ({ami }i ) ∈ A, emerges as an integration of individual agents’ decisions using a function f , which might involve techniques like summarization or ensemble. This structure is especially effective in scenarios like consulting and tool using. Vertical Structure ( ) Conversely, vertical structure has a clear division of roles. An agent, termed the solver m , proposes an initial decision a∗0 . Other agents, as reviewers, provide feedback ∗ on this proposal, prompting iterative refinements by the solver until a consensus is reached among reviewers or a set number of iterations is exhausted. The final decision A is given as A = a∗k ∈ A, with k indicating the number of refinements. Vertical structure is preferable for tasks like math problem-solving and software development, where only one refined decision is required. 2.3 ACTION E XECUTION In the decision-making stage, agents collaboratively contribute to a group decision A containing actions that need to be executed in the current environment. Within the action execution stage, agents then execute the collectively-decided actions in the environment. Depending on the implementation, some agents might not perform any execution. As a result of these actions, the state of the environment transitions from sold to snew = T (sold , A). 3

条件:本地全文 arXiv:2308.10848v3,Section 2;条件及比较对象见陈述

指标:它解决的是不同任务应如何配置协作团队,而不是训练新的语言模型。一个招募者根据目标生成专家角色描述,专家在共享任务下合作;反馈会影响下一轮组队。角色描述只是提示配置,不能等同真实专业资格,也不能默认不同角色具有独立知识。

原文第 3 页 ↗PDF p.3, Section 2

只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。

方法

核心机制

原文摘录
Preprint executing well-informed actions. In order to enhance the effectiveness of an autonomous multi-agent group in achieving their goals, we simulate the problem-solving processes of a human group to propose the AGENT V ERSE framework, which is composed of four crucial stages: Expert Recruit- ment, Collaborative Decision-Making, Action Execution, and Evaluation, as shown in Figure 1. The entire process can be modeled as a Markov decision process (MDP), characterized as a tuple (S, A, T , R, G). This encompasses the autonomous agent and environment state space S, solution and action space A, transition function T : S × A → S, reward function R, and goal space G. 2.1 E XPERT R ECRUITMENT Expert Recruitment stage determines the composition of a multi-agent group, playing an important role in deciding the upper bounds of the group’s capabilities. Empirical evidence suggests that diversity within human groups introduces varied viewpoints, enhancing the group’s performance across different tasks (Woolley et al., 2015; Phillips & O’Reilly, 1998). Parallel findings from recent research suggest that designating specific roles for autonomous agents, similar to recruiting experts to form a group, can augment their efficacy (Li et al., 2023; Salewski et al., 2023; Qian et al., 2023a). Current methodologies for assigning role descriptions to autonomous agents predominantly involve manual assignment, necessitating prior knowledge and understanding of the task. Consequently, the scalability remains ambiguous, especially in the face of diverse and intricate problem contexts. In view of this, AGENT V ERSE automates expert recruitment to make agent configuration more scalable. For a given goal g ∈ G, a particular agent Mr is prompted as the ”recruiter”, similar to a human resource manager. Instead of relying on pre-defined expert descriptions, Mr dynamically generates a set of expert descriptions based on g. The different agents prompted with these different expert descriptions then form an expert group M = Mr (g) on the given goal g. Notably, the composition of a multi-agent group will be dynamically adjusted based on feedback from the evaluation stage (Section 2.4). This allows AGENT V ERSE to employ the most suitable group based on the current state to make better decisions in future rounds. 2.2 C OLLABORATIVE D ECISION - MAKING This stage engages expert agents in collaborative decision-making. To facilitate effective decision- making, previous research has investigated the impact of different communication structures among agents (Chan et al., 2023; Zhang et al., 2023b; Wu et al., 2023). We focus on two typical communica- tion structures: horizontal structure and vertical structure, respectively. Horizontal Structure ( ) In this democratic structure, each agent, denoted as mi ∈ M, shares and refines its decision ami . The group’s collective decision, A = f ({ami }i ) ∈ A, emerges as an integration of individual agents’ decisions using a function f , which might involve techniques like summarization or ensemble. This structure is especially effective in scenarios like consulting and tool using. Vertical Structure ( ) Conversely, vertical structure has a clear division of roles. An agent, termed the solver m , proposes an initial decision a∗0 . Other agents, as reviewers, provide feedback ∗ on this proposal, prompting iterative refinements by the solver until a consensus is reached among reviewers or a set number of iterations is exhausted. The final decision A is given as A = a∗k ∈ A, with k indicating the number of refinements. Vertical structure is preferable for tasks like math problem-solving and software development, where only one refined decision is required. 2.3 ACTION E XECUTION In the decision-making stage, agents collaboratively contribute to a group decision A containing actions that need to be executed in the current environment. Within the action execution stage, agents then execute the collectively-decided actions in the environment. Depending on the implementation, some agents might not perform any execution. As a result of these actions, the state of the environment transitions from sold to snew = T (sold , A). 3

条件:本地全文 arXiv:2308.10848v3,Sections 2.2–2.3;条件及比较对象见陈述

指标:框架区分横向与纵向协作:横向让多个成员分别给出意见再汇总;纵向由一个求解者提方案,其他成员审阅,求解者反复修改。最终行动在环境中执行,环境状态再交给评价阶段。若目标未完成,下一轮可以改组。因此评价器和停止条件也是系统的一部分,不是聊天次数越多越好。

原文第 3 页 ↗PDF p.3, Sections 2.2–2.3

只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。

方法

实验设置

原文摘录
Preprint Table 1: The results on different tasks that evaluate the agents’ general capabilities. GPT-3.5-Turbo GPT-4 Task CoT Solo Group CoT Solo Group Conversation (FED) 81.6 81.1 85.1 95.4 95.8 96.8 Creative Writing (Commongen-Challenge) 76.6 93.6 92.3 95.9 99.0 99.1 Mathematical Reasoning (MGSM) 80.4 82.4 80.8 95.2 96.0 95.2 Logical Reasoning (Logic Grid Puzzles) - - - 59.5 64.0 66.5 2.4 E VALUATION The evaluation stage is vital for AGENT V ERSE, guiding improvements for subsequent rounds. At this stage, the feedback mechanism R assesses the difference between the current state snew and the desired goal g ∈ G. It then offers verbal feedback r = R(snew , g), detailing areas of shortcoming and suggesting ways to enhance performance. R can either be defined by humans (in a human-in-the-loop (Amershi et al., 2014) setting) or an agent for automatic feedback, depending on the implementation. If the goal g remains unmet, the feedback r returns to the initial expert recruitment stage. In the next round, the expert recruitment stage will consider both feedback r and the goal g to adjust the group’s composition, aiming to evolve a more effective multi-agent group according to the current progress. 3 E XPERIMENTS To validate the superiority of AGENT V ERSE in facilitating agent collaboration over standalone agents, we design four experimental tasks. Each task is designed to assess distinct aspects of an agent group: general understanding and reasoning capabilities, coding capabilities, tool utilization capabilities, and their potential in Embodied AI. Our findings, which are detailed in this section, consistently highlight the superior performance of AGENT V ERSE across these varied and multi-faceted tasks. Of particular interest is the emergence of unique collaborative behaviors within agent groups. While this section focuses on the advantages of multi-agent setups, a deeper exploration of these emergent behaviors will be presented in Section 4. Setups. In all the experiments, we evaluate the performance of agents driven by GPT-3.5-Turbo- 0613 and GPT-4-0613 across various tasks. All the experiments are done in zero-shot setting. For all the quantitative experiments in this section, we compare three settings: (1) CoT: The CoT(chain-of-thought) agent; (2) Solo: Using AGENT V ERSE with a single agent in the decision- making stage. Compared with CoT, Solo additionally incorporates the expert recruitment, action execution, and evaluation modules; (3) Group: Implementing AGENT V ERSE with multiple agents collaborating during the decision-making. More detailed experimental setups for each task can be found in Appendix A. 3.1 G ENERAL U NDERSTANDING AND R EASONING C APABILITIES To assess the agents’ general understanding and reasoning capabilities, we use four datasets: FED (Mehri & Eskénazi, 2020), Commongen Challenge (Madaan et al., 2023), MGSM (Shi et al., 2023), and Logic Grid Puzzles (Srivastava et al., 2022). Detailed descriptions of these datasets and metrics can be found in Appendix A. The first two datasets are used to measure the agents’ text understanding and creative writing abilities, while the latter two focus on examining the agents’ reasoning abilities, including mathematical and logical reasoning. Experimental Results. The results in Table 1 show that agents assembled by AGENT V ERSE (Solo and Group setups) consistently outperform the standalone CoT agent, irrespective of the LLM used. In our preliminary evaluations, GPT-3.5-Turbo struggles with accurately handling the logic grid puzzles dataset; therefore, we omit the result of GPT-3.5-Turbo on logical reasoning. Interestingly, for GPT-3.5-Turbo, the Group setup underperforms the Solo setup in two of three tasks, indicating that the discussion in decision-making might adversely impact performance for agents based on GPT-3.5-Turbo in certain contexts. Delving deeper into this observation, one predominant factor surfaces: the susceptibility to erroneous feedback. A recurring pattern observed in the Group 4

条件:本地全文 arXiv:2308.10848v3,Section 3 setup;条件及比较对象见陈述

指标:实验比较CoT、Solo与Group。Solo也有专家招募、执行和评价,只在决策阶段使用单个成员;Group才增加讨论。这个区分关键:Group相对CoT的变化不全来自多人协作,应优先观察同框架Solo与Group之间的差别。任务包括对话、创作、数学与逻辑推理,采用相同系列底座的零样本设置。

原文第 4 页 ↗PDF p.4, Section 3 setup

只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。

结果

主要比较

原文摘录
Preprint Table 1: The results on different tasks that evaluate the agents’ general capabilities. GPT-3.5-Turbo GPT-4 Task CoT Solo Group CoT Solo Group Conversation (FED) 81.6 81.1 85.1 95.4 95.8 96.8 Creative Writing (Commongen-Challenge) 76.6 93.6 92.3 95.9 99.0 99.1 Mathematical Reasoning (MGSM) 80.4 82.4 80.8 95.2 96.0 95.2 Logical Reasoning (Logic Grid Puzzles) - - - 59.5 64.0 66.5 2.4 E VALUATION The evaluation stage is vital for AGENT V ERSE, guiding improvements for subsequent rounds. At this stage, the feedback mechanism R assesses the difference between the current state snew and the desired goal g ∈ G. It then offers verbal feedback r = R(snew , g), detailing areas of shortcoming and suggesting ways to enhance performance. R can either be defined by humans (in a human-in-the-loop (Amershi et al., 2014) setting) or an agent for automatic feedback, depending on the implementation. If the goal g remains unmet, the feedback r returns to the initial expert recruitment stage. In the next round, the expert recruitment stage will consider both feedback r and the goal g to adjust the group’s composition, aiming to evolve a more effective multi-agent group according to the current progress. 3 E XPERIMENTS To validate the superiority of AGENT V ERSE in facilitating agent collaboration over standalone agents, we design four experimental tasks. Each task is designed to assess distinct aspects of an agent group: general understanding and reasoning capabilities, coding capabilities, tool utilization capabilities, and their potential in Embodied AI. Our findings, which are detailed in this section, consistently highlight the superior performance of AGENT V ERSE across these varied and multi-faceted tasks. Of particular interest is the emergence of unique collaborative behaviors within agent groups. While this section focuses on the advantages of multi-agent setups, a deeper exploration of these emergent behaviors will be presented in Section 4. Setups. In all the experiments, we evaluate the performance of agents driven by GPT-3.5-Turbo- 0613 and GPT-4-0613 across various tasks. All the experiments are done in zero-shot setting. For all the quantitative experiments in this section, we compare three settings: (1) CoT: The CoT(chain-of-thought) agent; (2) Solo: Using AGENT V ERSE with a single agent in the decision- making stage. Compared with CoT, Solo additionally incorporates the expert recruitment, action execution, and evaluation modules; (3) Group: Implementing AGENT V ERSE with multiple agents collaborating during the decision-making. More detailed experimental setups for each task can be found in Appendix A. 3.1 G ENERAL U NDERSTANDING AND R EASONING C APABILITIES To assess the agents’ general understanding and reasoning capabilities, we use four datasets: FED (Mehri & Eskénazi, 2020), Commongen Challenge (Madaan et al., 2023), MGSM (Shi et al., 2023), and Logic Grid Puzzles (Srivastava et al., 2022). Detailed descriptions of these datasets and metrics can be found in Appendix A. The first two datasets are used to measure the agents’ text understanding and creative writing abilities, while the latter two focus on examining the agents’ reasoning abilities, including mathematical and logical reasoning. Experimental Results. The results in Table 1 show that agents assembled by AGENT V ERSE (Solo and Group setups) consistently outperform the standalone CoT agent, irrespective of the LLM used. In our preliminary evaluations, GPT-3.5-Turbo struggles with accurately handling the logic grid puzzles dataset; therefore, we omit the result of GPT-3.5-Turbo on logical reasoning. Interestingly, for GPT-3.5-Turbo, the Group setup underperforms the Solo setup in two of three tasks, indicating that the discussion in decision-making might adversely impact performance for agents based on GPT-3.5-Turbo in certain contexts. Delving deeper into this observation, one predominant factor surfaces: the susceptibility to erroneous feedback. A recurring pattern observed in the Group 4

条件:本地全文 arXiv:2308.10848v3,Table 1;条件及比较对象见陈述

指标:GPT-4在逻辑谜题中,CoT为59.5、Solo为64.0、Group为66.5;但数学任务中Group为95.2,低于Solo的96.0,与CoT相同。因此可以说协作在某些任务带来额外收益,不能从框架名称推导出全任务优势。不同任务采用各自评价,分数也不应混成统一能力值。

原文第 4 页 ↗PDF p.4, Table 1

只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。

结果

反例或对照

原文摘录
Preprint Table 1: The results on different tasks that evaluate the agents’ general capabilities. GPT-3.5-Turbo GPT-4 Task CoT Solo Group CoT Solo Group Conversation (FED) 81.6 81.1 85.1 95.4 95.8 96.8 Creative Writing (Commongen-Challenge) 76.6 93.6 92.3 95.9 99.0 99.1 Mathematical Reasoning (MGSM) 80.4 82.4 80.8 95.2 96.0 95.2 Logical Reasoning (Logic Grid Puzzles) - - - 59.5 64.0 66.5 2.4 E VALUATION The evaluation stage is vital for AGENT V ERSE, guiding improvements for subsequent rounds. At this stage, the feedback mechanism R assesses the difference between the current state snew and the desired goal g ∈ G. It then offers verbal feedback r = R(snew , g), detailing areas of shortcoming and suggesting ways to enhance performance. R can either be defined by humans (in a human-in-the-loop (Amershi et al., 2014) setting) or an agent for automatic feedback, depending on the implementation. If the goal g remains unmet, the feedback r returns to the initial expert recruitment stage. In the next round, the expert recruitment stage will consider both feedback r and the goal g to adjust the group’s composition, aiming to evolve a more effective multi-agent group according to the current progress. 3 E XPERIMENTS To validate the superiority of AGENT V ERSE in facilitating agent collaboration over standalone agents, we design four experimental tasks. Each task is designed to assess distinct aspects of an agent group: general understanding and reasoning capabilities, coding capabilities, tool utilization capabilities, and their potential in Embodied AI. Our findings, which are detailed in this section, consistently highlight the superior performance of AGENT V ERSE across these varied and multi-faceted tasks. Of particular interest is the emergence of unique collaborative behaviors within agent groups. While this section focuses on the advantages of multi-agent setups, a deeper exploration of these emergent behaviors will be presented in Section 4. Setups. In all the experiments, we evaluate the performance of agents driven by GPT-3.5-Turbo- 0613 and GPT-4-0613 across various tasks. All the experiments are done in zero-shot setting. For all the quantitative experiments in this section, we compare three settings: (1) CoT: The CoT(chain-of-thought) agent; (2) Solo: Using AGENT V ERSE with a single agent in the decision- making stage. Compared with CoT, Solo additionally incorporates the expert recruitment, action execution, and evaluation modules; (3) Group: Implementing AGENT V ERSE with multiple agents collaborating during the decision-making. More detailed experimental setups for each task can be found in Appendix A. 3.1 G ENERAL U NDERSTANDING AND R EASONING C APABILITIES To assess the agents’ general understanding and reasoning capabilities, we use four datasets: FED (Mehri & Eskénazi, 2020), Commongen Challenge (Madaan et al., 2023), MGSM (Shi et al., 2023), and Logic Grid Puzzles (Srivastava et al., 2022). Detailed descriptions of these datasets and metrics can be found in Appendix A. The first two datasets are used to measure the agents’ text understanding and creative writing abilities, while the latter two focus on examining the agents’ reasoning abilities, including mathematical and logical reasoning. Experimental Results. The results in Table 1 show that agents assembled by AGENT V ERSE (Solo and Group setups) consistently outperform the standalone CoT agent, irrespective of the LLM used. In our preliminary evaluations, GPT-3.5-Turbo struggles with accurately handling the logic grid puzzles dataset; therefore, we omit the result of GPT-3.5-Turbo on logical reasoning. Interestingly, for GPT-3.5-Turbo, the Group setup underperforms the Solo setup in two of three tasks, indicating that the discussion in decision-making might adversely impact performance for agents based on GPT-3.5-Turbo in certain contexts. Delving deeper into this observation, one predominant factor surfaces: the susceptibility to erroneous feedback. A recurring pattern observed in the Group 4

条件:本地全文 arXiv:2308.10848v3,Table 1 and discussion;条件及比较对象见陈述

指标:较弱的GPT-3.5-Turbo在数学上Solo为82.4,Group为80.8;创作Solo为93.6,Group为92.3。作者把容易接受错误反馈作为解释方向。这些对照直接反驳“人数越多越聪明”,也提醒读者把角色多样性与判断正确性分开。

原文第 4 页 ↗PDF p.4, Table 1 and discussion

只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。

限制

适用边界

原文摘录
Preprint Software Development with Group Setup Software Development with Solo Setup : An experienced programmer : A software developer : A UI/UX designer : A software tester Round 0 Round 1 Round 0 Round 1 Decision-Making: Decision-Making: Decision-Making: Decision-Making: Runnable Color Difference Error Handle Runnable Color Difference Error Handle Runnable Color Difference Error Handle Runnable Color Difference Error Handle Functionality Keyboard Input Click Feedback Functionality Keyboard Input Click Feedback Functionality Keyboard Input Click Feedback Functionality Keyboard Input Click Feedback Evaluator: Evaluator: Evaluator: Evaluator: Completeness:8, Functionality: 8, Completeness:9, Functionality: 9, Completeness:8, Functionality: 7, Completeness:9, Functionality: 9, Readability: 7, Robustness: 7 Readability: 9, Robustness: 9 Readability: 7, Robustness: 7 Readability: 8, Robustness: 8 The keyboard input doesn't include The code is well-structured, readable and Use a safer way to evaluate mathematical The code is well structured and accomplishes functionality for delete, clear, or calculate robust. It handles common exceptions and expressions. Add more comments. Add more its task. There are comments that make it operations provides clear feedback to […] exception handling. easier to understand what each part does. […] Figure 3: The illustration of an example process of developing a calculator with GUI in Python. in performance with Group setup in Section 3.1 due to Table 2: The pass@1 on Humaneval. incorrect agent feedback in math reasoning, the coding evaluations show benefits. We posit that this might be Setting GPT-3.5-Turbo GPT-4 attributed to LLMs’ extensive pre-training on codes, po- CoT 73.8 83.5 tentially rendering them more adept at coding than math- Solo 74.4 87.2 ematical reasoning and, consequently, more resilient to Group 75.6 89.0 erroneous information in coding. Case Study: Software Development. Our examination of the code generated for Humaneval by the Group setup in AGENT V ERSE offers benefits beyond mere correctness. The agent group refines solutions, yielding more efficient, robust, and secure algorithms that are not covered by simple pass@1 metric. To better elucidate these advantages, we present a case study with GPT-4 on software development, a domain requiring multifaceted collaboration and refinement. We present an example where AGENT V ERSE creates a Python-based calculator GUI by bringing together diverse expert agents. A concise development process overview is visualized in Figure 3. Comparing the applications from the Group and Solo setups reveals notable distinctions. Both achieve core functionality, but the Group-created calculator boasts a user-friendly interface with features like color distinctions and keyboard input. This improved design resulted from the diverse feedback of the multi-agent group. Suggestions from UI designer and evaluators enhance the user experience, while software tester enhances code robustness. A deeper examination of the code confirms that the multi-agent group’s output excels in exception handling compared to that of a solo agent. The codes generated by the two setups and the complete progress can be seen at Appendix F. 3.3 T OOL U TILIZATION C APABILITIES The capability of LLMs to use real-world tools has been emphasized in many recent studies (Schick et al., 2023a; Qin et al., 2023a). By equipping the LLMs with different tools such as a calculator, a web browser, and a code interpreter, the capabilities of LLMs can be significantly improved. In this section, we demonstrate that AGENT V ERSE enables a group of agents to address intricate and multi-faceted tasks that require interaction with multiple tools, thereby enhancing work efficiency. Experimental Results. We design a set of 10 intricate tasks, each requiring the use of at least two distinct tools to accomplish. By providing agents access to several tools, including Bing search API, a web browser, a code interpreter, and task-related APIs, we explore how AGENT V ERSE facilitates agent collaboration, dissects the overarching task into manageable sub-tasks, and effectively deploys the available tools to address realistic user queries. Of the 10 challenging tasks provided, an agent group orchestrated by AGENT V ERSE adeptly accomplishes 9 tasks. On the other hand, a standalone ReAct agent (Yao et al., 2023b), which is a prevalent agent designed for tool using, can only fulfill 3 tasks. In 6 out of 7 tasks where the single ReAct agent fails, the agent does not adhere to one or more criteria detailed in the task, and exit earlier than expected. We refer interested readers to Appendix B for a comprehensive comparison of the solutions given by AGENT V ERSE and a single ReAct agent. 6

条件:本地全文 arXiv:2308.10848v3,Table 2; tool-use case study;条件及比较对象见陈述

指标:编程、工具和软件界面的证据形式不同:代码有测试通过率,工具利用只有小规模任务,界面完善度还有个案展示。个案能说明协作可能如何起作用,却不能替代大样本可靠性结论。它最可借鉴的是闭环组织方式,是否有效仍取决于底座、反馈可信度与任务。

原文第 6 页 ↗PDF p.6, Table 2; tool-use case study

只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。

读完,试着回答

论文研究什么问题?

它解决的是不同任务应如何配置协作团队,而不是训练新的语言模型。一个招募者根据目标生成专家角色描述,专家在共享任务下合作;反馈会影响下一轮组队。角色描述只是提示配置,不能等同真实专业资格,也不能默认不同角色具有独立知识。

已有方法缺口在哪里?

它解决的是不同任务应如何配置协作团队,而不是训练新的语言模型。

输入是什么?

框架区分横向与纵向协作:横向让多个成员分别给出意见再汇总;纵向由一个求解者提方案,其他成员审阅,求解者反复修改。

机制是什么?

框架区分横向与纵向协作:横向让多个成员分别给出意见再汇总;纵向由一个求解者提方案,其他成员审阅,求解者反复修改。最终行动在环境中执行,环境状态再交给评价阶段。若目标未完成,下一轮可以改组。因此评价器和停止条件也是系统的一部分,不是聊天次数越多越好。

输出是什么?

AgentVerse让模型根据任务招募角色,再经过讨论、行动和评价决定下一轮如何调整。重要发现不是“多智能体永远更好”:论文自己的数学与创作结果显示,较弱底座可能被其他成员的错误反馈带偏。

适用边界是什么?

编程、工具和软件界面的证据形式不同:代码有测试通过率,工具利用只有小规模任务,界面完善度还有个案展示。个案能说明协作可能如何起作用,却不能替代大样本可靠性结论。它最可借鉴的是闭环组织方式,是否有效仍取决于底座、反馈可信度与任务。

还有什么未解决?

核查建议:这些对照直接反驳“人数越多越聪明”,也提醒读者把角色多样性与判断正确性分开,该边界在替换底座与评价协议后是否保持?

技术附录

问题与已有方法

问题设定

它解决的是不同任务应如何配置协作团队,而不是训练新的语言模型。一个招募者根据目标生成专家角色描述,专家在共享任务下合作;反馈会影响下一轮组队。角色描述只是提示配置,不能等同真实专业资格,也不能默认不同角色具有独立知识。 它解决的是不同任务应如何配置协作团队,而不是训练新的语言模型。

方法与组成

核心思路

框架区分横向与纵向协作:横向让多个成员分别给出意见再汇总;纵向由一个求解者提方案,其他成员审阅,求解者反复修改。最终行动在环境中执行,环境状态再交给评价阶段。若目标未完成,下一轮可以改组。因此评价器和停止条件也是系统的一部分,不是聊天次数越多越好。

主要发现

  • 标题

    主要比较

    证据

    GPT-4在逻辑谜题中,CoT为59.5、Solo为64.0、Group为66.5;但数学任务中Group为95.2,低于Solo的96.0,与CoT相同。因此可以说协作在某些任务带来额外收益,不能从框架名称推导出全任务优势。不同任务采用各自评价,分数也不应混成统一能力值。

    限制

    只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。

    原文定位

    PDF p.4, Table 1

  • 标题

    反例或对照

    证据

    较弱的GPT-3.5-Turbo在数学上Solo为82.4,Group为80.8;创作Solo为93.6,Group为92.3。作者把容易接受错误反馈作为解释方向。这些对照直接反驳“人数越多越聪明”,也提醒读者把角色多样性与判断正确性分开。

    限制

    只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。

    原文定位

    PDF p.4, Table 1 and discussion

概念定位

是什么

框架区分横向与纵向协作:横向让多个成员分别给出意见再汇总;纵向由一个求解者提方案,其他成员审阅,求解者反复修改。最终行动在环境中执行,环境状态再交给评价阶段。若目标未完成,下一轮可以改组。因此评价器和停止条件也是系统的一部分,不是聊天次数越多越好。

为什么重要

它解决的是不同任务应如何配置协作团队,而不是训练新的语言模型。一个招募者根据目标生成专家角色描述,专家在共享任务下合作;反馈会影响下一轮组队。角色描述只是提示配置,不能等同真实专业资格,也不能默认不同角色具有独立知识。

图表导读

  • PDF 页

    4

    标题

    原文 PDF p.4 的图表

    解释

    已实际查看图像,核对本文使用的图表内容;展示案例与定量结果分别解释。

核心概念

  • 名称

    AgentVerse

    解释

    框架区分横向与纵向协作:横向让多个成员分别给出意见再汇总;纵向由一个求解者提方案,其他成员审阅,求解者反复修改。最终行动在环境中执行,环境状态再交给评价阶段。若目标未完成,下一轮可以改组。因此评价器和停止条件也是系统的一部分,不是聊天次数越多越好。

    原文定位

    PDF p.3, Sections 2.2–2.3

    证据来源

    paper_supported

章节阅读

  • 页码

    1

    作用

    identity

    关键问题

    标题作者与版本

    状态

    read

  • 页码

    3

    作用

    method

    关键问题

    Section 2

    状态

    read

  • 页码

    3

    作用

    method

    关键问题

    Sections 2.2–2.3

    状态

    read

  • 页码

    4

    作用

    method

    关键问题

    Section 3 setup

    状态

    read

  • 页码

    4

    作用

    result

    关键问题

    Table 1

    状态

    read

  • 页码

    4

    作用

    result

    关键问题

    Table 1 and discussion

    状态

    read

  • 页码

    6

    作用

    limitation

    关键问题

    Table 2; tool-use case study

    状态

    read

批判性阅读

最低充分结论

AgentVerse让模型根据任务招募角色,再经过讨论、行动和评价决定下一轮如何调整。重要发现不是“多智能体永远更好”:论文自己的数学与创作结果显示,较弱底座可能被其他成员的错误反馈带偏。

继续阅读

相关论文

同一研究空间