基于日志与图的故障诊断方法比较
Log-based vs Graph-based Approaches to Fault Diagnosis
AI总结:
本文比较了基于日志的编码器(如BERT)与基于图的模型(如GNN)在自动故障诊断中的表现,发现融合日志编码器学习表示的图模型性能最佳。
摘要:
现代分布式系统生成大量日志,可用于支持关键的AIOps任务,如故障诊断,这对维护系统可靠性至关重要。现有方法大多依赖于将日志视为事件序列的线性模型,但这种表示方式忽略了执行日志中常见的结构上下文,如父子依赖、扇出(分支)或时间特征。为更好地捕捉这些关系,最近的图神经网络(GNN)研究提出将日志表示为图是一种有前途的替代方法。基于这些观察,本文对基于日志的编码器架构(如BERT)和基于图的模型(如GNN)进行了比较研究,评估了在TraceBench和BGL数据集上的表现,涵盖异常检测和故障类型分类。结果表明,仅图模型无法超越编码器基线,但将学习到的日志编码器表示整合到图模型中实现了最强的整体性能。这些发现突显了图增强架构在何种条件下能超越传统日志方法。
英文摘要:
Modern distributed systems generate large volumes of logs that can be analyzed to support essential AIOps tasks such as fault diagnosis, which plays a crucial role in maintaining system reliability. Most existing approaches rely on log-based models that treat logs as linear sequences of events. However, such representations discard the structural context between events that are often present in execution logs, such as parent-child dependencies, fan-out (branching), or temporal features. To better capture these relationships, recent works on Graph Neural Networks (GNNs) suggest that representing logs as graphs offers a promising alternative. Building on these observations, this paper conducts a comparative study of log-based encoder architectures (e.g., BERT) and graph-based models (e.g., GNNs) for automated fault diagnosis. We evaluate our models on TraceBench, a trace-oriented log dataset, and on BGL, a more traditional system log dataset, covering both anomaly detection and fault type classification. Our results show that graph-only models fail to outperform encoder baselines. However, integrating learned representations from log encoders into graph-based models achieves the strongest overall performance. These findings highlight conditions under which graph-augmented architectures can outperform traditional log-based approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。