AnomalyLLM: Few-shot Anomaly Edge Detection for Dynamic Graphs using Large Language Models
Not on the map. Why?
Abstract (arXiv)
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 an in-context learning framework that integrates the information of a few labeled samples to achieve few-shot anomaly detection. Experiments on four datasets reveal that AnomalyLLM can not only significantly improve the performance of few-shot anomaly detection, but also achieve superior results on new anomalies without any update of model parameters.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 24 of its 46 references that are in the map. First posted on arXiv 13 May 2024.
Builds on
24 of 46 references.
References · 24
- 2016node2vec: Scalable Feature Learning for Networkscited by 1,913
- 2014DeepWalk: Online Learning of Social Representationscited by 1,543
- 2023Reasoning with Language Model is Planning with World Modelcited by 846
- 2023Time-LLM: Time Series Forecasting by Reprogramming Large Language Modelscited by 680
- 2020Graph Neural Networks in Recommender Systems: A Surveycited by 493
- 2020Inductive Representation Learning on Temporal Graphscited by 454
- 2023Language is All a Graph Needscited by 219
- 2023In-Context Unlearning: Language Models as Few Shot Unlearnerscited by 214
- 2022Rethinking Graph Neural Networks for Anomaly Detectioncited by 185
- 2020A Semi-supervised Graph Attentive Network for Financial Fraud Detectioncited by 150
- 2020Graph Prototypical Networks for Few-shot Learning on Attributed Networkscited by 90
- 2021Few-Shot Graph Learning for Molecular Property Predictioncited by 81
12 more
- 2021Few-shot Network Anomaly Detection via Cross-network Meta-learningcited by 64
- 2022DGraph: A Large-Scale Financial Dataset for Graph Anomaly Detectioncited by 63
- 2021Anomaly Detection in Dynamic Graphs via Transformercited by 57
- 2020Structural Temporal Graph Neural Networks for Anomaly Detection in Dynamic Graphscited by 55
- 2022Contrastive Meta Learning with Behavior Multiplicity for Recommendationcited by 37
- 2023SAD: Semi-Supervised Anomaly Detection on Dynamic Graphscited by 27
- 2023DoubleAdapt: A Meta-learning Approach to Incremental Learning for Stock Trend Forecastingcited by 21
- 2022BRIGHT -- Graph Neural Networks in Real-Time Fraud Detectioncited by 15
- 2022Deep Graph Learning for Anomalous Citation Detectioncited by 14
- 2020H-VGRAE: A Hierarchical Stochastic Spatial-Temporal Embedding Method for Robust Anomaly Detection in Dynamic Networkscited by 6
- 2019Anomaly detection in the dynamics of web and social networkscited by 3
- 2017Service Provider DevOpscited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 1.
5 papers.
- 2025A Survey of Generalization of Graph Anomaly Detection: From Transfer Learning to Foundation Modelscited by 13
- 2025Adaptive Root Cause Localization for Microservice Systems with Multi-Agent Recursion-of-Thoughtcited by 11
- 2025Foundation Models for Anomaly Detection: Vision and Challengescited by 3
- 2024Anomalous Change Point Detection Using Probabilistic Predictive Codingcited by 0
- 2026Towards In-Depth Root Cause Localization for Microservices with Multi-Agent Recursion-of-Thoughtcited by 0
- 2026Towards In-Depth Root Cause Localization for Microservices with Multi-Agent Recursion-of-Thought14 May 2026
- 2025A Survey of Generalization of Graph Anomaly Detection: From Transfer Learning to Foundation Models8 Sep 2025
- 2025Adaptive Root Cause Localization for Microservice Systems with Multi-Agent Recursion-of-Thought28 Aug 2025
- 2025Foundation Models for Anomaly Detection: Vision and Challenges10 Feb 2025
- 2024Anomalous Change Point Detection Using Probabilistic Predictive Coding24 May 2024