利用片内Finetune减轻内存计算加速器的对抗攻击
Mitigating Adversarial Attack for Compute-in-Memory Accelerator Utilizing On-chip Finetune
摘要:
内存计算(CIM)通过在模拟域中实现并行乘法和累加来加速卷积神经网络(CNN)的计算。然而,后续处理仍然优选地在数字域中执行。这使得模数转换器(ADC)在CIM架构中至关重要。一个缺点是工艺变化引入的ADC误差。虽然研究人员正在努力改进ADC设计以减少失调,但我们发现ADC误差引起的精度损失可以通过模型权重微调来恢复。除了补偿ADC偏移之外,还可以利用片上权重微调来为对抗攻击提供额外保护,对抗攻击旨在利用操纵的输入样本来欺骗推理引擎。我们的评估结果表明,通过调整模型权重到特定的ADC偏移模式到每个芯片,对抗攻击的可转移性被抑制。对于被C&W方法攻击的芯片,CIFAR-10数据集的分类将下降到几乎0%。然而,当将类似生成的对抗性示例应用于其他芯片时,VGG-8和DenseNet-40的准确率仍然分别保持在62%和85%以上。
英文摘要:
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 to each chip, the transferability of the adversarial attack is suppressed. For a chip being attacked by the C&W method, the classification for CIFAR-10 dataset will drop to almost 0%. However, when applying the similarly generated adversarial examples to other chips, the accuracy could still maintain more than 62% and 85% accuracy for VGG-8 and DenseNet-40, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。