arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.18280cs.LGcs.AIstat.ML
收藏

基于R2D2先验的贝叶斯神经网络特征保持收缩

Feature Preserving Shrinkage on Bayesian Neural Networks via the R2D2 Prior

Department of Statistics and Actuarial Science, University of Hong Kong(统计与精算科学系,香港大学)

Tsai Hor Chan, Dora Yan Zhang, Guosheng Yin, Lequan Yu

AI总结:

提出R2D2-Net,将R2D2先验用于贝叶斯神经网络权重,有效收缩噪声同时保留关键特征,并设计变分Gibbs推断算法,在图像分类与不确定性估计中表现良好。

摘要:

贝叶斯神经网络(BNN)将神经网络权重视为随机变量,旨在通过推断后验权重来提供后验不确定性估计并避免过拟合。然而,选择合适的先验分布仍然是一项具有挑战性的任务,当先验选择不当时,BNN可能会遭受灾难性的方差膨胀或较差的预测性能。现有的BNN设计对权重施加不同的先验,但这些先验的行为使得难以充分收缩噪声信号,或者容易过度收缩权重中的重要信号。为了缓解这一问题,我们提出了一种新颖的R2D2-Net,它将R^2诱导的Dirichlet分解(R2D2)先验施加于BNN权重。R2D2-Net能够有效地将不相关的系数收缩至零,同时防止关键特征被过度收缩。为了更准确地逼近权重的后验分布,我们进一步提出了一种变分Gibbs推断算法,该算法结合了Gibbs更新过程和基于梯度的优化。当涉及收缩参数的变分目标非凸时,该策略增强了估计的稳定性和一致性。我们还从理论角度分析了证据下界(ELBO)和后验集中速率。在自然图像和医学图像分类及不确定性估计任务上的实验证明了我们方法的令人满意的性能。

英文摘要:

Bayesian neural networks (BNNs) treat neural network weights as random variables, which aim to provide posterior uncertainty estimates and avoid overfitting by performing inference on the posterior weights. However, the selection of appropriate prior distributions remains a challenging task, and BNNs may suffer from catastrophic inflated variance or poor predictive performance when poor choices are made for the priors. Existing BNN designs apply different priors to weights, while the behaviours of these priors make it difficult to sufficiently shrink noisy signals or they are prone to overshrinking important signals in the weights. To alleviate this problem, we propose a novel R2D2-Net, which imposes the R^2-induced Dirichlet Decomposition (R2D2) prior to the BNN weights. The R2D2-Net can effectively shrink irrelevant coefficients towards zero, while preventing key features from over-shrinkage. To approximate the posterior distribution of weights more accurately, we further propose a variational Gibbs inference algorithm that combines the Gibbs updating procedure and gradient-based optimization. This strategy enhances stability and consistency in estimation when the variational objective involving the shrinkage parameters is non-convex. We also analyze the evidence lower bound (ELBO) and the posterior concentration rates from a theoretical perspective. Experiments on both natural and medical image classification and uncertainty estimation tasks demonstrate satisfactory performance of our method.

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

↑