Abstract
Deep Learning Accelerators (DLAs) in safety-critical applications require high reliability against soft faults. Traditional redundancy methods like Triple Modular Redundancy (TMR) impose excessive area and power overheads. This paper presents a cross-layer optimization framework that integrates algorithmic sensitivity analysis, a heterogeneous hardware architecture (FlexHyCA), and selective bit-level circuit protection. Coordinated by Bayesian optimization, this approach achieves high inference reliability with significantly reduced hardware costs.
Introduction
As deep learning (DL) deployment expands into autonomous driving and aerospace, hardware reliability becomes paramount. Modern chips are increasingly susceptible to transient bit flips caused by environmental factors like radiation or voltage fluctuations. While DL models possess inherent resilience, standard fault-tolerance techniques often focus on isolated layers, leading to inefficient "over-protection." This work addresses the lack of a unified approach that exploits model-specific vulnerabilities to provide cost-effective protection.
Methodology
The proposed framework employs a three-tiered strategy to optimize the trade-offs between reliability, performance, and area.
Algorithmic Layer: Sensitivity Analysis
The framework identifies critical neurons using a gradient-based sensitivity analysis. By determining which neurons have the most significant impact on model accuracy, the system can prioritize hardware resources for their protection. Fault sensitivity is highly skewed; a bit flip in a high-gradient neuron's most significant bit (MSB) is often catastrophic, while flips in low-gradient neurons are frequently filtered out by the model's non-linear activations.
Architecture Layer: FlexHyCA
The FlexHyCA (Flexible Heterogeneous Computing Architecture) is designed to handle varying levels of neuron importance. It consists of a standard 2D Processing Element (PE) array for common computations and a specialized Dot Product Processing Unit (DPPU) dedicated to processing "important" neurons with enhanced reliability.
Circuit Layer: Selective Bit Protection
At the circuit level, protection is focused on the MSBs of multipliers and accumulators. The framework utilizes quantization constraints to minimize the vulnerable logic area, ensuring that only the most impactful bits are redundantly computed. This approach treats quantization as a reliability tool, strategically masking hardware logic to reduce the need for expensive redundancy.
Cross-Layer Optimization
A global Bayesian optimizer navigates the complex design space, balancing parameters such as the ratio of protected neurons and the number of protected bits to find the optimal Pareto front for specific design constraints.
Experimental Results
The framework was evaluated using VGG16 and ResNet50 models on the ImageNet dataset with 8-bit quantization.
- Area Overhead: The selective redundancy approach reduced area overhead by an average of 71.4% compared to traditional TMR methods.
- Reliability: The system maintained high accuracy (within 3-5% of baseline) under high Bit Error Rates (up to $2 \times 10^{-4}$).
- Performance: Performance and bandwidth overheads were kept below 10%, demonstrating viability for real-time edge applications.
Conclusion and Future Work
This cross-layer approach demonstrates that synergistic optimization across algorithm, architecture, and circuit levels significantly outperforms single-layer methods. Future research will explore dynamic, input-dependent importance analysis and broader protection for control logic and weights to further enhance DLA robustness.
Summary updated