arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.23830cs.LGmath.STstat.MLstat.TH
收藏

贝叶斯混合专家:迈向让 LLM 知道自己所不知道的事

Bayesian Mixture-of-Experts: Towards Making LLMs Know What They Don't Know

Imperial College London(帝国理工学院伦敦分校)

Albus Yizhuo Li

AI总结:

针对 MoE 大模型确定性路由导致的校准错误与过度自信问题,提出在权重、logit 和选择阶段建模路由不确定性的贝叶斯框架,并在 30 亿参数模型上验证其校准与 OoD 检测收益。

摘要:

Mixture-of-Experts(MoE,混合专家)架构已经使构建规模庞大却高效的 Large Language Models(LLM,大型语言模型)成为可能。然而,标准的确定性路由机制存在一个显著局限:其固有的脆弱性是导致模型校准错误和过度自信的关键因素,从而使系统往往不知道自己所不知道的事。本论文通过提出一个结构化的 Bayesian MoE routing framework(贝叶斯 MoE 路由框架)来应对这一挑战。我们的方法不再强制进行单一、确定性的专家选择,而是对路由决策本身建模一个概率分布。我们系统研究了三类方法,它们在路由流程的不同阶段引入这种有原则的不确定性:weight-space(权重空间)、logit-space(logit 空间)以及最终的 selection-space(选择空间)。通过在一个 30 亿参数 MoE 模型上开展一系列受控实验,我们证明该框架显著提升了路由稳定性、分布内校准以及分布外(OoD)检测能力。结果表明,通过针对这一核心架构组件,我们能够创建更可靠的内部不确定性信号。本工作为构建更鲁棒、更具自我认知能力的 LLM 提供了一条实用且计算上可行的路径,朝着让它们知道自己所不知道的事迈出了关键一步。

英文摘要:

The Mixture-of-Experts (MoE) architecture has enabled the creation of massive yet efficient Large Language Models (LLMs). However, the standard deterministic routing mechanism presents a significant limitation: its inherent brittleness is a key contributor to model miscalibration and overconfidence, resulting in systems that often do not know what they don't know. This thesis confronts this challenge by proposing a structured \textbf{Bayesian MoE routing framework}. Instead of forcing a single, deterministic expert selection, our approach models a probability distribution over the routing decision itself. We systematically investigate three families of methods that introduce this principled uncertainty at different stages of the routing pipeline: in the \textbf{weight-space}, the \textbf{logit-space}, and the final \textbf{selection-space}. Through a series of controlled experiments on a 3-billion parameter MoE model, we demonstrate that this framework significantly improves routing stability, in-distribution calibration, and out-of-distribution (OoD) detection. The results show that by targeting this core architectural component, we can create a more reliable internal uncertainty signal. This work provides a practical and computationally tractable pathway towards building more robust and self-aware LLMs, taking a crucial step towards making them know what they don't know.

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

↑