[Paper Review] Towards a Safety Case for Hardware Fault Tolerance in Convolutional Neural Networks Using Activation Range Supervision
This paper proposes activation range supervision via Clipper and Backflip range restriction layers to enhance hardware fault tolerance in CNNs, detecting and mitigating soft errors from bit flips with >99% recall. It demonstrates that these techniques reduce critical silent data corruption (SDC) rates by over 38× and maintain low severity of misclassifications, significantly improving safety in autonomous vehicle perception systems using ResNet-50 on MIOVision data.
Convolutional neural networks (CNNs) have become an established part of numerous safety-critical computer vision applications, including human robot interactions and automated driving. Real-world implementations will need to guarantee their robustness against hardware soft errors corrupting the underlying platform memory. Based on the previously observed efficacy of activation clipping techniques, we build a prototypical safety case for classifier CNNs by demonstrating that range supervision represents a highly reliable fault detector and mitigator with respect to relevant bit flips, adopting an eight-exponent floating point data representation. We further explore novel, non-uniform range restriction methods that effectively suppress the probability of silent data corruptions and uncorrectable errors. As a safety-relevant end-to-end use case, we showcase the benefit of our approach in a vehicle classification scenario, using ResNet-50 and the traffic camera data set MIOVision. The quantitative evidence provided in this work can be leveraged to inspire further and possibly more complex CNN safety arguments.
Motivation & Objective
- To develop a safety case for CNNs in safety-critical applications like automated driving, addressing risks from hardware soft errors.
- To evaluate whether activation range supervision can effectively detect and mitigate silent data corruptions (SDCs) caused by bit flips in network weights and neuron states.
- To quantify the severity of SDC events using a cluster-based confusion model, distinguishing safety-critical from non-critical misclassifications.
- To compare the efficacy of different range restriction techniques—Clipper, Backflip, and others—in reducing SDC and uncorrectable error rates under real-world fault injection.
- To demonstrate that range supervision preserves feature map topology, minimizing the risk of misclassification into dangerous or high-severity classes.
Proposed method
- The authors implement range restriction layers (Ranger) after each convolutional layer to monitor and constrain activation values within predefined bounds derived from pre-injection inference runs.
- They inject single and multiple bit flips (bits 0–8) into network weights and neuron states using an 8-exponent floating-point representation to simulate soft errors.
- The method uses interval thresholds extracted from clean inference runs to detect out-of-bound activations, triggering correction via clipping or backflow mechanisms (e.g., Clipper, Backflip).
- A probabilistic safety model is applied, where risk is computed as the sum of SDC probabilities weighted by severity, with severity defined by confusion clusters (e.g., 'pedestrian' to 'background' is critical).
- The approach leverages existing, non-retraining, lightweight monitoring—avoiding functional duplication or retraining—making it suitable for real-time deployment.
- The evaluation uses ResNet-50 on the MIOVision dataset, with fault injection across 1 and 10 faults, and measures SDC, DUE (NaN/Inf), and critical confusion rates.
Experimental results
Research questions
- RQ1Can activation range supervision effectively detect silent data corruptions (SDCs) caused by hardware soft errors in CNNs?
- RQ2How do different range restriction techniques (Clipper, Backflip, etc.) compare in reducing SDC and uncorrectable error (DUE) rates?
- RQ3To what extent does range supervision reduce the probability of safety-critical misclassifications, such as misclassifying a pedestrian as background?
- RQ4Does range supervision preserve the topological structure of feature maps, minimizing the risk of severe misclassifications?
- RQ5What is the residual risk of SDC and DUE in a range-protected CNN compared to an unprotected one under realistic fault injection?
Key findings
- Clipper and Backflip range restriction techniques achieve a detection recall of >99% for SDC-inducing faults, significantly outperforming other methods.
- The residual SDC rate is reduced by a factor of >38× when using Clipper or Backflip, dropping to ≤0.01 for both weight and neuron faults.
- The critical-to-total SDC ratio remains ≤0.41 for weight faults and ≤0.78 for neuron faults under protection, indicating no increase in average severity and often a reduction.
- For neuron faults, the most frequent safety-critical confusion (from 'pedestrian' to 'background') is suppressed by >91% with Clipper or Backflip, reducing its contribution to total SDC events.
- The mean DUE rate drops to <0.03 for 10 weight faults and <0.05 for 10 neuron faults under protection, compared to 0.11 and 0.17 in the unprotected model.
- The overall risk, computed as the weighted sum of SDC probabilities and their severity, is negligible in the presence of Clipper or Backflip, confirming enhanced safety.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.