Abstract
As deep learning models are increasingly deployed in safety-critical environments, their susceptibility to transient hardware faults, or "soft errors," poses a significant risk. Traditional protection methods are often inefficient, applying uniform redundancy regardless of the specific data being processed. This paper presents an adaptive framework that leverages a lightweight Graph Neural Network (GNN) to predict the runtime vulnerability of a model based on its current input. By dynamically adjusting protection levels, the proposed system achieves a 42.12% reduction in computational overhead while maintaining high reliability across diverse benchmarks including CIFAR-10 and YOLO-based object detection.
Introduction
The shrinking feature sizes of modern semiconductor chips have led to increased vulnerability to soft errors—transient bit flips caused by external factors like cosmic radiation or electrical interference. In domains such as autonomous driving or aerospace, these errors can lead to catastrophic failures. Current mitigation strategies typically rely on uniform protection (e.g., Triple Module Redundancy) or static selective protection. However, these approaches fail to account for the fact that a model's sensitivity to faults is highly dependent on the specific input data. This oversight leads to either excessive resource consumption or inadequate protection during high-risk scenarios.
Methodology: Adaptive Fault-Tolerant Design
The proposed framework introduces a dynamic approach to error resilience through two primary components:
GNN-based Vulnerability Predictor
The target neural network is modeled as a computational graph, where nodes represent layers or operations. A lightweight GNN, utilizing three SAGEConv layers, is trained to perform node classification, identifying components as "vulnerable" or "non-vulnerable" for a given input. To ensure the predictor does not become a bottleneck, compact feature vectors are generated from weights and activations using downsampling techniques.
Dynamic Protection Strategy
At runtime, the GNN predictor assesses the vulnerability of the current task. If a component is flagged as high-risk for the specific input, robust protection mechanisms like Algorithm-Based Fault Tolerance (ABFT) are triggered. Conversely, for low-risk inputs, protection is relaxed or bypassed, significantly saving energy and reducing latency.
Experimental Evaluation
The framework was tested on several architectures and datasets, including LeNet (MNIST), AlexNet (CIFAR-10, UC Merced, Caltech-101), and YOLO (DAC SDC).
As shown in the figure above, vulnerability is not a static property of the model but varies significantly—up to 80%—depending on the input image. The GNN predictor successfully captures these fluctuations with over 95% accuracy across multiple datasets.
Key Results
- Efficiency: The adaptive approach reduced computational overhead by an average of 42.12% compared to static methods and 59.19% compared to full uniform protection.
- Reliability: Top-1 accuracy under fault injection remained stable, matching the performance of fully protected models.
- Scalability: The system effectively scaled its response as the number of injected faults increased, demonstrating robust performance under varying error intensities.
Discussion and Insights
A key finding of this research is the correlation between input complexity and resilience; simpler inputs are naturally more robust against bit flips. By using a GNN to monitor the target network, the system exploits the structural topology of the model to better understand error propagation. While the current implementation requires an offline training phase for the GNN, the massive reduction in runtime MAC operations (e.g., 9.3e5 for the predictor vs. 9.7e10 for YOLO) makes it a highly viable solution for real-time systems.
Conclusion and Future Work
Adaptive soft error protection represents a significant step toward efficient, safety-critical AI. Future research will focus on reducing the dependency on offline fault injection for training and exploring hardware-level implementations on FPGAs or ASICs to further validate power savings and physical resilience.
Summary updated