ModelObfuscator:混淆模型信息以保护部署的基于机器学习的系统
ModelObfuscator: Obfuscating Model Information to Protect Deployed ML-based Systems
AI总结:
针对端侧 TFLite 模型易遭白盒攻击的问题,提出模型混淆技术并实现 ModelObfuscator,在不增加推理延迟的前提下隐藏结构、参数和属性。
摘要:
越来越多的边缘设备和移动应用正在利用深度学习(DL)能力。将此类模型部署在设备上(称为端侧模型),而不是作为远程云托管服务,已经变得流行,因为这种方式避免了将用户数据传出设备,并实现了较高的响应速度。然而,端侧模型很容易受到攻击,因为攻击者可以通过解包相应应用来访问这些模型,而且模型会完全暴露给攻击者。近期研究表明,攻击者可以轻松地针对端侧模型生成类似白盒的攻击,甚至反演其训练数据。为了保护端侧模型免受白盒攻击,我们提出了一种称为模型混淆的新技术。具体而言,模型混淆通过重命名、参数封装、神经结构混淆、快捷连接注入和额外层注入,隐藏并混淆模型的关键信息——结构、参数和属性。我们开发了原型工具 ModelObfuscator,用于自动混淆端侧 TFLite 模型。实验表明,所提出的方法能够显著提高解析模型内部信息的难度,从而大幅增强模型安全性,同时不会增加 DL 模型的延迟。我们提出的端侧模型混淆有潜力成为端侧模型部署的一项基础技术。原型工具公开发布于:https://github.com/zhoumingyi/ModelObfuscator。
英文摘要:
More and more edge devices and mobile apps are leveraging deep learning (DL) capabilities. Deploying such models on devices -- referred to as on-device models -- rather than as remote cloud-hosted services, has gained popularity because it avoids transmitting user data off of the device and achieves high response time. However, on-device models can be easily attacked, as they can be accessed by unpacking corresponding apps and the model is fully exposed to attackers. Recent studies show that attackers can easily generate white-box-like attacks for an on-device model or even inverse its training data. To protect on-device models from white-box attacks, we propose a novel technique called model obfuscation. Specifically, model obfuscation hides and obfuscates the key information -- structure, parameters and attributes -- of models by renaming, parameter encapsulation, neural structure obfuscation obfuscation, shortcut injection, and extra layer injection. We have developed a prototype tool ModelObfuscator to automatically obfuscate on-device TFLite models. Our experiments show that this proposed approach can dramatically improve model security by significantly increasing the difficulty of parsing models inner information, without increasing the latency of DL models. Our proposed on-device model obfuscation has the potential to be a fundamental technique for on-device model deployment. Our prototype tool is publicly available at: https://github.com/zhoumingyi/ModelObfuscator.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。