arXiv:2609.06781cs.ARSep 2026

Manuscript Offprint

arXiv:2609.06781

BLINK: Batch Normalization-based Integrity Checkpoints for In-Situ Detection and Mitigation of Diverse Weight Corruptions in DNN Accelerators

Marzia Khan, Akul Malhotra, Sumeet Kumar Gupta

Abstract

In safety-critical deployments, AI hardware must remain reliable against a broad spectrum of threats such as radiation-induced upsets, aging, hard faults, and adversarial attacks (e.g. progressive bit flip attack (PBFA)). All of these corrupt stored weights while the chip keeps producing confident (but inaccurate) predictions. Detecting and mitigating such weight perturbations is crucial for safety-critical platforms. To that end, we propose BLINK, an on-chip batch normalization (BN)-based on-the-fly detection and mitigation approach, which is based on continual sensing of the shift in the activation statistics, targeting a wide variety of weight corruptions (random and localized faults as well as adversarial bit flips). BLINK operates in two phases: (1) off-line pre-characterization of the relationship of the activation shifts with inference accuracy drop (2) on-chip runtime detection and mitigation of weight corruptions. Our technique is designed so that benign perturbations stay silent while harmful faults are flagged. Upon detection, the flagged layer is re-centered to bring it closer to its stored clean reference within the same forward pass. BLINK is fully autonomous, eliminating the need for host communication, operation halts, or access to fine-tuning data. If the residual shift after mitigation indicates that accuracy has fallen below a user-set floor, a held-out watcher aborts the inference. Evaluated on ResNet-20/50 and MobileNetV2 for CIFAR-10/100, BLINK detects harmful corruptions with > 99% precision across all fault types. Furthermore, it recovers accuracy from 10% to 85.88% under 0.5% random bit flips (Resnet-50/CIFAR-10), up to 84% for localized faults (MobileNetV2/CIFAR-10), and from random-guess accuracy to 80%-83% under PBFA (ResNet-20/CIFAR-10), entirely on chip, within the same inference pass. This comes with < 2% latency cost and 0.53% computation overhead.

1 Introduction

Deep neural networks (DNNs) are increasingly being deployed in safety-critical applications such as autonomous driving, industrial automation and medical imaging, where incorrect predictions can lead to catastrophic consequences. Such considerations are becoming even more significant as DNN inference is steadily moving from cloud servers to edge accelerators operating under strict resource constraints. To meet the performance targets, edge accelerators often employ techniques such as aggressive voltage scaling. However, such approaches adversely impact the memory operation, exposing weight memories to a broad range of failures.

These failures arise from several distinct mechanisms. Transient faults or gradual wear out manifest as bit flips in stored weights which produce silent data corruption. Hard faults such as stuck-at faults lead to persistent weight corruption that degrades model accuracy from the outset. Failures may be randomly distributed or spatially localized producing structured corruption patterns (e.g., defective SRAM banks, thermal hotspots, or regional voltage droops). In addition to such environment-induced faults, weight memories are susceptible to adversarial corruption such as progressive bit-flip attacks (PBFA), in which an adversary flips a small number of high-impact bits to maximize degradation [21, 22], a threat made practical by injection primitives such as Rowhammer.

To mitigate the impact of weight corruptions, several approaches have been explored but with several limitations. First, a majority of them [7, 20] are designed to address a single fault class or a limited subset of failure mechanisms. Second, with a couple of exceptions [10, 17], no technique is fully autonomous and requires halting the inference upon detection of faults, require communication with a host, need access to labeled dataset, and/or rely on knowledge of per-chip fault maps. The ones that are indeed autonomous either monitor only a portion of the network for corruptions (limiting their efficacy) [17] or are designed for specific AI architectures [10].

Autonomy in AI accelerators is crucial for mission critical applications and a truly autonomous system must continuously monitor the integrity of its weights during normal operation and detect such corruptions as they occur (e.g. due to weight drifts over time, or due to a sudden adversarial attack). Once a corruption is identified, it must mitigate the error in situ. Moreover, detection/mitigation must occur without pausing inference, ensuring that no mission-critical inputs are missed, and without relying on an external host, retraining or fine-tuning data, or any other external intervention.

With this objective in mind, we design BLINK to provide full autonomy (as defined above) while remaining AI architecture-agnostic and broadly applicable to diverse weight corruption scenarios, including random and localized perturbations, PBFA, and other reliability-induced weight errors. In addition, BLINK flags harmful perturbations while remaining silent on the benign ones. For this, we use batch normalization (BN) layers as in-situ monitors of the drifts in activation distributions caused by the weight corruptions to detect harmful perturbations. If flagged, BLINK adjusts the normalization parameters to bring the activation distributions closer to the clean reference. In addition, if it detects that the faulty chip is unsalvageable, it issues an abort signal.

It is important to note that BN has been used in previous works for repair or fault tolerance, such as in Forward Parameter Tuning (FPT) [20] for stuck-at faults, BN-Fine Tuning (BN-FT) [1] for ReRAM-based computing-in-memory designs targeting IR-drop mitigation, and calibration of analog in-memory inference [8]. However, all these techniques rely on an offline step invoked after damage is flagged and require a host and/or labeled data for mitigation.

In summary, this paper makes the following contributions:

  • We propose BLINK, an on-the-fly and autonomous detection and mitigation technique for diverse weight corruptions.

  • BLINK enables continual in-situ monitoring of activation statistics and upon detection mitigation involves re-centering and re-scaling the activations partially nullifying the weight perturbation-induced shifts.

  • We incorporate a held-out watcher in BLINK that monitors residual shift after mitigation and triggers an abort alarm.

  • We evaluate BLINK across various weight corruption types and show excellent detection and comparable mitigation performance (with respect to previous techniques), all with full autonomy.

  • We discuss how BLINK can be combined with other techniques for further improvement in inference accuracy.

References (25)