mlsanityData to 14 Oct 2026

Too Sure to Be Safe: Model Calibration for Reliable Log Anomaly Detection

arXiv 2608.17965 ↗First posted 18 Aug 2026cs.LG cs.AI cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Online log anomaly detection is critical for maintaining the reliability of large-scale computing systems. Although recent language model-based log anomaly detectors achieve strong detection performance, their confidence estimates remain poorly calibrated. We show that these detectors frequently assign excessive confidence to incorrect predictions, particularly for anomalous logs under severe class imbalance. Moreover, confidence on erroneous predictions remains persistently high even when conventional calibration metrics indicate good calibration, creating a critical reliability gap for operational monitoring systems. To address this issue, we propose Log Reconstruction and Distance (LoRD), a lightweight post-hoc calibration framework for reliable log anomaly detection. LoRD learns prediction-route-specific reliability models from latent representations of correctly classified validation samples and estimates prediction reliability through route-wise reconstruction distances. Based on the estimated reliability, LoRD selectively recalibrates high-risk predictions to suppress overconfident errors while preserving reliable predictions. Extensive experiments on four large-scale log benchmark datasets and multiple language model-based detectors demonstrate that LoRD consistently improves confidence reliability and substantially reduces overconfident anomaly-related errors without sacrificing anomaly detection performance.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 31 references that are in the map. First posted on arXiv 18 Aug 2026.

Builds on

19 of 31 references.

References · 19

  1. 2017On Calibration of Modern Neural Networkscited by 4,960
  2. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  3. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  4. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
  5. 2019When Does Label Smoothing Help?cited by 988
  6. 2021A Survey of Uncertainty in Deep Neural Networkscited by 680
  7. 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
  8. 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 464
  9. 2020Calibrating Deep Neural Networks using Focal Losscited by 357
  10. 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 305
  11. 2020Loghub: A Large Collection of System Log Datasets for AI-driven Log Analyticscited by 70
  12. 2021Log-based Anomaly Detection Without Log Parsingcited by 59
7 more
  1. 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 57
  2. 2020Self-Attentive Classification-Based Anomaly Detection in Unstructured Logscited by 36
  3. 2022On Calibrating Semantic Segmentation Models: Analyses and An Algorithmcited by 25
  4. 2024LogLLM: Log-based Anomaly Detection Using Large Language Modelscited by 22
  5. 2023A Critical Review of Common Log Data Sets Used for Evaluation of Sequence-based Anomaly Detection Techniquescited by 8
  6. 2023Towards Reliable Rare Category Analysis on Graphs via Individual Calibrationcited by 6
  7. 2025Adapting Large Language Models for Parameter-Efficient Log Anomaly Detectioncited by 3

Built on by

Not cited yet.