Input-Aware Dynamic Backdoor Attack Against Quantum Neural Networks· 针对量子神经网络的输入感知动态后门攻击
Quantum Neural Networks (QNNs) are a promising framework for quantum machine learning on near-term quantum devices, but their security risks remain insufficiently understood. Studies have shown that QNNs are vulnerable to backdoor attacks, yet existing quantum backdoors mostly rely on a fixed trigger shared by all poisoned inputs. This fixed-trigger design is a major weakness because many defenses detect or weaken the repeated patterns such triggers leave in data representations. Although input-aware dynamic backdoors have been studied in classical neural networks, transferring them to QNNs is difficult because quantum learning introduces new obstacles. In particular, measurement compresses the post-ansatz quantum state into a limited classical output, weakening supervision for a trigger generator, while individual density matrices fluctuate with the input and make per-sample contrastive learning unstable. To address these challenges, we propose Q-DIBA, the first input-aware dynamic backdoor attack for QNNs. Q-DIBA jointly trains a classical trigger generator and a victim QNN through a three-mode mini-batch strategy that supports clean behavior, attack activation, and trigger specificity. To provide stable quantum-level supervision, Q-DIBA introduces an ensemble density contrastive loss that operates on post-ansatz quantum states before measurement and contrasts mode-averaged density matrices rather than individual samples. Experiments on MNIST and Fashion-MNIST across multiple QNN architectures show that Q-DIBA achieves high clean accuracy, strong attack success, and high cross-trigger accuracy, demonstrating effectiveness, stealthiness, and input specificity. The attack also remains resilient against defenses including visual inspection, spectral-signature detection, and fine-tuning, suggesting that input-aware quantum backdoors are an important threat to secure QNN deployment.
针对量子神经网络提出首例输入感知动态后门攻击模型Q-DIBA。
- 核心方法
- Q-DIBA结合经典触发器生成器与量子神经网络,采用三模式小批量策略及集成密度对比损失函数,以实现更隐蔽、灵活的后门攻击。
- 适合谁读
- 研究者,尤其是关注量子计算与量子神经网络安全性的专业人士
- 要解决的问题
- 传统量子神经网络后门攻击依赖固定的触发器,容易被检测和防御。
- 关键实验
- 在MNIST和Fashion-MNIST数据集上,使用多种QNN架构进行实验,验证了Q-DIBA的有效性、隐蔽性和输入特定性。
- 主要贡献
- 首次实现了输入感知的量子神经网络动态后门攻击,提高了攻击成功率和隐蔽性。
- 意义与局限
- 证明了输入感知量子后门攻击对量子神经网络安全的重要威胁,为未来安全机制的研究提供了方向。