Skip to main content
QUICK REVIEW

[Paper Review] Radial and Directional Posteriors for Bayesian Neural Networks

ChangYong Oh, Kamil Adamczewski|arXiv (Cornell University)|Feb 7, 2019
Gaussian Processes and Bayesian InferenceComputer Science49 references8 citations
TL;DR

This paper proposes a novel variational inference framework for Bayesian neural networks using radial and directional posteriors (RDP), decomposing weight distributions into magnitude (radial) and direction (directional) components. By modeling dependencies via the von Mises-Fisher distribution and enabling structured pruning through Half-Cauchy priors and log-Normal posteriors, RDP improves test likelihood and achieves state-of-the-art compression with fewer parameters and FLOPs.

ABSTRACT

We propose a new variational family for Bayesian neural networks. We decompose the variational posterior into two components, where the radial component captures the strength of each neuron in terms of its magnitude; while the directional component captures the statistical dependencies among the weight parameters. The dependencies learned via the directional density provide better modeling performance compared to the widely-used Gaussian mean-field-type variational family. In addition, the strength of input and output neurons learned via the radial density provides a structured way to compress neural networks. Indeed, experiments show that our variational family improves predictive performance and yields compressed networks simultaneously.

Motivation & Objective

  • To address the limitation of mean-field variational inference in Bayesian neural networks, which ignores statistical dependencies among weight parameters.
  • To develop a variational family that captures correlations between weights through directional components, improving predictive accuracy.
  • To enable structured neural network pruning by leveraging radial posterior distributions that highlight low-impact neurons.
  • To provide numerically stable training for high-dimensional von Mises-Fisher distributions in deep learning frameworks.
  • To simultaneously enhance predictive performance and model efficiency through joint modeling of weight magnitude and direction.

Proposed method

  • Decomposes the variational posterior into radial (magnitude) and directional (angular) components for each layer’s weight vector.
  • Uses the von Mises-Fisher (vMF) distribution to model directional dependencies among weight parameters, capturing correlations in high-dimensional weight space.
  • Proposes a novel approximation to ratios of modified Bessel functions for stable gradient estimation in high-dimensional vMF distributions.
  • Employs a Half-Cauchy prior and log-Normal posterior for the radial component to encourage sparsity and enable closed-form KL divergence computation.
  • Applies a reparameterization trick for the vMF distribution to enable differentiable sampling during stochastic optimization.
  • Uses the mode of the radial posterior as a pruning threshold to remove low-impact neurons, enabling structured compression.

Experimental results

Research questions

  • RQ1Can modeling directional dependencies among weight parameters in Bayesian neural networks lead to improved predictive performance over mean-field approximations?
  • RQ2Can the radial component of the posterior be effectively leveraged for structured neural network pruning while maintaining high accuracy?
  • RQ3Is it feasible to perform efficient and stable variational inference with high-dimensional von Mises-Fisher distributions in deep learning?
  • RQ4How does the proposed RDP method compare to existing methods in terms of test likelihood and model compression efficiency?
  • RQ5Can the combination of radial and directional posteriors yield a unified framework for both uncertainty modeling and model compression?

Key findings

  • On regression tasks, RDP outperforms mean-field BNNs such as Variational Inference and Dropout in terms of test log-likelihood on 5 out of 9 datasets.
  • RDP achieves competitive compression performance on LeNet-5, reducing FLOPs to 125K and parameters to 20K while maintaining 1.0% test error.
  • The method achieves better FLOP efficiency than BC-GHS and BC-GNJ, with only 20K parameters and 125K FLOPs, outperforming FDOO(100K) in FLOP efficiency.
  • The radial posterior exhibits clearly separated clusters in the log-mode of radius, enabling effective pruning with minimal accuracy loss.
  • The proposed Bessel function approximation enables stable training with high-dimensional vMF distributions, supporting scalability to thousands of dimensions.
  • The directional component captures meaningful weight correlations, contributing to improved predictive performance beyond mean-field baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.