Skip to content
Preprint

Bits and Memories: Measuring Verbatim Extraction Across LLM Quantization

Jul 2026 · 0 citations · 22 references
Computer Science

TL;DR

It is concluded that compression should not be treated as a way to remove memorized training data, and that extraction, not membership inference, is the number practitioners should be watching.

Abstract

Language models are almost always quantized before they are deployed, and a growing line of work asks whether quantization also lowers their privacy risk. That work measures privacy almost entirely with membership inference. We think this is the wrong thing to measure for the risk that most people actually worry about, namely a model reproducing its training data word for word, and we measure that directly. Using the Pythia models and the public set of sequences each of them is known to have memorized, we track verbatim extraction across five precision levels, from full precision down to four bits, and across three model sizes, while measuring general capability (perplexity) at every point. We find two things. Quantization is a selective forgetter: verbatim memorization falls off faster than capability at every precision and every model size we tried, and this holds under two unrelated quantization algorithms and two evaluation corpora. But the selectivity is not enough to make quantization a privacy defense, which cuts against the optimistic reading of earlier membership-inference results. At the largest model we study, four-bit quantization still reproduces most of the memorized sequences while giving up only a few percent of capability, and the fraction of memorized data that survives quantization grows with model size. We conclude that compression should not be treated as a way to remove memorized training data, and that extraction, not membership inference, is the number practitioners should be watching. All code, sampled evaluation data, and per-configuration results are released.

View source

Similar papers

#large language models Open access Oct 2026

LLMs Leak Training Data Beyond Verbatim Memorization: Extraction via Membership Decoding

The Membership Decoding method is a plug-and-play replacement for standard decoding that requires only black-box token probabilities, and a new token-level membership inference method is proposed by leveraging likelihood from reference models, shifting the generation from the original token distribution to the member t...

Zi-Tai Chen, Reza Shokri · 0 citations
Open access Jul 2026

The Effects of Low-Bit Quantization on Confidence Calibration in Small Language Models

This study looks at how confidence patterns shift when cutting data precision to 4 bits using NF4, applied post-training on Phi-3.5-Mini-Instruct, a small-scale language model packing 3.8 billion parameters. Shrinking precision cuts down memory demands while speeding up output creation; however, what remains unclear is...

Gupta Iddhant · 0 citations
Jul 2026

QuantiBias: Benchmarking Quantization-Induced Bias in LLMs

A benchmark that pairs a generative, multilingual stereotype probe with the refusal and multiple-choice controls that isolate open-ended generation, contrasts each build with and without reasoning, and rates the content severity of what it generates.

Emilio Ferrara · 0 citations
Jul 2026

The Illusion of Equivalency: Statistical Characterization of Quantization Effects in LLMs

This work proposes Correctness Agreement, a decision-level metric that can measure the intersection of correct predictions between the base model and its quantized variant, and finds that the base and quantized variants usually have a shift in behavior even when accuracy and perplexity are preserved.

Baha Rababah, Shahzeb Qamar, Lorenz Sparrenberg et al. · 0 citations
#natural language process... Preprint Aug 2026

Which Decisions Low-Bit Quantization Breaks, and How to Predict Them

This work tracks quantization across 16 models from 8 families under round-to-nearest, seven under AWQ, two under GPTQ and one under GGUF, at 8 down to 2 bits, and measures the margin, the picked option's score minus its best alternative's, which removes the protection a large margin affords.

Zekun Wu, Swati Dhiman, A. Koshiyama · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.