← Lab /AI/ML

Quantization reduces verbatim memorization faster than capability but still leaves most data at low precision

Quantization selectively forgets memorized sequences yet four-bit models still reproduce most memorized data, especially in larger models

AI/ML arXiv 28 Jul 2026 Measurement Prototype evidence

Published as “Bits and Memories: Measuring Verbatim Extraction Across LLM Quantization”

Why it matters

Practitioners should not rely on quantization to scrub memorized training data and should monitor verbatim extraction rather than membership inference when assessing privacy risk.

Summary

Quantization reduces verbatim memorization faster than it degrades overall capability, but not enough to serve as a privacy defense; even four-bit models retain most of their memorized data, especially at larger scales. The authors evaluated three Pythia model sizes (160M, 410M, 1B) across five precision levels using two independent quantizers and measured both exact-match extraction and perplexity on WikiText-2 and the Pile, finding a selectivity ratio up to about seven yet 70%+ extraction at 1B. Evidence is based on real models and public memorization data, with consistent patterns across quantizers and corpora.

What they found 3

  1. Large models retain most memorized data even at four bits

    “At our one-billion parameter model, four-bit quantization keeps roughly ninety-five percent of capability while still reproducing over seventy percent of memorized sequences.”

  2. Surviving memorization fraction varies with scale

    “At four-bit NF4, the fraction of memorized sequences that survive quantization is 0.39 at 160M, 0.27 at 410M, and 0.72 at 1B.”

  3. Selectivity ratio reaches about seven at the largest model

    “We summarize this with a single number, a selectivity ratio, and it is comfortably above one everywhere, reaching about seven at our largest model.”

Caveats 5

  • At 1B, four-bit quantization still reproduces over seventy percent of memorized sequences despite only about four percent capability loss, showing that selective forgetting is insufficient for privacy.
  • We use one model family, Pythia, because it is the only one with public training data and public ground-truth memorization; whether the numbers transfer to other families is open.
  • Our largest model is 1B, well below deployment scale, so the scale trend is an extrapolation, not a measurement at the sizes that matter most.
  • We study English text, weight-only post-training quantization, and strict greedy extraction; sampling-based and probabilistic extraction, activation quantization, and quantization-aware training may behave differently.
  • Extraction rate on the known memorized set measures how quantization affects already-memorized content; it does not speak to what a fresh model quantized before any memorization measurement would do.

What’s new here 4

  • Direct measurement of verbatim extraction under quantization rather than proxy membership inference
  • Systematic evaluation across three model scales and five precision levels
  • Comparison of two unrelated quantization algorithms (bitsandbytes NF4 and a hand-written RTN quantizer)
  • Introduction of a selectivity ratio metric to quantify forgetting of memorization versus capability