一句话:提出模型混淆技术,通过重命名、参数封装、结构混淆等保护端侧 TFLite 模型免受白盒攻击。
端侧部署的深度学习模型易被逆向:攻击者解包 App 即可获取完整模型,发起类白盒攻击甚至反演训练数据。本文提出模型混淆技术 ModelObfuscator,通过重命名、参数封装、神经网络结构混淆、快捷连接注入和额外层注入,隐藏模型结构、参数与属性。作者实现自动化混淆 TFLite 模型的工具,并实验表明该方法显著增加解析模型内部信息的难度,从而提升模型安全性,且不增加深度学习模型延迟。该技术有望成为端侧模型部署的基础防护手段。
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’s 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, 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.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@inproceedings{abs-2306-06112,
title = {ModelObfuscator: Obfuscating Model Information to Protect Deployed ML-Based Systems},
author = {Mingyi Zhou and Xiang Gao and Jing Wu and John Grundy and Xiao Chen and Chunyang Chen and Li Li},
booktitle = {ISSTA},
year = {2023},
doi = {10.1145/3597926.3598113}
}