信息安全研究 ›› 2022, Vol. 8 ›› Issue (9): 917-.

• 学术论文 • 上一篇    下一篇

基于 Softplus 函数的神经网络的 Reluplex 算法验证研究

陆明远, 侯春燕, 王劲松   

  1. (天津理工大学计算机科学与工程学院天津300384)
  • 出版日期:2022-09-02 发布日期:2022-09-02
  • 通讯作者: 陆明远 硕士.主要研究方向为软件形式化验证方法、人工神经网络和信息安全. 1933044495@qq.com
  • 作者简介:陆明远 硕士.主要研究方向为软件形式化验证方法、人工神经网络和信息安全. 1933044495@qq.com 侯春燕 博士,副教授,硕士生导师.主要研究方向为软件形式化验证方法、软件漏洞挖掘、软件测试和机器深度学习. chunyanhou@tjut.edu.cn 王劲松 博士,教授,博士生导师.主要研究方向为人工智能、数据挖掘、区块链和信息安全. jswang@tjut.edu.cn

Research on Verification of Neural Network Based on Softplus  Function by Reluplex Algorithm

  • Online:2022-09-02 Published:2022-09-02

摘要: 形式化验证是计算机科学中运用数理逻辑的方式验证某个系统是否可行的方法,而把形式化验证方法充分应用于神经网络领域,则能更好地研究神经网络的特性与应用.Reluplex是一种对深度神经网络进行验证的单纯形算法,它使用Relu作为激活函数,而Relu的神经元在训练过程中较脆弱并可能垂死.Softplus是与Relu近似但比Relu更平滑的激活函数,改进了Reluplex算法使之能检验采用Softplus激活函数的深度神经网络,随后获取了在Softplus激活函数下测试鲁棒对抗性得到的实验数据结果,通过与Relu测试结果进行对比,证明了Softplus的测试效率明显高于Relu,它比Relu更平衡,从而让神经网络的学习更快.该研究扩展了神经网络验证算法的功能并展开了相应的对比分析,有利于以后更好地验证和改进深度神经网络,以确保其安全性.

关键词: 神经网络, 形式化验证, 激活函数, Relu函数, Softplus函数

Abstract: Formal verification is a method in computer science that uses mathematical logic to verify whether a system is feasible. Applying formal verification methods to the field of neural networks fully can facilitate us to study the characteristics and applications of neural networks better. Reluplex is a kind of simplex algorithm for verifying deep neural networks which uses Relu as the activation function, and neurons of Relu are fragile and may die during training. Softplus is an activation function similar to Relu but smoother than it. We improved the Reluplex algorithm to test deep neural networks which is using Softplus activation function, and then obtained experimental data results by testing robust adversarial under Softplus activation function. Through the comparison with the test results under Relu, it is confirmed that test efficiency under Softplus is significantly higher than that of Relu, which is more balanced than Relu so that the neural network can learn faster. This study expands the functions of the neural network verification algorithm and conducts a corresponding comparative analysis, which is beneficial to better verify and improve deep neural networks to ensure its security in the future.


Key words: neural network, formal verification, activation function, Relu, Softplus