DeepHammer: Depleting the Intelligence of Deep Neural Networks through Targeted Chain of Bit Flips
Not on the map. Why?
Abstract (arXiv)
Security of machine learning is increasingly becoming a major concern due to the ubiquitous deployment of deep learning in many security-sensitive domains. Many prior studies have shown external attacks such as adversarial examples that tamper with the integrity of DNNs using maliciously crafted inputs. However, the security implication of internal threats (i.e., hardware vulnerability) to DNN models has not yet been well understood. In this paper, we demonstrate the first hardware-based attack on quantized deep neural networks-DeepHammer-that deterministically induces bit flips in model weights to compromise DNN inference by exploiting the rowhammer vulnerability. DeepHammer performs aggressive bit search in the DNN model to identify the most vulnerable weight bits that are flippable under system constraints. To trigger deterministic bit flips across multiple pages within reasonable amount of time, we develop novel system-level techniques that enable fast deployment of victim pages, memory-efficient rowhammering and precise flipping of targeted bits. DeepHammer can deliberately degrade the inference accuracy of the victim DNN system to a level that is only as good as random guess, thus completely depleting the intelligence of targeted DNN systems. We systematically demonstrate our attacks on real systems against 12 DNN architectures with 4 different datasets and different application domains. Our evaluation shows that DeepHammer is able to successfully tamper DNN inference behavior at run-time within a few minutes. We further discuss several mitigation techniques from both algorithm and system levels to protect DNNs against such attacks. Our work highlights the need to incorporate security mechanisms in future deep learning system to enhance the robustness of DNN against hardware-based deterministic fault injections.
Key facts. Cited by 53 papers in the map (data through 7 Oct 2026). First posted on arXiv 30 Mar 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 3; 2023: 7; 2024: 6; 2025: 16; 2026: 13.
53 papers.
Sort:
By area:
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systemscited by 63
- 2021Targeted Attack against Deep Neural Networks via Flipping Limited Weight Bitscited by 49
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memoriescited by 42
- 2022Hardly Perceptible Trojan Attack against Neural Networks with Bit Flipscited by 21
- 2021RADAR: Run-time Adversarial Weight Attack Detection and Accuracy Recoverycited by 18
- 2021Qu-ANTI-zation: Exploiting Quantization Artifacts for Achieving Adversarial Outcomescited by 16
- 2023One-bit Flip is All You Need: When Bit-flip Attack Meets Model Trainingcited by 14
- 2021RA-BNN: Constructing Robust & Accurate Binary Neural Network to Simultaneously Defend Adversarial Bit-Flip Attack and Improve Accuracycited by 11
- 2022What You See is Not What the Network Infers: Detecting Adversarial Examples Based on Semantic Contradictioncited by 10
- 2024GenBFA: An Evolutionary Optimization Approach to Bit-Flip Attacks on LLMscited by 10
- 2021HASHTAG: Hash Signatures for Online Detection of Fault-Injection Attacks on Deep Neural Networkscited by 9
- 2021Don't Knock! Rowhammer at the Backdoor of DNN Modelscited by 6
38 more
- 2022A Closer Look at Evaluating the Bit-Flip Attack Against Deep Neural Networkscited by 5
- 2025SBFA: Single Sneaky Bit Flip Attack to Break Large Language Modelscited by 5
- 2025Maximal Brain Damage Without Data or Optimization: Disrupting Neural Networks via Sign-Bit Flipscited by 4
- 2024PrisonBreak: Jailbreaking Large Language Models with at Most Twenty-Five Targeted Bit-flipscited by 3
- 2025On the Relationship Between Robustness and Expressivity of Graph Neural Networkscited by 3
- 2023Evaluation of Parameter-based Attacks against Embedded Neural Networks with Laser Injectioncited by 2
- 2023DNN-Defender: A Victim-Focused In-DRAM Defense Mechanism for Taming Adversarial Weight Attack on DNNscited by 2
- 2023Fault Injection on Embedded Neural Networks: Impact of a Single Instruction Skipcited by 2
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executablescited by 2
- 2025Verification of Bit-Flip Attacks against Quantized Neural Networkscited by 2
- 2025BitHydra: Towards Bit-flip Inference Cost Attack against Large Language Modelscited by 2
- 2026TFL: Targeted Bit-Flip Attack on Large Language Modelcited by 2
- 2021BDFA: A Blind Data Adversarial Bit-flip Attack on Deep Neural Networkscited by 1
- 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasurescited by 1
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systemscited by 1
- 2025SilentStriker:Toward Stealthy Bit-Flip Attacks on Large Language Modelscited by 1
- 2025Hammering the Diagnosis: Rowhammer-Induced Stealthy Trojan Attacks on ViT-Based Medical Imagingcited by 1
- 2025FaRAccel: FPGA-Accelerated Defense Architecture for Efficient Bit-Flip Attack Resilience in Transformer Modelscited by 1
- 2025FlipLLM: Efficient Bit-Flip Attacks on Multimodal LLMs using Reinforcement Learningcited by 1
- 2026Targeted Bit-Flip Attacks on LLM-Based Agentscited by 1
- 2023Can We Rely on AI?cited by 0
- 2023Attacking Graph Neural Networks with Bit Flips: Weisfeiler and Lehman Go Indifferentcited by 0
- 2024An Empirical Study of Aegiscited by 0
- 2024Comparative Evaluation of Memory Technologies for Synaptic Crossbar Arrays- Part 2: Design Knobs and DNN Accuracy Trendscited by 0
- 2025Hessian-aware Training for Enhancing DNNs Resilience to Parameter Corruptionscited by 0
- 2025Threat Modeling for AI: The Case for an Asset-Centric Approachcited by 0
- 2025RIFT: A Scalable Methodology for LLM Accelerator Fault Assessment using Reinforcement Learningcited by 0
- 2025How a Bit Becomes a Story: Semantic Steering via Differentiable Fault Injectioncited by 0
- 2025COBRA: Catastrophic Bit-flip Reliability Analysis of State-Space Modelscited by 0
- 2025BitFlipScope: Scalable Fault Localization and Recovery for Bit-Flip Corruptions in LLMscited by 0
- 2026Asking Forever: Universal Activations Behind Turn Amplification in Conversational LLMscited by 0
- 2026MAED: Mathematical Activation Error Detection for Mitigating Physical Fault Attacks in DNN Inferencecited by 0
- 2026Bit-Flip Vulnerability of Shared KV-Cache Blocks in LLM Serving Systemscited by 0
- 2026Lightweight and Fast Backdoor Model Detectioncited by 0
- 2026Toward a Generalized Defense Across Sparse, Continuous, and Structured Parameter Attackscited by 0
- 2026SoK: Colluding Adversaries in Machine Learning Pipelinescited by 0
- 2026Layers Matter: Why Continual Learning Regularization Should Be Layer-Adaptivecited by 0
- 2026TEE-X: TEE-aware Acceleration Framework for Large Vision Models at the Edgecited by 0
50 most cited of 53 All 53 (JSON)
- 2026Security-Enhanced Seed-Based Weight Quantization for Large Language Models29 Sep 2026
- 2026Groundhog Bit-Flip Attack: Seeding Infinite Generation Loops in Mixture-of-Experts LLMs through Bit Flips26 Aug 2026
- 2026TEE-X: TEE-aware Acceleration Framework for Large Vision Models at the Edge24 Aug 2026
- 2026Layers Matter: Why Continual Learning Regularization Should Be Layer-Adaptive16 Aug 2026
- 2026On the Effect of Bit-Level Parameter Perturbations in Machine Learning and Deep Learning Models14 Aug 2026
- 2026SoK: Colluding Adversaries in Machine Learning Pipelines8 Jun 2026
- 2026Toward a Generalized Defense Across Sparse, Continuous, and Structured Parameter Attacks3 Jun 2026
- 2026Lightweight and Fast Backdoor Model Detection17 May 2026
- 2026Bit-Flip Vulnerability of Shared KV-Cache Blocks in LLM Serving Systems19 Apr 2026
- 2026MAED: Mathematical Activation Error Detection for Mitigating Physical Fault Attacks in DNN Inference18 Mar 2026
- 2026Targeted Bit-Flip Attacks on LLM-Based Agents7 Mar 2026
- 2026TFL: Targeted Bit-Flip Attack on Large Language Model19 Feb 2026
38 more
- 2026Asking Forever: Universal Activations Behind Turn Amplification in Conversational LLMs19 Feb 2026
- 2025BitFlipScope: Scalable Fault Localization and Recovery for Bit-Flip Corruptions in LLMs18 Dec 2025
- 2025COBRA: Catastrophic Bit-flip Reliability Analysis of State-Space Models14 Dec 2025
- 2025FlipLLM: Efficient Bit-Flip Attacks on Multimodal LLMs using Reinforcement Learning10 Dec 2025
- 2025RIFT: A Scalable Methodology for LLM Accelerator Fault Assessment using Reinforcement Learning10 Dec 2025
- 2025How a Bit Becomes a Story: Semantic Steering via Differentiable Fault Injection9 Dec 2025
- 2025FaRAccel: FPGA-Accelerated Defense Architecture for Efficient Bit-Flip Attack Resilience in Transformer Models28 Oct 2025
- 2025Hammering the Diagnosis: Rowhammer-Induced Stealthy Trojan Attacks on ViT-Based Medical Imaging28 Oct 2025
- 2025SBFA: Single Sneaky Bit Flip Attack to Break Large Language Models26 Sep 2025
- 2025SilentStriker:Toward Stealthy Bit-Flip Attacks on Large Language Models22 Sep 2025
- 2025LLM in the Middle: A Systematic Review of Threats and Mitigations to Real-World LLM-based Systems12 Sep 2025
- 2025BitHydra: Towards Bit-flip Inference Cost Attack against Large Language Models22 May 2025
- 2025Threat Modeling for AI: The Case for an Asset-Centric Approach8 May 2025
- 2025On the Relationship Between Robustness and Expressivity of Graph Neural Networks18 Apr 2025
- 2025Hessian-aware Training for Enhancing DNNs Resilience to Parameter Corruptions2 Apr 2025
- 2025Verification of Bit-Flip Attacks against Quantized Neural Networks22 Feb 2025
- 2025Maximal Brain Damage Without Data or Optimization: Disrupting Neural Networks via Sign-Bit Flips11 Feb 2025
- 2024PrisonBreak: Jailbreaking Large Language Models with at Most Twenty-Five Targeted Bit-flips10 Dec 2024
- 2024GenBFA: An Evolutionary Optimization Approach to Bit-Flip Attacks on LLMs21 Nov 2024
- 2024SoK: A Systems Perspective on Compound AI Threats and Countermeasures20 Nov 2024
- 2024Comparative Evaluation of Memory Technologies for Synaptic Crossbar Arrays- Part 2: Design Knobs and DNN Accuracy Trends11 Aug 2024
- 2024An Empirical Study of Aegis24 Apr 2024
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systems11 Jan 2024
- 2023Attacking Graph Neural Networks with Bit Flips: Weisfeiler and Lehman Go Indifferent2 Nov 2023
- 2023Compiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executables12 Sep 2023
- 2023Fault Injection on Embedded Neural Networks: Impact of a Single Instruction Skip31 Aug 2023
- 2023Can We Rely on AI?29 Aug 2023
- 2023One-bit Flip is All You Need: When Bit-flip Attack Meets Model Training12 Aug 2023
- 2023DNN-Defender: A Victim-Focused In-DRAM Defense Mechanism for Taming Adversarial Weight Attack on DNNs14 May 2023
- 2023Evaluation of Parameter-based Attacks against Embedded Neural Networks with Laser Injection25 Apr 2023
- 2022A Closer Look at Evaluating the Bit-Flip Attack Against Deep Neural Networks28 Sep 2022
- 2022Hardly Perceptible Trojan Attack against Neural Networks with Bit Flips27 Jul 2022
- 2022What You See is Not What the Network Infers: Detecting Adversarial Examples Based on Semantic Contradiction24 Jan 2022
- 2021BDFA: A Blind Data Adversarial Bit-flip Attack on Deep Neural Networks7 Dec 2021
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memories8 Nov 2021
- 2021HASHTAG: Hash Signatures for Online Detection of Fault-Injection Attacks on Deep Neural Networks2 Nov 2021
- 2021Qu-ANTI-zation: Exploiting Quantization Artifacts for Achieving Adversarial Outcomes26 Oct 2021
- 2021Don't Knock! Rowhammer at the Backdoor of DNN Models14 Oct 2021
50 newest of 53 All 53 (JSON)
- 2026Targeted Bit-Flip Attacks on LLM-Based Agentscited by 1
- 2026Targeted Bit-Flip Attacks on LLM-Based Agents7 Mar 2026
- 2024Risk Taxonomy, Mitigation, and Assessment Benchmarks of Large Language Model Systemscited by 63
- 2021DeepSteal: Advanced Model Extractions Leveraging Efficient Weight Stealing in Memoriescited by 42
- 2022Hardly Perceptible Trojan Attack against Neural Networks with Bit Flipscited by 21
- 2021RADAR: Run-time Adversarial Weight Attack Detection and Accuracy Recoverycited by 18
- 2023One-bit Flip is All You Need: When Bit-flip Attack Meets Model Trainingcited by 14
- 2021RA-BNN: Constructing Robust & Accurate Binary Neural Network to Simultaneously Defend Adversarial Bit-Flip Attack and Improve Accuracycited by 11
- 2022What You See is Not What the Network Infers: Detecting Adversarial Examples Based on Semantic Contradictioncited by 10
- 2024GenBFA: An Evolutionary Optimization Approach to Bit-Flip Attacks on LLMscited by 10
- 2021HASHTAG: Hash Signatures for Online Detection of Fault-Injection Attacks on Deep Neural Networkscited by 9
- 2021Don't Knock! Rowhammer at the Backdoor of DNN Modelscited by 6
- 2022A Closer Look at Evaluating the Bit-Flip Attack Against Deep Neural Networkscited by 5
- 2025SBFA: Single Sneaky Bit Flip Attack to Break Large Language Modelscited by 5
12 most cited of 45 All 45 (JSON)
- 2026Security-Enhanced Seed-Based Weight Quantization for Large Language Models29 Sep 2026
- 2026TEE-X: TEE-aware Acceleration Framework for Large Vision Models at the Edge24 Aug 2026
- 2026Layers Matter: Why Continual Learning Regularization Should Be Layer-Adaptive16 Aug 2026
- 2026On the Effect of Bit-Level Parameter Perturbations in Machine Learning and Deep Learning Models14 Aug 2026
- 2026SoK: Colluding Adversaries in Machine Learning Pipelines8 Jun 2026
- 2026Toward a Generalized Defense Across Sparse, Continuous, and Structured Parameter Attacks3 Jun 2026
- 2026Lightweight and Fast Backdoor Model Detection17 May 2026
- 2026MAED: Mathematical Activation Error Detection for Mitigating Physical Fault Attacks in DNN Inference18 Mar 2026
- 2026TFL: Targeted Bit-Flip Attack on Large Language Model19 Feb 2026
- 2026Asking Forever: Universal Activations Behind Turn Amplification in Conversational LLMs19 Feb 2026
- 2025BitFlipScope: Scalable Fault Localization and Recovery for Bit-Flip Corruptions in LLMs18 Dec 2025
- 2025RIFT: A Scalable Methodology for LLM Accelerator Fault Assessment using Reinforcement Learning10 Dec 2025
12 newest of 45 All 45 (JSON)