先说结论
ADAS让元代理编写、评估并迭代代理代码,把系统结构本身变成搜索对象。它在多个领域有收益,但迁移并非每个设计、每个任务都领先。 (原文:PDF p.3, Section 3;PDF p.3, Meta Agent Search;PDF p.7, experimental setup;PDF p.7, Table 1;PDF p.8, Table 2;PDF p.8, Table 2; Generalization discussion)
指标:Automated Design of Agentic Systems把“怎样组织模型调用”本身作为搜索问题。手工设计提示、反思步骤和协作结构需要反复试验;ADAS让一个元代理编写并评估候选代理代码,在历史候选和反馈的基础上继续提出新设计。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
Published as a conference paper at ICLR 2025 prompts, tool use, workflows, and more. Furthermore, with recent FMs being increasingly proficient in coding, we can use FMs as meta agents to create new agents in code for ADAS, enabling novel agents to be programmed in an automated manner. Following the aforementioned ideas, we present Meta Agent Search in this paper as one of the first algorithms in ADAS that enables complete design in code space (Figure 1). The core concept of Meta Agent Search is to instruct a meta agent to iteratively create interestingly new agents, evaluate them, add them to an archive that stores discovered agents, and use this archive to help the meta agent in subsequent iterations create yet more interestingly new agents. Similar to existing open-endedness algorithms that leverage human notions of interestingness (Zhang et al., 2024a; Lu et al., 2024c), we encourage the meta agent to explore interesting (e.g., novel or worthwhile) agents. To validate the proposed approach, we evaluate the proposed Meta Agent Search on: (1) the challenging ARC logic puzzle task (Chollet, 2019) that aims to test the general intelligence of an AI system, (2) four popular benchmarks on reading comprehension, math, science questions, and multi-task problem solving, and (3) the transferability of discovered agents to held-out domains and models (Section 4). Our experiments show that the discovered agents substantially outperform state-of-the-art hand- designed baselines. For instance, our agents improve F1 scores on reading comprehension tasks in DROP (Dua et al., 2019) by 13.6/100 and accuracy rates on math tasks in MGSM (Shi et al., 2023) by 14.4%. Additionally, they improve accuracy over baselines by 25.9% and 13.2% on GSM8K (Cobbe et al., 2021) and GSM-Hard (Gao et al., 2023) math tasks, respectively, after trans- ferring across domains. The promising performance of our algorithm over hand-designed solutions illustrates the potential of ADAS in automating the design of agentic systems. Furthermore, the experiments demonstrate that the discovered agents not only perform well when transferring across similar domains but also exhibit strong performance when transferring across dissimilar domains, such as from mathematics to reading comprehension. This highlights the robustness and transfer- ability of the agentic systems discovered by Meta Agent Search. In conclusion, our work opens up many exciting research directions and encourages further studies (Section 6). 2 AUTOMATED D ESIGN OF AGENTIC S YSTEMS (ADAS) Search Space Search Algorithm Evaluation Function Sample New Agent Where is the capital of Canada Ottawa 1 +1=? Agent LLM …… E.g. Agents defined by code E.g. LLM defines agents using code Evaluate the E.g. Accuracy on the task Objectives Figure 2: The three key components of Automated Design of Agentic Systems (ADAS). The search space determines which agentic systems can be represented in ADAS. The search algorithm specifies how the ADAS method explores the search space. The evaluation function defines how to evaluate a candidate agent on target objectives such as performance. At the time of writing, the community has not reached a consensus on the definitions or terminolo- gies of agents. Here, by agents we refer to agentic systems that involve Foundation Models (FMs) as modules in the workflow to solve tasks by planning, using tools, and carrying out multiple, iterative steps of processing (Chase, 2024; Ng, 2024). In this paper, we describe a newly forming research area Automated Design of Agentic Systems (ADAS). Similar to research areas in AI-GAs (Clune, 2019) and AutoML (Hutter et al., 2019), such as Neural Architecture Search (Elsken et al., 2019), we formulate ADAS as an optimization process and identify three key components of ADAS algorithms (Figure 2). Formulation Automated Design of Agentic Systems (ADAS) involves using a search algorithm to dis- cover agentic systems across a search space that optimize an evaluation function. 3
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:输入包括任务、允许使用的基础接口和已有候选记录。元代理提出代码,实现模型调用、推理与信息交换的方式;候选运行后得到任务反馈,连同实现放回档案供后续搜索参考。输出是可执行代理设计,而不是直接更新基础模型参数。评估环境与搜索预算是方法的一部分。
条件:仅限本地原始PDF的 Meta Agent Search;不同表格与实验不合并
PDF p.3, Meta Agent Search · PDF p.3
Published as a conference paper at ICLR 2025 prompts, tool use, workflows, and more. Furthermore, with recent FMs being increasingly proficient in coding, we can use FMs as meta agents to create new agents in code for ADAS, enabling novel agents to be programmed in an automated manner. Following the aforementioned ideas, we present Meta Agent Search in this paper as one of the first algorithms in ADAS that enables complete design in code space (Figure 1). The core concept of Meta Agent Search is to instruct a meta agent to iteratively create interestingly new agents, evaluate them, add them to an archive that stores discovered agents, and use this archive to help the meta agent in subsequent iterations create yet more interestingly new agents. Similar to existing open-endedness algorithms that leverage human notions of interestingness (Zhang et al., 2024a; Lu et al., 2024c), we encourage the meta agent to explore interesting (e.g., novel or worthwhile) agents. To validate the proposed approach, we evaluate the proposed Meta Agent Search on: (1) the challenging ARC logic puzzle task (Chollet, 2019) that aims to test the general intelligence of an AI system, (2) four popular benchmarks on reading comprehension, math, science questions, and multi-task problem solving, and (3) the transferability of discovered agents to held-out domains and models (Section 4). Our experiments show that the discovered agents substantially outperform state-of-the-art hand- designed baselines. For instance, our agents improve F1 scores on reading comprehension tasks in DROP (Dua et al., 2019) by 13.6/100 and accuracy rates on math tasks in MGSM (Shi et al., 2023) by 14.4%. Additionally, they improve accuracy over baselines by 25.9% and 13.2% on GSM8K (Cobbe et al., 2021) and GSM-Hard (Gao et al., 2023) math tasks, respectively, after trans- ferring across domains. The promising performance of our algorithm over hand-designed solutions illustrates the potential of ADAS in automating the design of agentic systems. Furthermore, the experiments demonstrate that the discovered agents not only perform well when transferring across similar domains but also exhibit strong performance when transferring across dissimilar domains, such as from mathematics to reading comprehension. This highlights the robustness and transfer- ability of the agentic systems discovered by Meta Agent Search. In conclusion, our work opens up many exciting research directions and encourages further studies (Section 6). 2 AUTOMATED D ESIGN OF AGENTIC S YSTEMS (ADAS) Search Space Search Algorithm Evaluation Function Sample New Agent Where is the capital of Canada Ottawa 1 +1=? Agent LLM …… E.g. Agents defined by code E.g. LLM defines agents using code Evaluate the E.g. Accuracy on the task Objectives Figure 2: The three key components of Automated Design of Agentic Systems (ADAS). The search space determines which agentic systems can be represented in ADAS. The search algorithm specifies how the ADAS method explores the search space. The evaluation function defines how to evaluate a candidate agent on target objectives such as performance. At the time of writing, the community has not reached a consensus on the definitions or terminolo- gies of agents. Here, by agents we refer to agentic systems that involve Foundation Models (FMs) as modules in the workflow to solve tasks by planning, using tools, and carrying out multiple, iterative steps of processing (Chase, 2024; Ng, 2024). In this paper, we describe a newly forming research area Automated Design of Agentic Systems (ADAS). Similar to research areas in AI-GAs (Clune, 2019) and AutoML (Hutter et al., 2019), such as Neural Architecture Search (Elsken et al., 2019), we formulate ADAS as an optimization process and identify three key components of ADAS algorithms (Figure 2). Formulation Automated Design of Agentic Systems (ADAS) involves using a search algorithm to dis- cover agentic systems across a search space that optimize an evaluation function. 3
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:主实验分别在数学、阅读理解、多任务知识、科学问答等领域进行代理搜索,再与人工设计及自动优化方法比较。迁移到其他任务的实验另外报告;必须先区分重新搜索与复用已搜索设计。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.7, experimental setup · PDF p.7
Published as a conference paper at ICLR 2025 4 (OpenAI, 2024), while the discovered agents and baselines are evaluated using GPT-3.5 (OpenAI, 2022). More details about datasets and experiment settings can be found in Appendix E. Baselines. We adopt all baselines introduced in Section 4.1. Additionally, since the above do- mains require strong reasoning skills, we include two additional baselines that specifically focus on enhancing the reasoning capabilities of agents for a more thorough comparison: (1) Step-back Abstraction (Zheng et al., 2023), which instructs agents to first consider the principles involved in solving the task for better reasoning; (2) Role Assignment (Xu et al., 2023), which assigns different roles to FMs to obtain better answers. Furthermore, we compare our approach with the state-of-the- art prompt optimization baseline OPRO (Yang et al., 2024) to highlight the advantages of learning all possible components of agents rather than focusing solely on prompts. More details about the baselines can be found in Appendix F. Table 1: Performance comparison between Meta Agent Search and state-of-the-art hand- designed agents across multiple domains. Meta Agent Search discovers superior agents compared to the baselines in every domain. We report the test accuracy and the 95% bootstrap confidence in- terval on held-out test sets. The search is conducted independently for each domain. Here, and in all tables below, we bold the entry with the highest performance for each domain, as well as all entries whose median falls within the 95% confidence interval of the highest-performing treatment. F1 Score Accuracy (%) Agent Name Reading Comprehension Math Multi-task Science State-of-the-art Hand-designed Agents Chain-of-Thought (Wei et al., 2022) 64.2 ± 0.9 28.0 ± 3.1 65.4 ± 3.3 29.2 ± 3.1 COT-SC (Wang et al., 2023b) 64.4 ± 0.8 28.2 ± 3.1 65.9 ± 3.2 30.5 ± 3.2 Self-Refine (Madaan et al., 2024) 59.2 ± 0.9 27.5 ± 3.1 63.5 ± 3.4 31.6 ± 3.2 LLM Debate (Du et al., 2023) 60.6 ± 0.9 39.0 ± 3.4 65.6 ± 3.3 31.4 ± 3.2 Step-back Abstraction (Zheng et al., 2023) 60.4 ± 1.0 31.1 ± 3.2 65.1 ± 3.3 26.9 ± 3.0 Quality-Diversity (Lu et al., 2024c) 61.8 ± 0.9 23.8 ± 3.0 65.1 ± 3.3 30.2 ± 3.1 Role Assignment (Xu et al., 2023) 65.8 ± 0.9 30.1 ± 3.2 64.5 ± 3.3 31.1 ± 3.1 Automated Design of Agentic Systems on Different Domains Prompt Optimization (Yang et al., 2024) 69.1 ± 0.9 30.6 ± 3.2 67.6 ± 3.2 32.9 ± 3.2 Meta Agent Search (Ours) 79.4 ± 0.8 53.4 ± 3.5 69.6 ± 3.2 34.6 ± 3.2 Results and Analysis. The results across multiple domains demonstrate that Meta Agent Search can discover agents that outperform state-of-the-art hand-designed agents (Table 1). We want to highlight the substantial gap between the learned agents and hand-designed agents in the Reading Comprehension and Math domains, with improvements in F1 scores by 13.6/100 and accuracy rates by 14.4%, respectively. While Meta Agent Search also outperforms baselines in the Multi-task and Science domains, the gap is smaller. We hypothesize that for challenging questions in the Science and Multi-task domains, the knowledge in FMs is not sufficient to solve the questions, limiting the improvement through optimizing agentic systems, which is a problem that will diminish as FMs improve. In contrast, in the Reading Comprehension and Math domains, FMs possess adequate knowledge to solve the questions, and errors could mainly be hallucinations or calculation mistakes, which can be mitigated through well-designed agentic systems, like the ones discovered by Meta Agent Search. Additionally, when compared to prompt optimization methods, the results demon- strate that our proposed Meta Agent Search consistently outperforms them across all domains. This comparison further strengthens our argument that defining agents in code and enabling the learning of all components offer significant advantages. Overall, the results across various domains showcase the effectiveness of Meta Agent Search in searching for agents tailored to specific domains. This could be increasingly useful for saving human efforts and developing better task-specific agents as we continue to create agents for a diverse set of applications (Wang et al., 2024). 4.3 G ENERALIZATION AND TRANSFERABILITY In the previous sections, we illustrated that Meta Agent Search can find effective agents for in- dividual tasks. In this section, we further demonstrate the transferability and generalizability of the discovered agents. To demonstrate the generalizability of the invented building blocks and de- 7
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:MGSM中,搜索结果为53.4±3.5,人工设计的Debate为39.0±3.4;GPQA中,搜索结果为34.6±3.2,Self-Refine为31.6±3.2。这些数字来自各领域分别搜索的设置,不是同一个代理横扫所有任务。置信区间也不支持把每个数值差异都直接宣布为显著优势。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.7, Table 1 · PDF p.7
Published as a conference paper at ICLR 2025 4 (OpenAI, 2024), while the discovered agents and baselines are evaluated using GPT-3.5 (OpenAI, 2022). More details about datasets and experiment settings can be found in Appendix E. Baselines. We adopt all baselines introduced in Section 4.1. Additionally, since the above do- mains require strong reasoning skills, we include two additional baselines that specifically focus on enhancing the reasoning capabilities of agents for a more thorough comparison: (1) Step-back Abstraction (Zheng et al., 2023), which instructs agents to first consider the principles involved in solving the task for better reasoning; (2) Role Assignment (Xu et al., 2023), which assigns different roles to FMs to obtain better answers. Furthermore, we compare our approach with the state-of-the- art prompt optimization baseline OPRO (Yang et al., 2024) to highlight the advantages of learning all possible components of agents rather than focusing solely on prompts. More details about the baselines can be found in Appendix F. Table 1: Performance comparison between Meta Agent Search and state-of-the-art hand- designed agents across multiple domains. Meta Agent Search discovers superior agents compared to the baselines in every domain. We report the test accuracy and the 95% bootstrap confidence in- terval on held-out test sets. The search is conducted independently for each domain. Here, and in all tables below, we bold the entry with the highest performance for each domain, as well as all entries whose median falls within the 95% confidence interval of the highest-performing treatment. F1 Score Accuracy (%) Agent Name Reading Comprehension Math Multi-task Science State-of-the-art Hand-designed Agents Chain-of-Thought (Wei et al., 2022) 64.2 ± 0.9 28.0 ± 3.1 65.4 ± 3.3 29.2 ± 3.1 COT-SC (Wang et al., 2023b) 64.4 ± 0.8 28.2 ± 3.1 65.9 ± 3.2 30.5 ± 3.2 Self-Refine (Madaan et al., 2024) 59.2 ± 0.9 27.5 ± 3.1 63.5 ± 3.4 31.6 ± 3.2 LLM Debate (Du et al., 2023) 60.6 ± 0.9 39.0 ± 3.4 65.6 ± 3.3 31.4 ± 3.2 Step-back Abstraction (Zheng et al., 2023) 60.4 ± 1.0 31.1 ± 3.2 65.1 ± 3.3 26.9 ± 3.0 Quality-Diversity (Lu et al., 2024c) 61.8 ± 0.9 23.8 ± 3.0 65.1 ± 3.3 30.2 ± 3.1 Role Assignment (Xu et al., 2023) 65.8 ± 0.9 30.1 ± 3.2 64.5 ± 3.3 31.1 ± 3.1 Automated Design of Agentic Systems on Different Domains Prompt Optimization (Yang et al., 2024) 69.1 ± 0.9 30.6 ± 3.2 67.6 ± 3.2 32.9 ± 3.2 Meta Agent Search (Ours) 79.4 ± 0.8 53.4 ± 3.5 69.6 ± 3.2 34.6 ± 3.2 Results and Analysis. The results across multiple domains demonstrate that Meta Agent Search can discover agents that outperform state-of-the-art hand-designed agents (Table 1). We want to highlight the substantial gap between the learned agents and hand-designed agents in the Reading Comprehension and Math domains, with improvements in F1 scores by 13.6/100 and accuracy rates by 14.4%, respectively. While Meta Agent Search also outperforms baselines in the Multi-task and Science domains, the gap is smaller. We hypothesize that for challenging questions in the Science and Multi-task domains, the knowledge in FMs is not sufficient to solve the questions, limiting the improvement through optimizing agentic systems, which is a problem that will diminish as FMs improve. In contrast, in the Reading Comprehension and Math domains, FMs possess adequate knowledge to solve the questions, and errors could mainly be hallucinations or calculation mistakes, which can be mitigated through well-designed agentic systems, like the ones discovered by Meta Agent Search. Additionally, when compared to prompt optimization methods, the results demon- strate that our proposed Meta Agent Search consistently outperforms them across all domains. This comparison further strengthens our argument that defining agents in code and enabling the learning of all components offer significant advantages. Overall, the results across various domains showcase the effectiveness of Meta Agent Search in searching for agents tailored to specific domains. This could be increasingly useful for saving human efforts and developing better task-specific agents as we continue to create agents for a diverse set of applications (Wang et al., 2024). 4.3 G ENERALIZATION AND TRANSFERABILITY In the previous sections, we illustrated that Meta Agent Search can find effective agents for in- dividual tasks. In this section, we further demonstrate the transferability and generalizability of the discovered agents. To demonstrate the generalizability of the invented building blocks and de- 7
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:数学任务搜索出的Dynamic Role-Playing迁移到MMLU为62.4±3.4,而CoT为65.4±3.3;该设计在MGSM为53.4,在GSM8K为69.5。可见迁移能奏效,但不是所有搜索设计在所有领域都优于手写基线。数学数据集之间的迁移与跨领域迁移也不能混称同一种泛化。
条件:仅限本地原始PDF的 Table 2;不同表格与实验不合并
PDF p.8, Table 2 · PDF p.8
Published as a conference paper at ICLR 2025 sign patterns, we transfer discovered agents from the MGSM (Math) domain to both math and non-math domains to test their ability to generalize across different tasks. We evaluate the top 3 agents from MGSM by transferring them to (1) popular math domains: GSM8K (Cobbe et al., 2021), GSM-Hard (Gao et al., 2023), and (2) non-math domains: MMLU (Multi-task) and DROP (Reading Comprehension), as detailed in Section 4.2. As shown in Table 2, Meta Agent Search con- sistently outperforms the baselines. Notably, our agents improve accuracy by 25.9% on GSM8K and 13.2% on GSM-Hard compared to the baselines when transferring within math domains. More surprisingly, we find that agents discovered in the math domain can also be transferred to non-math domains. While their performance does not fully match agents specifically designed for the target domains, they still outperform state-of-the-art hand-designed baselines. More results of transfers across domains are shown in Appendix A. We also observe similar superiority when transferring agents across different FMs on ARC. We test the top 3 agents with the best test accuracy evaluated with GPT-3.5 on ARC and then transfer them to Claude-Haiku (Anthropic, 2024a), GPT-4 (OpenAI, 2024), and Claude-Sonnet (Anthropic, 2024b). As shown in Table 3, we observe that the searched agents consistently outperform the hand- designed agents, with a substantial gap. Notably, we found that Claude-Sonnet, the most powerful model from Anthropic, performs the best among all tested models, enabling our best agent to achieve nearly 50% accuracy on ARC. These results on transferring across domains and models highlight Meta Agent Search ’s ability to discover generalizable design patterns and agentic systems. Table 2: Performance on held-out math and non-math domains when transferring top agents from MGSM (Math). GSM8K and GSM-Hard are the held-out math domains, while MMLU is for Multi-task, and DROP is for Reading Comprehension. Agents discovered by Meta Agent Search consistently outperform the baselines across all domains. We report the test accuracy and the 95% bootstrap confidence interval. The names of the top agents are generated by Meta Agent Search. Accuracy (%) F1 Score Agent Name MGSM GSM8K GSM-Hard MMLU DROP Manually Designed Agents Chain-of-Thought (Wei et al., 2022) 28.0 ± 3.1 34.9 ± 3.2 15.0 ± 2.5 65.4 ± 3.3 64.2 ± 0.9 COT-SC (Wang et al., 2023b) 28.2 ± 3.1 37.8 ± 3.4 15.5 ± 2.5 65.9 ± 3.2 64.4 ± 0.8 Self-Refine (Madaan et al., 2024) 27.5 ± 3.1 38.9 ± 3.4 15.1 ± 2.4 63.5 ± 3.4 59.2 ± 0.9 LLM Debate (Du et al., 2023) 39.0 ± 3.4 43.6 ± 3.4 17.4 ± 2.6 65.6 ± 3.3 60.6 ± 0.9 Step-back Abstraction (Zheng et al., 2023) 31.1 ± 3.2 31.5 ± 3.3 12.2 ± 2.3 65.1 ± 3.3 60.4 ± 1.0 Quality-Diversity (Lu et al., 2024c) 23.8 ± 3.0 28.0 ± 3.1 14.1 ± 2.4 65.1 ± 3.1 61.8 ± 0.9 Role Assignment (Xu et al., 2023) 30.1 ± 3.2 37.0 ± 3.4 18.0 ± 2.7 64.5 ± 3.3 65.8 ± 0.9 Top Agents Searched on MGSM (Math) Transferred within Transferred beyond Math Domains Math Domains Dynamic Role-Playing Architecture 53.4 ± 3.5 69.5 ± 3.2 31.2 ± 3.2 62.4 ± 3.4 70.4 ± 0.9 Structured Multimodal Feedback Loop 50.2 ± 3.5 64.5 ± 3.4 30.1 ± 3.2 67.0 ± 3.2 70.4 ± 0.9 Interactive Multimodal Feedback Loop 47.4 ± 3.5 64.9 ± 3.3 27.6 ± 3.2 64.8 ± 3.3 71.9 ± 0.8 5 R ELATED W ORK Agentic Systems. Researchers develop various building blocks and design patterns for different applications. Important building blocks for agentic systems include: prompting techniques (Chen et al., 2023a; Schulhoff et al., 2024), chain-of-thought-based planning and reasoning methods (Wei et al., 2022; Yao et al., 2023; Hu & Clune, 2024), reflection (Madaan et al., 2024; Shinn et al., 2023), developing new skills for embodied agents in code (Wang et al., 2023a; Vemprala et al., 2023), external memory and RAG (Zhang et al., 2024c; Lewis et al., 2020), tool use (Qu et al., 2024; Schick et al., 2023; Nakano et al., 2021), assigning FM modules in the agentic system with different roles and enabling them to collaborate (Hong et al., 2023; Wu et al., 2023; Qian et al., 2023; Xu et al., 2023; Qian et al., 2024), and enabling the agent to instruct itself for the next action (Richards, 2023), etc. While the community has invested substantial effort in developing all the above important techniques, this is only a partial list of the discovered building blocks, and many more remain to be 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:迁移实验有助于检验设计是否只适合搜索任务,却不能消除所有过拟合或选择偏差。应同时看具体设计、目标任务和对照,保留迁移失败或不领先的行。代码空间更灵活带来的是更多候选结构,并非对自动发现最佳算法的保证。
条件:仅限本地原始PDF的 Table 2; Generalization discussion;不同表格与实验不合并
PDF p.8, Table 2; Generalization discussion · PDF p.8
Published as a conference paper at ICLR 2025 sign patterns, we transfer discovered agents from the MGSM (Math) domain to both math and non-math domains to test their ability to generalize across different tasks. We evaluate the top 3 agents from MGSM by transferring them to (1) popular math domains: GSM8K (Cobbe et al., 2021), GSM-Hard (Gao et al., 2023), and (2) non-math domains: MMLU (Multi-task) and DROP (Reading Comprehension), as detailed in Section 4.2. As shown in Table 2, Meta Agent Search con- sistently outperforms the baselines. Notably, our agents improve accuracy by 25.9% on GSM8K and 13.2% on GSM-Hard compared to the baselines when transferring within math domains. More surprisingly, we find that agents discovered in the math domain can also be transferred to non-math domains. While their performance does not fully match agents specifically designed for the target domains, they still outperform state-of-the-art hand-designed baselines. More results of transfers across domains are shown in Appendix A. We also observe similar superiority when transferring agents across different FMs on ARC. We test the top 3 agents with the best test accuracy evaluated with GPT-3.5 on ARC and then transfer them to Claude-Haiku (Anthropic, 2024a), GPT-4 (OpenAI, 2024), and Claude-Sonnet (Anthropic, 2024b). As shown in Table 3, we observe that the searched agents consistently outperform the hand- designed agents, with a substantial gap. Notably, we found that Claude-Sonnet, the most powerful model from Anthropic, performs the best among all tested models, enabling our best agent to achieve nearly 50% accuracy on ARC. These results on transferring across domains and models highlight Meta Agent Search ’s ability to discover generalizable design patterns and agentic systems. Table 2: Performance on held-out math and non-math domains when transferring top agents from MGSM (Math). GSM8K and GSM-Hard are the held-out math domains, while MMLU is for Multi-task, and DROP is for Reading Comprehension. Agents discovered by Meta Agent Search consistently outperform the baselines across all domains. We report the test accuracy and the 95% bootstrap confidence interval. The names of the top agents are generated by Meta Agent Search. Accuracy (%) F1 Score Agent Name MGSM GSM8K GSM-Hard MMLU DROP Manually Designed Agents Chain-of-Thought (Wei et al., 2022) 28.0 ± 3.1 34.9 ± 3.2 15.0 ± 2.5 65.4 ± 3.3 64.2 ± 0.9 COT-SC (Wang et al., 2023b) 28.2 ± 3.1 37.8 ± 3.4 15.5 ± 2.5 65.9 ± 3.2 64.4 ± 0.8 Self-Refine (Madaan et al., 2024) 27.5 ± 3.1 38.9 ± 3.4 15.1 ± 2.4 63.5 ± 3.4 59.2 ± 0.9 LLM Debate (Du et al., 2023) 39.0 ± 3.4 43.6 ± 3.4 17.4 ± 2.6 65.6 ± 3.3 60.6 ± 0.9 Step-back Abstraction (Zheng et al., 2023) 31.1 ± 3.2 31.5 ± 3.3 12.2 ± 2.3 65.1 ± 3.3 60.4 ± 1.0 Quality-Diversity (Lu et al., 2024c) 23.8 ± 3.0 28.0 ± 3.1 14.1 ± 2.4 65.1 ± 3.1 61.8 ± 0.9 Role Assignment (Xu et al., 2023) 30.1 ± 3.2 37.0 ± 3.4 18.0 ± 2.7 64.5 ± 3.3 65.8 ± 0.9 Top Agents Searched on MGSM (Math) Transferred within Transferred beyond Math Domains Math Domains Dynamic Role-Playing Architecture 53.4 ± 3.5 69.5 ± 3.2 31.2 ± 3.2 62.4 ± 3.4 70.4 ± 0.9 Structured Multimodal Feedback Loop 50.2 ± 3.5 64.5 ± 3.4 30.1 ± 3.2 67.0 ± 3.2 70.4 ± 0.9 Interactive Multimodal Feedback Loop 47.4 ± 3.5 64.9 ± 3.3 27.6 ± 3.2 64.8 ± 3.3 71.9 ± 0.8 5 R ELATED W ORK Agentic Systems. Researchers develop various building blocks and design patterns for different applications. Important building blocks for agentic systems include: prompting techniques (Chen et al., 2023a; Schulhoff et al., 2024), chain-of-thought-based planning and reasoning methods (Wei et al., 2022; Yao et al., 2023; Hu & Clune, 2024), reflection (Madaan et al., 2024; Shinn et al., 2023), developing new skills for embodied agents in code (Wang et al., 2023a; Vemprala et al., 2023), external memory and RAG (Zhang et al., 2024c; Lewis et al., 2020), tool use (Qu et al., 2024; Schick et al., 2023; Nakano et al., 2021), assigning FM modules in the agentic system with different roles and enabling them to collaborate (Hong et al., 2023; Wu et al., 2023; Qian et al., 2023; Xu et al., 2023; Qian et al., 2024), and enabling the agent to instruct itself for the next action (Richards, 2023), etc. While the community has invested substantial effort in developing all the above important techniques, this is only a partial list of the discovered building blocks, and many more remain to be 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
论文为什么要做这件事
Automated Design of Agentic Systems把“怎样组织模型调用”本身作为搜索问题。手工设计提示、反思步骤和协作结构需要反复试验;ADAS让一个元代理编写并评估候选代理代码,在历史候选和反馈的基础上继续提出新设计。 (原文:PDF p.3, Section 3)
指标:Automated Design of Agentic Systems把“怎样组织模型调用”本身作为搜索问题。手工设计提示、反思步骤和协作结构需要反复试验;ADAS让一个元代理编写并评估候选代理代码,在历史候选和反馈的基础上继续提出新设计。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
Published as a conference paper at ICLR 2025 prompts, tool use, workflows, and more. Furthermore, with recent FMs being increasingly proficient in coding, we can use FMs as meta agents to create new agents in code for ADAS, enabling novel agents to be programmed in an automated manner. Following the aforementioned ideas, we present Meta Agent Search in this paper as one of the first algorithms in ADAS that enables complete design in code space (Figure 1). The core concept of Meta Agent Search is to instruct a meta agent to iteratively create interestingly new agents, evaluate them, add them to an archive that stores discovered agents, and use this archive to help the meta agent in subsequent iterations create yet more interestingly new agents. Similar to existing open-endedness algorithms that leverage human notions of interestingness (Zhang et al., 2024a; Lu et al., 2024c), we encourage the meta agent to explore interesting (e.g., novel or worthwhile) agents. To validate the proposed approach, we evaluate the proposed Meta Agent Search on: (1) the challenging ARC logic puzzle task (Chollet, 2019) that aims to test the general intelligence of an AI system, (2) four popular benchmarks on reading comprehension, math, science questions, and multi-task problem solving, and (3) the transferability of discovered agents to held-out domains and models (Section 4). Our experiments show that the discovered agents substantially outperform state-of-the-art hand- designed baselines. For instance, our agents improve F1 scores on reading comprehension tasks in DROP (Dua et al., 2019) by 13.6/100 and accuracy rates on math tasks in MGSM (Shi et al., 2023) by 14.4%. Additionally, they improve accuracy over baselines by 25.9% and 13.2% on GSM8K (Cobbe et al., 2021) and GSM-Hard (Gao et al., 2023) math tasks, respectively, after trans- ferring across domains. The promising performance of our algorithm over hand-designed solutions illustrates the potential of ADAS in automating the design of agentic systems. Furthermore, the experiments demonstrate that the discovered agents not only perform well when transferring across similar domains but also exhibit strong performance when transferring across dissimilar domains, such as from mathematics to reading comprehension. This highlights the robustness and transfer- ability of the agentic systems discovered by Meta Agent Search. In conclusion, our work opens up many exciting research directions and encourages further studies (Section 6). 2 AUTOMATED D ESIGN OF AGENTIC S YSTEMS (ADAS) Search Space Search Algorithm Evaluation Function Sample New Agent Where is the capital of Canada Ottawa 1 +1=? Agent LLM …… E.g. Agents defined by code E.g. LLM defines agents using code Evaluate the E.g. Accuracy on the task Objectives Figure 2: The three key components of Automated Design of Agentic Systems (ADAS). The search space determines which agentic systems can be represented in ADAS. The search algorithm specifies how the ADAS method explores the search space. The evaluation function defines how to evaluate a candidate agent on target objectives such as performance. At the time of writing, the community has not reached a consensus on the definitions or terminolo- gies of agents. Here, by agents we refer to agentic systems that involve Foundation Models (FMs) as modules in the workflow to solve tasks by planning, using tools, and carrying out multiple, iterative steps of processing (Chase, 2024; Ng, 2024). In this paper, we describe a newly forming research area Automated Design of Agentic Systems (ADAS). Similar to research areas in AI-GAs (Clune, 2019) and AutoML (Hutter et al., 2019), such as Neural Architecture Search (Elsken et al., 2019), we formulate ADAS as an optimization process and identify three key components of ADAS algorithms (Figure 2). Formulation Automated Design of Agentic Systems (ADAS) involves using a search algorithm to dis- cover agentic systems across a search space that optimize an evaluation function. 3
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
核心方法到底怎么运转
输入包括任务、允许使用的基础接口和已有候选记录。元代理提出代码,实现模型调用、推理与信息交换的方式;候选运行后得到任务反馈,连同实现放回档案供后续搜索参考。输出是可执行代理设计,而不是直接更新基础模型参数。评估环境与搜索预算是方法的一部分。 (原文:PDF p.3, Meta Agent Search)
指标:输入包括任务、允许使用的基础接口和已有候选记录。元代理提出代码,实现模型调用、推理与信息交换的方式;候选运行后得到任务反馈,连同实现放回档案供后续搜索参考。输出是可执行代理设计,而不是直接更新基础模型参数。评估环境与搜索预算是方法的一部分。
条件:仅限本地原始PDF的 Meta Agent Search;不同表格与实验不合并
PDF p.3, Meta Agent Search · PDF p.3
Published as a conference paper at ICLR 2025 prompts, tool use, workflows, and more. Furthermore, with recent FMs being increasingly proficient in coding, we can use FMs as meta agents to create new agents in code for ADAS, enabling novel agents to be programmed in an automated manner. Following the aforementioned ideas, we present Meta Agent Search in this paper as one of the first algorithms in ADAS that enables complete design in code space (Figure 1). The core concept of Meta Agent Search is to instruct a meta agent to iteratively create interestingly new agents, evaluate them, add them to an archive that stores discovered agents, and use this archive to help the meta agent in subsequent iterations create yet more interestingly new agents. Similar to existing open-endedness algorithms that leverage human notions of interestingness (Zhang et al., 2024a; Lu et al., 2024c), we encourage the meta agent to explore interesting (e.g., novel or worthwhile) agents. To validate the proposed approach, we evaluate the proposed Meta Agent Search on: (1) the challenging ARC logic puzzle task (Chollet, 2019) that aims to test the general intelligence of an AI system, (2) four popular benchmarks on reading comprehension, math, science questions, and multi-task problem solving, and (3) the transferability of discovered agents to held-out domains and models (Section 4). Our experiments show that the discovered agents substantially outperform state-of-the-art hand- designed baselines. For instance, our agents improve F1 scores on reading comprehension tasks in DROP (Dua et al., 2019) by 13.6/100 and accuracy rates on math tasks in MGSM (Shi et al., 2023) by 14.4%. Additionally, they improve accuracy over baselines by 25.9% and 13.2% on GSM8K (Cobbe et al., 2021) and GSM-Hard (Gao et al., 2023) math tasks, respectively, after trans- ferring across domains. The promising performance of our algorithm over hand-designed solutions illustrates the potential of ADAS in automating the design of agentic systems. Furthermore, the experiments demonstrate that the discovered agents not only perform well when transferring across similar domains but also exhibit strong performance when transferring across dissimilar domains, such as from mathematics to reading comprehension. This highlights the robustness and transfer- ability of the agentic systems discovered by Meta Agent Search. In conclusion, our work opens up many exciting research directions and encourages further studies (Section 6). 2 AUTOMATED D ESIGN OF AGENTIC S YSTEMS (ADAS) Search Space Search Algorithm Evaluation Function Sample New Agent Where is the capital of Canada Ottawa 1 +1=? Agent LLM …… E.g. Agents defined by code E.g. LLM defines agents using code Evaluate the E.g. Accuracy on the task Objectives Figure 2: The three key components of Automated Design of Agentic Systems (ADAS). The search space determines which agentic systems can be represented in ADAS. The search algorithm specifies how the ADAS method explores the search space. The evaluation function defines how to evaluate a candidate agent on target objectives such as performance. At the time of writing, the community has not reached a consensus on the definitions or terminolo- gies of agents. Here, by agents we refer to agentic systems that involve Foundation Models (FMs) as modules in the workflow to solve tasks by planning, using tools, and carrying out multiple, iterative steps of processing (Chase, 2024; Ng, 2024). In this paper, we describe a newly forming research area Automated Design of Agentic Systems (ADAS). Similar to research areas in AI-GAs (Clune, 2019) and AutoML (Hutter et al., 2019), such as Neural Architecture Search (Elsken et al., 2019), we formulate ADAS as an optimization process and identify three key components of ADAS algorithms (Figure 2). Formulation Automated Design of Agentic Systems (ADAS) involves using a search algorithm to dis- cover agentic systems across a search space that optimize an evaluation function. 3
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
实验怎样检验这个方法
主实验分别在数学、阅读理解、多任务知识、科学问答等领域进行代理搜索,再与人工设计及自动优化方法比较。迁移到其他任务的实验另外报告;必须先区分重新搜索与复用已搜索设计。 (原文:PDF p.7, experimental setup)
指标:主实验分别在数学、阅读理解、多任务知识、科学问答等领域进行代理搜索,再与人工设计及自动优化方法比较。迁移到其他任务的实验另外报告;必须先区分重新搜索与复用已搜索设计。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.7, experimental setup · PDF p.7
Published as a conference paper at ICLR 2025 4 (OpenAI, 2024), while the discovered agents and baselines are evaluated using GPT-3.5 (OpenAI, 2022). More details about datasets and experiment settings can be found in Appendix E. Baselines. We adopt all baselines introduced in Section 4.1. Additionally, since the above do- mains require strong reasoning skills, we include two additional baselines that specifically focus on enhancing the reasoning capabilities of agents for a more thorough comparison: (1) Step-back Abstraction (Zheng et al., 2023), which instructs agents to first consider the principles involved in solving the task for better reasoning; (2) Role Assignment (Xu et al., 2023), which assigns different roles to FMs to obtain better answers. Furthermore, we compare our approach with the state-of-the- art prompt optimization baseline OPRO (Yang et al., 2024) to highlight the advantages of learning all possible components of agents rather than focusing solely on prompts. More details about the baselines can be found in Appendix F. Table 1: Performance comparison between Meta Agent Search and state-of-the-art hand- designed agents across multiple domains. Meta Agent Search discovers superior agents compared to the baselines in every domain. We report the test accuracy and the 95% bootstrap confidence in- terval on held-out test sets. The search is conducted independently for each domain. Here, and in all tables below, we bold the entry with the highest performance for each domain, as well as all entries whose median falls within the 95% confidence interval of the highest-performing treatment. F1 Score Accuracy (%) Agent Name Reading Comprehension Math Multi-task Science State-of-the-art Hand-designed Agents Chain-of-Thought (Wei et al., 2022) 64.2 ± 0.9 28.0 ± 3.1 65.4 ± 3.3 29.2 ± 3.1 COT-SC (Wang et al., 2023b) 64.4 ± 0.8 28.2 ± 3.1 65.9 ± 3.2 30.5 ± 3.2 Self-Refine (Madaan et al., 2024) 59.2 ± 0.9 27.5 ± 3.1 63.5 ± 3.4 31.6 ± 3.2 LLM Debate (Du et al., 2023) 60.6 ± 0.9 39.0 ± 3.4 65.6 ± 3.3 31.4 ± 3.2 Step-back Abstraction (Zheng et al., 2023) 60.4 ± 1.0 31.1 ± 3.2 65.1 ± 3.3 26.9 ± 3.0 Quality-Diversity (Lu et al., 2024c) 61.8 ± 0.9 23.8 ± 3.0 65.1 ± 3.3 30.2 ± 3.1 Role Assignment (Xu et al., 2023) 65.8 ± 0.9 30.1 ± 3.2 64.5 ± 3.3 31.1 ± 3.1 Automated Design of Agentic Systems on Different Domains Prompt Optimization (Yang et al., 2024) 69.1 ± 0.9 30.6 ± 3.2 67.6 ± 3.2 32.9 ± 3.2 Meta Agent Search (Ours) 79.4 ± 0.8 53.4 ± 3.5 69.6 ± 3.2 34.6 ± 3.2 Results and Analysis. The results across multiple domains demonstrate that Meta Agent Search can discover agents that outperform state-of-the-art hand-designed agents (Table 1). We want to highlight the substantial gap between the learned agents and hand-designed agents in the Reading Comprehension and Math domains, with improvements in F1 scores by 13.6/100 and accuracy rates by 14.4%, respectively. While Meta Agent Search also outperforms baselines in the Multi-task and Science domains, the gap is smaller. We hypothesize that for challenging questions in the Science and Multi-task domains, the knowledge in FMs is not sufficient to solve the questions, limiting the improvement through optimizing agentic systems, which is a problem that will diminish as FMs improve. In contrast, in the Reading Comprehension and Math domains, FMs possess adequate knowledge to solve the questions, and errors could mainly be hallucinations or calculation mistakes, which can be mitigated through well-designed agentic systems, like the ones discovered by Meta Agent Search. Additionally, when compared to prompt optimization methods, the results demon- strate that our proposed Meta Agent Search consistently outperforms them across all domains. This comparison further strengthens our argument that defining agents in code and enabling the learning of all components offer significant advantages. Overall, the results across various domains showcase the effectiveness of Meta Agent Search in searching for agents tailored to specific domains. This could be increasingly useful for saving human efforts and developing better task-specific agents as we continue to create agents for a diverse set of applications (Wang et al., 2024). 4.3 G ENERALIZATION AND TRANSFERABILITY In the previous sections, we illustrated that Meta Agent Search can find effective agents for in- dividual tasks. In this section, we further demonstrate the transferability and generalizability of the discovered agents. To demonstrate the generalizability of the invented building blocks and de- 7
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
结果说明了什么
MGSM中,搜索结果为53.4±3.5,人工设计的Debate为39.0±3.4;GPQA中,搜索结果为34.6±3.2,Self-Refine为31.6±3.2。这些数字来自各领域分别搜索的设置,不是同一个代理横扫所有任务。置信区间也不支持把每个数值差异都直接宣布为显著优势。 (原文:PDF p.7, Table 1)
指标:MGSM中,搜索结果为53.4±3.5,人工设计的Debate为39.0±3.4;GPQA中,搜索结果为34.6±3.2,Self-Refine为31.6±3.2。这些数字来自各领域分别搜索的设置,不是同一个代理横扫所有任务。置信区间也不支持把每个数值差异都直接宣布为显著优势。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.7, Table 1 · PDF p.7
Published as a conference paper at ICLR 2025 4 (OpenAI, 2024), while the discovered agents and baselines are evaluated using GPT-3.5 (OpenAI, 2022). More details about datasets and experiment settings can be found in Appendix E. Baselines. We adopt all baselines introduced in Section 4.1. Additionally, since the above do- mains require strong reasoning skills, we include two additional baselines that specifically focus on enhancing the reasoning capabilities of agents for a more thorough comparison: (1) Step-back Abstraction (Zheng et al., 2023), which instructs agents to first consider the principles involved in solving the task for better reasoning; (2) Role Assignment (Xu et al., 2023), which assigns different roles to FMs to obtain better answers. Furthermore, we compare our approach with the state-of-the- art prompt optimization baseline OPRO (Yang et al., 2024) to highlight the advantages of learning all possible components of agents rather than focusing solely on prompts. More details about the baselines can be found in Appendix F. Table 1: Performance comparison between Meta Agent Search and state-of-the-art hand- designed agents across multiple domains. Meta Agent Search discovers superior agents compared to the baselines in every domain. We report the test accuracy and the 95% bootstrap confidence in- terval on held-out test sets. The search is conducted independently for each domain. Here, and in all tables below, we bold the entry with the highest performance for each domain, as well as all entries whose median falls within the 95% confidence interval of the highest-performing treatment. F1 Score Accuracy (%) Agent Name Reading Comprehension Math Multi-task Science State-of-the-art Hand-designed Agents Chain-of-Thought (Wei et al., 2022) 64.2 ± 0.9 28.0 ± 3.1 65.4 ± 3.3 29.2 ± 3.1 COT-SC (Wang et al., 2023b) 64.4 ± 0.8 28.2 ± 3.1 65.9 ± 3.2 30.5 ± 3.2 Self-Refine (Madaan et al., 2024) 59.2 ± 0.9 27.5 ± 3.1 63.5 ± 3.4 31.6 ± 3.2 LLM Debate (Du et al., 2023) 60.6 ± 0.9 39.0 ± 3.4 65.6 ± 3.3 31.4 ± 3.2 Step-back Abstraction (Zheng et al., 2023) 60.4 ± 1.0 31.1 ± 3.2 65.1 ± 3.3 26.9 ± 3.0 Quality-Diversity (Lu et al., 2024c) 61.8 ± 0.9 23.8 ± 3.0 65.1 ± 3.3 30.2 ± 3.1 Role Assignment (Xu et al., 2023) 65.8 ± 0.9 30.1 ± 3.2 64.5 ± 3.3 31.1 ± 3.1 Automated Design of Agentic Systems on Different Domains Prompt Optimization (Yang et al., 2024) 69.1 ± 0.9 30.6 ± 3.2 67.6 ± 3.2 32.9 ± 3.2 Meta Agent Search (Ours) 79.4 ± 0.8 53.4 ± 3.5 69.6 ± 3.2 34.6 ± 3.2 Results and Analysis. The results across multiple domains demonstrate that Meta Agent Search can discover agents that outperform state-of-the-art hand-designed agents (Table 1). We want to highlight the substantial gap between the learned agents and hand-designed agents in the Reading Comprehension and Math domains, with improvements in F1 scores by 13.6/100 and accuracy rates by 14.4%, respectively. While Meta Agent Search also outperforms baselines in the Multi-task and Science domains, the gap is smaller. We hypothesize that for challenging questions in the Science and Multi-task domains, the knowledge in FMs is not sufficient to solve the questions, limiting the improvement through optimizing agentic systems, which is a problem that will diminish as FMs improve. In contrast, in the Reading Comprehension and Math domains, FMs possess adequate knowledge to solve the questions, and errors could mainly be hallucinations or calculation mistakes, which can be mitigated through well-designed agentic systems, like the ones discovered by Meta Agent Search. Additionally, when compared to prompt optimization methods, the results demon- strate that our proposed Meta Agent Search consistently outperforms them across all domains. This comparison further strengthens our argument that defining agents in code and enabling the learning of all components offer significant advantages. Overall, the results across various domains showcase the effectiveness of Meta Agent Search in searching for agents tailored to specific domains. This could be increasingly useful for saving human efforts and developing better task-specific agents as we continue to create agents for a diverse set of applications (Wang et al., 2024). 4.3 G ENERALIZATION AND TRANSFERABILITY In the previous sections, we illustrated that Meta Agent Search can find effective agents for in- dividual tasks. In this section, we further demonstrate the transferability and generalizability of the discovered agents. To demonstrate the generalizability of the invented building blocks and de- 7
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
迁移结果要保留不占优的例子
数学任务搜索出的Dynamic Role-Playing迁移到MMLU为62.4±3.4,而CoT为65.4±3.3;该设计在MGSM为53.4,在GSM8K为69.5。可见迁移能奏效,但不是所有搜索设计在所有领域都优于手写基线。数学数据集之间的迁移与跨领域迁移也不能混称同一种泛化。 (原文:PDF p.8, Table 2)
指标:数学任务搜索出的Dynamic Role-Playing迁移到MMLU为62.4±3.4,而CoT为65.4±3.3;该设计在MGSM为53.4,在GSM8K为69.5。可见迁移能奏效,但不是所有搜索设计在所有领域都优于手写基线。数学数据集之间的迁移与跨领域迁移也不能混称同一种泛化。
条件:仅限本地原始PDF的 Table 2;不同表格与实验不合并
PDF p.8, Table 2 · PDF p.8
Published as a conference paper at ICLR 2025 sign patterns, we transfer discovered agents from the MGSM (Math) domain to both math and non-math domains to test their ability to generalize across different tasks. We evaluate the top 3 agents from MGSM by transferring them to (1) popular math domains: GSM8K (Cobbe et al., 2021), GSM-Hard (Gao et al., 2023), and (2) non-math domains: MMLU (Multi-task) and DROP (Reading Comprehension), as detailed in Section 4.2. As shown in Table 2, Meta Agent Search con- sistently outperforms the baselines. Notably, our agents improve accuracy by 25.9% on GSM8K and 13.2% on GSM-Hard compared to the baselines when transferring within math domains. More surprisingly, we find that agents discovered in the math domain can also be transferred to non-math domains. While their performance does not fully match agents specifically designed for the target domains, they still outperform state-of-the-art hand-designed baselines. More results of transfers across domains are shown in Appendix A. We also observe similar superiority when transferring agents across different FMs on ARC. We test the top 3 agents with the best test accuracy evaluated with GPT-3.5 on ARC and then transfer them to Claude-Haiku (Anthropic, 2024a), GPT-4 (OpenAI, 2024), and Claude-Sonnet (Anthropic, 2024b). As shown in Table 3, we observe that the searched agents consistently outperform the hand- designed agents, with a substantial gap. Notably, we found that Claude-Sonnet, the most powerful model from Anthropic, performs the best among all tested models, enabling our best agent to achieve nearly 50% accuracy on ARC. These results on transferring across domains and models highlight Meta Agent Search ’s ability to discover generalizable design patterns and agentic systems. Table 2: Performance on held-out math and non-math domains when transferring top agents from MGSM (Math). GSM8K and GSM-Hard are the held-out math domains, while MMLU is for Multi-task, and DROP is for Reading Comprehension. Agents discovered by Meta Agent Search consistently outperform the baselines across all domains. We report the test accuracy and the 95% bootstrap confidence interval. The names of the top agents are generated by Meta Agent Search. Accuracy (%) F1 Score Agent Name MGSM GSM8K GSM-Hard MMLU DROP Manually Designed Agents Chain-of-Thought (Wei et al., 2022) 28.0 ± 3.1 34.9 ± 3.2 15.0 ± 2.5 65.4 ± 3.3 64.2 ± 0.9 COT-SC (Wang et al., 2023b) 28.2 ± 3.1 37.8 ± 3.4 15.5 ± 2.5 65.9 ± 3.2 64.4 ± 0.8 Self-Refine (Madaan et al., 2024) 27.5 ± 3.1 38.9 ± 3.4 15.1 ± 2.4 63.5 ± 3.4 59.2 ± 0.9 LLM Debate (Du et al., 2023) 39.0 ± 3.4 43.6 ± 3.4 17.4 ± 2.6 65.6 ± 3.3 60.6 ± 0.9 Step-back Abstraction (Zheng et al., 2023) 31.1 ± 3.2 31.5 ± 3.3 12.2 ± 2.3 65.1 ± 3.3 60.4 ± 1.0 Quality-Diversity (Lu et al., 2024c) 23.8 ± 3.0 28.0 ± 3.1 14.1 ± 2.4 65.1 ± 3.1 61.8 ± 0.9 Role Assignment (Xu et al., 2023) 30.1 ± 3.2 37.0 ± 3.4 18.0 ± 2.7 64.5 ± 3.3 65.8 ± 0.9 Top Agents Searched on MGSM (Math) Transferred within Transferred beyond Math Domains Math Domains Dynamic Role-Playing Architecture 53.4 ± 3.5 69.5 ± 3.2 31.2 ± 3.2 62.4 ± 3.4 70.4 ± 0.9 Structured Multimodal Feedback Loop 50.2 ± 3.5 64.5 ± 3.4 30.1 ± 3.2 67.0 ± 3.2 70.4 ± 0.9 Interactive Multimodal Feedback Loop 47.4 ± 3.5 64.9 ± 3.3 27.6 ± 3.2 64.8 ± 3.3 71.9 ± 0.8 5 R ELATED W ORK Agentic Systems. Researchers develop various building blocks and design patterns for different applications. Important building blocks for agentic systems include: prompting techniques (Chen et al., 2023a; Schulhoff et al., 2024), chain-of-thought-based planning and reasoning methods (Wei et al., 2022; Yao et al., 2023; Hu & Clune, 2024), reflection (Madaan et al., 2024; Shinn et al., 2023), developing new skills for embodied agents in code (Wang et al., 2023a; Vemprala et al., 2023), external memory and RAG (Zhang et al., 2024c; Lewis et al., 2020), tool use (Qu et al., 2024; Schick et al., 2023; Nakano et al., 2021), assigning FM modules in the agentic system with different roles and enabling them to collaborate (Hong et al., 2023; Wu et al., 2023; Qian et al., 2023; Xu et al., 2023; Qian et al., 2024), and enabling the agent to instruct itself for the next action (Richards, 2023), etc. While the community has invested substantial effort in developing all the above important techniques, this is only a partial list of the discovered building blocks, and many more remain to be 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
这篇论文哪里最强,哪里最危险
迁移实验有助于检验设计是否只适合搜索任务,却不能消除所有过拟合或选择偏差。应同时看具体设计、目标任务和对照,保留迁移失败或不领先的行。代码空间更灵活带来的是更多候选结构,并非对自动发现最佳算法的保证。 (原文:PDF p.8, Table 2; Generalization discussion)
指标:迁移实验有助于检验设计是否只适合搜索任务,却不能消除所有过拟合或选择偏差。应同时看具体设计、目标任务和对照,保留迁移失败或不领先的行。代码空间更灵活带来的是更多候选结构,并非对自动发现最佳算法的保证。
条件:仅限本地原始PDF的 Table 2; Generalization discussion;不同表格与实验不合并
PDF p.8, Table 2; Generalization discussion · PDF p.8
Published as a conference paper at ICLR 2025 sign patterns, we transfer discovered agents from the MGSM (Math) domain to both math and non-math domains to test their ability to generalize across different tasks. We evaluate the top 3 agents from MGSM by transferring them to (1) popular math domains: GSM8K (Cobbe et al., 2021), GSM-Hard (Gao et al., 2023), and (2) non-math domains: MMLU (Multi-task) and DROP (Reading Comprehension), as detailed in Section 4.2. As shown in Table 2, Meta Agent Search con- sistently outperforms the baselines. Notably, our agents improve accuracy by 25.9% on GSM8K and 13.2% on GSM-Hard compared to the baselines when transferring within math domains. More surprisingly, we find that agents discovered in the math domain can also be transferred to non-math domains. While their performance does not fully match agents specifically designed for the target domains, they still outperform state-of-the-art hand-designed baselines. More results of transfers across domains are shown in Appendix A. We also observe similar superiority when transferring agents across different FMs on ARC. We test the top 3 agents with the best test accuracy evaluated with GPT-3.5 on ARC and then transfer them to Claude-Haiku (Anthropic, 2024a), GPT-4 (OpenAI, 2024), and Claude-Sonnet (Anthropic, 2024b). As shown in Table 3, we observe that the searched agents consistently outperform the hand- designed agents, with a substantial gap. Notably, we found that Claude-Sonnet, the most powerful model from Anthropic, performs the best among all tested models, enabling our best agent to achieve nearly 50% accuracy on ARC. These results on transferring across domains and models highlight Meta Agent Search ’s ability to discover generalizable design patterns and agentic systems. Table 2: Performance on held-out math and non-math domains when transferring top agents from MGSM (Math). GSM8K and GSM-Hard are the held-out math domains, while MMLU is for Multi-task, and DROP is for Reading Comprehension. Agents discovered by Meta Agent Search consistently outperform the baselines across all domains. We report the test accuracy and the 95% bootstrap confidence interval. The names of the top agents are generated by Meta Agent Search. Accuracy (%) F1 Score Agent Name MGSM GSM8K GSM-Hard MMLU DROP Manually Designed Agents Chain-of-Thought (Wei et al., 2022) 28.0 ± 3.1 34.9 ± 3.2 15.0 ± 2.5 65.4 ± 3.3 64.2 ± 0.9 COT-SC (Wang et al., 2023b) 28.2 ± 3.1 37.8 ± 3.4 15.5 ± 2.5 65.9 ± 3.2 64.4 ± 0.8 Self-Refine (Madaan et al., 2024) 27.5 ± 3.1 38.9 ± 3.4 15.1 ± 2.4 63.5 ± 3.4 59.2 ± 0.9 LLM Debate (Du et al., 2023) 39.0 ± 3.4 43.6 ± 3.4 17.4 ± 2.6 65.6 ± 3.3 60.6 ± 0.9 Step-back Abstraction (Zheng et al., 2023) 31.1 ± 3.2 31.5 ± 3.3 12.2 ± 2.3 65.1 ± 3.3 60.4 ± 1.0 Quality-Diversity (Lu et al., 2024c) 23.8 ± 3.0 28.0 ± 3.1 14.1 ± 2.4 65.1 ± 3.1 61.8 ± 0.9 Role Assignment (Xu et al., 2023) 30.1 ± 3.2 37.0 ± 3.4 18.0 ± 2.7 64.5 ± 3.3 65.8 ± 0.9 Top Agents Searched on MGSM (Math) Transferred within Transferred beyond Math Domains Math Domains Dynamic Role-Playing Architecture 53.4 ± 3.5 69.5 ± 3.2 31.2 ± 3.2 62.4 ± 3.4 70.4 ± 0.9 Structured Multimodal Feedback Loop 50.2 ± 3.5 64.5 ± 3.4 30.1 ± 3.2 67.0 ± 3.2 70.4 ± 0.9 Interactive Multimodal Feedback Loop 47.4 ± 3.5 64.9 ± 3.3 27.6 ± 3.2 64.8 ± 3.3 71.9 ± 0.8 5 R ELATED W ORK Agentic Systems. Researchers develop various building blocks and design patterns for different applications. Important building blocks for agentic systems include: prompting techniques (Chen et al., 2023a; Schulhoff et al., 2024), chain-of-thought-based planning and reasoning methods (Wei et al., 2022; Yao et al., 2023; Hu & Clune, 2024), reflection (Madaan et al., 2024; Shinn et al., 2023), developing new skills for embodied agents in code (Wang et al., 2023a; Vemprala et al., 2023), external memory and RAG (Zhang et al., 2024c; Lewis et al., 2020), tool use (Qu et al., 2024; Schick et al., 2023; Nakano et al., 2021), assigning FM modules in the agentic system with different roles and enabling them to collaborate (Hong et al., 2023; Wu et al., 2023; Qian et al., 2023; Xu et al., 2023; Qian et al., 2024), and enabling the agent to instruct itself for the next action (Richards, 2023), etc. While the community has invested substantial effort in developing all the above important techniques, this is only a partial list of the discovered building blocks, and many more remain to be 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
读完后记住这三件事
搜索的是代理程序。任务评价决定候选反馈。单领域搜索与跨任务迁移必须分开检验。 (原文:PDF p.3, Section 3;PDF p.3, Meta Agent Search;PDF p.7, experimental setup;PDF p.7, Table 1;PDF p.8, Table 2;PDF p.8, Table 2; Generalization discussion)
指标:Automated Design of Agentic Systems把“怎样组织模型调用”本身作为搜索问题。手工设计提示、反思步骤和协作结构需要反复试验;ADAS让一个元代理编写并评估候选代理代码,在历史候选和反馈的基础上继续提出新设计。
条件:仅限本地原始PDF的 Section 3;不同表格与实验不合并
PDF p.3, Section 3 · PDF p.3
Published as a conference paper at ICLR 2025 prompts, tool use, workflows, and more. Furthermore, with recent FMs being increasingly proficient in coding, we can use FMs as meta agents to create new agents in code for ADAS, enabling novel agents to be programmed in an automated manner. Following the aforementioned ideas, we present Meta Agent Search in this paper as one of the first algorithms in ADAS that enables complete design in code space (Figure 1). The core concept of Meta Agent Search is to instruct a meta agent to iteratively create interestingly new agents, evaluate them, add them to an archive that stores discovered agents, and use this archive to help the meta agent in subsequent iterations create yet more interestingly new agents. Similar to existing open-endedness algorithms that leverage human notions of interestingness (Zhang et al., 2024a; Lu et al., 2024c), we encourage the meta agent to explore interesting (e.g., novel or worthwhile) agents. To validate the proposed approach, we evaluate the proposed Meta Agent Search on: (1) the challenging ARC logic puzzle task (Chollet, 2019) that aims to test the general intelligence of an AI system, (2) four popular benchmarks on reading comprehension, math, science questions, and multi-task problem solving, and (3) the transferability of discovered agents to held-out domains and models (Section 4). Our experiments show that the discovered agents substantially outperform state-of-the-art hand- designed baselines. For instance, our agents improve F1 scores on reading comprehension tasks in DROP (Dua et al., 2019) by 13.6/100 and accuracy rates on math tasks in MGSM (Shi et al., 2023) by 14.4%. Additionally, they improve accuracy over baselines by 25.9% and 13.2% on GSM8K (Cobbe et al., 2021) and GSM-Hard (Gao et al., 2023) math tasks, respectively, after trans- ferring across domains. The promising performance of our algorithm over hand-designed solutions illustrates the potential of ADAS in automating the design of agentic systems. Furthermore, the experiments demonstrate that the discovered agents not only perform well when transferring across similar domains but also exhibit strong performance when transferring across dissimilar domains, such as from mathematics to reading comprehension. This highlights the robustness and transfer- ability of the agentic systems discovered by Meta Agent Search. In conclusion, our work opens up many exciting research directions and encourages further studies (Section 6). 2 AUTOMATED D ESIGN OF AGENTIC S YSTEMS (ADAS) Search Space Search Algorithm Evaluation Function Sample New Agent Where is the capital of Canada Ottawa 1 +1=? Agent LLM …… E.g. Agents defined by code E.g. LLM defines agents using code Evaluate the E.g. Accuracy on the task Objectives Figure 2: The three key components of Automated Design of Agentic Systems (ADAS). The search space determines which agentic systems can be represented in ADAS. The search algorithm specifies how the ADAS method explores the search space. The evaluation function defines how to evaluate a candidate agent on target objectives such as performance. At the time of writing, the community has not reached a consensus on the definitions or terminolo- gies of agents. Here, by agents we refer to agentic systems that involve Foundation Models (FMs) as modules in the workflow to solve tasks by planning, using tools, and carrying out multiple, iterative steps of processing (Chase, 2024; Ng, 2024). In this paper, we describe a newly forming research area Automated Design of Agentic Systems (ADAS). Similar to research areas in AI-GAs (Clune, 2019) and AutoML (Hutter et al., 2019), such as Neural Architecture Search (Elsken et al., 2019), we formulate ADAS as an optimization process and identify three key components of ADAS algorithms (Figure 2). Formulation Automated Design of Agentic Systems (ADAS) involves using a search algorithm to dis- cover agentic systems across a search space that optimize an evaluation function. 3
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:输入包括任务、允许使用的基础接口和已有候选记录。元代理提出代码,实现模型调用、推理与信息交换的方式;候选运行后得到任务反馈,连同实现放回档案供后续搜索参考。输出是可执行代理设计,而不是直接更新基础模型参数。评估环境与搜索预算是方法的一部分。
条件:仅限本地原始PDF的 Meta Agent Search;不同表格与实验不合并
PDF p.3, Meta Agent Search · PDF p.3
Published as a conference paper at ICLR 2025 prompts, tool use, workflows, and more. Furthermore, with recent FMs being increasingly proficient in coding, we can use FMs as meta agents to create new agents in code for ADAS, enabling novel agents to be programmed in an automated manner. Following the aforementioned ideas, we present Meta Agent Search in this paper as one of the first algorithms in ADAS that enables complete design in code space (Figure 1). The core concept of Meta Agent Search is to instruct a meta agent to iteratively create interestingly new agents, evaluate them, add them to an archive that stores discovered agents, and use this archive to help the meta agent in subsequent iterations create yet more interestingly new agents. Similar to existing open-endedness algorithms that leverage human notions of interestingness (Zhang et al., 2024a; Lu et al., 2024c), we encourage the meta agent to explore interesting (e.g., novel or worthwhile) agents. To validate the proposed approach, we evaluate the proposed Meta Agent Search on: (1) the challenging ARC logic puzzle task (Chollet, 2019) that aims to test the general intelligence of an AI system, (2) four popular benchmarks on reading comprehension, math, science questions, and multi-task problem solving, and (3) the transferability of discovered agents to held-out domains and models (Section 4). Our experiments show that the discovered agents substantially outperform state-of-the-art hand- designed baselines. For instance, our agents improve F1 scores on reading comprehension tasks in DROP (Dua et al., 2019) by 13.6/100 and accuracy rates on math tasks in MGSM (Shi et al., 2023) by 14.4%. Additionally, they improve accuracy over baselines by 25.9% and 13.2% on GSM8K (Cobbe et al., 2021) and GSM-Hard (Gao et al., 2023) math tasks, respectively, after trans- ferring across domains. The promising performance of our algorithm over hand-designed solutions illustrates the potential of ADAS in automating the design of agentic systems. Furthermore, the experiments demonstrate that the discovered agents not only perform well when transferring across similar domains but also exhibit strong performance when transferring across dissimilar domains, such as from mathematics to reading comprehension. This highlights the robustness and transfer- ability of the agentic systems discovered by Meta Agent Search. In conclusion, our work opens up many exciting research directions and encourages further studies (Section 6). 2 AUTOMATED D ESIGN OF AGENTIC S YSTEMS (ADAS) Search Space Search Algorithm Evaluation Function Sample New Agent Where is the capital of Canada Ottawa 1 +1=? Agent LLM …… E.g. Agents defined by code E.g. LLM defines agents using code Evaluate the E.g. Accuracy on the task Objectives Figure 2: The three key components of Automated Design of Agentic Systems (ADAS). The search space determines which agentic systems can be represented in ADAS. The search algorithm specifies how the ADAS method explores the search space. The evaluation function defines how to evaluate a candidate agent on target objectives such as performance. At the time of writing, the community has not reached a consensus on the definitions or terminolo- gies of agents. Here, by agents we refer to agentic systems that involve Foundation Models (FMs) as modules in the workflow to solve tasks by planning, using tools, and carrying out multiple, iterative steps of processing (Chase, 2024; Ng, 2024). In this paper, we describe a newly forming research area Automated Design of Agentic Systems (ADAS). Similar to research areas in AI-GAs (Clune, 2019) and AutoML (Hutter et al., 2019), such as Neural Architecture Search (Elsken et al., 2019), we formulate ADAS as an optimization process and identify three key components of ADAS algorithms (Figure 2). Formulation Automated Design of Agentic Systems (ADAS) involves using a search algorithm to dis- cover agentic systems across a search space that optimize an evaluation function. 3
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:主实验分别在数学、阅读理解、多任务知识、科学问答等领域进行代理搜索,再与人工设计及自动优化方法比较。迁移到其他任务的实验另外报告;必须先区分重新搜索与复用已搜索设计。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.7, experimental setup · PDF p.7
Published as a conference paper at ICLR 2025 4 (OpenAI, 2024), while the discovered agents and baselines are evaluated using GPT-3.5 (OpenAI, 2022). More details about datasets and experiment settings can be found in Appendix E. Baselines. We adopt all baselines introduced in Section 4.1. Additionally, since the above do- mains require strong reasoning skills, we include two additional baselines that specifically focus on enhancing the reasoning capabilities of agents for a more thorough comparison: (1) Step-back Abstraction (Zheng et al., 2023), which instructs agents to first consider the principles involved in solving the task for better reasoning; (2) Role Assignment (Xu et al., 2023), which assigns different roles to FMs to obtain better answers. Furthermore, we compare our approach with the state-of-the- art prompt optimization baseline OPRO (Yang et al., 2024) to highlight the advantages of learning all possible components of agents rather than focusing solely on prompts. More details about the baselines can be found in Appendix F. Table 1: Performance comparison between Meta Agent Search and state-of-the-art hand- designed agents across multiple domains. Meta Agent Search discovers superior agents compared to the baselines in every domain. We report the test accuracy and the 95% bootstrap confidence in- terval on held-out test sets. The search is conducted independently for each domain. Here, and in all tables below, we bold the entry with the highest performance for each domain, as well as all entries whose median falls within the 95% confidence interval of the highest-performing treatment. F1 Score Accuracy (%) Agent Name Reading Comprehension Math Multi-task Science State-of-the-art Hand-designed Agents Chain-of-Thought (Wei et al., 2022) 64.2 ± 0.9 28.0 ± 3.1 65.4 ± 3.3 29.2 ± 3.1 COT-SC (Wang et al., 2023b) 64.4 ± 0.8 28.2 ± 3.1 65.9 ± 3.2 30.5 ± 3.2 Self-Refine (Madaan et al., 2024) 59.2 ± 0.9 27.5 ± 3.1 63.5 ± 3.4 31.6 ± 3.2 LLM Debate (Du et al., 2023) 60.6 ± 0.9 39.0 ± 3.4 65.6 ± 3.3 31.4 ± 3.2 Step-back Abstraction (Zheng et al., 2023) 60.4 ± 1.0 31.1 ± 3.2 65.1 ± 3.3 26.9 ± 3.0 Quality-Diversity (Lu et al., 2024c) 61.8 ± 0.9 23.8 ± 3.0 65.1 ± 3.3 30.2 ± 3.1 Role Assignment (Xu et al., 2023) 65.8 ± 0.9 30.1 ± 3.2 64.5 ± 3.3 31.1 ± 3.1 Automated Design of Agentic Systems on Different Domains Prompt Optimization (Yang et al., 2024) 69.1 ± 0.9 30.6 ± 3.2 67.6 ± 3.2 32.9 ± 3.2 Meta Agent Search (Ours) 79.4 ± 0.8 53.4 ± 3.5 69.6 ± 3.2 34.6 ± 3.2 Results and Analysis. The results across multiple domains demonstrate that Meta Agent Search can discover agents that outperform state-of-the-art hand-designed agents (Table 1). We want to highlight the substantial gap between the learned agents and hand-designed agents in the Reading Comprehension and Math domains, with improvements in F1 scores by 13.6/100 and accuracy rates by 14.4%, respectively. While Meta Agent Search also outperforms baselines in the Multi-task and Science domains, the gap is smaller. We hypothesize that for challenging questions in the Science and Multi-task domains, the knowledge in FMs is not sufficient to solve the questions, limiting the improvement through optimizing agentic systems, which is a problem that will diminish as FMs improve. In contrast, in the Reading Comprehension and Math domains, FMs possess adequate knowledge to solve the questions, and errors could mainly be hallucinations or calculation mistakes, which can be mitigated through well-designed agentic systems, like the ones discovered by Meta Agent Search. Additionally, when compared to prompt optimization methods, the results demon- strate that our proposed Meta Agent Search consistently outperforms them across all domains. This comparison further strengthens our argument that defining agents in code and enabling the learning of all components offer significant advantages. Overall, the results across various domains showcase the effectiveness of Meta Agent Search in searching for agents tailored to specific domains. This could be increasingly useful for saving human efforts and developing better task-specific agents as we continue to create agents for a diverse set of applications (Wang et al., 2024). 4.3 G ENERALIZATION AND TRANSFERABILITY In the previous sections, we illustrated that Meta Agent Search can find effective agents for in- dividual tasks. In this section, we further demonstrate the transferability and generalizability of the discovered agents. To demonstrate the generalizability of the invented building blocks and de- 7
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:MGSM中,搜索结果为53.4±3.5,人工设计的Debate为39.0±3.4;GPQA中,搜索结果为34.6±3.2,Self-Refine为31.6±3.2。这些数字来自各领域分别搜索的设置,不是同一个代理横扫所有任务。置信区间也不支持把每个数值差异都直接宣布为显著优势。
条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并
PDF p.7, Table 1 · PDF p.7
Published as a conference paper at ICLR 2025 4 (OpenAI, 2024), while the discovered agents and baselines are evaluated using GPT-3.5 (OpenAI, 2022). More details about datasets and experiment settings can be found in Appendix E. Baselines. We adopt all baselines introduced in Section 4.1. Additionally, since the above do- mains require strong reasoning skills, we include two additional baselines that specifically focus on enhancing the reasoning capabilities of agents for a more thorough comparison: (1) Step-back Abstraction (Zheng et al., 2023), which instructs agents to first consider the principles involved in solving the task for better reasoning; (2) Role Assignment (Xu et al., 2023), which assigns different roles to FMs to obtain better answers. Furthermore, we compare our approach with the state-of-the- art prompt optimization baseline OPRO (Yang et al., 2024) to highlight the advantages of learning all possible components of agents rather than focusing solely on prompts. More details about the baselines can be found in Appendix F. Table 1: Performance comparison between Meta Agent Search and state-of-the-art hand- designed agents across multiple domains. Meta Agent Search discovers superior agents compared to the baselines in every domain. We report the test accuracy and the 95% bootstrap confidence in- terval on held-out test sets. The search is conducted independently for each domain. Here, and in all tables below, we bold the entry with the highest performance for each domain, as well as all entries whose median falls within the 95% confidence interval of the highest-performing treatment. F1 Score Accuracy (%) Agent Name Reading Comprehension Math Multi-task Science State-of-the-art Hand-designed Agents Chain-of-Thought (Wei et al., 2022) 64.2 ± 0.9 28.0 ± 3.1 65.4 ± 3.3 29.2 ± 3.1 COT-SC (Wang et al., 2023b) 64.4 ± 0.8 28.2 ± 3.1 65.9 ± 3.2 30.5 ± 3.2 Self-Refine (Madaan et al., 2024) 59.2 ± 0.9 27.5 ± 3.1 63.5 ± 3.4 31.6 ± 3.2 LLM Debate (Du et al., 2023) 60.6 ± 0.9 39.0 ± 3.4 65.6 ± 3.3 31.4 ± 3.2 Step-back Abstraction (Zheng et al., 2023) 60.4 ± 1.0 31.1 ± 3.2 65.1 ± 3.3 26.9 ± 3.0 Quality-Diversity (Lu et al., 2024c) 61.8 ± 0.9 23.8 ± 3.0 65.1 ± 3.3 30.2 ± 3.1 Role Assignment (Xu et al., 2023) 65.8 ± 0.9 30.1 ± 3.2 64.5 ± 3.3 31.1 ± 3.1 Automated Design of Agentic Systems on Different Domains Prompt Optimization (Yang et al., 2024) 69.1 ± 0.9 30.6 ± 3.2 67.6 ± 3.2 32.9 ± 3.2 Meta Agent Search (Ours) 79.4 ± 0.8 53.4 ± 3.5 69.6 ± 3.2 34.6 ± 3.2 Results and Analysis. The results across multiple domains demonstrate that Meta Agent Search can discover agents that outperform state-of-the-art hand-designed agents (Table 1). We want to highlight the substantial gap between the learned agents and hand-designed agents in the Reading Comprehension and Math domains, with improvements in F1 scores by 13.6/100 and accuracy rates by 14.4%, respectively. While Meta Agent Search also outperforms baselines in the Multi-task and Science domains, the gap is smaller. We hypothesize that for challenging questions in the Science and Multi-task domains, the knowledge in FMs is not sufficient to solve the questions, limiting the improvement through optimizing agentic systems, which is a problem that will diminish as FMs improve. In contrast, in the Reading Comprehension and Math domains, FMs possess adequate knowledge to solve the questions, and errors could mainly be hallucinations or calculation mistakes, which can be mitigated through well-designed agentic systems, like the ones discovered by Meta Agent Search. Additionally, when compared to prompt optimization methods, the results demon- strate that our proposed Meta Agent Search consistently outperforms them across all domains. This comparison further strengthens our argument that defining agents in code and enabling the learning of all components offer significant advantages. Overall, the results across various domains showcase the effectiveness of Meta Agent Search in searching for agents tailored to specific domains. This could be increasingly useful for saving human efforts and developing better task-specific agents as we continue to create agents for a diverse set of applications (Wang et al., 2024). 4.3 G ENERALIZATION AND TRANSFERABILITY In the previous sections, we illustrated that Meta Agent Search can find effective agents for in- dividual tasks. In this section, we further demonstrate the transferability and generalizability of the discovered agents. To demonstrate the generalizability of the invented building blocks and de- 7
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:数学任务搜索出的Dynamic Role-Playing迁移到MMLU为62.4±3.4,而CoT为65.4±3.3;该设计在MGSM为53.4,在GSM8K为69.5。可见迁移能奏效,但不是所有搜索设计在所有领域都优于手写基线。数学数据集之间的迁移与跨领域迁移也不能混称同一种泛化。
条件:仅限本地原始PDF的 Table 2;不同表格与实验不合并
PDF p.8, Table 2 · PDF p.8
Published as a conference paper at ICLR 2025 sign patterns, we transfer discovered agents from the MGSM (Math) domain to both math and non-math domains to test their ability to generalize across different tasks. We evaluate the top 3 agents from MGSM by transferring them to (1) popular math domains: GSM8K (Cobbe et al., 2021), GSM-Hard (Gao et al., 2023), and (2) non-math domains: MMLU (Multi-task) and DROP (Reading Comprehension), as detailed in Section 4.2. As shown in Table 2, Meta Agent Search con- sistently outperforms the baselines. Notably, our agents improve accuracy by 25.9% on GSM8K and 13.2% on GSM-Hard compared to the baselines when transferring within math domains. More surprisingly, we find that agents discovered in the math domain can also be transferred to non-math domains. While their performance does not fully match agents specifically designed for the target domains, they still outperform state-of-the-art hand-designed baselines. More results of transfers across domains are shown in Appendix A. We also observe similar superiority when transferring agents across different FMs on ARC. We test the top 3 agents with the best test accuracy evaluated with GPT-3.5 on ARC and then transfer them to Claude-Haiku (Anthropic, 2024a), GPT-4 (OpenAI, 2024), and Claude-Sonnet (Anthropic, 2024b). As shown in Table 3, we observe that the searched agents consistently outperform the hand- designed agents, with a substantial gap. Notably, we found that Claude-Sonnet, the most powerful model from Anthropic, performs the best among all tested models, enabling our best agent to achieve nearly 50% accuracy on ARC. These results on transferring across domains and models highlight Meta Agent Search ’s ability to discover generalizable design patterns and agentic systems. Table 2: Performance on held-out math and non-math domains when transferring top agents from MGSM (Math). GSM8K and GSM-Hard are the held-out math domains, while MMLU is for Multi-task, and DROP is for Reading Comprehension. Agents discovered by Meta Agent Search consistently outperform the baselines across all domains. We report the test accuracy and the 95% bootstrap confidence interval. The names of the top agents are generated by Meta Agent Search. Accuracy (%) F1 Score Agent Name MGSM GSM8K GSM-Hard MMLU DROP Manually Designed Agents Chain-of-Thought (Wei et al., 2022) 28.0 ± 3.1 34.9 ± 3.2 15.0 ± 2.5 65.4 ± 3.3 64.2 ± 0.9 COT-SC (Wang et al., 2023b) 28.2 ± 3.1 37.8 ± 3.4 15.5 ± 2.5 65.9 ± 3.2 64.4 ± 0.8 Self-Refine (Madaan et al., 2024) 27.5 ± 3.1 38.9 ± 3.4 15.1 ± 2.4 63.5 ± 3.4 59.2 ± 0.9 LLM Debate (Du et al., 2023) 39.0 ± 3.4 43.6 ± 3.4 17.4 ± 2.6 65.6 ± 3.3 60.6 ± 0.9 Step-back Abstraction (Zheng et al., 2023) 31.1 ± 3.2 31.5 ± 3.3 12.2 ± 2.3 65.1 ± 3.3 60.4 ± 1.0 Quality-Diversity (Lu et al., 2024c) 23.8 ± 3.0 28.0 ± 3.1 14.1 ± 2.4 65.1 ± 3.1 61.8 ± 0.9 Role Assignment (Xu et al., 2023) 30.1 ± 3.2 37.0 ± 3.4 18.0 ± 2.7 64.5 ± 3.3 65.8 ± 0.9 Top Agents Searched on MGSM (Math) Transferred within Transferred beyond Math Domains Math Domains Dynamic Role-Playing Architecture 53.4 ± 3.5 69.5 ± 3.2 31.2 ± 3.2 62.4 ± 3.4 70.4 ± 0.9 Structured Multimodal Feedback Loop 50.2 ± 3.5 64.5 ± 3.4 30.1 ± 3.2 67.0 ± 3.2 70.4 ± 0.9 Interactive Multimodal Feedback Loop 47.4 ± 3.5 64.9 ± 3.3 27.6 ± 3.2 64.8 ± 3.3 71.9 ± 0.8 5 R ELATED W ORK Agentic Systems. Researchers develop various building blocks and design patterns for different applications. Important building blocks for agentic systems include: prompting techniques (Chen et al., 2023a; Schulhoff et al., 2024), chain-of-thought-based planning and reasoning methods (Wei et al., 2022; Yao et al., 2023; Hu & Clune, 2024), reflection (Madaan et al., 2024; Shinn et al., 2023), developing new skills for embodied agents in code (Wang et al., 2023a; Vemprala et al., 2023), external memory and RAG (Zhang et al., 2024c; Lewis et al., 2020), tool use (Qu et al., 2024; Schick et al., 2023; Nakano et al., 2021), assigning FM modules in the agentic system with different roles and enabling them to collaborate (Hong et al., 2023; Wu et al., 2023; Qian et al., 2023; Xu et al., 2023; Qian et al., 2024), and enabling the agent to instruct itself for the next action (Richards, 2023), etc. While the community has invested substantial effort in developing all the above important techniques, this is only a partial list of the discovered building blocks, and many more remain to be 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:迁移实验有助于检验设计是否只适合搜索任务,却不能消除所有过拟合或选择偏差。应同时看具体设计、目标任务和对照,保留迁移失败或不领先的行。代码空间更灵活带来的是更多候选结构,并非对自动发现最佳算法的保证。
条件:仅限本地原始PDF的 Table 2; Generalization discussion;不同表格与实验不合并
PDF p.8, Table 2; Generalization discussion · PDF p.8
Published as a conference paper at ICLR 2025 sign patterns, we transfer discovered agents from the MGSM (Math) domain to both math and non-math domains to test their ability to generalize across different tasks. We evaluate the top 3 agents from MGSM by transferring them to (1) popular math domains: GSM8K (Cobbe et al., 2021), GSM-Hard (Gao et al., 2023), and (2) non-math domains: MMLU (Multi-task) and DROP (Reading Comprehension), as detailed in Section 4.2. As shown in Table 2, Meta Agent Search con- sistently outperforms the baselines. Notably, our agents improve accuracy by 25.9% on GSM8K and 13.2% on GSM-Hard compared to the baselines when transferring within math domains. More surprisingly, we find that agents discovered in the math domain can also be transferred to non-math domains. While their performance does not fully match agents specifically designed for the target domains, they still outperform state-of-the-art hand-designed baselines. More results of transfers across domains are shown in Appendix A. We also observe similar superiority when transferring agents across different FMs on ARC. We test the top 3 agents with the best test accuracy evaluated with GPT-3.5 on ARC and then transfer them to Claude-Haiku (Anthropic, 2024a), GPT-4 (OpenAI, 2024), and Claude-Sonnet (Anthropic, 2024b). As shown in Table 3, we observe that the searched agents consistently outperform the hand- designed agents, with a substantial gap. Notably, we found that Claude-Sonnet, the most powerful model from Anthropic, performs the best among all tested models, enabling our best agent to achieve nearly 50% accuracy on ARC. These results on transferring across domains and models highlight Meta Agent Search ’s ability to discover generalizable design patterns and agentic systems. Table 2: Performance on held-out math and non-math domains when transferring top agents from MGSM (Math). GSM8K and GSM-Hard are the held-out math domains, while MMLU is for Multi-task, and DROP is for Reading Comprehension. Agents discovered by Meta Agent Search consistently outperform the baselines across all domains. We report the test accuracy and the 95% bootstrap confidence interval. The names of the top agents are generated by Meta Agent Search. Accuracy (%) F1 Score Agent Name MGSM GSM8K GSM-Hard MMLU DROP Manually Designed Agents Chain-of-Thought (Wei et al., 2022) 28.0 ± 3.1 34.9 ± 3.2 15.0 ± 2.5 65.4 ± 3.3 64.2 ± 0.9 COT-SC (Wang et al., 2023b) 28.2 ± 3.1 37.8 ± 3.4 15.5 ± 2.5 65.9 ± 3.2 64.4 ± 0.8 Self-Refine (Madaan et al., 2024) 27.5 ± 3.1 38.9 ± 3.4 15.1 ± 2.4 63.5 ± 3.4 59.2 ± 0.9 LLM Debate (Du et al., 2023) 39.0 ± 3.4 43.6 ± 3.4 17.4 ± 2.6 65.6 ± 3.3 60.6 ± 0.9 Step-back Abstraction (Zheng et al., 2023) 31.1 ± 3.2 31.5 ± 3.3 12.2 ± 2.3 65.1 ± 3.3 60.4 ± 1.0 Quality-Diversity (Lu et al., 2024c) 23.8 ± 3.0 28.0 ± 3.1 14.1 ± 2.4 65.1 ± 3.1 61.8 ± 0.9 Role Assignment (Xu et al., 2023) 30.1 ± 3.2 37.0 ± 3.4 18.0 ± 2.7 64.5 ± 3.3 65.8 ± 0.9 Top Agents Searched on MGSM (Math) Transferred within Transferred beyond Math Domains Math Domains Dynamic Role-Playing Architecture 53.4 ± 3.5 69.5 ± 3.2 31.2 ± 3.2 62.4 ± 3.4 70.4 ± 0.9 Structured Multimodal Feedback Loop 50.2 ± 3.5 64.5 ± 3.4 30.1 ± 3.2 67.0 ± 3.2 70.4 ± 0.9 Interactive Multimodal Feedback Loop 47.4 ± 3.5 64.9 ± 3.3 27.6 ± 3.2 64.8 ± 3.3 71.9 ± 0.8 5 R ELATED W ORK Agentic Systems. Researchers develop various building blocks and design patterns for different applications. Important building blocks for agentic systems include: prompting techniques (Chen et al., 2023a; Schulhoff et al., 2024), chain-of-thought-based planning and reasoning methods (Wei et al., 2022; Yao et al., 2023; Hu & Clune, 2024), reflection (Madaan et al., 2024; Shinn et al., 2023), developing new skills for embodied agents in code (Wang et al., 2023a; Vemprala et al., 2023), external memory and RAG (Zhang et al., 2024c; Lewis et al., 2020), tool use (Qu et al., 2024; Schick et al., 2023; Nakano et al., 2021), assigning FM modules in the agentic system with different roles and enabling them to collaborate (Hong et al., 2023; Wu et al., 2023; Qian et al., 2023; Xu et al., 2023; Qian et al., 2024), and enabling the agent to instruct itself for the next action (Richards, 2023), etc. While the community has invested substantial effort in developing all the above important techniques, this is only a partial list of the discovered building blocks, and many more remain to be 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
代码从哪里读
原始来源入口。此处是论文或作者项目入口;本轮核验以本地原始PDF为准。没有运行仓库、下载模型或重做实验;不把项目演示视为独立复现证据。