paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DynaMO: Protecting Mobile DL Models through Coupling Obfuscated DL Operators

DynaMO:通过耦合混淆的深度学习算子保护移动端深度学习模型
ASE Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering2024匹配度 2/10 · 该论文研究移动端深度学习模型的动态混淆与抗插桩攻击,属于ML安全/模型保护方向,不涉及用户核心关注的静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析。仅在ML系统与程序语言安全层面有边缘关联。引用 1 inbox
Mingyi Zhou, Xiang Gao, Xiao Chen, Chunyang Chen, John Grundy, Li Li
crossref: 2026-09-12

AI 速览

一句话:提出全动态模型混淆策略 DynaMO,用随机耦合算子的线性变换在运行时保护移动端 DL 模型,抵御动态插桩攻击。

移动应用中部署深度学习模型日益普遍,但攻击者可逆向工程模型以窃取知识产权或构造有效攻击。现有模型混淆方法或为静态混淆,或为半动态混淆(需用户通过额外输入参数恢复模型信息),均无法在运行时隐藏敏感信息。本文先用插桩方法与工具 DLModelExplorer 动态提取运行时的正确权重与计算图,评估现有混淆策略的脆弱性,攻击性能极高(权重提取率 98.76%,混淆算子分类率 99.89%)。为抵御此类动态插桩攻击,作者提出 DynaMO——一种类似同态加密的全动态模型混淆策略:对随机耦合的合格算子权重进行简单线性变换,即可完成混淆与恢复,无需额外输入参数。实验表明,该策略相比现有混淆策略显著提升模型安全性,且对设备端模型的开销可忽略。原型工具已开源。

问题
移动端 DL 模型容易被逆向工程,而现有静态或半动态模型混淆方法无法抵御运行时动态分析,正确权重与计算图在推理时仍会暴露。
方法
先构建插桩工具 DLModelExplorer 动态提取运行时敏感模型信息以量化现有混淆的脆弱性;再提出 DynaMO,仿照同态加密思想,对随机耦合的合格算子权重施加简单线性变换,实现运行时混淆与恢复的全动态混淆策略。
评估
用 DLModelExplorer 对现有混淆策略进行攻击评估(权重提取率 98.76%、混淆算子分类率 99.89%),并在设备端模型上比较 DynaMO 与现有策略的安全性与运行开销。
原文摘要(Abstract)

Deploying deep learning (DL) models on mobile applications (Apps) has become ever-more popular. However, existing studies show attackers can easily reverse-engineer mobile DL models in Apps to steal intellectual property or generate effective attacks. A recent approach, Model Obfuscation, has been proposed to defend against such reverse engineering by obfuscating DL model representations, such as weights and computational graphs, without affecting model performance. These existing model obfuscation methods use static methods to obfuscate the model representation, or they use half-dynamic methods but require users to restore the model information through additional input arguments. However, these static methods or half-dynamic methods cannot provide enough protection for on-device DL models. Attackers can use dynamic analysis to mine the sensitive information in the inference codes as the correct model information and intermediate results must be recovered at runtime for static and half-dynamic obfuscation methods. We assess the vulnerability of the existing obfuscation strategies using an instrumentation method and tool, DLModelExplorer, that dynamically extracts correct sensitive model information (i.e., weights, computational graph) at runtime. Experiments show it achieves very high attack performance (e.g., 98.76% of weights extraction rate and 99.89% of obfuscating operator classification rate). To defend against such attacks based on dynamic instrumentation, we propose DynaMO, a Dynamic Model Obfuscation strategy similar to Homomorphic Encryption. The obfuscation and recovery process can be done through simple linear transformation for the weights of randomly coupled eligible operators, which is a fully dynamic obfuscation strategy. Experiments show that our proposed strategy can dramatically improve model security compared with the existing obfuscation strategies, with only negligible overheads for on-device models. Our prototype tool is publicly available at https://github.com/zhoumingyi/DynaMO.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot8275,
  title = {DynaMO: Protecting Mobile DL Models through Coupling Obfuscated DL Operators},
  author = {Mingyi Zhou and Xiang Gao and Xiao Chen and Chunyang Chen and John Grundy and Li Li},
  booktitle = {ASE},
  year = {2024},
  doi = {10.1145/3691620.3694998}
}