arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.06691cs.CLcs.AIcs.LGcs.NE
收藏

智能体舰队:使用大型语言模型进行协调式问题求解

Fleet of Agents: Coordinated Problem Solving with Large Language Models

EPFL(洛桑联邦理工学院);Aarhus University(奥胡斯大学);TUHH(汉堡工业大学)

Lars Klein, Nearchos Potamitis, Roland Aydin, Robert West, Caglar Gulcehre, Akhil Arora

AI总结:

提出 Fleet of Agents(FoA)框架,用多智能体动态树搜索与遗传式粒子滤波协调 LLM 推理,在三项基准上以约四成 SOTA 成本实现约 5% 的质量提升。

摘要:

尽管已经开发出众多框架来增强大型语言模型(LLM)的推理能力,但能够有效平衡成本与质量之间权衡的方法仍然稀缺。本文提出 Fleet of Agents(FoA,智能体舰队),这一新颖、直观且有原则的框架将 LLM 用作智能体,通过遗传式粒子滤波方法在动态树搜索中行进。FoA 生成大量智能体,每个智能体自主探索搜索空间,随后进入选择阶段;该阶段基于启发式价值函数进行重采样,以优化探索与利用之间的平衡。该机制支持动态分支,可根据已发现的解决方案调整探索策略。我们在“Game of 24”“Mini-Crosswords”和“WebShop”三个基准任务上,使用 GPT-3.5、GPT-4、LLaMA3.2-11B 和 LLaMA3.2-90B 四种不同 LLM 开展了大量实验。在所有任务和 LLM 上平均而言,FoA 的质量提升约 5%,而成本仅为既往 SOTA 方法的约 40%。值得注意的是,分析表明:(1)FoA 在所有受测基准方法中实现最佳成本—质量权衡;(2)FoA 与 LLaMA3.2-11B 结合后超过 Llama3.2-90B 模型。FoA 已公开发布于 https://github.com/au-clan/FoA。

英文摘要:

While numerous frameworks have been developed to enhance the reasoning abilities of large language models (LLMs), there is a scarcity of methods that effectively balance the trade-off between cost and quality. In this paper, we introduce Fleet of Agents (FoA), a novel and intuitive yet principled framework utilizing LLMs as agents to navigate through dynamic tree searches, employing a genetic-type particle filtering approach. FoA spawns a multitude of agents, each exploring the search space autonomously, followed by a selection phase where resampling based on a heuristic value function optimizes the balance between exploration and exploitation. This mechanism enables dynamic branching, adapting the exploration strategy based on discovered solutions. We conduct extensive experiments on three benchmark tasks, ``Game of 24'', ``Mini-Crosswords'', and ``WebShop'', utilizing four different LLMs, ``GPT-3.5'', ``GPT-4'', ``LLaMA3.2-11B'', and ``LLaMA3.2-90B''. On average across all tasks and LLMs, FoA obtains a quality improvement of ~5% while requiring only ~40% of the cost of previous SOTA methods. Notably, our analyses reveal that (1) FoA achieves the best cost-quality trade-off among all benchmarked methods and (2) FoA + LLaMA3.2-11B surpasses the Llama3.2-90B model. FoA is publicly available at https://github.com/au-clan/FoA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑