QuantAttack: Exploiting Dynamic Quantization to Attack Vision Transformers
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
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2013Intriguing properties of neural networkscited by 5,155
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 4,057
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
- 2021Transformers in Vision: A Surveycited by 1,013
33 more
- 2016Universal adversarial perturbationscited by 784
- 2019Learned Step Size Quantizationcited by 628
- 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 621
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 569
- 2022GIT: A Generative Image-to-text Transformer for Vision and Languagecited by 537
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
- 2022FLEURS: Few-shot Learning Evaluation of Universal Representations of Speechcited by 469
- 2021Dynamic Neural Networks: A Surveycited by 408
- 2021A Survey of Transformerscited by 401
- 2023Scaling Open-Vocabulary Object Detectioncited by 343
- 2021Post-Training Quantization for Vision Transformercited by 278
- 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 189
- 2021PTQ4ViT: Post-training quantization for vision transformers with twin uniform quantizationcited by 179
- 2021You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detectioncited by 170
- 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 141
- 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 137
- 2021AMMUS : A Survey of Transformer-based Pretrained Models in Natural Language Processingcited by 131
- 2020Sponge Examples: Energy-Latency Attacks on Neural Networkscited by 111
- 2021Towards Transferable Adversarial Attacks on Vision Transformerscited by 80
- 2020Post-Training Piecewise Linear Quantization for Deep Neural Networkscited by 79
- 2021Bad Characters: Imperceptible NLP Attackscited by 71
- 2021On Improving Adversarial Transferability of Vision Transformerscited by 70
- 2020The Translucent Patch: A Physical and Universal Attack on Object Detectorscited by 62
- 2020A Panda? No, It's a Sloth: Slowdown Attacks on Adaptive Multi-Exit Neural Network Inferencecited by 61
- 2018DARTS: Deceiving Autonomous Cars with Toxic Signscited by 54
- 2023Transferable Adversarial Attacks on Vision Transformers with Token Gradient Regularizationcited by 42
- 2022Energy-Latency Attacks via Sponge Poisoningcited by 29
- 2022Phantom Sponges: Exploiting Non-Maximum Suppression to Attack Deep Object Detectorscited by 28
- 2021Adversarial Mask: Real-World Universal Adversarial Attack on Face Recognition Modelcited by 19
- 2019Adversarial Exploitation of Policy Imitationcited by 13
- 2020Neighbors From Hell: Voltage Attacks Against Deep Learning Accelerators on Multi-Tenant FPGAscited by 4
- 2021A Review of Confidentiality Threats Against Embedded Neural Network Modelscited by 4
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Quantization as a Malicious Task: Removing Quantization-Conditioned Backdoors via Task Arithmetic ↗
- 2025Breaking the Limits of Quantization-Aware Defenses: QADT-R for Robustness Against Patch-Based Adversarial Attacks in QNNs
- 2021Qu-ANTI-zation: Exploiting Quantization Artifacts for Achieving Adversarial Outcomes
- 2021In-Hindsight Quantization Range Estimation for Quantized Training
- 2023Improving the Robustness of Quantized Deep Neural Networks to White-Box Attacks using Stochastic Quantization and Information-Theoretic Ensemble Training
- 2024Investigating the Impact of Quantization on Adversarial Robustness
- 2024QGen: On the Ability to Generalize in Quantization Aware Training
- 2024Model Quantization and Hardware Acceleration for Vision Transformers: A Comprehensive Survey