Metraipolis › archive › dc_a9e3656cbe0b

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

Source
arXiv (en)
Original
https://arxiv.org/abs/2611.02042
License (as archived)
CC0-1.0
Archived
2026-11-03T11:17:15.134Z
SHA-256 of the archived text
456caab80613947e2caa4564278c79e1808c4cbe027b10382d6316ec7f39507d
Stable URL of this page
https://metraipolis.com/documento/dc_a9e3656cbe0b

How to cite

SANAI: Secure ECC Distributed Keyed Parity Embedded in Weights for Protecting Neural Networks against Bit-Flip Attacks — arXiv:2611.02042 — arXiv (en), https://arxiv.org/abs/2611.02042 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_a9e3656cbe0b (Metraipolis archive dc_a9e3656cbe0b, sha256 456caab80613947e2caa4564278c79e1808c4cbe027b10382d6316ec7f39507d)
BibTeX
@misc{dca9e3656cbe0b,
  title = {SANAI: Secure ECC Distributed Keyed Parity Embedded in Weights for Protecting Neural Networks against Bit-Flip Attacks — arXiv:2611.02042},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2611.02042},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_a9e3656cbe0b; sha256 456caab80613947e2caa4564278c79e1808c4cbe027b10382d6316ec7f39507d},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.02042. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

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.

Tema degli esploratori: fiducia digitale e crittografia (elenco arXiv cs.CR, nuovi lavori del giorno).
Categorie arXiv: Cryptography and Security (cs.CR).
Pagina del lavoro: https://arxiv.org/abs/2611.02042 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-11-03T11:02:07.217Z dalla pagina https://arxiv.org/list/cs.CR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).