arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.00187cs.CR
收藏

保护机器学习硬件免受物理侧信道攻击

Guarding Machine Learning Hardware Against Physical Side-Channel Attacks

Anuj Dubey, Rosario Cammarota, Vikram Suresh, Aydin Aysu

摘要:

机器学习(ML)模型由于其开发成本而可能是商业机密。因此,他们需要针对恶意形式的逆向工程(例如,IP盗版)。随着ML越来越多地转移到边缘设备,部分是为了性能,部分是为了隐私利益,这些模型已经变得容易受到所谓的物理侧信道攻击的影响。与密码学相比,ML是一个相对较新的目标,在缺乏出版文献的背景下提出了侧信道分析的问题。新兴的基于边缘的ML设备与为它们提供侧通道安全性的充分防御研究之间的差距激发了我们的研究。我们的工作为硬件模块中的ML模型开发并结合了不同风格的侧通道防御。我们提出并优化了基于布尔掩码的第一道防线。我们首先实现所有屏蔽的硬件块。然后,我们提出了一个加法器优化,以减少面积和延迟开销。最后,我们将其与基于洗牌的防御相结合。我们量化的面积延迟开销的掩蔽范围从5.4 $\times$到4.7 $\times$取决于所使用的加法器拓扑结构,并证明了一阶侧通道安全的数百万电源跟踪。此外,shuffle对策阻止了对我们的一阶掩码实现的直接二阶攻击。

英文摘要:

Machine learning (ML) models can be trade secrets due to their development cost. Hence, they need protection against malicious forms of reverse engineering (e.g., in IP piracy). With a growing shift of ML to the edge devices, in part for performance and in part for privacy benefits, the models have become susceptible to the so-called physical side-channel attacks. ML being a relatively new target compared to cryptography poses the problem of side-channel analysis in a context that lacks published literature. The gap between the burgeoning edge-based ML devices and the research on adequate defenses to provide side-channel security for them thus motivates our study. Our work develops and combines different flavors of side-channel defenses for ML models in the hardware blocks. We propose and optimize the first defense based on Boolean masking. We first implement all the masked hardware blocks. We then present an adder optimization to reduce the area and latency overheads. Finally, we couple it with a shuffle-based defense. We quantify that the area-delay overhead of masking ranges from 5.4$\times$ to 4.7$\times$ depending on the adder topology used and demonstrate first-order side-channel security of millions of power traces. Additionally, the shuffle countermeasure impedes a straightforward second-order attack on our first-order masked implementation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑