mlsanityData to 7 Oct 2026

Quantamination: Dynamic Quantization Leaks Your Data Across the Batch

arXiv 2604.26505 ↗First posted 29 Apr 2026cs.CR cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Dynamic quantization emerged as a practical approach to increase the utilization and efficiency of the machine learning serving flow. Unlike static quantization, which applies quantization offline, dynamic quantization operates on tensors at run-time, adapting its parameters to the actual input data. Today's mainstream machine learning frameworks, including ML compilers and inference engines, frequently recommend dynamic quantization as an initial step for optimizing model serving. This is because dynamic quantization can significantly reduce memory usage and computational load, leading to faster token generation and improved model serving efficiency without substantial loss in model accuracy. In this paper, we reveal a critical vulnerability in dynamic quantization: an adversary can exploit such quantization strategy to steal sensitive user data placed in the same batch as the adversary's input. Our analysis demonstrates that dynamic quantization, when improperly implemented or configured, can create side channels that expose information about other inputs within the same batch. We call this phenomenon Quantamination, describing contamination from quantization. Specifically, we show that at least 4 of the most popular ML frameworks in use today either default to or can use configurations that leak data across the batch boundary. This data leakage, in theory, allows attackers to partially or even fully recover other users' batched input data, representing a serious privacy risk for existing ML serving frameworks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 25 of its 42 references that are in the map. First posted on arXiv 29 Apr 2026.

Builds on

25 of 42 references.

References · 25

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  3. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  4. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  6. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  7. 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
  8. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  9. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  10. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
  11. 2018Quantizing deep convolutional networks for efficient inference: A whitepapercited by 507
  12. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
13 more
  1. 2021See through Gradients: Image Batch Recovery via GradInversioncited by 320
  2. 2020Integer Quantization for Deep Learning Inference: Principles and Empirical Evaluationcited by 183
  3. 2024Turning Up the Heat: Min-p Sampling for Creative and Coherent LLM Outputscited by 148
  4. 2024Exploiting LLM Quantizationcited by 61
  5. 2024Softmax is not Enough (for Sharp Size Generalisation)cited by 42
  6. 2020Exploiting Verified Neural Networks via Floating Point Numerical Errorcited by 35
  7. 2024Buffer Overflow in Mixture of Expertscited by 10
  8. 2024Stealing User Prompts from Mixture of Expertscited by 10
  9. 2024Locking Machine Learning Models into Hardwarecited by 6
  10. 2024Hardware and Software Platform Inferencecited by 6
  11. 2021Forensicability of Deep Neural Network Inference Pipelinescited by 5
  12. 2025Architectural Backdoors for Within-Batch Data Stealing and Model Inference Manipulationcited by 3
  13. 2021iNNformant: Boundary Samples as Telltale Watermarkscited by 2

Built on by

Not cited yet.