BARE-AI aims to detect and mitigate bit-flip attacks in AI hardware

Paper / preprint arXiv cs.CR · Reported findings, not independently verified by us.

A research team introduces BARE-AI, a runtime approach designed to detect, localize, and mitigate bit-flip attacks during inference. These attacks alter a small number of memory bits and can sharply reduce the accuracy of neural networks. The approach is intended for safety-critical and resource-constrained applications.

Lightweight hardware monitors called AI Performance Counters (APCs) track per-layer activation values in an accelerator. They measure properties including sparsity, entropy, kurtosis, and spectral shifts. A compact detector, the Predictive Unit for Layer Security Evaluation (PULSE), analyzes these measurements. It is trained offline as an ensemble of classifiers and implemented on-chip as a small neural engine.

For fault localization, an Activation Shift Index (ASI) associates anomalies with individual layers. A repair component uses z-scores to reset suspicious weights toward clean layer statistics. In reported tests, BARE-AI reached up to 98% detection accuracy on vision models and 74% to 95% on language models. It restored near-clean accuracy for CNNs and Vision Transformers, while recovery for large language models was partial.

A synthesis at 28 nm reportedly incurred less than 3% additional energy use, less than 4% area, and about 10% latency overhead; a configurable setting reduced latency overhead to about 6%. The source also describes evaluations against different attack types and compares the approach with error-correcting codes. Original paper on arXiv

🇬🇧 https://arxiv.org/abs/2610.08739v1

Leave a Comment

The weekly brief: selected developments, projects and videos