Skip to main content
QUICK REVIEW

[Paper Review] Analyzing and Mitigating the Impact of Permanent Faults on a Systolic Array Based Neural Network Accelerator

Jeff Zhang, Tianyu Gu|arXiv (Cornell University)|Feb 11, 2018
Parallel Computing and Optimization TechniquesComputer Science8 references14 citations
TL;DR

This paper proposes fault-aware pruning (FAP) and fault-aware pruning with retraining (FAP+T) to enable systolic array-based DNN accelerators like the TPU to tolerate up to 50% permanent faults with minimal accuracy loss. FAP+T restores accuracy via one-time retraining, reducing the penalty to under 12 minutes per chip, while incurring no runtime overhead.

ABSTRACT

Due to their growing popularity and computational cost, deep neural networks (DNNs) are being targeted for hardware acceleration. A popular architecture for DNN acceleration, adopted by the Google Tensor Processing Unit (TPU), utilizes a systolic array based matrix multiplication unit at its core. This paper deals with the design of fault-tolerant, systolic array based DNN accelerators for high defect rate technologies. To this end, we empirically show that the classification accuracy of a baseline TPU drops significantly even at extremely low fault rates (as low as $0.006\%$). We then propose two novel strategies, fault-aware pruning (FAP) and fault-aware pruning+retraining (FAP+T), that enable the TPU to operate at fault rates of up to $50\%$, with negligible drop in classification accuracy (as low as $0.1\%$) and no run-time performance overhead. The FAP+T does introduce a one-time retraining penalty per TPU chip before it is deployed, but we propose optimizations that reduce this one-time penalty to under 12 minutes. The penalty is then amortized over the entire lifetime of the TPU's operation.

Motivation & Objective

  • To investigate the vulnerability of systolic array-based DNN accelerators to permanent faults.
  • To address the challenge of high defect rates in future semiconductor technologies.
  • To design fault-tolerant DNN accelerators that maintain high classification accuracy despite faulty MAC units.
  • To minimize runtime performance overhead while enabling high fault tolerance.
  • To reduce the one-time retraining cost of fault-aware retraining to under 12 minutes per chip.

Proposed method

  • Employs gate-level simulation with stuck-at fault injection to evaluate fault impact on TPU-class systolic arrays.
  • Introduces fault-aware pruning (FAP), which bypasses faulty MAC units by pruning all connections to them using minimal circuitry.
  • Proposes FAP+T, which combines FAP with retraining to restore classification accuracy after pruning.
  • Uses a scheduling policy that maps DNN layers to the systolic array, with fault-aware remapping to avoid faulty MACs.
  • Optimizes retraining by limiting training epochs to reduce one-time cost, achieving 5× speedup for AlexNet.
  • Employs a 256×256 systolic array synthesized in 45nm CMOS, operating at 658 MHz with 19.7W dynamic power.

Experimental results

Research questions

  • RQ1How vulnerable is a TPU-like systolic array accelerator to permanent faults at low fault rates?
  • RQ2Can DNNs maintain high classification accuracy when a significant fraction of MAC units are permanently faulty?
  • RQ3What techniques can enable fault tolerance in systolic array accelerators without runtime performance overhead?
  • RQ4Can the one-time retraining cost of fault-aware retraining be reduced to a practical level?
  • RQ5How does fault-aware pruning with retraining compare to simple pruning in terms of accuracy and efficiency?

Key findings

  • Classification accuracy drops sharply even at 0.006% fault rate, with only four faulty MACs causing significant degradation.
  • FAP maintains near-baseline accuracy up to 25% fault rate for MNIST and TIMIT, but degrades at 50%.
  • FAP+T achieves near-baseline accuracy at 50% fault rate, with only 0.1% accuracy drop for TIMIT and 8% for AlexNet.
  • The one-time retraining overhead for AlexNet is reduced from ~1 hour to under 12 minutes by limiting training epochs to 5 instead of 25.
  • FAP+T incurs no runtime performance overhead, and the retraining cost is amortized over the TPU’s lifetime.
  • The proposed techniques are effective for both fully connected and convolutional DNNs, though scheduling policies affect performance in CNNs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.