论文标题

托勒密:建筑支持强大的深度学习

Ptolemy: Architecture Support for Robust Deep Learning

论文作者

Gan, Yiming, Qiu, Yuxian, Leng, Jingwen, Guo, Minyi, Zhu, Yuhao

论文摘要

深度学习容易受到对抗性攻击的影响,在这种攻击中,精心制作的输入扰动可能会误导训练有素的深度神经网络,以产生错误的结果。当今对对抗攻击的对策要么没有能力在推理时检测到对抗性样本,要么在推理时引入过高的高架开销以实用。 We propose Ptolemy, an algorithm-architecture co-designed system that detects adversarial attacks at inference time with low overhead and high accuracy.We exploit the synergies between DNN inference and imperative program execution: an input to a DNN uniquely activates a set of neurons that contribute significantly to the inference output, analogous to the sequence of basic blocks exercised by an input in a常规程序。至关重要的是,我们观察到,对抗样品倾向于激活良性输入的独特路径。利用这种见解,我们提出了一个对抗性样本检测框架,该框架使用了从离线分析生成的金丝雀路径在运行时检测对抗样本。托勒密编译器以及共同设计的硬件通过利用唯一的算法特性来实现有效执行。广泛的评估表明,托勒密与当今的运行时(低至2%)开销要高得多的机制相比,托勒密实现了更高或类似的对抗示例检测准确性。

Deep learning is vulnerable to adversarial attacks, where carefully-crafted input perturbations could mislead a well-trained Deep Neural Network to produce incorrect results. Today's countermeasures to adversarial attacks either do not have capability to detect adversarial samples at inference time, or introduce prohibitively high overhead to be practical at inference time. We propose Ptolemy, an algorithm-architecture co-designed system that detects adversarial attacks at inference time with low overhead and high accuracy.We exploit the synergies between DNN inference and imperative program execution: an input to a DNN uniquely activates a set of neurons that contribute significantly to the inference output, analogous to the sequence of basic blocks exercised by an input in a conventional program. Critically, we observe that adversarial samples tend to activate distinctive paths from those of benign inputs. Leveraging this insight, we propose an adversarial sample detection framework, which uses canary paths generated from offline profiling to detect adversarial samples at runtime. The Ptolemy compiler along with the co-designed hardware enable efficient execution by exploiting the unique algorithmic characteristics. Extensive evaluations show that Ptolemy achieves higher or similar adversarial example detection accuracy than today's mechanisms with a much lower runtime (as low as 2%) overhead.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源