Lune

ISSTA2023Top-tier venue

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

Mingyi Zhou, Xiang Gao, Jing Wu, John C. Grundy, Xiao Chen, Chunyang Chen, Li Li

Abstract

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 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 ondevice model deployment. Our prototype tool is publicly available at https://github.com/zhoumingyi/ModelObfuscator .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Membership Inference Attacks Against Machine Learning Models cites Stealing Machine Learning Models via Prediction APIs
  • Hardening Deep Neural Network Binaries against Reverse Engineering Attacks cites Membership Inference Attacks Against Machine Learning Models
  • Hardening Deep Neural Network Binaries against Reverse Engineering Attacks cites Stealing Machine Learning Models via Prediction APIs
  • DynaMO: Protecting Mobile DL Models through Coupling Obfuscated DL Operators cites Model-less Is the Best Model: Generating Pure Code Implementations to Replace On-Device DL Models
  • DynaMO: Protecting Mobile DL Models through Coupling Obfuscated DL Operators cites Investigating White-Box Attacks for On-Device Models
  • Prediction Poisoning: Towards Defenses Against DNN Model Stealing Attacks cites Stealing Machine Learning Models via Prediction APIs
  • Model-less Is the Best Model: Generating Pure Code Implementations to Replace On-Device DL Models cites DNNFusion: accelerating deep neural networks execution with advanced operator fusion
  • Model-less Is the Best Model: Generating Pure Code Implementations to Replace On-Device DL Models cites Investigating White-Box Attacks for On-Device Models
  • Investigating White-Box Attacks for On-Device Models cites Membership Inference Attacks Against Machine Learning Models
  • Train to Defend: First Defense Against Cryptanalytic Neural Network Parameter Extraction Attacks cites Membership Inference Attacks Against Machine Learning Models
  • Train to Defend: First Defense Against Cryptanalytic Neural Network Parameter Extraction Attacks cites Prediction Poisoning: Towards Defenses Against DNN Model Stealing Attacks
  • Train to Defend: First Defense Against Cryptanalytic Neural Network Parameter Extraction Attacks cites Stealing Machine Learning Models via Prediction APIs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Investigating White-Box Attacks for On-Device ModelsMingyi Zhou, Xiang Gao, Jing Wu, Kui Liu et al.ICSE 2024 · 9 citations
  2. Model-less Is the Best Model: Generating Pure Code Implementations to Replace On-Device DL ModelsMingyi Zhou, Xiang Gao, Pei Liu, John Grundy et al.ISSTA 2024 · 4 citations
  3. DynaMO: Protecting Mobile DL Models through Coupling Obfuscated DL OperatorsMingyi Zhou, Xiang Gao, Xiao Chen, Chunyang Chen et al.ASE 2024 · 1 citation
  4. Train to Defend: First Defense Against Cryptanalytic Neural Network Parameter Extraction AttacksAshley Kurian, Aydin AysuNeurIPS 2025 · 1 citation
  5. Hardening Deep Neural Network Binaries against Reverse Engineering AttacksZheng Zhong, Ruoyu Wu, Junpeng Wan, Muqi Zou et al.CCS 2025

Builds on14

  1. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  2. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter et al.USENIX Security 2016 · 2,088 citations
  3. Prediction Poisoning: Towards Defenses Against DNN Model Stealing AttacksTribhuvanesh Orekondy, Bernt Schiele, Mario FritzICLR 2020 · 194 citations
  4. DNNFusion: accelerating deep neural networks execution with advanced operator fusionWei Niu, Jiexiong Guan, Yanzhi Wang, Gagan Agrawal et al.PLDI 2021 · 166 citations
  5. DeepSniffer: A DNN Model Extraction Framework Based on Learning Architectural HintsXing Hu, Ling Liang, Shuangchen Li, Lei Deng et al.ASPLOS 2020 · 128 citations

Related papers

  1. THEMIS: Towards Practical Intellectual Property Protection for Post-Deployment On-Device Deep Learning ModelsYujin Huang, Zhi Zhang, Qingchuan Zhao, Xingliang Yuan et al.USENIX Security 2025
  2. DEMISTIFY: Identifying On-device Machine Learning Models Stealing and Reuse Vulnerabilities in Mobile AppsPengcheng Ren, Chaoshun Zuo, Xiaofeng Liu, Wenrui Diao et al.ICSE 2024 · 10 citations
  3. ShadowNet: A Secure and Efficient On-device Model Inference System for Convolutional Neural NetworksZhichuang Sun, Ruimin Sun, Changming Liu, Amrita Roy Chowdhury et al.S&P 2023
  4. Mind Your Weight(s): A Large-scale Study on Insufficient Machine Learning Model Protection in Mobile AppsZhichuang Sun, Ruimin Sun, Long Lu, Alan MisloveUSENIX Security 2021 · 101 citations
  5. SoK: All You Need to Know About On-Device ML Model Extraction - The Gap Between Research and PracticeTushar Nayan, Qiming Guo, Mohammed Alduniawi, Marcus Botacin et al.USENIX Security 2024 · 20 citations
Dusk over the sea between two cliffs drawn in fine vertical lines