arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.07228cs.SEcs.CR
收藏

应用内深度学习模型的自动化切片和测试

Automation Slicing and Testing for in-App Deep Learning Models

Hao Wu, Yuhang Gong, Xiaopeng Ke, Hanzhong Liang, Minghao Li, Fengyuan Xu, Yunxin Liu, Sheng Zhong

摘要:

配备了应用内深度学习(DL)模型的智能应用(iApps)正在兴起,以提供稳定的DL推理服务。然而,应用程序市场在自动测试iApps方面遇到了麻烦,因为应用程序内模型是黑盒的,并且与普通代码相结合。在这项工作中,我们提出了一个自动化工具,ASTM,它可以实现大规模的应用程序模型测试。ASTM将iApps作为输入,输出可以取代应用内模型作为测试对象。ASTM提出了两种重建技术,将应用程序内模型转换为支持反向传播的版本,并重建用于DL推理的IO处理代码。在ASTM的帮助下,我们对100个独特的商业应用内模型的鲁棒性进行了大规模研究,发现56%的应用内模型在我们的环境中容易受到鲁棒性问题的影响。ASTM还检测到针对三个代表性iApp的物理攻击,这些攻击可能导致经济损失和安全问题。

英文摘要:

Intelligent Apps (iApps), equipped with in-App deep learning (DL) models, are emerging to offer stable DL inference services. However, App marketplaces have trouble auto testing iApps because the in-App model is black-box and couples with ordinary codes. In this work, we propose an automated tool, ASTM, which can enable large-scale testing of in-App models. ASTM takes as input an iApps, and the outputs can replace the in-App model as the test object. ASTM proposes two reconstruction techniques to translate the in-App model to a backpropagation-enabled version and reconstruct the IO processing code for DL inference. With the ASTM's help, we perform a large-scale study on the robustness of 100 unique commercial in-App models and find that 56\% of in-App models are vulnerable to robustness issues in our context. ASTM also detects physical attacks against three representative iApps that may cause economic losses and security issues.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑