首页|期刊导航|信息安全研究|融合语义特征的日志异常检测方法研究

融合语义特征的日志异常检测方法研究OA

Research on Log Anomaly Detection Method Integrating Semantic Features

中文摘要英文摘要

随着系统应用功能的不断扩展,系统日志规模迅速增长,给传统的异常检测方法带来巨大的挑战.基于深度学习的日志异常检测技术因其强大的特征提取能力逐渐成为研究热点.提出一种融合语义特征的半监督日志异常检测模型LogSem.通过引入包含日志主体内容语义信息的日志内容向量,并结合掩码日志键预测任务与超球体体积最小化任务,对数据集进行半监督学习,深度挖掘日志的语义特征.在3个主流数据集上的实验表明,该方法的F1分数优于LogBERT基准模型.此外,研究探索并验证了通过半监督学习解决未登录词问题的可行性.

With the continuous expansion of system functionalities,the volume of system logs has grown exponentially,presenting substantial challenges to conventional anomaly detection approaches.Deep learning-based log anomaly detection techniques have gradually become a research hotspot due to their powerful feature extraction capabilities.This study proposes a semi-supervised log anomaly detection model LogSem,which integrates semantic features.By introducing log content vectors that contain semantic information of the main log content and incorporating masked log key prediction tasks and hypersphere volume minimization tasks for semi-supervised learning,the model deeply explores the semantic features of logs.Experiments conducted on three mainstream datasets show that the proposed method outperforms the LogBERT baseline model in terms of the F1 score.Furthermore,this study explores and verifies the feasibility of addressing the out-of-vocabulary problem through semi-supervised learning.

陈瀚文;章乐;池亚平;姜波;王志强

北京电子科技学院网络空间安全系 北京 100070北京电子科技学院网络空间安全系 北京 100070北京电子科技学院网络空间安全系 北京 100070中国科学院信息工程研究所 北京 100089北京电子科技学院网络空间安全系 北京 100070

信息技术与安全科学

日志异常检测日志解析深度学习半监督学习BERT模型

log anomaly detectionlog analysisdeep learningsemi-supervised learningBERT model

《信息安全研究》 2026 (4)

383-392,10

中央高校基本科研业务费专项资金项目(3282024050)国家重点研发计划项目(2023YFC2206402)

10.12379/j.issn.2096-1057.2026.04.11

评论