Linhard and Filippone address a practical question for Bayesian neural networks: if not every parameter needs to be stochastic, which ones should be random? They propose learning that split by applying deep weight factorization to the prior scales—the standard deviations of parameter priors—while fitting the functional prior to a Gaussian process via a maximum mean discrepancy objective. Parameters whose prior scales fall below a cutoff are treated as deterministic and optimized during inference, so the regularizer sparsifies stochasticity rather than model capacity.

The paper also provides a certificate for universal conditional density approximation that can be checked in linear time, along with a minimal repair when the condition fails. The authors further analyze the common hybrid scheme where some parameters are sampled and others optimized, showing it is stochastic approximation for a type-II maximum a posteriori objective, and that coupled step sizes can leave a tracking error that does not vanish as step size shrinks.

Experiments on a bimodal target show the learned split stays close to an unconstrained reference across all compute budgets and is insensitive to the cutoff, while random masks distributing the same prior scales across layers perform worse by up to two orders of magnitude. On UCI benchmarks, the method performs on par with a fully stochastic network while keeping about half of its parameters deterministic, suggesting that partial stochasticity can be a cheap substitute for full Bayesian treatment.