arXiv:2505.11631cs.LGquant-ph2025-05被引 5

用量子生成对抗网络检测网络异常,参数少且抗噪能力强。

Enhancing Network Anomaly Detection with Quantum GANs and Successive Data Injection for Multivariate Time Series

  • 将多变量时间序列转为量子态,结合数据重加载与连续注入提升效率。
  • 仅用80个参数就达到高准确率、高召回率和低均方误差。
  • 适合对小模型、抗噪声敏感的实时网络异常检测场景。

量子计算可能为机器学习带来新方法,尤其在复杂任务如网络流量异常检测中。本文提出一种基于变分量子电路(VQCs)的量子生成对抗网络(QGAN)架构,用于多变量时间序列异常检测,结合时间窗滑动、数据重加载和连续数据注入(SuDaI)技术。该方法将多变量时间序列编码为旋转角度,通过数据重加载与SuDaI协同,高效映射经典数据至量子态,缓解量子硬件受限(如可用量子比特数少)的问题。同时采用融合生成器与判别器输出的异常评分机制,提升检测精度。模型使用参数移位法训练,并与经典GAN对比。实验显示,量子模型在异常检测中达到高准确率、高召回率及高F1分数,且均方误差(MSE)低于经典模型。值得注意的是,该模型仅需80个参数,即实现媲美经典模型的性能,结构紧凑。在含噪模拟器上的测试表明,该方法在真实噪声环境下仍具有效性。

原文摘要 · Abstract (English)

Quantum computing may offer new approaches for advancing machine learning, including in complex tasks such as anomaly detection in network traffic. In this paper, we introduce a quantum generative adversarial network (QGAN) architecture for multivariate time-series anomaly detection that leverages variational quantum circuits (VQCs) in combination with a time-window shifting technique, data re-uploading, and successive data injection (SuDaI). The method encodes multivariate time series data as rotation angles. By integrating both data re-uploading and SuDaI, the approach maps classical data into quantum states efficiently, helping to address hardware limitations such as the restricted number of available qubits. In addition, the approach employs an anomaly scoring technique that utilizes both the generator and the discriminator output to enhance the accuracy of anomaly detection. The QGAN was trained using the parameter shift rule and benchmarked against a classical GAN. Experimental results indicate that the quantum model achieves a accuracy high along with high recall and F1-scores in anomaly detection, and attains a lower MSE compared to the classical model. Notably, the QGAN accomplishes this performance with only 80 parameters, demonstrating competitive results with a compact architecture. Tests using a noisy simulator suggest that the approach remains effective under realistic noise-prone conditions.

量子机器学习异常检测生成对抗网络时间序列

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。