arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.10602cs.LG
收藏

保持不确定性的QBNNs:基于SVI的贝叶斯神经网络的多级量化用于图像分类

Uncertainty-Preserving QBNNs: Multi-Level Quantization of SVI-Based Bayesian Neural Networks for Image Classification

Hendrik Borras, Yong Wu, Bernhard Klein, Holger Fröning

AI总结:

本文提出一种多级量化框架,用于基于SVI的贝叶斯神经网络,实现4位精度下的高精度不确定性估计和高效部署。

摘要:

贝叶斯神经网络(BNNs)提供了原理化的不确定性量化,但与确定性网络相比,其计算和内存开销显著较大。尽管量化技术已成功减少标准深度学习模型的资源需求,但其在概率模型中的应用仍鲜有探索。我们引入了一种系统性的多级量化框架,用于基于随机变分推断的BNNs,区分了三种量化策略:变分参数量化(VPQ)、采样参数量化(SPQ)和联合量化(JQ)。我们对方差参数的对数量化以及专门的激活函数以保持分布结构是校准不确定性估计的关键。通过在Dirty-MNIST上的全面实验,我们证明BNNs可以被量化到4位精度,同时保持分类准确性和不确定性分离。在4位时,联合量化相比浮点实现可实现高达8倍的内存减少,对知识性和偶然性不确定性估计的退化极小。这些结果使BNNs能够在资源受限的边缘设备上部署,并为未来在本质上低精度运行的模拟“贝叶斯机器”提供设计指南。

英文摘要:

Bayesian Neural Networks (BNNs) provide principled uncertainty quantification but suffer from substantial computational and memory overhead compared to deterministic networks. While quantization techniques have successfully reduced resource requirements in standard deep learning models, their application to probabilistic models remains largely unexplored. We introduce a systematic multi-level quantization framework for Stochastic Variational Inference based BNNs that distinguishes between three quantization strategies: Variational Parameter Quantization (VPQ), Sampled Parameter Quantization (SPQ), and Joint Quantization (JQ). Our logarithmic quantization for variance parameters, and specialized activation functions to preserve the distributional structure are essential for calibrated uncertainty estimation. Through comprehensive experiments on Dirty-MNIST, we demonstrate that BNNs can be quantized down to 4-bit precision while maintaining both classification accuracy and uncertainty disentanglement. At 4 bits, Joint Quantization achieves up to 8x memory reduction compared to floating-point implementations with minimal degradation in epistemic and aleatoric uncertainty estimation. These results enable deployment of BNNs on resource-constrained edge devices and provide design guidelines for future analog "Bayesian Machines" operating at inherently low precision.

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

↑