arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.19859stat.MLcs.LG
收藏

狄利克雷尺度混合先验用于贝叶斯神经网络

Dirichlet Scale Mixture Priors for Bayesian Neural Networks

Department of Statistics & Data Science, University of Oslo(统计与数据科学系,奥斯陆大学)

August Arnstad, Leiv Rønneberg, Geir Storvik

AI总结:

本文提出狄利克雷尺度混合先验用于贝叶斯神经网络,通过结构化收缩解决现有局限,提升模型稀疏性、鲁棒性和预测性能。

摘要:

神经网络是现代机器学习的基石,但它们可能难以解释,给出过于自信的预测,并且容易受到对抗性攻击的影响。贝叶斯神经网络(BNNs)在一定程度上缓解了这些限制,但也有自身的问题。在BNNs中指定先验分布的关键步骤并非 trivial 任务,但往往由于方便而被忽略。在本工作中,我们提出了一种新的先验分布类用于BNNs,即狄利克雷尺度混合(DSM)先验,通过结构化、稀疏性诱导的收缩来解决当前贝叶斯神经网络的局限性。理论上,我们推导了DSM先验的一般依赖结构和收缩结果,并展示了它们在神经网络诱导的几何结构下的表现。在模拟和现实数据的实验中,我们发现DSM先验通过隐含特征选择促进了稀疏网络,展示了对对抗性攻击的鲁棒性,并在有效参数显著减少的情况下提供了具有竞争力的预测性能。特别是,它们的优势在相关、中等规模的数据集上尤为明显,并且更易于进行权重剪枝。此外,通过采用重尾收缩机制,我们的方法与最近发现一致,即此类先验可以缓解冷后验效应,提供了一种有原则的替代方案,替代常用的高斯先验。

英文摘要:

Neural networks are the cornerstone of modern machine learning, yet can be difficult to interpret, give overconfident predictions and are vulnerable to adversarial attacks. Bayesian neural networks (BNNs) provide some alleviation of these limitations, but have problems of their own. The key step of specifying prior distributions in BNNs is no trivial task, yet is often skipped out of convenience. In this work, we propose a new class of prior distributions for BNNs, the Dirichlet scale mixture (DSM) prior, that addresses current limitations in Bayesian neural networks through structured, sparsity-inducing shrinkage. Theoretically, we derive general dependence structures and shrinkage results for DSM priors and show how they manifest under the geometry induced by neural networks. In experiments on simulated and real world data we find that the DSM priors encourages sparse networks through implicit feature selection, show robustness under adversarial attacks and deliver competitive predictive performance with substantially fewer effective parameters. In particular, their advantages appear most pronounced in correlated, moderately small data regimes, and are more amenable to weight pruning. Moreover, by adopting heavy-tailed shrinkage mechanisms, our approach aligns with recent findings that such priors can mitigate the cold posterior effect, offering a principled alternative to the commonly used Gaussian priors.

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

↑