arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01289cs.ETcs.CRphysics.optics
收藏

意外英雄:模拟光子神经网络中的非理想性作为对抗攻击的内建防御者

The Unlikely Hero: Nonideality in Analog Photonic Neural Networks as Built-in Defender Against Adversarial Attacks

Haotian Lu, Ziang Yin, Partho Bhoumik, Sanmitra Banerjee, Krishnendu Chakrabarty, Jiaqi Gu

AI总结:

本文提出一种针对光子模拟AI硬件的协同防御框架,利用非理想性并通过攻击前单值权重编码和攻击后漏洞感知权重锁定,在<3%内存开销下有效防御对抗性权重攻击。

摘要:

电子-光子计算系统已成为加速深度神经网络(DNN)工作负载的有前景平台。主要努力一直集中在对抗硬件非理想性以及通过各种硬件/算法协同设计方法提升效率上。然而,此类光子模拟混合信号AI硬件的对抗鲁棒性仍未得到探索。尽管硬件变异可以通过鲁棒性驱动的优化方法加以缓解,但针对硬件的恶意攻击表现出与噪声不同的行为,这需要一种针对光学模拟硬件量身定制的保护方法。在这项工作中,我们重新思考了光子模拟加速器中传统上不受欢迎的非理想性的作用,并声称它们在防御对抗性权重攻击方面具有令人惊讶的效果。受DNN量化和剪枝保护效果的启发,我们提出了一种针对光学模拟硬件量身定制的协同防御框架,该框架通过攻击前的单值权重编码和攻击后的漏洞感知权重锁定来主动保护敏感权重。效率-可靠性权衡被形式化为约束优化问题,并在无需模型重新训练成本的情况下离线高效求解。对使用多核光子加速器的各种DNN基准的广泛评估表明,我们的框架在对抗性比特翻转攻击下保持了接近理想的片上推理精度,且内存开销仅为<3%。我们的代码已在https://github.com/ScopeX-ASU/Unlikely_Hero开源。

英文摘要:

Electronic-photonic computing systems have emerged as a promising platform for accelerating deep neural network (DNN) workloads. Major efforts have been focused on countering hardware non-idealities and boosting efficiency with various hardware/algorithm co-design methods. However, the adversarial robustness of such photonic analog mixed-signal AI hardware remains unexplored. Though the hardware variations can be mitigated with robustness-driven optimization methods, malicious attacks on the hardware show distinct behaviors from noises, which requires a customized protection method tailored to optical analog hardware. In this work, we rethink the role of conventionally undesired non-idealities in photonic analog accelerators and claim their surprising effects on defending against adversarial weight attacks. Inspired by the protection effects from DNN quantization and pruning, we propose a synergistic defense framework tailored for optical analog hardware that proactively protects sensitive weights via pre-attack unary weight encoding and post-attack vulnerability-aware weight locking. Efficiency-reliability trade-offs are formulated as constrained optimization problems and efficiently solved offline without model re-training costs. Extensive evaluation of various DNN benchmarks with a multi-core photonic accelerator shows that our framework maintains near-ideal on-chip inference accuracy under adversarial bit-flip attacks with merely <3% memory overhead. Our codes are open-sourced at https://github.com/ScopeX-ASU/Unlikely_Hero.

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

↑