Abstract
Deep Neural Networks (DNNs) face significant energy constraints when deployed on edge devices, with a substantial portion of energy consumed by data movement in on-chip SRAM. This paper proposes a novel approach to reduce energy consumption by operating memory at low voltages, which induces bit-cell errors. We introduce an "erasure regularizer" for training and a block-wise reliability assignment strategy to make DNNs inherently robust to these faults. Our results on CIFAR-10 demonstrate a 2.3x energy reduction with minimal accuracy loss, showing that large, faulty models can outperform small, reliable ones in energy-constrained environments.
Introduction: The Energy Wall
The "energy wall" remains a critical bottleneck for deploying state-of-the-art DNNs on resource-constrained edge platforms. Memory access (SRAM) accounts for 30–60% of total system energy. While lowering the supply voltage ($V_{DD}$) is an effective energy-saving strategy, it leads to exponential increases in bit-cell failure rates. Traditional hardware design avoids this "faulty regime" to maintain data integrity, but this paper explores a paradigm shift: training DNNs to embrace and tolerate memory faults.
Modeling and Training for Fault Tolerance
To bridge the gap between hardware behavior and algorithmic performance, we utilize a realistic energy-deviation model where fault probability $p$ increases exponentially as normalized energy $\eta$ decreases: $p(\eta) = e^{-a\eta}$.
Bit-Masking vs. Erasure
We compare a hardware-accurate Bit-Masking (BM) model, where faults cause values to be masked to zero, with a simplified Erasure Model. The Erasure Model acts as a training proxy, randomly setting values to zero with probability $p_e$. We found that the simple erasure model is an effective proxy for complex bit-level faults when tuned correctly (e.g., $p_e = 2p$).
The Erasure Regularizer
We propose an "erasure regularizer" applied during the forward pass of training. Similar to Dropout, it forces the network to develop redundant representations that are robust to the loss of individual weights or activations. This regularization allows the model to maintain high performance even as energy is slashed and fault rates climb.
Architecture Robustness and Layer Sensitivity
Not all DNN architectures are created equal regarding fault tolerance. We evaluated several modern architectures on CIFAR-10, including PreActResNet18, MobileNetV2, SENet18, and ResNet18. Our analysis revealed that PreActResNet18 emerged as a particularly strong candidate for faulty operation due to its inherent structural robustness.
Furthermore, we discovered a strong correlation between network depth and robustness. Early layers act as "gatekeepers" where errors are catastrophic, whereas deeper layers can tolerate significantly higher fault rates. This insight led to our Block-wise Reliability Assignment strategy: early, sensitive layers are kept at higher voltages, while deeper, robust layers operate in high-fault, low-energy regimes.
Key Results and Insights
- Energy Efficiency: By combining the erasure regularizer with non-uniform voltage scaling, we achieved a 2.3x energy reduction at 94.8% accuracy ($p = 0.01$), compared to only 1.5x for a baseline model without specialized training.
- Faulty > Small: Interestingly, it is often more energy-efficient to use a large, faulty model than a smaller, reliable model to achieve the same target accuracy.
- Iso-accuracy Evaluation: We emphasize the importance of evaluating faulty architectures at "iso-accuracy" levels, as even minor accuracy drops can significantly shift the optimal hardware configuration.
Conclusion and Future Work
This work demonstrates that co-designing DNN training with hardware fault models can unlock significant energy savings. Future research will explore scaling these techniques to larger datasets like ImageNet and integrating them with other compression methods such as pruning and quantization. Physical hardware implementation remains a key next step to validate these findings against real-world environmental variations.
Summary updated