mlsanityData to 7 Oct 2026

LLM meets ML: Data-efficient Anomaly Detection on Unstable Logs

arXiv 2406.07467 ↗First posted 11 Jun 2024cs.SEcited by 2

Not on the map. Why?

Abstract (arXiv)

Most log-based anomaly detectors assume logs are stable, though logs are often unstable due to software or environmental changes. Anomaly detection on unstable logs (ULAD) is therefore a more realistic, yet under-investigated challenge. Current approaches predominantly employ machine learning (ML) models, which often require extensive labeled data for training. To mitigate data insufficiency, we propose FlexLog, a novel hybrid approach for ULAD that combines ML models -- decision tree, k-nearest neighbors, and a feedforward neural network -- with a Large Language Model (Mistral) through ensemble learning. FlexLog also incorporates a cache and retrieval-augmented generation (RAG) to further enhance efficiency and effectiveness. To evaluate FlexLog, we configured four datasets for task, namely ADFA-U, LOGEVOL-U, SynHDFS-U, and SYNEVOL-U. FlexLog outperforms all baselines by at least 1.2 percentage points (pp) in F1 score while using much less labeled data (62.87 pp reduction). When trained on the same amount of data as the baselines, FlexLog achieves up to a 13 pp increase in F1 score on ADFA-U across varying training dataset sizes. Additionally, FlexLog maintains inference time under one second per log sequence, making it suitable for most applications, except latency-sensitive systems. Further analysis reveals the positive impact of FlexLog's key components: cache, RAG and ensemble learning.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Jun 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025CodeAD: Synthesize Code of Rules for Log-based Anomaly Detection with LLMs ↗
  2. 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion
  3. 2025AnomalyGen: An Automated Semantic Log Sequence Generation Framework with LLM for Anomaly Detection
  4. 2023RAGLog: Log Anomaly Detection using Retrieval Augmented Generation
  5. 2026AnomalyGen: Enhancing Log-Based Anomaly Detection with Code-Guided Data Augmentation ↗
  6. 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstraction
  7. 2024MLAD: A Unified Model for Multi-system Log Anomaly Detection
  8. 2026LogSemFuse: Semantic Evidence Fusion for Explainable Log Anomaly Detection ↗