Mitigating Adversarial Attack for Compute-in-Memory Accelerator Utilizing On-chip Finetune
Shanshi Huang, Hongwu Jiang, Shimeng Yu

TL;DR
This paper proposes on-chip weight finetuning in compute-in-memory accelerators to mitigate ADC errors and defend against adversarial attacks, significantly improving robustness without sacrificing accuracy.
Contribution
It introduces a novel on-chip weight finetuning method that compensates ADC errors and enhances adversarial attack resistance in CIM architectures.
Findings
ADC error compensation improves inference accuracy
On-chip finetuning reduces adversarial attack transferability
Model robustness increases against C&W attack on CIFAR-10
Abstract
Compute-in-memory (CIM) has been proposed to accelerate the convolution neural network (CNN) computation by implementing parallel multiply and accumulation in analog domain. However, the subsequent processing is still preferred to be performed in digital domain. This makes the analog to digital converter (ADC) critical in CIM architectures. One drawback is the ADC error introduced by process variation. While research efforts are being made to improve ADC design to reduce the offset, we find that the accuracy loss introduced by the ADC error could be recovered by model weight finetune. In addition to compensate ADC offset, on-chip weight finetune could be leveraged to provide additional protection for adversarial attack that aims to fool the inference engine with manipulated input samples. Our evaluation results show that by adapting the model weights to the specific ADC offset pattern…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Memory and Neural Computing · Adversarial Robustness in Machine Learning · Integrated Circuits and Semiconductor Failure Analysis
MethodsConvolution
