arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.06155cs.CLcs.LG
收藏

RNN测试:面向循环神经网络系统的对抗性测试

RNN-Test: Towards Adversarial Testing for Recurrent Neural Network Systems

Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Key Laboratory for Information System Security, Ministry of Education(教育部信息系统安全重点实验室);Huawei Technologies Co., Ltd.(华为技术有限公司)

Jianmin Guo, Yue Zhao, Quan Zhang, Yu Jiang

摘要:

虽然在卷积神经网络(CNN)的对抗测试中已经进行了大量的研究,但对递归神经网络(RNN)的测试仍然有限,并且给大量的顺序应用领域留下了威胁。在本文中,我们提出了一个针对RNN系统的对抗性测试框架RNN-Test,专注于主要的顺序域,而不仅仅是分类任务。首先,我们设计了一种为RNN模型定制的新搜索方法,通过最大化RNN状态的不一致性来产生对抗性输入。接下来,我们根据RNN的独特结构引入两个基于状态的覆盖度量,以探索更多的推理逻辑。最后,RNN测试解决了联合优化问题,以最大限度地提高状态不一致性和状态覆盖率,并为不同类型输入的各种任务制作对抗性输入。为了进行评估,我们对常见RNN结构的三个序列模型进行了RNN测试。在测试的模型上,RNN测试方法在生成对抗性输入方面具有竞争力,优于基于FGSM和基于DLFuzz-based的方法,可以更大程度地降低模型性能,成功率(或生成率)提高2.78%至32.5%。RNN-Test在MNIST-LSTM模型上的攻击率也比相关的工作测试RNN高出52.65%到66.45%。与神经元覆盖率相比,所提出的状态覆盖率指标具有4.17%到97.22%的成功率(或生成率)。

英文摘要:

While massive efforts have been investigated in adversarial testing of convolutional neural networks (CNN), testing for recurrent neural networks (RNN) is still limited and leaves threats for vast sequential application domains. In this paper, we propose an adversarial testing framework RNN-Test for RNN systems, focusing on the main sequential domains, not only classification tasks. First, we design a novel search methodology customized for RNN models by maximizing the inconsistency of RNN states to produce adversarial inputs. Next, we introduce two state-based coverage metrics according to the distinctive structure of RNNs to explore more inference logics. Finally, RNN-Test solves the joint optimization problem to maximize state inconsistency and state coverage, and crafts adversarial inputs for various tasks of different kinds of inputs. For evaluations, we apply RNN-Test on three sequential models of common RNN structures. On the tested models, the RNN-Test approach is demonstrated to be competitive in generating adversarial inputs, outperforming FGSM-based and DLFuzz-based methods to reduce the model performance more sharply with 2.78% to 32.5% higher success (or generation) rate. RNN-Test could also achieve 52.65% to 66.45% higher adversary rate on MNIST-LSTM model than relevant work testRNN. Compared with the neuron coverage, the proposed state coverage metrics as guidance excel with 4.17% to 97.22% higher success (or generation) rate.

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

↑