Analog Bayesian Neural Networks Are Insensitive to the Shape of the Weight Distribution

Abstract

Recent work has demonstrated that Bayesian neural networks (BNN's) trained with mean field variational inference (MFVI) can be implemented in analog hardware, promising orders of magnitude energy savings compared to the standard digital implementations. However, while Gaussians are typically used as the variational distribution in MFVI, it is difficult to precisely control the shape of the noise distributions produced by sampling analog devices. This paper introduces a method for MFVI training using real device noise as the variational distribution. Furthermore, we demonstrate empirically that the predictive distributions from BNN's with the same weight means and variances converge to the same distribution, regardless of the shape of the variational distribution. This result suggests that analog device designers do not need to consider the shape of the device noise distribution when hardware-implementing BNNs performing MFVI.

Cite

Text

Patel et al. "Analog Bayesian Neural Networks Are Insensitive to the Shape of the Weight Distribution." NeurIPS 2024 Workshops: MLNCP, 2024.

Markdown

[Patel et al. "Analog Bayesian Neural Networks Are Insensitive to the Shape of the Weight Distribution." NeurIPS 2024 Workshops: MLNCP, 2024.](https://mlanthology.org/neuripsw/2024/patel2024neuripsw-analog/)

BibTeX

@inproceedings{patel2024neuripsw-analog,
  title     = {{Analog Bayesian Neural Networks Are Insensitive to the Shape of the Weight Distribution}},
  author    = {Patel, Ravi Ghanshyam and Xiao, Tianyao Patrick and Agarwal, Sapan and Bennett, Christopher},
  booktitle = {NeurIPS 2024 Workshops: MLNCP},
  year      = {2024},
  url       = {https://mlanthology.org/neuripsw/2024/patel2024neuripsw-analog/}
}