Skip to content

Bit-Flip Attack on Quantized Neural Networks Without Model Parameter KnowledgeBit-Flip Attacks on Quantized Neural Networks without Knowledge of Model Parameters

arXiv: 其他 AI 安全论文· arXiv:2611.32128· Mahmoud Abumandour, Srinija Ramichetty, Guru Venkataramani, Alaa R. Alameldeen·Indexed by this site · 10 hr ago· Originally publishedSelected Attacks· Its place in the scan record →SelectedAttention42

Quick read

Based on the paper's full text (AI-generated); refer to the original

AI summaryResearchers from George Washington University and Simon Fraser University propose CoarseHammer, a bit-flip attack on quantized neural networks that requires no model parameter values, gradients, or data. The paper finds that the small number of high-precision tensors that quantized models retain for accuracy (int32 biases in CNNs, normalization weights in LLMs) concentrate flip damage, and attackers can locate targets by bit width and size and accept arbitrary bit flips. Under ideal placement, the attack reduces models to random-guess accuracy with at least 81.5% success rate on six CNNs and four LLMs including Llama-3.2-3B, with a median of at most 24 flips in successful runs; on a simulated DRAM with flippable bits as low as 0.01 per million, it achieves up to 84% success rate on the tested CNNs, while BFA, DeepHammer, and B3FA all fail. The attack remains effective under continued fine-tuning and lower quantization bit widths.

Questions
Quantized models compress the vast majority of parameters to int8 but retain a small number of high-precision tensors for accuracy and numerical stability (int32 bias in CNNs, normalization weights in LLMs, etc.). The authors point out that prior bit-flip attacks rely on known parameters, gradients, and test data, require precise flipping of specific bits, are difficult to realize on real DRAM, and the attack chain fails after model fine-tuning.
Methods
The authors propose CoarseHammer: it locates these small high-precision tensors using only the bit width and size of tensors in the model architecture, and accepts a flip of any one of their bits, without needing parameter values, gradients, or data. On a real system, it first uses a dummy model to profile the page fault locations, then uses LIFO reuse of the page frame cache to steer the victim's heap allocation target pages onto already templated flippable DRAM frames, and then hammers.
Experiments and results
Under ideal placement, each of ten models (six CNNs, four LLMs) reaches chance accuracy in at least 81.5% of runs, with no more than 24 flips in successful runs at the median. Simulating DRAM with 0.01 flippable bits per million bits, CoarseHammer succeeds up to 84% on the six CNNs, whereas BFA, DeepHammer, and B3FA all fail. On a real system with 16 template frames, median accuracy of the four LLMs drops to the 25% chance level, the four CNNs approach chance, and ResNet50 drops from 96.1% to 21.6%; the attack remains effective under continuous fine-tuning, different quantization bit widths, range restriction, and shadow model defenses.
Limitations and future work
ASLR may cause flips to land on non-target frames, corrupting unrelated parameters or allocator metadata and causing the victim process to crash; in real-system experiments the CNN crash rate is below 3% and the LLM rate is 0%. The method requires the target tensor to reside in DRAM whose placement the attacker can influence and which can be flipped via Rowhammer; accelerators that keep high-precision tensors in on-chip memory are outside the scope of the implementation, and vulnerability under other fault-injection mechanisms is left for future work.
Why it was selectedThe paper finds that bit-flip risk in quantized models is concentrated in a few high-precision tensors, and an attack requiring no weights or data can reduce models to random levels on real systems as well.

The paper finds that bit-flip risk in quantized models is concentrated in a few high-precision tensors, and an attack requiring no weights or data can reduce models to random levels on real systems as well.

Paper analysis in progress

Related events and news

1 events · 0 news mentions

Read originalarxiv.org