Edge AI inference is becoming prevalent thanks to the emergence of small yet high-performance microprocessors. This shift from cloud to edge processing brings several benefits in terms of energy savings, improved latency, and increased privacy. On the downside, bringing computation to the edge makes them more vulnerable to physical side-channel attacks (SCA), which aim to extract the confidentiality of neural network models, e.g., architecture and weight. To address this growing threat, we propose PermuteV, a performant side-channel resistant RISC-V core designed to secure neural network inference. PermuteV employs a hardware-accelerated defense mechanism that randomly permutes the execution order of loop iterations, thereby obfuscating the electromagnetic (EM) signature associated with sensitive operations. We implement PermuteV on FPGA and perform evaluations in terms of side-channel security, hardware area, and runtime overhead. The experimental results demonstrate that PermuteV can effectively defend against EM SCA with minimal area and runtime overhead.
翻译:随着小型化高性能微处理器的出现,边缘AI推理正日益普及。这种从云端到边缘处理的转变在节能、降低延迟和增强隐私保护方面具有多重优势。然而,将计算迁移至边缘也使其更易受到物理侧信道攻击的威胁,此类攻击旨在窃取神经网络模型的机密信息,例如架构参数与权重。为应对这一日益严峻的安全挑战,本文提出PermuteV——一种专为保护神经网络推理而设计的高性能抗侧信道攻击RISC-V内核。PermuteV采用硬件加速防御机制,通过随机置换循环迭代的执行顺序,从而混淆与敏感操作相关的电磁特征信号。我们在FPGA平台上实现了PermuteV,并从侧信道安全性、硬件资源占用和运行时开销三个维度进行评估。实验结果表明,PermuteV能够以极低的空间与时间开销有效抵御电磁侧信道攻击。