Skip to content

Scalable and Adaptive Log-based Anomaly Detection: A Synergistic Approach

Sep 2026 · ACM Transactions on Software Engineering and Methodology · 0 citations · 65 references

TL;DR

SeaLog is presented, an accurate, lightweight, and adaptive log-based anomaly detection framework that synergistically integrates the efficiency of traditional data-driven methods with the zero/few-shot learning ability of large language models (LLMs).

Abstract

System logs are critical for software reliability. While many automated log-based anomaly detection methods exist, they often falter in large-scale cloud systems due to high resource consumption and poor adaptability to evolving logs. In this paper, we present SeaLog, an accurate, lightweight, and adaptive log-based anomaly detection framework that synergistically integrates the efficiency of traditional data-driven methods with the zero/few-shot learning ability of large language models (LLMs). SeaLog consists of a lightweight detection agent and a backbone analyzer. The detection agent utilizes an n-gram probabilistic tree (NPT) for efficient anomaly detection. The backbone analyzer employs an LLM enhanced by in-context learning (ICL) to provide accurate and adaptive predictions, especially for unseen log data. Both components continuously benefit from anomalies confirmed by on-site engineers. We evaluate SeaLog on three public datasets (BGL, Thunderbird, and HDFS) and an industrial dataset, with multiple LLM backbones, including open-source models, to assess its robustness to model choice. SeaLog achieves strong effectiveness across all datasets (F1 scores of 0.949–0.999), runs 2× to 5× faster, and consumes only 5% to 41% of the memory resources. Furthermore, we have successfully deployed SeaLog in Huawei Cloud, from which we share our insights and experiences during this deployment.

View source

Similar papers

#artificial intelligence Open access Oct 2026

AutoDP-LLM: automating data pre-processing for intrusion detection systems using large language models

The increasing complexity and scale of modern cyber-attacks demand intelligent and computationally efficient Intrusion Detection Systems (IDS). However, designing effective data pre-processing pipelines traditionally involves substantial trial-and-error effort and repeated evaluation of alternative configurations. For...

Bao-Phong Nguyen, G. Pham, Thai-Duong Do et al. · 0 citations
Conference Sep 2026

FORGE: An Interpretable Framework for LLM-Assisted Log Anomaly Detection

System log anomaly detection (LogAD) requires balancing detection quality, interpretability, and deployment efficiency. While deep learning approaches achieve strong performance, they often rely on large labeled datasets and lack transparency. Recent large language model (LLM)-based methods improve reasoning but introd...

A. Israni, Marjan Asadinia · 0 citations
Review Open access Sep 2026

Anomaly Detection in Software System Logs Using Machine Learning

Modern software systems generate large volumes of logs that record events, states, errors, and user or component activities. Manual inspection is increasingly unable to support timely fault diagnosis, performance monitoring, and security analysis. This review examines how machine learning is used to detect anomalies in...

Ji-Rong Han · 0 citations
Review 2026

ANOMALY DETECTION ALGORITHMS IN STREAMING DATA: COMPARATIVE ANALYSIS AND APPLICATION

This paper presents a systematic review and comparative analysis of state-of-the-art anomaly detection algorithms for streaming data - one of the fundamental problems in data mining, cybersecurity, and industrial monitoring. Unlike existing surveys, which mostly address the batch setting, all methods here are examined...

T. A. Konovalov, A. В. Gerasimov · 0 citations
Open access 2026

Collaborative Log Anomaly Detection Using LLM With Privacy-Constrained Retrieval

Log anomaly detection plays a critical role in maintaining the reliability and security of large-scale distributed systems. However, centralized solutions often pose privacy and scalability concerns, especially when logs are generated and stored across multiple, isolated nodes. In this paper, we propose a distributed f...

Jie-Lun Zhang, Fu-Hao Li · 0 citations
#artificial intelligence Preprint Oct 2026

Have an LLM Write Your Anomaly Detector: Autonomous Discovery of Compact, Interpretable Detectors for Time Series

Time-series anomaly detection trades off predictive accuracy, computational efficiency, and interpretability. We use a large language model not as the detector but as the author of one: an autonomous research loop in which the model repeatedly edits a single short NumPy program under a leakage-free objective, keeping t...

D. Berghaus · 0 citations

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