mlsanityData to 14 Oct 2026

QuantAttack: Exploiting Dynamic Quantization to Attack Vision Transformers

arXiv 2312.02220 ↗First posted 3 Dec 2023cs.CV cs.CR cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

In recent years, there has been a significant trend in deep neural networks (DNNs), particularly transformer-based models, of developing ever-larger and more capable models. While they demonstrate state-of-the-art performance, their growing scale requires increased computational resources (e.g., GPUs with greater memory capacity). To address this problem, quantization techniques (i.e., low-bit-precision representation and matrix multiplication) have been proposed. Most quantization techniques employ a static strategy in which the model parameters are quantized, either during training or inference, without considering the test-time sample. In contrast, dynamic quantization techniques, which have become increasingly popular, adapt during inference based on the input provided, while maintaining full-precision performance. However, their dynamic behavior and average-case performance assumption makes them vulnerable to a novel threat vector -- adversarial attacks that target the model's efficiency and availability. In this paper, we present QuantAttack, a novel attack that targets the availability of quantized models, slowing down the inference, and increasing memory usage and energy consumption. We show that carefully crafted adversarial examples, which are designed to exhaust the resources of the operating system, can trigger worst-case performance. In our experiments, we demonstrate the effectiveness of our attack on vision transformers on a wide range of tasks, both uni-modal and multi-modal. We also examine the effect of different attack variants (e.g., a universal perturbation) and the transferability between different models.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 45 of its 56 references that are in the map. First posted on arXiv 3 Dec 2023.

Builds on

45 of 56 references.

References · 45

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  6. 2013Intriguing properties of neural networkscited by 5,155
  7. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  8. 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,057
  9. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  10. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
  11. 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
  12. 2021Transformers in Vision: A Surveycited by 1,013
33 more
  1. 2016Universal adversarial perturbationscited by 784
  2. 2019Learned Step Size Quantizationcited by 628
  3. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 621
  4. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 569
  5. 2022GIT: A Generative Image-to-text Transformer for Vision and Languagecited by 537
  6. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
  7. 2022FLEURS: Few-shot Learning Evaluation of Universal Representations of Speechcited by 469
  8. 2021Dynamic Neural Networks: A Surveycited by 408
  9. 2021A Survey of Transformerscited by 401
  10. 2023Scaling Open-Vocabulary Object Detectioncited by 343
  11. 2021Post-Training Quantization for Vision Transformercited by 278
  12. 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 189
  13. 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 179
  14. 2021You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detectioncited by 170
  15. 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
  16. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 141
  17. 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 137
  18. 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
  19. 2020Sponge Examples: Energy-Latency Attacks on Neural Networkscited by 111
  20. 2021Towards Transferable Adversarial Attacks on Vision Transformerscited by 80
  21. 2020Post-Training Piecewise Linear Quantization for Deep Neural Networkscited by 79
  22. 2021Bad Characters: Imperceptible NLP Attackscited by 71
  23. 2021On Improving Adversarial Transferability of Vision Transformerscited by 70
  24. 2020The Translucent Patch: A Physical and Universal Attack on Object Detectorscited by 62
  25. 2020A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inferencecited by 61
  26. 2018DARTS: Deceiving Autonomous Cars with Toxic Signscited by 54
  27. 2023Transferable Adversarial Attacks on Vision Transformers with Token Gradient Regularizationcited by 42
  28. 2022Energy-Latency Attacks via Sponge Poisoningcited by 29
  29. 2022Phantom Sponges: Exploiting Non-Maximum Suppression to Attack Deep Object Detectorscited by 28
  30. 2021Adversarial Mask: Real-World Universal Adversarial Attack on Face Recognition Modelcited by 19
  31. 2019Adversarial Exploitation of Policy Imitationcited by 13
  32. 2020Neighbors From Hell: Voltage Attacks Against Deep Learning Accelerators on Multi-Tenant FPGAscited by 4
  33. 2021A Review of Confidentiality Threats Against Embedded Neural Network Modelscited by 4

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Quantization as a Malicious Task: Removing Quantization-Conditioned Backdoors via Task Arithmetic ↗
  2. 2025Breaking the Limits of Quantization-Aware Defenses: QADT-R for Robustness Against Patch-Based Adversarial Attacks in QNNs
  3. 2021Qu-ANTI-zation: Exploiting Quantization Artifacts for Achieving Adversarial Outcomes
  4. 2021In-Hindsight Quantization Range Estimation for Quantized Training
  5. 2023Improving the Robustness of Quantized Deep Neural Networks to White-Box Attacks using Stochastic Quantization and Information-Theoretic Ensemble Training
  6. 2024Investigating the Impact of Quantization on Adversarial Robustness
  7. 2024QGen: On the Ability to Generalize in Quantization Aware Training
  8. 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey