paperbot · PL 论文追踪

全部论文 待读 收藏

P2 ModelDiff: testing-based DNN similarity comparison for model reuse detection

ModelDiff:基于测试的 DNN 相似度比较与模型复用检测
ISSTA Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis2021匹配度 2/10 · 论文研究DNN模型复用检测,属于机器学习系统的测试与软件工程问题,不涉及用户核心关注的静态分析、Agentic程序、浮点程序分析、贝叶斯程序分析或LLM与PL交叉。仅在“ML系统”和benchmark构建上有间接关联,匹配度较低。引用 51 inbox
Yuanchun Li, Ziqi Zhang, Bingyan Liu, Ziyue Yang, Yunxin Liu
crossref: 2026-09-12

AI 速览

一句话:提出基于测试的 DNN 模型相似度比较方法 ModelDiff,通过决策距离向量检测知识复用。

深度学习模型的知识可迁移到学生模型,导致知识产权侵权或漏洞传播;但可疑模型可能不可白盒访问或面向不同任务,检测复用困难。本文提出 ModelDiff,一种基于测试的相似度比较方法:不直接比较权重、激活或输出,而比较两模型在同一组测试输入上的行为模式,将模型对输入对的反应距离组成决策距离向量(DDV),以 DDV 余弦相似度衡量知识相似性。作者构建覆盖迁移学习、模型压缩和模型窃取的 144 对模型基准,正确率达 91.7%,并在移动深度学习应用中验证可行性。

问题
如何检测不可白盒访问或面向不同任务的深度学习模型之间的知识复用,以发现知识产权侵权或漏洞传播。
方法
提出基于测试的 ModelDiff:用同一组测试输入上的行为模式(决策距离向量 DDV)表示模型,并通过 DDV 余弦相似度比较模型相似性。
评估
在包含 144 对模型、覆盖迁移学习、模型压缩和模型窃取的基准上取得 91.7% 正确率,并在移动深度学习应用中验证可行性。
原文摘要(Abstract)

The knowledge of a deep learning model may be transferred to a student model, leading to intellectual property infringement or vulnerability propagation. Detecting such knowledge reuse is nontrivial because the suspect models may not be white-box accessible and/or may serve different tasks. In this paper, we propose ModelDiff, a testing-based approach to deep learning model similarity comparison. Instead of directly comparing the weights, activations, or outputs of two models, we compare their behavioral patterns on the same set of test inputs. Specifically, the behavioral pattern of a model is represented as a decision distance vector (DDV), in which each element is the distance between the model's reactions to a pair of inputs. The knowledge similarity between two models is measured with the cosine similarity between their DDVs. To evaluate ModelDiff, we created a benchmark that contains 144 pairs of models that cover most popular model reuse methods, including transfer learning, model compression, and model stealing. Our method achieved 91.7% correctness on the benchmark, which demonstrates the effectiveness of using ModelDiff for model reuse detection. A study on mobile deep learning apps has shown the feasibility of ModelDiff on real-world models.

链接与引用

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

BibTeX
@inproceedings{paperbot6688,
  title = {ModelDiff: testing-based DNN similarity comparison for model reuse detection},
  author = {Yuanchun Li and Ziqi Zhang and Bingyan Liu and Ziyue Yang and Yunxin Liu},
  booktitle = {ISSTA},
  year = {2021},
  doi = {10.1145/3460319.3464816}
}