超越高保真模型提取中的缓慢符号恢复
Beyond Slow Signs in High-fidelity Model Extraction
AI总结:
本文针对标准基准训练模型的参数提取攻击,整合并优化了 Carlini 等人的方法,将权重符号提取效率最高提升 14.8 倍,并指出权重提取才是关键瓶颈,同时提出了更稳健的基准测试方案。
摘要:
深度神经网络训练成本高昂且蕴含重要知识产权价值,正日益受到破坏其机密性的模型提取攻击威胁。先前攻击已利用密码分析技术,在随机数据上训练且最多具有三个隐藏层的模型中,成功逆向工程出精度达到 float64 的模型参数。然而,该过程被证实非常耗时,并且对于在标准基准上训练的更大、更深模型不可行。本研究评估了 Carlini 等人 [1] 提出并经 Canales-Martínez 等人 [2] 进一步增强的参数提取方法在标准基准训练模型上的可行性。我们引入了一个统一的代码库,整合了先前方法,并揭示计算工具能够显著影响性能。我们针对端到端攻击开发了进一步优化,通过识别更易提取和更难提取的神经元,将提取权重符号的效率相比先前方法最高提升了 14.8 倍。与先前假设相反,我们发现权重提取而非权重符号提取才是关键瓶颈。凭借我们的改进,一个在 MNIST 上训练的具有 2 个隐藏层、16,721 个参数的模型仅需 98 分钟即可完成提取,而此前至少需要 150 分钟。最后,针对先前研究中观察到的方法论缺陷,我们提出了面向未来模型提取攻击的稳健基准测试新方法。
英文摘要:
Deep neural networks, costly to train and rich in intellectual property value, are increasingly threatened by model extraction attacks that compromise their confidentiality. Previous attacks have succeeded in reverse-engineering model parameters up to a precision of float64 for models trained on random data with at most three hidden layers using cryptanalytical techniques. However, the process was identified to be very time consuming and not feasible for larger and deeper models trained on standard benchmarks. Our study evaluates the feasibility of parameter extraction methods of Carlini et al. [1] further enhanced by Canales-Martínez et al. [2] for models trained on standard benchmarks. We introduce a unified codebase that integrates previous methods and reveal that computational tools can significantly influence performance. We develop further optimisations to the end-to-end attack and improve the efficiency of extracting weight signs by up to 14.8 times compared to former methods through the identification of easier and harder to extract neurons. Contrary to prior assumptions, we identify extraction of weights, not extraction of weight signs, as the critical bottleneck. With our improvements, a 16,721 parameter model with 2 hidden layers trained on MNIST is extracted within only 98 minutes compared to at least 150 minutes previously. Finally, addressing methodological deficiencies observed in previous studies, we propose new ways of robust benchmarking for future model extraction attacks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。