# bit-flip attacks

Published articles for bit-flip attacks.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Embedded ECC Protects AI Weights Against Bit-Flip Attacks (University of Florida)

DevFeed: [Embedded ECC Protects AI Weights Against Bit-Flip Attacks (University of Florida)](<https://devfeed.tech/articles/embedded-ecc-protects-ai-weights-against-bit-flip-attacks-university-of-florida-129706.md>)

Original publisher: [Read original article](<https://semiengineering.com/embedded-ecc-protects-ai-weights-against-bit-flip-attacks-university-of-florida/>)

Author: Technical Paper Link

Published: 2026-11-12T00:42:18Z

Content type: news

Language: en

Sources: [Semiconductor Engineering](<https://devfeed.tech/sources/semiconductor-engineering.md>)

Topics: [Neural Network](<https://devfeed.tech/topics/neural-network.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-accelerators](<https://devfeed.tech/tags/ai-accelerators.md>), [ai-ml-dl](<https://devfeed.tech/tags/ai-ml-dl.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [bit-flip-attacks](<https://devfeed.tech/tags/bit-flip-attacks.md>), [critical](<https://devfeed.tech/tags/critical.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [ecc](<https://devfeed.tech/tags/ecc.md>), [embedded](<https://devfeed.tech/tags/embedded.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [error-correcting-codes](<https://devfeed.tech/tags/error-correcting-codes.md>), [hardware-security](<https://devfeed.tech/tags/hardware-security.md>), [key](<https://devfeed.tech/tags/key.md>), [machine-learning-security](<https://devfeed.tech/tags/machine-learning-security.md>), [memory-reliability](<https://devfeed.tech/tags/memory-reliability.md>), [model](<https://devfeed.tech/tags/model.md>), [model-weights](<https://devfeed.tech/tags/model-weights.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [overhead](<https://devfeed.tech/tags/overhead.md>), [paper](<https://devfeed.tech/tags/paper.md>), [parity](<https://devfeed.tech/tags/parity.md>), [quantized-neural-networks](<https://devfeed.tech/tags/quantized-neural-networks.md>), [rowhammer](<https://devfeed.tech/tags/rowhammer.md>), [security](<https://devfeed.tech/tags/security.md>), [systolic-arrays](<https://devfeed.tech/tags/systolic-arrays.md>), [technical-papers](<https://devfeed.tech/tags/technical-papers.md>), [university-of-florida](<https://devfeed.tech/tags/university-of-florida.md>), [weight](<https://devfeed.tech/tags/weight.md>), [zero](<https://devfeed.tech/tags/zero.md>)

### AI overview

SANAI is a sensitivity-guided scheme that targets critical neural-network weights against bit flips while claiming zero additional parity-storage overhead. It embeds parity across a two-dimensional weight space: spread-transform dither modulation binds parity to a secret key, and keyed interleaving disperses concentrated attacks across codewords. The supplied abstract excerpt does not provide evaluation results or further implementation details.

### Source excerpt

Researchers at the University of Florida published "SANAI: Secure ECC Distributed Keyed Parity Embedded in Weights for Protecting Neural Networks against Bit-Flip Attacks." Abstract Excerpt: "We propose SANAI, a sensitivity-guided, bit-plane-selective scheme that protects critical model weights against bit flips with zero additional parity-storage overhead. SANAI secures parity through keyed embedding across a two-dimensional weight... " read more The post Embedded ECC Protects AI Weights Against Bit-Flip Attacks (University of Florida) appeared first on Semiconductor Engineering.

## Rotated Robustness: A Training-Free Defense against Bit-Flip Attacks on Large Language Models

DevFeed: [Rotated Robustness: A Training-Free Defense against Bit-Flip Attacks on Large Language Models](<https://devfeed.tech/articles/rotated-robustness-a-training-free-defense-against-bit-flip-attacks-on-large-language-models-128882.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2603.16382>)

Author: Deng Liu, Song Chen

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>)

Tags: [attacks](<https://devfeed.tech/tags/attacks.md>), [bit-flip-attacks](<https://devfeed.tech/tags/bit-flip-attacks.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [defense](<https://devfeed.tech/tags/defense.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [robustness](<https://devfeed.tech/tags/robustness.md>), [training](<https://devfeed.tech/tags/training.md>), [weight](<https://devfeed.tech/tags/weight.md>)

### AI overview

Rotated Robustness (RoR) uses matched orthogonal transformations of activations and quantized weights to spread sensitive channel contributions across dimensions while preserving the linear mapping in exact arithmetic. It requires no training. Across eight evaluated LLMs, RoR matched or exceeded compared methods on cumulative PBS flips before perplexity exceeded 100, within a 100-flip horizon. No failures occurred in the tested 1,000-trial BER random-injection experiments; defense-aware SPoF reconstruction required thousands of deployed INT8 bit changes to reproduce specified one-bit catastrophic failures. Downstream-task utility was preserved under PBS perturbations. On an NVIDIA H200 at batch size 8, reported costs across four models were 0.097%-0.584% persistent storage, 5.2%-14.1% prefill, and 0.5%-9.8% decode overhead. These results cover the stated experiments and do not establish performance beyond them.

### Source excerpt

arXiv:2603.16382v3 Announce Type: replace Abstract: Bit-flip corruption of quantized weights poses a serious reliability threat to Large Language Models (LLMs), as even a small number of weight faults can trigger catastrophic model degradation. We show that such failures can be strongly amplified when corrupted weights are coupled to high-sensitivity activation channels. Based on this observation, we propose Rotated Robustness (RoR), a training-free sensitivity-aware hierarchical rotation that applies matched orthogonal transformations to activations and weights, redistributing sensitive channel contributions across feature dimensions while preserving the underlying linear mapping in exact arithmetic. Across eight evaluated LLMs, RoR matches or exceeds all compared methods in the number of cumulative PBS flips sustained before PPL exceeds 100 within the 100-flip evaluation horizon. Under BER-based random bit-flip injection, no RoR failures are observed in the evaluated 1,000-trial experiments for the tested models. Under defense-aware SPoF reconstruction, RoR increases the cost of reproducing specified one-bit catastrophic failures to thousands of deployed INT8 bit changes. RoR also preserves downstream-task utility under PBS perturbations. On NVIDIA H200 at batch size 8, RoR incurs 0.097\%--0.584\% persistent storage overhead, 5.2\%--14.1\% Prefill overhead, and 0.5\%--9.8\% Decode overhead across four representative models. These results show that sensitivity-aware hierarchical rotation provides a practical approach to improving the bit-flip robustness of quantized LLM Linear weights.

## SANAI: Secure ECC Distributed Keyed Parity Embedded in Weights for Protecting Neural Networks against Bit-Flip Attacks

DevFeed: [SANAI: Secure ECC Distributed Keyed Parity Embedded in Weights for Protecting Neural Networks against Bit-Flip Attacks](<https://devfeed.tech/articles/sanai-secure-ecc-distributed-keyed-parity-embedded-in-weights-for-protecting-neural-networks-against-bit-flip-attacks-114065.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.02042>)

Author: Habibur Rahaman, Daniel Lobo, Md Rezoan Ferdous, Swarup Bhunia

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [ecc ram](<https://devfeed.tech/topics/ecc-ram.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [quantization](<https://devfeed.tech/topics/quantization.md>)

Tags: [bit-flip-attacks](<https://devfeed.tech/tags/bit-flip-attacks.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [ecc](<https://devfeed.tech/tags/ecc.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [model-weights](<https://devfeed.tech/tags/model-weights.md>), [neural-networks](<https://devfeed.tech/tags/neural-networks.md>), [protection](<https://devfeed.tech/tags/protection.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [rowhammer](<https://devfeed.tech/tags/rowhammer.md>), [secret](<https://devfeed.tech/tags/secret.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [vision](<https://devfeed.tech/tags/vision.md>)

### AI overview

SANAI embeds keyed error-correction parity into neural-network weights with no additional parity storage. It selects sensitive weights and bit planes for protection, binds parity to a secret key using spread-transform dither modulation, and uses keyed interleaving to spread concentrated attacks across codewords. The authors report a survival law based on the correctable fraction t/n and a bound on the protectable model fraction. A streaming checker for an 8x8 systolic array adds 0.41% area overhead and no memory. Across ten vision backbones, three quantization schemes, and ten language models (82M-13B parameters), reported accuracy remains within about one percentage point of clean accuracy at bit-error rates up to 12%, compared with about 6% for prior embedded-ECC approaches. The abstract also reports bit-exact survival after fine-tuning, resistance to progressive and targeted flips, and exact correction of AttentionBreaker and SilentStriker attacks.

### Source excerpt

arXiv:2611.02042v1 Announce Type: new Abstract: Quantized neural networks store weights in dense memory, where bit flips caused by voltage scaling, aging, radiation, or deliberate attacks such as RowHammer can severely degrade model behavior. A single corrupted high-order bit can cause misclassifications or nonsensical language-model outputs. Embedded error-correcting codes (ECC) avoid dedicated parity storage by hiding parity within model weights, but existing schemes embed uniformly across layers and bit planes, leave parity unsecured, and tolerate bit-error rates (BERs) only up to about 6%. An adversary aware of sensitive weights and the ECC scheme can also bypass protection by exceeding the correction capability of targeted codewords. We propose SANAI, a sensitivity-guided, bit-plane-selective scheme that protects critical model weights against bit flips with zero additional parity-storage overhead. SANAI secures parity through keyed embedding across a two-dimensional weight space: spread-transform dither modulation binds parity to a secret key, and keyed interleaving disperses concentrated attacks across codewords. We derive a survival law showing that robustness is governed by the correctable fraction t/n rather than by t alone, and a closed-form bound on the protectable fraction of a model. As a streaming checker on an 8x8 systolic array, SANAI verifies weights on the load path with 0.41% area overhead and no additional memory. Across ten vision backbones, three quantization schemes, and ten language models from 82M to 13B parameters, SANAI stays within about one percentage point of clean accuracy at BERs up to 12%, twice the maximum of prior embedded-ECC approaches. It survives fine-tuning bit-exactly, neutralizes progressive and targeted bit-flip attacks, and exactly corrects AttentionBreaker and SilentStriker attacks.

## On-Chip Monitors Detect Bit-Flip Attacks in AI Accelerators (UF, UT Dallas, RPI)

DevFeed: [On-Chip Monitors Detect Bit-Flip Attacks in AI Accelerators (UF, UT Dallas, RPI)](<https://devfeed.tech/articles/on-chip-monitors-detect-bit-flip-attacks-in-ai-accelerators-uf-ut-dallas-rpi-86042.md>)

Original publisher: [Read original article](<https://semiengineering.com/on-chip-monitors-detect-bit-flip-attacks-in-ai-accelerators-uf-ut-dallas-rpi/>)

Author: Technical Paper Link

Published: 2026-10-12T22:34:47Z

Content type: article

Language: en

Sources: [Semiconductor Engineering](<https://devfeed.tech/sources/semiconductor-engineering.md>)

Topics: [Adversarial attacks](<https://devfeed.tech/topics/adversarial-attacks.md>), [Deep neural networks](<https://devfeed.tech/topics/deep-neural-networks.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [ai-accelerators](<https://devfeed.tech/tags/ai-accelerators.md>), [ai-inference](<https://devfeed.tech/tags/ai-inference.md>), [ai-ml-dl](<https://devfeed.tech/tags/ai-ml-dl.md>), [ai-performance-counters](<https://devfeed.tech/tags/ai-performance-counters.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [bare-ai](<https://devfeed.tech/tags/bare-ai.md>), [bit-flip-attacks](<https://devfeed.tech/tags/bit-flip-attacks.md>), [critical](<https://devfeed.tech/tags/critical.md>), [deep-neural-networks](<https://devfeed.tech/tags/deep-neural-networks.md>), [dnn](<https://devfeed.tech/tags/dnn.md>), [dram](<https://devfeed.tech/tags/dram.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [fault-injection](<https://devfeed.tech/tags/fault-injection.md>), [first](<https://devfeed.tech/tags/first.md>), [hardware-monitors](<https://devfeed.tech/tags/hardware-monitors.md>), [hardware-security](<https://devfeed.tech/tags/hardware-security.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [llm](<https://devfeed.tech/tags/llm.md>), [memory](<https://devfeed.tech/tags/memory.md>), [paper](<https://devfeed.tech/tags/paper.md>), [performance](<https://devfeed.tech/tags/performance.md>), [rensselaer-polytechnic-institute](<https://devfeed.tech/tags/rensselaer-polytechnic-institute.md>), [resilience](<https://devfeed.tech/tags/resilience.md>), [rowhammer](<https://devfeed.tech/tags/rowhammer.md>), [rpi](<https://devfeed.tech/tags/rpi.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [runtime-monitoring](<https://devfeed.tech/tags/runtime-monitoring.md>), [security](<https://devfeed.tech/tags/security.md>), [semiconductor](<https://devfeed.tech/tags/semiconductor.md>), [semiconductor-engineering](<https://devfeed.tech/tags/semiconductor-engineering.md>), [sram](<https://devfeed.tech/tags/sram.md>), [technical](<https://devfeed.tech/tags/technical.md>), [technical-papers](<https://devfeed.tech/tags/technical-papers.md>), [texas](<https://devfeed.tech/tags/texas.md>), [university](<https://devfeed.tech/tags/university.md>), [university-of-florida](<https://devfeed.tech/tags/university-of-florida.md>), [university-of-texas-at-dallas](<https://devfeed.tech/tags/university-of-texas-at-dallas.md>), [ut-dallas](<https://devfeed.tech/tags/ut-dallas.md>), [vision-transformers](<https://devfeed.tech/tags/vision-transformers.md>)

### AI overview

Researchers from the University of Florida, the University of Texas at Dallas, and Rensselaer Polytechnic Institute describe BARE-AI, a runtime framework for detecting, locating, and mitigating bit-flip attacks during AI inference. The paper addresses attacks that can reduce deep neural network accuracy and notes limitations of existing defenses, including hardware overhead and reliance on retraining.

### Source excerpt

Researchers at the University of Florida, University of Texas at Dallas, and Rensselaer Polytechnic Institute published a technical paper titled "BARE-AI: Bit-Flip Attack Resilience in AI Hardware through Built-in Performance Monitors." Abstract Excerpt: "Deep Neural Networks (DNNs) are integral to many safety critical systems, yet they remain highly vulnerable to bit-flip attacks (BFAs), where a... " read more The post On-Chip Monitors Detect Bit-Flip Attacks in AI Accelerators (UF, UT Dallas, RPI) appeared first on Semiconductor Engineering.