NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

BMRS: Bayesian Model Reduction for Structured Pruning

Dustin Wright, Christian Igel, Raghavendra Selvan

TL;DR

BMRS (Bayesian Model Reduction for Structured Pruning) is a new, theoretically grounded method for slimming down neural networks by removing entire structures like neurons or filters. By combining multiplicative noise with a technique called Bayesian Model Reduction, it automatically identifies the "sweet spot" where a model is as small as possible without sacrificing accuracy—all without the tedious manual threshold tuning required by traditional pruning methods.

What Problem Does This Paper Address?

Modern neural networks are notoriously overparameterized, leading to massive computational and energy costs during both training and inference. Pruning—the process of removing unnecessary parts of a network—is a common solution to improve efficiency. However, most pruning falls into two camps:

  1. Unstructured Pruning: Removing individual weights. This creates "sparse" matrices that are actually quite difficult for standard hardware (like GPUs) to speed up efficiently.
  2. Structured Pruning: Removing entire neurons or convolutional filters. This results in smaller, "dense" models that run much faster on existing hardware.

The primary challenge with structured pruning is the "balancing act." How do you decide exactly which neurons to cut? Most existing methods require researchers to manually tune hyperparameter thresholds (like Signal-to-Noise ratios) for every different model and dataset, which is time-consuming, computationally expensive, and often arbitrary.

Methods

The authors introduce BMRS, which treats pruning as a formal Bayesian model comparison problem.

  • Multiplicative Noise: Instead of just learning weights, the model learns a "noise" variable ($\theta$) for every structure (e.g., a convolutional filter). If the model learns that $\theta$ is essentially zero, that structure has no impact on the output.
  • Bayesian Model Reduction (BMR): This is the "secret sauce." BMR is a mathematical shortcut that allows you to calculate how a model's evidence would change if you changed its "prior" (initial assumptions) without having to retrain the model.
  • The Pruning Rule: BMRS starts with a broad prior for the noise variables. It then uses BMR to efficiently check: "Would the model be 'better' (more evidence-supported) if I switched to a prior that forces this specific neuron to zero?" If the answer is yes ($\Delta F \geq 0$), the neuron is pruned.
The BMRS pruning process: calculating the change in evidence ($\Delta F$) under a reduced prior to prune structures.

The paper proposes two specific realizations of this method:

  1. $BMRS_N$ (Log-Normal): A "set-it-and-forget-it" version that automatically finds high compression rates without any user input or threshold tuning.
  2. $BMRS_U$ (Log-Uniform): A version that links pruning to floating-point precision. It allows users to prune based on the desired bit-precision of the network's numbers, offering more aggressive compression.

Datasets and Architectures

The researchers evaluated BMRS across a variety of standard benchmarks to prove its versatility:

  • Image Classification: MNIST, Fashion-MNIST, CIFAR10, and TinyImagenet.
  • Architectures: They tested everything from simple Multi-Layer Perceptrons (MLPs) and LeNet5 to modern heavyweights like ResNet-50 and Vision Transformers (ViT).

Key Insights and Ideas

  • Pruning as a Prior Change: The most elegant idea here is that removing a neuron is mathematically equivalent to changing your prior belief about that neuron's importance to be infinitely narrow around zero.
  • Finding the "Knee": In the trade-off between model size and accuracy, there is usually a "knee" in the curve where accuracy starts to plummet. $BMRS_N$ is remarkably good at finding this exact point automatically.
  • Hardware-Aware Pruning: By using the log-uniform prior ($BMRS_U$), the authors show a direct link between Bayesian pruning and the way computers actually store numbers (mantissas in floating-point format). This opens the door for pruning strategies tailored to specific hardware bit-depths.

Key Results

BMRS consistently matched or outperformed popular baselines like Magnitude (L2) pruning and SNR-based pruning.

Accuracy vs. Compression percentage, demonstrating BMRS maintaining high accuracy at significant compression rates compared to baselines.
  • ResNet-50 on CIFAR10: $BMRS_N$ achieved ~87% parameter compression while maintaining ~89.6% accuracy (very close to the unpruned baseline of 90.6%).
  • Vision Transformer (ViT) on TinyImagenet: It achieved ~47% compression with ~65% accuracy, proving the method scales to complex, attention-based architectures.
  • No More "Degenerate" Models: Unlike L2 pruning, which often causes accuracy to crash to zero if you prune just a little too much, BMRS is robust and stays near the optimal performance-efficiency frontier.

Limitations and Future Work

  • Training Overhead: Using multiplicative noise requires learning extra variational parameters ($\phi$), which increases the memory and time required during the initial training phase.
  • Structural Complexity: While the method works excellently for neurons and filters, the authors note that more complex "hierarchical" pruning (pruning across multiple interconnected levels of a network simultaneously) is a promising but currently unexplored direction for BMR.
  • The "Rebound Effect": The authors briefly mention a classic efficiency paradox (Jevons paradox): making models more efficient might just encourage people to use them more, potentially canceling out the intended energy savings. They suggest this broader environmental impact needs more study.

Summary updated

BibTeX
@inproceedings{wright2024bmrs,
  author = {Dustin Wright and Christian Igel and Raghavendra Selvan},
  title = {{BMRS: Bayesian Model Reduction for Structured Pruning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=ktpG37Dzh5},
}
Figure