DeepTheft:通过功耗侧信道窃取DNN模型架构
DeepTheft: Stealing DNN Model Architectures through Power Side Channel
AI总结:
DeepTheft利用RAPL功耗侧信道和基于元模型的学习框架,在低采样率下高准确率地窃取云环境中DNN模型架构,并验证了该方法对CPU频率等其他时间序列侧信道的通用性。
摘要:
深度神经网络(DNN)模型通常以机器学习即服务(MLaaS)的形式部署在资源共享的云环境中,以提供推理服务。为了窃取具有宝贵知识产权的模型架构,一类利用不同侧信道泄漏的攻击方法已被提出,对MLaaS构成了严重的安全挑战。同样针对MLaaS,我们提出了一种新的端到端攻击方法DeepTheft,通过基于RAPL的功耗侧信道在通用处理器上准确恢复复杂的DNN模型架构。然而,攻击者从RAPL接口只能获取低采样率(1 KHz)的时间序列能量轨迹,这使得现有技术在窃取大型和深层DNN模型时效果不佳。为此,我们设计了一个新颖且通用的基于学习的框架,该框架由一组元模型组成,基于该框架,DeepTheft被证明能够在恢复来自不同模型家族的大量(数千个)模型架构时具有高准确率,其中包括最深的ResNet152。特别是,DeepTheft在恢复网络结构方面达到了99.75%的Levenshtein距离准确率,在恢复多样化的逐层超参数方面达到了99.60%的加权平均F1分数。此外,我们提出的学习框架对其他时间序列侧信道信号具有通用性。为了验证其泛化能力,我们利用了另一种现有的侧信道,即CPU频率。与RAPL不同,CPU频率对裸机操作系统中的非特权用户是可访问的。通过使用我们针对CPU频率轨迹训练的通用学习框架,DeepTheft在窃取模型架构方面表现出同样高的攻击性能。
英文摘要:
Deep Neural Network (DNN) models are often deployed in resource-sharing clouds as Machine Learning as a Service (MLaaS) to provide inference services.To steal model architectures that are of valuable intellectual properties, a class of attacks has been proposed via different side-channel leakage, posing a serious security challenge to MLaaS. Also targeting MLaaS, we propose a new end-to-end attack, DeepTheft, to accurately recover complex DNN model architectures on general processors via the RAPL-based power side channel. However, an attacker can acquire only a low sampling rate (1 KHz) of the time-series energy traces from the RAPL interface, rendering existing techniques ineffective in stealing large and deep DNN models. To this end, we design a novel and generic learning-based framework consisting of a set of meta-models, based on which DeepTheft is demonstrated to have high accuracy in recovering a large number (thousands) of models architectures from different model families including the deepest ResNet152. Particularly, DeepTheft has achieved a Levenshtein Distance Accuracy of 99.75% in recovering network structures, and a weighted average F1 score of 99.60% in recovering diverse layer-wise hyperparameters. Besides, our proposed learning framework is general to other time-series side-channel signals. To validate its generalization, another existing side channel is exploited, i.e., CPU frequency. Different from RAPL, CPU frequency is accessible to unprivileged users in bare-metal OSes. By using our generic learning framework trained against CPU frequency traces, DeepTheft has shown similarly high attack performance in stealing model architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。