🤖 AI Summary
Existing log-based anomaly detection models are predominantly black-box, lacking interpretability—hindering their trustworthy deployment in production environments. Method: This paper introduces “diagnostic fidelity” as a novel metric to quantify explanation credibility, and proposes FaithLog—a causal-guided attention mechanism coupled with adversarial consistency learning. FaithLog jointly models log sequences and evaluates event-level perturbations to ensure verifiable root-cause localization and alignment between explanations and predictions. Contribution/Results: Experiments on two public benchmarks and one industrial dataset demonstrate that FaithLog significantly improves both explanation fidelity and detection accuracy. Its diagnostic fidelity achieves state-of-the-art performance, marking the first systematic effort to identify and bridge the gap between interpretability and reliability in log analysis.
📝 Abstract
Log-based software reliability maintenance systems are crucial for sustaining stable customer experience. However, existing deep learning-based methods represent a black box for service providers, making it impossible for providers to understand how these methods detect anomalies, thereby hindering trust and deployment in real production environments. To address this issue, this paper defines a trustworthiness metric, diagnostic faithfulness, for models to gain service providers' trust, based on surveys of SREs at a major cloud provider. We design two evaluation tasks: attention-based root cause localization and event perturbation. Empirical studies demonstrate that existing methods perform poorly in diagnostic faithfulness. Consequently, we propose FaithLog, a faithful log-based anomaly detection system, which achieves faithfulness through a carefully designed causality-guided attention mechanism and adversarial consistency learning. Evaluation results on two public datasets and one industrial dataset demonstrate that the proposed method achieves state-of-the-art performance in diagnostic faithfulness.