Abstract
Deep Neural Networks (DNNs) are increasingly deployed in safety-critical edge applications where hardware transient faults, such as those caused by cosmic radiation, pose significant risks. Traditional hardware redundancy methods introduce substantial overhead. This paper presents a zero-overhead hardening strategy combining clipped activation functions, fault-aware training, and architectural layer inversion. Evaluation on CIFAR benchmarks demonstrates a 10x reduction in critical mispredictions while maintaining baseline inference speed and accuracy.
Introduction
As DNNs transition from controlled data centers to autonomous vehicles and industrial robotics, their resilience to hardware transient faults becomes paramount. Ionizing particles can cause bit flips in memory or logic, leading to Silent Data Corruptions (SDCs) and potentially catastrophic mispredictions. While hardware-level redundancy (e.g., Triple Modular Redundancy) can mitigate these risks, it often doubles or triples the computational cost. This research explores "intrinsic" software-based robustness to achieve reliability without performance penalties.
Methods
The proposed hardening approach integrates three complementary techniques during the design and training phases:
- Activation Function Clipping (ReLU6): Standard ReLU allows unbounded activation values. A single fault can create massive outliers that propagate through the network. Replacing ReLU with ReLU6 caps these values at 6.0, limiting the maximum impact of any individual fault.
- Fault-Aware Training: The training process is augmented by injecting realistic noise into feature maps. This "fault augmentation" encourages the model to learn robust representations that remain stable even under internal signal corruption.
- Architectural Layer Inversion: Standard architectures typically follow a Convolution → BatchNorm → Activation sequence. However, Batch Normalization is highly sensitive to outliers; a single corrupted pixel can skew the mean and variance for an entire batch. The authors propose a Convolution → ReLU6 → BatchNorm sequence, ensuring that clipping occurs before normalization to protect the statistical integrity of the layer.
Evaluation
The methodology was validated using ResNet44 on the CIFAR10 and CIFAR100 datasets. Reliability was assessed through millions of simulated fault injections at both the Python (high-level) and SASS assembly (low-level) layers to ensure cross-stack validity.
Key Results and Insights
The hardening strategy yielded significant improvements across all critical metrics:
- Reliability: On CIFAR10, critical SDC rates dropped from 37.42% to 3.73%, representing a 10x improvement in fault tolerance.
- Performance: Because the modifications are architectural and weight-based, the hardened model maintains the exact same inference latency as the baseline (approx. 0.8s for 200 samples).
- Accuracy: Test accuracy remained nearly identical, with only a marginal decrease (e.g., 91.31% vs. 92.23% on CIFAR10).
Analysis of the hardened models revealed that they naturally develop weight distributions more concentrated around zero, reducing sensitivity to feature map perturbations. Furthermore, the models do not necessarily "mask" faults; rather, they learn to produce correct classifications despite the presence of noise.
Conclusion
This work demonstrates that DNN reliability can be significantly enhanced through informed architectural choices and training regimes without incurring hardware overhead. Future research will investigate the scalability of these techniques to Transformer architectures and their effectiveness against malicious adversarial perturbations.
Summary updated