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

NeurObfuscator:一个减轻神经结构窃取的全栈混淆工具

NeurObfuscator: A Full-stack Obfuscation Tool to Mitigate Neural Architecture Stealing

Jingtao Li, Zhezhi He, Adnan Siraj Rakin, Deliang Fan, Chaitali Chakrabarti

摘要:

神经网络窃取攻击对神经网络模型部署构成了严重威胁。这种攻击可以通过泄漏的侧信道提取神经结构信息,如层序列和维度参数来发起。为了减轻这种攻击,我们提出了NeurObfuscator,这是一种全栈混淆工具,用于混淆神经网络架构,同时保留其功能,性能开销非常有限。该工具的核心是一组模糊旋钮,包括层分支,层加宽,选择性融合和调度修剪,增加运算符的数量,减少/增加延迟以及缓存和DRAM访问的数量。采用基于遗传算法的方法来编排混淆旋钮的组合,以使层序列和维度参数达到最佳混淆效果,从而不能成功提取体系结构信息。序列混淆的结果表明,该工具将ResNet-18 ImageNet模型混淆到一个完全不同的架构(具有44层差异),而不会影响其功能,总体延迟开销仅为2%。对于维度混淆,我们证明了具有64个输入和128个输出通道的示例卷积层可以被混淆以生成具有207个输入和93个输出通道的层,仅具有2%的延迟开销。

英文摘要:

Neural network stealing attacks have posed grave threats to neural network model deployment. Such attacks can be launched by extracting neural architecture information, such as layer sequence and dimension parameters, through leaky side-channels. To mitigate such attacks, we propose NeurObfuscator, a full-stack obfuscation tool to obfuscate the neural network architecture while preserving its functionality with very limited performance overhead. At the heart of this tool is a set of obfuscating knobs, including layer branching, layer widening, selective fusion and schedule pruning, that increase the number of operators, reduce/increase the latency, and number of cache and DRAM accesses. A genetic algorithm-based approach is adopted to orchestrate the combination of obfuscating knobs to achieve the best obfuscating effect on the layer sequence and dimension parameters so that the architecture information cannot be successfully extracted. Results on sequence obfuscation show that the proposed tool obfuscates a ResNet-18 ImageNet model to a totally different architecture (with 44 layer difference) without affecting its functionality with only 2% overall latency overhead. For dimension obfuscation, we demonstrate that an example convolution layer with 64 input and 128 output channels can be obfuscated to generate a layer with 207 input and 93 output channels with only a 2% latency overhead.

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

↑