Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

$K^4$: Online Log Anomaly Detection Via Unsupervised Typicality Learning

About

Existing Log Anomaly Detection (LogAD) methods are often slow, dependent on error-prone parsing, and use unrealistic evaluation protocols. We introduce $K^4$, an unsupervised and parser-independent framework for high-performance online detection. $K^4$ transforms arbitrary log embeddings into compact four-dimensional descriptors (Precision, Recall, Density, Coverage) using efficient k-nearest neighbor (k-NN) statistics. These descriptors enable lightweight detectors to accurately score anomalies without retraining. Using a more realistic online evaluation protocol, $K^4$ sets a new state-of-the-art (AUROC: 0.995-0.999), outperforming baselines by large margins while being orders of magnitude faster, with training under 4 seconds and inference as low as 4 $\mu$s.

Weicong Chen, Vikash Singh, Zahra Rahmani, Debargha Ganguly, Mohsen Hariri, Vipin Chaudhary• 2025

Related benchmarks

TaskDatasetResultRank
Log Anomaly DetectionHDFS (test)
AUROC99.6
7
Log Anomaly DetectionBGL (test)
AUROC99.9
7
Log Anomaly DetectionThunderbird (TB) (test)
AUROC0.999
7
Log Anomaly DetectionHDFS--
6
Log Anomaly DetectionBGL--
6
Log Anomaly DetectionThunderbird--
6
Showing 6 of 6 rows

Other info

Follow for update