Bayesian Mixture of Experts For Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dialameh, Maryam, Rajabzadeh, Hossein, Zhang, Weiwei, Ahmed, Walid, Kwon, Hyock Ju
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914153062465536
author Dialameh, Maryam
Rajabzadeh, Hossein
Zhang, Weiwei
Ahmed, Walid
Kwon, Hyock Ju
author_facet Dialameh, Maryam
Rajabzadeh, Hossein
Zhang, Weiwei
Ahmed, Walid
Kwon, Hyock Ju
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_08968
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Bayesian Mixture of Experts For Large Language Models
Dialameh, Maryam
Rajabzadeh, Hossein
Zhang, Weiwei
Ahmed, Walid
Kwon, Hyock Ju
Machine Learning
Computation and Language
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.
title Bayesian Mixture of Experts For Large Language Models
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2511.08968