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

面向大语言模型的贝叶斯混合专家模型

Bayesian Mixture of Experts For Large Language Models

University of Waterloo(滑铁卢大学);Ascend Team, Huawei Technologies(华为技术有限公司)

Maryam Dialameh, Hossein Rajabzadeh, Weiwei Zhang, Walid Ahmed, Hyock Ju Kwon

AI总结:

针对微调大语言模型的不确定性估计问题,提出贝叶斯混合专家框架,通过结构化拉普拉斯近似和克罗内克分解低秩近似,在不修改训练流程的情况下提升校准性,实验证明其在ECE和NLL上优于基线。

摘要:

我们提出贝叶斯混合专家(Bayesian-MoE),这是一种基于混合专家架构、针对微调大语言模型(LLMs)的事后不确定性估计框架。该方法对每个专家的第二个线性层应用结构化拉普拉斯近似,无需修改原始训练流程或引入新参数即可实现校准的不确定性估计。与将贝叶斯推理应用于新增适配器模块的现有方法不同,Bayesian-MoE直接针对混合专家模型中已有的专家路径,利用其模块化设计进行易处理的分块后验估计。我们使用克罗内克分解低秩近似来建模曲率,并推导可扩展的预测不确定性和边缘似然估计。在常识推理基准上对Qwen1.5-MoE和DeepSeek-MoE的实验表明,Bayesian-MoE在期望校准误差(ECE)和负对数似然(NLL)上均优于基线,证实其对可靠下游决策的有效性。

英文摘要:

We present Bayesian Mixture of Experts (Bayesian-MoE), a post-hoc uncertainty estimation framework for fine-tuned large language models (LLMs) based on Mixture-of-Experts architectures. Our method applies a structured Laplace approximation to the second linear layer of each expert, enabling calibrated uncertainty estimation without modifying the original training procedure or introducing new parameters. Unlike prior approaches, which apply Bayesian inference to added adapter modules, Bayesian-MoE directly targets the expert pathways already present in MoE models, leveraging their modular design for tractable block-wise posterior estimation. We use Kronecker-factored low-rank approximations to model curvature and derive scalable estimates of predictive uncertainty and marginal likelihood. Experiments on common-sense reasoning benchmarks with Qwen1.5-MoE and DeepSeek-MoE demonstrate that Bayesian-MoE improves both expected calibration error (ECE) and negative log-likelihood (NLL) over baselines, confirming its effectiveness for reliable downstream decision-making.

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

↑