SQS: Bayesian DNN Compression through Sparse Quantized Sub-distributions

Ziyi Wang, Nan Jiang, Guang Lin, Qifan Song

Purdue University · University of Texas at El Paso

Published September 7, 2026 · on the feed September 9, 2026 · ▲ 18 · arXiv 2510.08999

Efficiency & inferenceTheory & statistics Full code arXiv ↗Hugging Face ↗

The abstract

Compressing large-scale neural networks is essential for deploying models on resource-constrained devices. Most existing methods adopt weight pruning or low-bit quantization individually, often resulting in suboptimal compression rates to preserve acceptable performance drops. We introduce a unified framework for simultaneous pruning and low-bit quantization via Bayesian variational learning (\method), which achieves higher compression rates than prior baselines while maintaining comparable performance. The key idea is to employ a spike-and-slab prior to induce sparsity and model quantized weights using Gaussian Mixture Models (GMMs) to enable low-bit precision. Due to the intractability of the objective involving spike-and-slab priors with GMMs, we derive an efficient approximation that facilitates effective compression with minimal accuracy loss. In theory, we provide a consistent result for our proposed variational approach to a sparse and quantized deep neural network. Extensive experiments on compressing ResNet, BERT-base, Llama3.2, and Qwen2.5 models show that our method achieves higher compression rates than a line of existing methods with comparable performance drops. Project page: https://comeusr.github.io/SQS_Webpage.

The Brief

2:15

A short podcast summary of the paper. Written and voiced by AI.

Transcript

SQS. Bayesian DNN Compression through Sparse Quantized Sub-distributions. By Ziyi Wang and three others, from Purdue University and the University of Texas at El Paso. Published on the seventh of September. Its code repository is worked out: about sixty-five source files, with a readme and a licence.

Deploying a large neural network on a resource-constrained device means compressing it first, and the two standard tools for that are weight pruning and low-bit quantization. Most existing methods reach for one of them at a time. Used individually, each has to stop short: to keep the drop in performance acceptable, the compression rate it reaches is often suboptimal. Pruning removes weights, quantization shrinks the ones that remain, and treating them as separate problems leaves compression on the table.

SQS brings the two together in a single framework that prunes and quantizes simultaneously, and it does so through Bayesian variational learning. The key idea is a pairing of priors over the weights. A spike-and-slab prior induces sparsity, which is the pruning half. The weights that survive are modelled with Gaussian Mixture Models, or GMMs, which is what enables low-bit precision, the quantization half. One probabilistic description of the network carries both kinds of compression at once.

Combining these priors has a cost. An objective that involves spike-and-slab priors together with GMMs is intractable, so it cannot be optimised directly. The authors derive an efficient approximation of it, one that makes effective compression possible with minimal loss of accuracy. On the theory side, they give a consistency result for the proposed variational approach, applied to a deep neural network that is both sparse and quantized.

The experiments compress four quite different models: ResNet, BERT-base, Llama three point two, and Qwen two point five. Across them, the method achieves higher compression rates than a line of existing methods, while its performance drops stay comparable to theirs. The comparison is framed at matched cost: similar degradation, more compression.

What SQS changes is the unit of design. Rather than choosing between cutting weights and coarsening them, it writes both into the prior of one Bayesian model and lets variational learning decide. The spike handles which weights disappear, the mixture handles how the rest are represented, and the approximation is what makes that combination trainable in practice.

Paper Quest · 7 chapters · about 40 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Shrinking a network is easy. Shrinking it without breaking it is the wall here.

You need a large neural network to run on a small device. Two tools are standard: remove unimportant weights, and store the remaining weights with fewer bits.

The road ahead

  1. 1 · The problem ~6 min Shrinking a big network for a small device usually means cutting weights or using fewer bits, and each tool alone has to stop early.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~9 min Describe every weight with one learned distribution whose spike at zero prunes and whose mixture over a few values quantizes, trained together.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Build a spike-and-Gaussian-mixture distribution per weight, train it with an approximate objective, and get a network that is sparse and low-bit at once.
  6. 6 · The experiment ~6 min You’ll guess: Against existing pruning or quantization methods on ResNet, BERT-base and LLMs, how did SQS trade compression against performance?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.