← Lab /AI/ML

Bit-flip attacks can drop quantized models to chance accuracy with ≤24 flips

CoarseHammer can reduce the accuracy of quantized neural networks to chance level without any knowledge of model parameters

AI/ML arXiv 24 Nov 2026 Attack Prototype evidence Threat model

Published as “Bit-Flip Attacks on Quantized Neural Networks without Knowledge of Model Parameters”

Why it matters

An unprivileged co-located attacker can reliably cripple quantized neural network services, including large language models, even on systems with Rowhammer mitigations and without any model secrets.

Summary

CoarseHammer can degrade quantized DNNs to chance accuracy with high success even without any knowledge of model parameters, gradients, or test data. Under ideal fault placement it reaches chance accuracy in at least 81.5% of runs on each of ten models (six CNNs and four LLMs) with a median of ≤24 bit-flips, and on simulated DRAM with only 0.01 flippable bits per million it succeeds in up to 84% of runs where prior attacks fail. The attack also works on a real system, steering heap-allocated tensors despite ASLR and bringing LLMs to 25% MMLU accuracy and CNNs down to near-chance, even after continued fine-tuning and against two defenses.

What they found 3

  1. High success rate under ideal placement

    “Under ideal placement, CoarseHammer reaches chance accuracy in at least 81.5% of runs on each of ten evaluated models, including four large language models, with median successful runs requiring at most 24 flips.”

  2. Outperforms prior attacks on low-vulnerability DRAM

    “On simulated DRAM with 0.01 flippable bits per million, it outperforms three prior attacks on every evaluated convolutional network, succeeding in up to 84% of runs while they never succeed.”

  3. Real-system degradation of LLMs and CNNs

    “The median CoarseHammer attack brings the four LLMs to chance accuracy of 25% on the MMLU reasoning benchmark, and severely damages all the CNNs, reaching approximately chance accuracy in four models and substantially degrading ResNet50 to 21% down from 96%.”

Caveats 4

  • ResNet50’s accuracy drops from 96.1% to 21.6%, which is above the 10% chance level for CIFAR-10, so the attack does not always reach full chance accuracy on all models.
  • CoarseHammer’s success on LLMs is limited to reaching the 25% chance level on MMLU; it does not guarantee lower accuracy beyond that.
  • Bit flips can land in unintended frames due to ASLR. They can corrupt unrelated model parameters or they can land in the memory allocator’s metadata or the inference framework’s own objects, which might crash the victim process.
  • CoarseHammer requires the target tensors to live in DRAM where an attacker can influence placement and eventually induce flips using Rowhammer. An accelerator that retain highprecision tensors in on-chip memory are outside the scope of our Rowhammer implementation.

What’s new here 4

  • Targets small high-precision tensors (biases, normalization weights) without needing any parameter values or gradients.
  • Accepts a flip at any bit of the target tensors, removing the need for exact bit placement.
  • Remains effective on DRAM with extremely low numbers of flippable bits and after the victim fine-tunes the model.
  • Demonstrates end-to-end steering of heap-allocated target pages on a real system without accessing the model file.

Threat model stated by the source

Adversaryunprivileged co-located attacker process
CapabilityRowhammer fault injection, DRAM templating, page-steering via the page-frame cache
Assumesattacker can recover the victim’s operator graph and tensor shapes; victim runs on a shared inference platform with in-DRAM TRR mitigations; model parameters may be fine-tuned during deployment