用量子机器学习提升日志异常检测效率与精度
Quantum Machine Learning in Log-based Anomaly Detection: Challenges and Opportunities
- 将经典日志模型转化为量子电路,减少参数量
- 量子模型在保持高精度的同时降低计算开销
- 提供评估框架,助力未来量子日志分析研究
基于日志的异常检测(LogAD)是智能运维(AIOps)的核心,可实时发现系统运行中的异常。现有方法多采用经典机器学习提取日志序列特征,但常面临效率与精度的权衡。量子机器学习(QML)通过将部分经典计算转换为参数化量子电路(PQC),显著减少可训练参数,同时维持与经典方法相当的精度。本文提出统一框架\ourframework{},集成多样日志数据、多种QML模型及全面评估指标。包含DeepLog、LogAnomaly、LogRobust等先进方法及其量子版本。评估不仅涵盖F1、精确率、召回率,还深入考察特异性、电路数量、电路设计与量子态编码等关键因素。实验揭示了量子模型性能规律,为未来QML在日志异常检测中的选型与设计提供依据。
原文摘要 · Abstract (English)
Log-based anomaly detection (LogAD) is the main component of Artificial Intelligence for IT Operations (AIOps), which can detect anomalous that occur during the system on-the-fly. Existing methods commonly extract log sequence features using classical machine learning techniques to identify whether a new sequence is an anomaly or not. However, these classical approaches often require trade-offs between efficiency and accuracy. The advent of quantum machine learning (QML) offers a promising alternative. By transforming parts of classical machine learning computations into parameterized quantum circuits (PQCs), QML can significantly reduce the number of trainable parameters while maintaining accuracy comparable to classical counterparts. In this work, we introduce a unified framework, \ourframework{}, for evaluating QML models in the context of LogAD. This framework incorporates diverse log data, integrated QML models, and comprehensive evaluation metrics. State-of-the-art methods such as DeepLog, LogAnomaly, and LogRobust, along with their quantum-transformed counterparts, are included in our framework.Beyond standard metrics like F1 score, precision, and recall, our evaluation extends to factors critical to QML performance, such as specificity, the number of circuits, circuit design, and quantum state encoding. Using \ourframework{}, we conduct extensive experiments to assess the performance of these models and their quantum counterparts, uncovering valuable insights and paving the way for future research in QML model selection and design for LogAD.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。