一种高效的鲁棒模型生成集成方法
An Integrated Approach to Produce Robust Models with High Efficiency
摘要:
深度神经网络(DNN)需要在实际应用中既高效又健壮。量化和结构简化是使DNN适应移动设备的有前途的方法,而对抗训练是使DNN健壮的最流行的方法。在这项工作中,我们试图通过将收敛的松弛量化算法Binary-Relax(BR)应用于一个强大的对抗训练模型ResNets Ensemble via Feynman-Kac Formalism(EnResNet)来获得这两个特征。我们还发现,高精度,如三进制(tnn)和4位,量化将产生稀疏DNN。然而,这种稀疏性在对抗训练下是非结构化的。为了解决对抗性训练影响DNN在干净图像上的准确性和稀疏性结构的问题,我们设计了一个折衷的损失函数,帮助DNN保持其自然的准确性和提高信道稀疏性。通过我们的折衷损失函数,我们实现了两个目标,在弱攻击下不降低抵抗力,在强攻击下只降低很小的抵抗力。与具有权衡损失函数的量化EnResNet一起,我们提供了具有高效率的鲁棒模型。
英文摘要:
Deep Neural Networks (DNNs) needs to be both efficient and robust for practical uses. Quantization and structure simplification are promising ways to adapt DNNs to mobile devices, and adversarial training is the most popular method to make DNNs robust. In this work, we try to obtain both features by applying a convergent relaxation quantization algorithm, Binary-Relax (BR), to a robust adversarial-trained model, ResNets Ensemble via Feynman-Kac Formalism (EnResNet). We also discover that high precision, such as ternary (tnn) and 4-bit, quantization will produce sparse DNNs. However, this sparsity is unstructured under advarsarial training. To solve the problems that adversarial training jeopardizes DNNs' accuracy on clean images and the struture of sparsity, we design a trade-off loss function that helps DNNs preserve their natural accuracy and improve the channel sparsity. With our trade-off loss function, we achieve both goals with no reduction of resistance under weak attacks and very minor reduction of resistance under strong attcks. Together with quantized EnResNet with trade-off loss function, we provide robust models that have high efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。