Modeling Quantum Autoencoder Trainable Kernel for IoT Anomaly Detection
Swathi Chandrasekhar, Shiva Raj Pokhrel, Swati Kumari, Navneet Singh
TL;DR
The paper tackles real-time anomaly detection in high-dimensional IoT traffic under limited compute budgets, where classical methods struggle at the edge. It proposes a hybrid quantum framework combining a coherence-driven quantum autoencoder with a trainable quantum kernel and QSVC, using amplitude encoding and SWAP-test fidelity to learn discriminative latent representations. The model is trained with a COBYLA optimizer, and kernel parameters are optimized via SPSA, with depolarizing noise serving as implicit regularization. Empirical results on Bot_IoT, IoT23, and KDD99 show high accuracies in simulation and robust performance on IBM hardware, surpassing prior QAE-based baselines, especially under noise. The work demonstrates practical quantum advantage for cyber threat detection and suggests hardware-ready quantum ML pipelines for constrained IoT environments.
Abstract
Escalating cyber threats and the high-dimensional complexity of IoT traffic have outpaced classical anomaly detection methods. While deep learning offers improvements, computational bottlenecks limit real-time deployment at scale. We present a quantum autoencoder (QAE) framework that compresses network traffic into discriminative latent representations and employs quantum support vector classification (QSVC) for intrusion detection. Evaluated on three datasets, our approach achieves improved accuracy on ideal simulators and on the IBM Quantum hardware demonstrating practical quantum advantage on current NISQ devices. Crucially, moderate depolarizing noise acts as implicit regularization, stabilizing training and enhancing generalization. This work establishes quantum machine learning as a viable, hardware-ready solution for real-world cybersecurity challenges.
