LogICL: Distilling LLM Reasoning to Bridge the Semantic Gap in Cross-Domain Log Anomaly Detection
Jingwei Ye, Zhi Wang, Chenbin Su, Jieshuai Yang, Jiayi Ding, Chunbo Liu, and Ge Chu

TL;DR
LogICL introduces a novel framework that distills LLM reasoning into a lightweight encoder, enabling effective cross-domain log anomaly detection by capturing semantic similarities beyond surface lexical cues.
Contribution
This work presents a new method for cross-domain log anomaly detection that leverages LLM reasoning distillation into a lightweight encoder, improving generalization and interpretability.
Findings
Achieves state-of-the-art performance on few-shot and zero-shot benchmarks.
Effectively captures latent semantic equivalence beyond surface lexical similarity.
Bridges the semantic gap for rapid deployment in diverse systems.
Abstract
Effective log anomaly detection is critical to sustaining reliability in large-scale IT infrastructures. Transformer-based models require substantial resources and labeled data, exacerbating the cold-start problem in target domains where logs are scarce. Existing cross-domain methods leverage source logs but struggle with generalization due to reliance on surface lexical similarity, failing to capture latent semantic equivalence amid structural divergences. To address this, we propose LogICL, a framework distilling Large Language Model (LLM) reasoning into a lightweight encoder for cross-domain anomaly detection. During training, LogICL constructs a delta matrix measuring the utility of demonstrations selected via Maximal Marginal Relevance relative to zero-shot inference. The encoder is optimized via a multi-objective loss comprising an ICL-Guided term that aligns representations based…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Software-Defined Networks and 5G · Anomaly Detection Techniques and Applications
