arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1711.00449cs.LGstat.ML
收藏

攻击二值化神经网络

Attacking Binarized Neural Networks

University of Guelph(圭尔夫大学);Canadian Institute for Advanced Research(加拿大高级研究所);Vector Institute for Artificial Intelligence(向量人工智能研究所)

Angus Galloway, Graham W. Taylor, Medhat Moussa

摘要:

具有低精度权重和激活的神经网络与其全精度等效物相比具有令人信服的效率优势。量化的两个最常讨论的好处是减少内存消耗,以及在使用有效的逐位操作实现时更快的前向传递。我们提出了极低精度神经网络的第三个好处:提高了对某些对抗攻击的鲁棒性,在最坏的情况下,性能与全精度模型相当。我们专注于非常低精度的情况下,权重和激活都被量化为$\pm$ 1,并注意到,随机量化权重在一个层可以大大减少迭代攻击的影响。我们观察到,未缩放的二进制神经网络表现出类似的效果,原来的防御蒸馏过程,导致梯度掩蔽,和一个错误的安全概念。我们通过使用不人为掩盖梯度的二进制模型进行黑盒和白盒实验来解决这个问题。

英文摘要:

Neural networks with low-precision weights and activations offer compelling efficiency advantages over their full-precision equivalents. The two most frequently discussed benefits of quantization are reduced memory consumption, and a faster forward pass when implemented with efficient bitwise operations. We propose a third benefit of very low-precision neural networks: improved robustness against some adversarial attacks, and in the worst case, performance that is on par with full-precision models. We focus on the very low-precision case where weights and activations are both quantized to $\pm$1, and note that stochastically quantizing weights in just one layer can sharply reduce the impact of iterative attacks. We observe that non-scaled binary neural networks exhibit a similar effect to the original defensive distillation procedure that led to gradient masking, and a false notion of security. We address this by conducting both black-box and white-box experiments with binary models that do not artificially mask gradients.

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

↑