atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Shaving Weights with Occam's Razor: Bayesian Sparsification for Neural Networks using the Marginal Likelihood

NeurIPS 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: Sparse training from scratch · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SpaM, which trains neural networks to maximize a Laplace-approximated marginal likelihood with structured sparsity-inducing priors so they become more sparsifiable, and OPD, a cheap posterior-precision-based pruning criterion.

Problem

Standard training does not make networks sparsifiable, so pruning hurts accuracy, especially at high sparsity; most prior work only designs better pruning criteria.

Approach

Use the Laplace-approximated marginal likelihood as a differentiable objective to learn layer-, unit-, and parameter-wise prior precisions (automatic Occam's razor) during training, and reuse the posterior precision as an Optimal Brain Damage-style pruning score (OPD).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train with SpaM rather than MAPResNet with OPD pruning · CIFAR-10, 95% sparsityaccuracy: 37.52 (±2.34) -> 89.98 (±0.61)Helped
train with SpaM rather than MAPResNet with OPD pruning · CIFAR-10, 99% sparsityaccuracy: 17.32 (±1.01) -> 66.28 (±5.89)Helped
train with SpaM rather than MAPResNet with GraSP pruning · CIFAR-10, 99% sparsityaccuracy: 15.75 (±0.80) -> 41.48 (±7.95)Helped
train with SpaM rather than MAPResNet with Magnitude pruning · CIFAR-10, 99% sparsityaccuracy: 16.12 (±0.90) -> 41.78 (±7.20)Helped
train with SpaM rather than MAPResNet with SNIP pruning · CIFAR-10, 99% sparsityaccuracy: 12.58 (±0.36) -> 11.90 (±0.51)Hurt
train with SpaM rather than MAPResNet with Random pruning · CIFAR-10, 99% sparsityaccuracy: 10.27 (±0.17) -> 9.81 (±0.61)Hurt
use parameter-wise rather than layerwise prior (ablation)SpaM + OPD on LeNet · MNIST, 99% sparsityaccuracy: 36.25 -> 75.92Helped
use parameter-wise rather than scalar prior (ablation)SpaM + OPD on LeNet · MNIST, 99% sparsityaccuracy: 16.12 -> 75.92Helped
use Diag with a parameter-wise prior rather than KFAC with a layerwise prior (ablation)SpaM + OPD on LeNet · MNIST, 99% sparsityaccuracy: 28.16 -> 75.92Helped
use Diag rather than KFAC with parameter-wise prior (ablation)SpaM + OPD on MLP-Mixer (2 blocks) · MNIST, 99% sparsityaccuracy: 96.97 -> 98.50Helped
train with SpaM rather than MAPMLP-Mixer with OPD pruning · MNIST, 99% sparsityaccuracy: 57.66 -> 98.50Helped
train with SpaM rather than MAPResNet with OPD pruning · CIFAR-10, 99% sparsityNLL: 2.62 ± 0.0106 -> 3.43 ± 0.0179Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 MNIST FashionMNIST IMDB

Benchmarks: CIFAR-10 MNIST FashionMNIST IMDB

Metrics: test accuracy negative log-likelihood expected calibration error Brier score

Baselines: MAP training random pruning magnitude pruning SNIP GraSP SynFlow L1 regularization

Builds on: Laplace approximation for deep learning marginal likelihood model selection Optimal Brain Damage KFAC ARD

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy