节点文献
基于门控循环单元的日志异常检测方法
Log Anomaly Detection Method Based on Gate Recurrent Unit
【摘要】 针对现有日志特征提取不充分且存在噪音等问题,提出一种基于门控循环单元(Gate Recurrent Unit, GRU)的日志异常检测方法。该方法使用BERT(Bidirectional Encoder Representations from Transfomers)提取日志的语义特征,然后利用事件逆频率加权对特征进行优化。采用基于注意力和门控循环单元的模型进行日志异常检测,以减少日志噪声对检测结果的影响。在2个真实的数据集上的实验结果表明,该方法在异常检测任务中表现出色,F1值平均达到0.98,与基准方法DeepLog(Deep Log Anomaly Detection)相比,分别提高了3.36%和11.0%。
【Abstract】 To address the problems of insufficient feature extraction and noise in log data, this paper proposes a log anomaly detection method based on Gate Recurrent Unit(GRU). This method utilizes BERT(Bidirectional Encoder Representations from Transformers) to extract the semantic features of logs, followed by event inverse frequency weighting to optimize these features. A model based on attention mechanisms and GRU is adopted for log anomaly detection, which can reduce the impact of log noise on the detection results. Results of experiments on two real datasets show that the average F1 value of the proposed model in the anomaly detection task reaches 0.98, which is 3.36% and 11.0% higher than the baseline method DeepLog(Deep Log Anomaly Detection) respectively.
【Key words】 log anomaly detection; GRU; attention mechanism; bidirectional encoder semantic representation;
- 【文献出处】 软件工程 ,Software Engineering , 编辑部邮箱 ,2025年01期
- 【分类号】TP309
- 【下载频次】34