Skip to content
Open access

Collaborative Log Anomaly Detection Using LLM With Privacy-Constrained Retrieval

2026 · IEEE Transactions on Privacy · Vol 3, pp. 81-92 · 0 citations · 52 references

TL;DR

This paper proposes a distributed framework for collaborative log anomaly detection that integrates privacy-constrained vector retrieval with large language model (LLM) inference, and enables LLM-based reasoning without requiring all logs to be centralized.

Abstract

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 framework for collaborative log anomaly detection that integrates privacy-constrained vector retrieval with large language model (LLM) inference. Each node encodes its local logs into embedding vectors and responds to external queries by returning the most relevant entries under a configurable privacy budget. Retrieved samples, which may consist of either raw text or partial embeddings, are aggregated and formatted into prompts, which are then processed by a local LLM to determine whether a new log entry is anomalous. Our system separates the test set from the retrieval pool, supports flexible control over information exposure, and enables LLM-based reasoning without requiring all logs to be centralized. Experiments on three real-world log datasets demonstrate that our approach achieves accurate anomaly detection under configurable privacy constraints in a distributed setting.

Read PDF

Similar papers

Conference Open access 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
Sep 2026

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

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).

Jin-Yang Liu, Jun-Jie Huang, Zhihan Jiang et al. · 0 citations
Conference Oct 2026

SecADLog: LLM-prompted security semantic knowledge-enhanced anomaly detection for cybersecurity logs

SecADLog is proposed, a security semantic knowledge-enhanced anomaly detection framework for cybersecurity logs that uses a structured prompt template tailored to cybersecurity logs to extract stable and consistent security semantics, which are then used to strengthen the representation and reasoning capabilities of sm...

Ji-Long Xu, Hong-Guo Zhang, Guang-Long Xu et al. · 0 citations
Open access Oct 2026

AI-Assisted Web Server Log Interpretation Using LLaMA Model

Modern web infrastructures generate large volumes of access logs that contain valuable information related to system activity, user behaviour, performance monitoring, and cybersecurity threats. Manual analysis of these logs is time-consuming, error-prone, and inefficient for detecting suspicious activities in real time...

Chinchu Mohanan K, V. Ganesh · 0 citations
Conference Open access Sep 2026

A Unified Log-Processing Framework for Multi-Source SIEM-Based Intrusion Detection

Enterprise intrusions rarely being recorded in just one device. In practice, defenders must correlate DNS, web, authentication, process, and network-flow evidence, yet many learning-based pipelines still analyze each source independently or combine signals only after separate prediction. This paper presents a unified r...

Zhen-Yu Wan, Pinruei Chen, Bai-Jian Yang · 0 citations
Preprint Oct 2026

Too many clients spoil the logs: distributed parsing, aggregation techniques and metrics

Log messages are employed to identify anomalies in IoT systems and have been widely used across many applications. To enable collaboration among infrastructures belonging to different organizations, federated log anomaly detection has been thoroughly investigated for this purpose, often assuming the availability of gro...

A. Gómez, Viktor Beck, Max Landauer et al. · 0 citations

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