Principled Pruning of Bayesian Neural Networks through Variational Free Energy Minimization

Jim Beckers, Bart van Erp, Ziyue Zhao, Kirill Kondrashov, Bert de Vries
10/17/2022
cs.LGeess.SP
bayesian

Official code: biaslab/PrincipledPruningBNN (4 stars, Jupyter Notebook, last commit 2024-01-02).

Abstract

Bayesian model reduction provides an efficient approach for comparing the performance of all nested sub-models of a model, without re-evaluating any of these sub-models. Until now, Bayesian model reduction has been applied mainly in the computational neuroscience community on simple models.

Show full abstract

In this paper, we formulate and apply Bayesian model reduction to perform principled pruning of Bayesian neural networks, based on variational free energy minimization. Direct application of Bayesian model reduction, however, gives rise to approximation errors. Therefore, a novel iterative pruning algorithm is presented to alleviate the problems arising with naive Bayesian model reduction, as supported experimentally on the publicly available UCI datasets for different inference algorithms. This novel parameter pruning scheme solves the shortcomings of current state-of-the-art pruning methods that are used by the signal processing community. The proposed approach has a clear stopping criterion and minimizes the same objective that is used during training. Next to these benefits, our experiments indicate better model performance in comparison to state-of-the-art pruning schemes.

View on arXivView PDF

Code Implementations(1)

40Jupyter Notebook, PythonSep 29, 20222 years ago

Similar Papers

Cite this paper

@article{beckers2022principled,
  title  = {Principled Pruning of Bayesian Neural Networks through Variational Free Energy Minimization},
  author = {Jim Beckers and Bart van Erp and Ziyue Zhao and Kirill Kondrashov and Bert de Vries},
  year   = {2022},
  eprint = {2210.09134},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.09134}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.09134.svg)](https://codeofpaper.com/paper/2210.09134)

Discussion