AnomalyLLM: Few-shot Anomaly Edge Detection for Dynamic Graphs using Large Language Models
Shuo Liu, Di Yao, Lanting Fang, Zhetao Li, Wenbin Li, Kaiyu Feng,, XiaoWen Ji, Jingping Bi

TL;DR
AnomalyLLM leverages large language models and few-shot learning to detect anomaly edges in dynamic graphs, outperforming existing methods especially with limited labeled data and adapting to new anomaly types.
Contribution
The paper introduces AnomalyLLM, a novel approach combining LLMs with dynamic-aware encoding and in-context learning for effective few-shot anomaly detection in dynamic graphs.
Findings
Significantly improves few-shot anomaly detection performance.
Achieves superior results on new anomalies without model updates.
Effective across multiple datasets.
Abstract
Detecting anomaly edges for dynamic graphs aims to identify edges significantly deviating from the normal pattern and can be applied in various domains, such as cybersecurity, financial transactions and AIOps. With the evolving of time, the types of anomaly edges are emerging and the labeled anomaly samples are few for each type. Current methods are either designed to detect randomly inserted edges or require sufficient labeled data for model training, which harms their applicability for real-world applications. In this paper, we study this problem by cooperating with the rich knowledge encoded in large language models(LLMs) and propose a method, namely AnomalyLLM. To align the dynamic graph with LLMs, AnomalyLLM pre-trains a dynamic-aware encoder to generate the representations of edges and reprograms the edges using the prototypes of word embeddings. Along with the encoder, we design…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Anomaly Detection Techniques and Applications · Complex Network Analysis Techniques
MethodsALIGN
