Paper Overview
Research Area: quantum machine learning security Authors: Junrui Zhang, Zemin Chen, Lusi Li, Mohammad Ghasemigol, Daniel Takabi Published: 2026-07-13 arXiv: 2607.11843
Abstract
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 input, destabilizing per-sample contrastive learning.
The paper proposes Q-DIBA, the first input-aware dynamic backdoor attack for QNNs. Q-DIBA jointly trains a classical trigger generator and the victim QNN through a three-mode mini-batch strategy supporting clean behavior, attack activation, and trigger specificity. To provide stable quantum-level supervision, the authors introduce an ensemble density contrastive loss that operates on post-ansatz quantum states before measurement, contrasting mode-averaged density matrices rather than individual samples.
Results
Experiments on MNIST and Fashion-MNIST across multiple QNN architectures demonstrate that Q-DIBA achieves:
- High clean accuracy
- Strong attack success rates
- High cross-trigger accuracy
- Resilience against defenses including visual inspection, spectral signature detection, and fine-tuning