arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.09972cs.LGcs.CLcs.NE
收藏

AP-BMM: 通过异步先验引导的贝叶斯模型合并近似LLM的能力-成本帕累托集

AP-BMM: Approximating Capability-Cost Pareto Sets of LLMs via Asynchronous Prior-Guided Bayesian Model Merging

Guangdong Provincial Key Laboratory of Novel Security Intelligence Technologies(广东新型安全智能技术重点实验室);Institute of Cyberspace Security(网络空间安全研究院);School of Computer Science and Technology(计算机科学与技术学院)

Kesheng Chen, Yamin Hu, Zhenqian Zhu, Yiya Diao, Wenjian Luo

AI总结:

本文提出AP-BMM方法,通过异步贝叶斯优化和层间合并策略,提升LLM在准确性和成本之间的帕累托集质量与覆盖范围。

摘要:

为大型语言模型(LLM)服务通常需要在更强的推理能力和较低的推理成本之间进行权衡。模型合并提供了一种实用方法,用于构建介于推理导向模型和更便宜基础模型之间的多个模型,但常见的模型级合并方法通常仅通过一个或两个全局参数来控制这一权衡。我们研究这一设置作为多目标优化问题:而不是生成一个合并后的模型,目标是找到一组合并后的模型,以覆盖不同的准确性-令牌成本偏好。逐层合并更具灵活性,因为它可以将不同的合并权重分配给不同的Transformer层。然而,它引入了两个实际挑战。首先,逐层搜索空间很大,现有方法往往在搜索时没有利用来自源模型的有用信号。其次,LLM评估的时间可以非常不同,因此同步批量优化会浪费GPU时间,而等待缓慢的评估。我们提出了异步先验引导的贝叶斯模型合并(AP-BMM)。AP-BMM利用源模型之间的参数和推理激活差异,早期建议哪些层值得关注。它还使用一个异步贝叶斯优化循环,考虑候选模型已经评估的情况。一个轻量级的重新排名步骤进一步将候选者分布在准确性-成本权衡上。在固定评估预算下,AP-BMM在同步逐层基线和代表性模型级合并基线方面实现了更强的帕累托集质量和更广的权衡覆盖。与同步贝叶斯基线相比,它还通过提高GPU利用率减少了运行时间。

英文摘要:

LLM services need to offer a family of models spanning different capability--cost trade-offs to accommodate diverse user preferences. Model merging offers a practical way to construct such a model family by combining a reasoning-enhanced model with an instruction-tuned model. Compared with model-level merging, layer-wise merging offers finer control over the capability--cost trade-off by assigning different merge weights to individual layers. However, it introduces two practical challenges: the layer-wise search space is high-dimensional, and existing methods rarely exploit informative signals from the source models; moreover, the highly variable runtime of LLM evaluations makes synchronous batch optimization inefficient by leaving GPU resources idle while waiting for slow evaluations. To address these challenges, we propose Asynchronous Prior-Guided Bayesian Model Merging (AP-BMM), which formulates layer-wise merging as a multi-objective optimization problem to approximate a Pareto set of merged LLMs, yielding a family of Pareto-optimal merged models with diverse capability--cost trade-offs. AP-BMM leverages parameter and activation discrepancies between the source models to guide the early layer-wise search, employs asynchronous pending-aware Bayesian optimization to maximize GPU utilization through asynchronous evaluations and to select high-quality candidates via pending awareness, and applies lightweight ranking over an oversized candidate pool to improve Pareto-front coverage. Under fixed evaluation budgets, AP-BMM achieves higher hypervolume (HV) and broader Pareto-front coverage than synchronous layer-wise and representative model-level merging methods, while reducing wall-clock time through higher GPU utilization.

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

↑