ModelObfuscator: Obfuscating Model Information to Protect Deployed ML-based Systems

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhou, Mingyi, Gao, Xiang, Wu, Jing, Grundy, John, Chen, Xiao, Chen, Chunyang, Li, Li
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913249351434240
author Zhou, Mingyi
Gao, Xiang
Wu, Jing
Grundy, John
Chen, Xiao
Chen, Chunyang
Li, Li
author_facet Zhou, Mingyi
Gao, Xiang
Wu, Jing
Grundy, John
Chen, Xiao
Chen, Chunyang
Li, Li
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2306_06112
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle ModelObfuscator: Obfuscating Model Information to Protect Deployed ML-based Systems
Zhou, Mingyi
Gao, Xiang
Wu, Jing
Grundy, John
Chen, Xiao
Chen, Chunyang
Li, Li
Cryptography and Security
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.
title ModelObfuscator: Obfuscating Model Information to Protect Deployed ML-based Systems
topic Cryptography and Security
url https://arxiv.org/abs/2306.06112