Skip to content

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

Aug 2026 · 0 citations · 31 references
Computer Science

TL;DR

Log Reconstruction and Distance (LoRD), a lightweight post-hoc calibration framework for reliable log anomaly detection, is proposed and demonstrates that LoRD consistently improves confidence reliability and substantially reduces overconfident anomaly-related errors without sacrificing anomaly detection performance.

Abstract

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.

View source

Similar papers

Jul 2026

Early Failure Prediction from Near-Anomaly Detection: A Proactive Approach

Experimental results show that CANARI outperforms the compared baselines that generally use a dual-threshold mechanism (one for anomalies and one for near-anomalies) and provides a proactive solution for anticipating anomalies before they occur, offering a promising approach for resilience, predictive maintenance, and...

Léa Billet, Louise Travé-Massuyès, E. Chanthery et al. · 0 citations
Review Aug 2026

From Benchmark Performance to Tool Deployment: Human-in-the-Loop Anomaly Detection

A unified human-in-the-loop framework for manufactured-part inspection that combines image annotation, AI-assisted defect detection, and an integrated validation engine is developed, replacing a prior manual visual inspection and documentation workflow.

Mike Szklarzewski, CJ George, Gavin Smithson et al. · 0 citations
Preprint Aug 2026

LLM as Detector: An In-context Learning Approach for Tabular Anomaly Detection

LLM-Detector is proposed, a framework that utilizes the in-context learning capacity of LLMs for structured, prompt-conditioned scoring synthesis, enabling LLMs to derive anomaly detection logic from structured normal-state knowledge.

Tu Nguyen, Dang Nguyen, T. D. Le et al. · 0 citations
Open access Aug 2026

DecayBench: A Reference-Free Benchmark for Trustworthy Drift Detection

Distribution drift can substantially degrade the performance of deployed machine learning models; for example, accuracy on SST-2 can fall from 88% to 58%. Detecting such degradation is fundamentally challenging because deployment provides inputs but not labels, so the detection itself must be reference-free. We introdu...

Jia Xu, Yingli Tian · 0 citations
Preprint Aug 2026

Why Ranking Anomaly Detection Algorithms Isn't as Reliable as You May Think

Anomaly detection is a safety-critical machine learning problem with applications ranging from fraud detection to network intrusion prevention and industrial monitoring. Despite the large number of proposed anomaly detection algorithms, many novel methods claim state-of-the-art performance. However, many authors do so...

Simon Klüttermann, Jérôme Rutinowski, Frederik Polachowski et al. · 0 citations

Related blog posts

MIT News · Artificial Intelligence Sep 29, 2026

Who we become when we talk to machines

Professor Sherry Turkle’s new book, “Artificial Intimacy,” offers a withering critique of chatbots and the antisocial dynamics she believes they encourage.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.