QKD-XGuard: Physics-Informed Conformal Open-Set Monitoring for Unseen and Adaptive Attacks in Decoy-State BB84
Wail Zita
Practical quantum key distribution (QKD) is secure only to the extent that a deployed implementation remains compatible with the physical and statistical assumptions used in its security analysis. Scalar quantum bit error rate (QBER) monitoring cannot, by itself, distinguish legitimate channel drift from all implementation-level attacks, and conventional supervised classifiers usually assume that every test-time attack family was represented during training. This work presents QKD-XGuard, a simulation-validated monitoring method for decoy-state BB84 that combines physics-informed residuals, temporal feature encoding, metric-structured latent representations, class-conditional conformal prediction, and explicit open-set rejection. The method models expected signal/decoy gains, error rates, single-photon behavior, key-rate consistency, and detector statistics; it then learns from deviations between measured and physically expected telemetry rather than from raw measurements alone. A reproducible stochastic block-level simulator was used to generate 3,500 developmentregime sessions spanning normal operation and four attack families, with 16 telemetry blocks per session. Entire attack families were excluded from training in four leave-one-family-out folds. Across these folds, the physics-residual model achieved known-class macro-F1 of 0.952 ± 0.007, unknown-attack AUROC of 0.945 ± 0.049, unknown recall of 0.876 ± 0.137, and empirical class-conditional conformal coverage of 0.910 ± 0.013 at nominal 90% coverage. Under a disjoint 75–115 km channel regime, macro-F1 remained 0.962 ± 0.004, whereas an otherwise identical raw-telemetry ablation fell to 0.796 ± 0.068. A deliberately stealthoriented adaptive composite attack was rejected in 69.2% ± 5.7% of sessions. These results support physics-residual modeling as a useful mechanism for separating channel variation from unsupported attack behavior, while also showing that open-set performance varies materially by attack family. QKD-XGuard is an operational monitoring layer; it does not replace composable QKD security proofs or finite-key analysis.
•Sep 21, 2026•1 citation