用贝叶斯优化自动配置高效低成本的AI团队。
MALBO: Optimizing LLM-Based Multi-Agent Teams via Multi-Objective Bayesian Optimization
- 基于多目标贝叶斯优化,连续搜索模型组合空间。
- 成本降低超45%,最高节省65.8%且性能不降。
- 适合需要高效部署多智能体系统的研究者。
在多智能体系统中为大型语言模型(LLMs)分配专业化角色面临巨大组合搜索空间、昂贵黑盒评估以及性能与成本之间的权衡。现有方法局限于单智能体场景,缺乏对多智能体多目标问题的系统性框架。本文提出MALBO(Multi-Agent LLM Bayesian Optimization),一种自动化构建LLM智能体团队的系统性框架。将任务分配问题形式化为多目标优化,旨在寻找任务准确率与推理成本之间的帕累托前沿。方法采用独立高斯过程代理模型的多目标贝叶斯优化(MOBO),在连续特征空间中通过期望超体积改进进行样本高效的探索。主要贡献是实现了一个原则性强且自动化的最优团队配置生成方法。实验表明,相比初始随机搜索,贝叶斯优化阶段保持相当平均性能的同时,平均配置成本降低超过45%;同时,MALBO识别出的异构专业化团队相较同质基线成本降低最高达65.8%,且维持最大性能。该框架为部署高效、专业化的多智能体人工智能系统提供了数据驱动工具。
原文摘要 · Abstract (English)
The optimal assignment of Large Language Models (LLMs) to specialized roles in multi-agent systems is a significant challenge, defined by a vast combinatorial search space, expensive black-box evaluations, and an inherent trade-off between performance and cost. Current optimization methods focus on single-agent settings and lack a principled framework for this multi-agent, multi-objective problem. This thesis introduces MALBO (Multi-Agent LLM Bayesian Optimization), a systematic framework designed to automate the efficient composition of LLM-based agent teams. We formalize the assignment challenge as a multi-objective optimization problem, aiming to identify the Pareto front of configurations between task accuracy and inference cost. The methodology employs multi-objective Bayesian Optimization (MOBO) with independent Gaussian Process surrogate models. By searching over a continuous feature-space representation of the LLMs, this approach performs a sample-efficient exploration guided by the expected hypervolume improvement. The primary contribution is a principled and automated methodology that yields a Pareto front of optimal team configurations. Our results demonstrate that the Bayesian optimization phase, compared to an initial random search, maintained a comparable average performance while reducing the average configuration cost by over 45%. Furthermore, MALBO identified specialized, heterogeneous teams that achieve cost reductions of up to 65.8% compared to homogeneous baselines, all while maintaining maximum performance. The framework thus provides a data-driven tool for deploying cost-effective and highly specialized multi-agent AI systems.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。