Behavioral Capacity Certificates for Quantized Language Models

Arian Eamaz, Mojtaba Soltanalian
9/29/2026
cs.LG
quantization-pruning

No official code found. Best implementation: eamaz/bcc (0 stars, Jupyter Notebook, MIT, last commit 2026-09-29).

Abstract

Activation and key-value cache precision change what a quantized language model computes without altering its stored weights. Direct weight-code bounds, however, assign identical complexity to deployments that behave differently and charge separately for weight codes that behave identically.

Show full abstract

Behavioral Capacity Certificates (BCC) charge for behavior using the aggregate prior mass of complete implementations---weights, scales, activation and cache rules---that induce the same bounded loss. When quantization merges implementations, this shared mass lowers the complexity penalty, and a break-even law determines when the saving survives the cost of validating it. BCC supports a three-step deployment workflow, and our experiments verify each step. First, a forward-only screen shortlists per-layer bit-widths by how often candidate perturbations preserve the reference predictions, with quality comparable to Hessian-guided selection at lower preprocessing cost. Second, margin-certified cells identify weights that can be pruned or sign-flipped without changing the deployed behavior: every permitted combination preserves all declared predictions, and on OLMoE-1B-7B and SmolLM2-1.7B, independent probes bound the probability that any permitted combination changes a prediction on new text. Third, BCC bounds the population loss of the deployed model, nonvacuously for complete decoders and more tightly than the compressed-code route. At equal cache memory, giving keys higher precision than values yields lower NLL and higher prediction agreement on GPT-2, Qwen2.5, and SmolLM2, together with a tighter complexity bound in the GPT-2 audit.

View on arXivView PDF

Code Implementations(1)

eamaz/bccCommunity25%
MIT

Code, notebooks, frozen protocols, and reproducibility results for Behavioral Capacity Certificates for Quantized Language Models.

00Jupyter NotebookSep 29, 20262 months agoMIT

Similar Papers

Cite this paper

@article{eamaz2026behavioral,
  title  = {Behavioral Capacity Certificates for Quantized Language Models},
  author = {Arian Eamaz and Mojtaba Soltanalian},
  year   = {2026},
  eprint = {2609.37887},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.37887v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.37887.svg)](https://codeofpaper.com/paper/2609.37887)

Discussion