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

研究端侧模型的白盒攻击

Investigating White-Box Attacks for On-Device Models

Monash University(莫纳什大学);Beihang University(北京航空航天大学);Huawei Software Engineering Application Technology Lab(华为软件工程应用技术实验室)

Mingyi Zhou, Xiang Gao, Jing Wu, Kui Liu, Hailong Sun, Li Li

AI总结:

针对端侧 TFLite 模型缺乏梯度支持、难以实施白盒攻击的问题,提出 REOM 框架将其逆向为可调试模型,并在 244 个模型上验证其攻击成功率更高、扰动小百倍。

摘要:

众多移动应用已经利用了深度学习能力。然而,端侧模型容易受到攻击,因为它们可以从相应的移动应用中被轻易提取。现有的端侧攻击方法只能生成黑盒攻击,其效果和效率远低于白盒策略。这是因为诸如 TFLite 之类的移动深度学习框架不支持梯度计算,而梯度计算是白盒攻击算法所必需的。因此,我们认为现有研究结果可能低估了端侧攻击的危害性。为此,我们开展了一项研究,以回答这一研究问题:端侧模型能否通过白盒策略被直接攻击?我们首先系统分析了将端侧模型转换为可调试版本的困难,并提出了一个端侧模型逆向工程框架(Reverse Engineering framework for On-device Models,REOM),该框架可自动将编译后的端侧 TFLite 模型逆向为可调试模型。具体而言,REOM 首先将编译后的端侧模型转换为 Open Neural Network Exchange(ONNX)格式,然后移除不可调试部分,并将其转换为可调试的深度学习模型格式,使攻击者能够在白盒环境中加以利用。我们的实验结果表明,该方法在 244 个 TFLite 模型之间实现了有效自动化转换。与以往使用代理模型的攻击相比,REOM 使攻击者能够以小一百倍的攻击扰动实现更高的攻击成功率。此外,由于 ONNX 平台拥有大量用于模型格式交换的工具,所提出的基于 ONNX 平台的方法可以适配其他模型格式。我们的研究结果强调,开发者需要审慎考虑其模型部署策略,并使用白盒方法评估端侧模型的脆弱性。

英文摘要:

Numerous mobile apps have leveraged deep learning capabilities. However, on-device models are vulnerable to attacks as they can be easily extracted from their corresponding mobile apps. Existing on-device attacking approaches only generate black-box attacks, which are far less effective and efficient than white-box strategies. This is because mobile deep learning frameworks like TFLite do not support gradient computing, which is necessary for white-box attacking algorithms. Thus, we argue that existing findings may underestimate the harmfulness of on-device attacks. To this end, we conduct a study to answer this research question: Can on-device models be directly attacked via white-box strategies? We first systematically analyze the difficulties of transforming the on-device model to its debuggable version, and propose a Reverse Engineering framework for On-device Models (REOM), which automatically reverses the compiled on-device TFLite model to the debuggable model. Specifically, REOM first transforms compiled on-device models into Open Neural Network Exchange format, then removes the non-debuggable parts, and converts them to the debuggable DL models format that allows attackers to exploit in a white-box setting. Our experimental results show that our approach is effective in achieving automated transformation among 244 TFLite models. Compared with previous attacks using surrogate models, REOM enables attackers to achieve higher attack success rates with a hundred times smaller attack perturbations. In addition, because the ONNX platform has plenty of tools for model format exchanging, the proposed method based on the ONNX platform can be adapted to other model formats. Our findings emphasize the need for developers to carefully consider their model deployment strategies, and use white-box methods to evaluate the vulnerability of on-device models.

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

↑