[Paper Review] Exploiting the Tradeoff between Program Accuracy and Soft-error Resiliency Overhead for Machine Learning Workloads
This paper proposes a cross-layer resilience architecture that classifies machine learning code into crucial (affecting correctness) and non-crucial (affecting only accuracy) regions, applying strong Hardware Redundant Execution (HaRE) to crucial code and lightweight Software-Hardware Resiliency (SHR) to non-crucial code. It achieves a 32% average performance improvement over HaRE while maintaining soft-error coverage and incurring only ~1.1× overhead compared to non-resilient execution.
To protect multicores from soft-error perturbations, resiliency schemes have been developed with high coverage but high power and performance overheads. Emerging safety-critical machine learning applications are increasingly being deployed on these platforms. Moreover, these systems are exposed to harsh environments, such as unmanned aerial vehicles (UAVs) and self-driving cars. Due to the unique structure and computational behavior of such applications, research has been done on relaxing their accuracy for performance benefits. We observe that not all transient errors affect program correctness, some errors only affect program accuracy, i.e., the program completes with certain acceptable deviations from error free outcome. This paper illustrates the idea of cross-layer soft-error resilience using machine learning workloads, where program accuracy is introduced as a tradeoff to deliver resilient yet efficient execution on futuristic large-scale multicores.
Motivation & Objective
- To address the growing challenge of soft errors in safety-critical machine learning systems deployed in harsh environments like UAVs and self-driving cars.
- To reduce the high performance and power overhead of existing soft-error resilience schemes in multicore systems.
- To explore the tradeoff between program accuracy and resilience overhead without sacrificing soft-error coverage or program correctness.
- To enable efficient, resilient execution of machine learning workloads by classifying code regions based on their impact on program outcome.
Proposed method
- Classifies code regions into crucial (affecting correctness) and non-crucial (affecting only accuracy) based on their impact on program outcome.
- Applies Hardware Redundant Execution (HaRE) to crucial code regions to ensure correctness under soft errors.
- Applies lightweight Software-Hardware Resiliency (SHR) schemes to non-crucial code regions to minimize performance overhead.
- Uses a cross-layer architecture that coordinates hardware and software to dynamically select resilience strategies per code region.
- Employs a configuration selection mechanism that adjusts resilience based on environmental error rates and acceptable accuracy loss thresholds.
- Evaluates the approach on multiple machine learning benchmarks (e.g., CNN-ALEXNET, MLP-MNIST) under varying error rates and accuracy thresholds.
Experimental results
Research questions
- RQ1Can non-crucial code regions in machine learning workloads be protected with lightweight resilience schemes without compromising program correctness?
- RQ2To what extent can performance overhead be reduced by selectively applying strong resilience only to crucial code regions?
- RQ3How does the tradeoff between accuracy loss and performance improvement vary across different machine learning benchmarks and error rates?
- RQ4What configurations of code regions yield optimal performance gains under given accuracy thresholds and environmental error conditions?
Key findings
- The proposed cross-layer resilience (CL) architecture reduces average performance overhead from ~1.63× (HaRE) to ~1.1× compared to non-resilient execution.
- CL achieves a 32% average performance improvement over HaRE across evaluated machine learning benchmarks.
- At a 0.1% error rate and 10% accuracy threshold, CNN-ALEXNET achieves 37% performance improvement by classifying 91% of execution time as non-crucial.
- When error rates increase to 0.5%, performance improvement drops to 26% as more code regions must be classified as crucial to maintain accuracy.
- Defining the output layer as non-crucial results in over 10% accuracy loss across all benchmarks at 0.1% error rate, highlighting its sensitivity.
- The approach enables significant performance gains while maintaining soft-error coverage and ensuring program correctness through strategic resilience partitioning.
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.