RE-Specter: Examining the Architectural Features of Configurable CNN with Power Side-Channel
Lu Zhang,Dejun Mu,Jingyu Wang,Ruoyang Liu,Yifan He,Yaolei Li,Yu Tai,Shengbing Zhang,Xiaoya Fan,Huazhong Yang,Yongpan Liu
DOI: https://doi.org/10.1109/tcad.2024.3394372
2024-01-01
Abstract:As domain-specific training data is recognized as valuable intellectual property, acquiring well-trained weights in convolutional neural networks (CNN) has emerged as a new threat to the neural network design community. To design a CNN accelerator that is resilient to side-channel threats, it is crucial to have an accurate and efficient security-driven framework at the early design stage. However, there is no standard way to perform root-cause analysis on the power side channel that exists in FPGA-based CNN accelerators. Therefore, we build RE-Specter, , a framework that facilitates security-driven design space exploration (DSE) across various building components, combination patterns, and parallelism configurations in CNNs. The goal is to fully understand the power side-channel effects resulting from architectural modifications or optimization decisions. We further compare the benchmarks considering precision, resource utilization, and power side-channel leakage. Finally, we experimentally explore the design space of various architectural features. The experimental results show that low-bit precision delivers more secure architectures (68.9x x among DSPs, 2439x x among LUTs) in measurement-to-disclosure (MTD), but mixed- precision strategies are necessary to maintain the model accuracy. For loop optimization, in 16-parallel scenario, accumulator-based architecture outperforms the architecture featuring an adder tree with the improvements of 8.28x in MTD and 1.38x in PST.