arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.03014cs.LGcs.AR
收藏

MOSAIC: 通过自适应聚合和推理并发的高效混合智能体调度

MOSAIC: Efficient Mixture-of-Agent Scheduling via Adaptive Aggregation and Inference Concurrency

University of California, Irvine, USA(加州大学 Irvine 分校);University of Southern California, Los Angeles, USA(南加州大学洛杉矶分校);Intel, USA(英特尔公司)

Saptarshi Mitra, Yifan Zhang, Rachid Karami, Sreetama Sarkar, Phyo Pyae Moe Aung, Nazmul Takbir, Souvik Kundu, Sitao Huang

AI总结:

针对混合智能体系统在有限GPU资源下的负载不均衡问题,提出基于整数线性规划调度器和置信度感知自适应聚合的MOSAIC框架,实现最高2.5倍专家阶段、4.23倍聚合阶段和1.7~2.3倍端到端加速,精度损失在0.1个百分点内。

摘要:

混合智能体(MoA)系统通过将每个查询路由到多个专家大语言模型并聚合其输出来提高推理准确性。在有限的GPU资源上高效执行此工作负载存在瓶颈。基于技能的调度导致专家需求倾斜,而将指令微调的大语言模型与长推理模型结合会导致生成长度的极端变化。因此,传统的调度策略由于负载不平衡而遭受显著的GPU空闲和吞吐量崩溃。我们提出了MOSAIC,一个加速MoA工作负载的调度框架。首先,我们制定了一个基于整数线性规划(ILP)的调度器,该调度器根据离线分析的成本联合优化专家放置和每个工作线程的提示分配,在工作线程间复制推理专家同时固定轻量级专家。其次,MOSAIC使用置信度感知的自适应聚合,利用专家间一致性来绕过重型最终聚合器大语言模型处理共识查询。在我们的4-GPU系统中,与基线调度器相比,MOSAIC实现了最高2.5倍的专家阶段、4.23倍的聚合阶段和1.7~2.3倍的端到端加速,同时精度匹配在0.1个百分点以内。

英文摘要:

Mixture-of-Agents (MoA) systems improve reasoning accuracy by routing each query to multiple expert LLMs and aggregating their outputs. Efficiently executing this workload on limited GPU resources has bottlenecks. Skill-based routing creates skewed expert demand, and combining instruction-tuned LLMs with long-reasoning models results in extreme variability in generation lengths. Consequently, traditional scheduling strategies suffer from significant GPU idling and throughput collapse due to load imbalances. We present MOSAIC, a scheduling framework for accelerating batch-oriented MoA workloads. MOSAIC uses two-stage workload-aware scheduling: an expert placement stage, where an integer linear program (ILP) decides expert placement, followed by a query-sequencing stage that schedules requests based on predicted output lengths. Additionally, MOSAIC uses confidence-aware adaptive aggregation, leveraging inter-expert agreement to bypass the heavy aggregator LLM for consensus queries. On a 4-GPU system, MOSAIC achieves 2.7-3.4x end-to-end speedups over round-robin scheduling and reduces the mean time-to-answer by 3.9-7.8x, while matching accuracy within +/-1pp.

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

↑