arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.19091cs.AIcs.MAcs.SE
收藏

Nexus:一种用于复杂任务自动化的轻量级、可扩展多智能体框架

Nexus: A Lightweight and Scalable Multi-Agent Framework for Complex Tasks Automation

PrimisAI(普里米斯人工智能公司);University of Utah(犹他大学)

Humza Sami, Mubashir ul Islam, Samy Charas, Asav Gandhi, Pierre-Emmanuel Gaillardon, Valerio Tenace

AI总结:

Nexus是一个轻量级、可扩展的Python多智能体框架,通过灵活的多监督者层级和简化工作流设计,在编码、推理及多目标优化任务中达到最先进性能,并实现近30%的功耗节省。

摘要:

近年来,大型语言模型(LLM)的进步显著提升了多智能体系统(MAS)的能力,使得系统不仅能够自动化任务,还能利用接近人类的推理能力。为了实现这一目标,基于LLM的MAS需要围绕两个关键原则构建:(i)一个稳健的架构,充分利用LLM在特定任务或相关任务集上的潜力;(ii)一种有效的方法论,使LLM具备执行任务和高效管理信息所需的能力。不言而喻,先验的架构设计可能限制给定MAS的可扩展性和领域适应性。为应对这些挑战,本文介绍了Nexus:一个轻量级Python框架,旨在轻松构建和管理基于LLM的MAS。Nexus引入了以下创新:(i)灵活的多监督者层级结构,(ii)简化的工作流设计,以及(iii)易于安装和开源灵活性:Nexus可通过pip安装,并在宽松的开源许可下分发,允许用户自由修改和扩展其功能。实验结果表明,使用Nexus构建的架构在多个领域展现出最先进的性能。在编码任务中,由Nexus驱动的MAS在HumanEval上达到99%的通过率,在VerilogEval-Human上达到完美的100%,优于o3-mini和DeepSeek-R1等前沿推理语言模型。此外,这些架构在复杂推理和数学问题求解方面表现出强大的熟练度,对从MATH数据集中随机选择的所有问题均能给出正确解答。在多目标优化领域,基于Nexus的架构成功解决了VTR基准套件设计中的挑战性时序收敛任务,同时平均保证近30%的功耗节省。

英文摘要:

Recent advancements in Large Language Models (LLMs) have substantially evolved Multi-Agent Systems (MASs) capabilities, enabling systems that not only automate tasks but also leverage near-human reasoning capabilities. To achieve this, LLM-based MASs need to be built around two critical principles: (i) a robust architecture that fully exploits LLM potential for specific tasks -- or related task sets -- and ($ii$) an effective methodology for equipping LLMs with the necessary capabilities to perform tasks and manage information efficiently. It goes without saying that a priori architectural designs can limit the scalability and domain adaptability of a given MAS. To address these challenges, in this paper we introduce Nexus: a lightweight Python framework designed to easily build and manage LLM-based MASs. Nexus introduces the following innovations: (i) a flexible multi-supervisor hierarchy, (ii) a simplified workflow design, and (iii) easy installation and open-source flexibility: Nexus can be installed via pip and is distributed under a permissive open-source license, allowing users to freely modify and extend its capabilities. Experimental results demonstrate that architectures built with Nexus exhibit state-of-the-art performance across diverse domains. In coding tasks, Nexus-driven MASs achieve a 99% pass rate on HumanEval and a flawless 100% on VerilogEval-Human, outperforming cutting-edge reasoning language models such as o3-mini and DeepSeek-R1. Moreover, these architectures display robust proficiency in complex reasoning and mathematical problem solving, achieving correct solutions for all randomly selected problems from the MATH dataset. In the realm of multi-objective optimization, Nexus-based architectures successfully address challenging timing closure tasks on designs from the VTR benchmark suite, while guaranteeing, on average, a power saving of nearly 30%.

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

↑