Sketch-Based Anomaly Detection in Streaming Graphs
Siddharth Bhatia, Mohit Wadhwa, Kenji Kawaguchi, Neil Shah, Philip S. Yu, Bryan Hooi
Abstract
Given a stream of graph edges from a dynamic graph, how can we assign anomaly scores to edges and subgraphs in an online manner, for the purpose of detecting unusual behavior, using constant time and memory? For example, in intrusion detection, existing work seeks to detect either anomalous edges or anomalous subgraphs, but not both. In this paper, we first extend the count-min sketch data structure to a higher-order sketch. This higher-order sketch has the useful property of preserving the dense subgraph structure (dense subgraphs in the input turn into dense submatrices in the data structure). We then propose 4 online algorithms that utilize this enhanced data structure, which (a) detect both edge and graph anomalies; (b) process each edge and graph in constant memory and constant update time per newly arriving edge, and; (c) outperform state-of-the-art baselines on 4 real-world datasets. Our method is the first streaming approach that incorporates dense subgraph search to detect graph anomalies in constant memory and time.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers8
- SLADE: Detecting Dynamic Anomalies in Edge Streams without Labels via Self-Supervised LearningJongha Lee, Sunwoo Kim, Kijung ShinKDD 2024 · 21 citations
- Counting Butterflies in Fully Dynamic Bipartite Graph StreamsSerafeim Papadias, Zoi Kaoudi, Varun Pandey, Jorge-Arnulfo Quiané-Ruiz et al.ICDE 2024 · 4 citations
- TempASD: Temporal Anomalous Subgraph Discovery in Large-Scale Dynamic Financial NetworksXiaolin Han, Yikun Zhang, Chenhao Ma, Lingyun Song et al.KDD 2025 · 3 citations
- Online Detection of Anomalies in Temporal Knowledge Graphs with InterpretabilityJiasheng Zhang, Rex Ying, Jie ShaoSIGMOD 2025 · 2 citations
- Fast Mining and Dynamic Time-to-Event Prediction over Multi-sensor Data StreamsKota Nakamura, Koki Kawabata, Yasuko Matsubara, Yasushi SakuraiKDD 2026
Builds on7
- Midas: Microcluster-Based Detector of Anomalies in Edge StreamsSiddharth Bhatia, Bryan Hooi, Minji Yoon, Kijung Shin et al.AAAI 2020 · 118 citations
- MStream: Fast Anomaly Detection in Multi-Aspect StreamsSiddharth Bhatia, Arjit Jain, Pan Li, Ritesh Kumar et al.WWW 2021 · 69 citations
- Efficient Algorithms for Densest Subgraph Discovery on Large Directed GraphsChenhao Ma, Yixiang Fang, Reynold Cheng, Laks V. S. Lakshmanan et al.SIGMOD 2020 · 68 citations
- ExGAN: Adversarial Generation of Extreme SamplesSiddharth Bhatia, Arjit Jain, Bryan HooiAAAI 2021 · 62 citations
- Near-optimal fully dynamic densest subgraphSaurabh Sawlani, Junxing WangSTOC 2020 · 46 citations
Related papers
- Anomaly Detection of Interaction Behaviors in Streaming GraphsShuai Ren, Fan Zhang, Bolin Wang, Xiang Zhao et al.WWW 2026
- TC-Match: Fast Time-constrained Continuous Subgraph MatchingJianye Yang, Sheng Fang, Zhaoquan Gu, Ziyi Ma et al.VLDB 2024 · 7 citations
- ARES: Anomaly Recognition Model For Edge StreamsSimone Mungari, Albert Bifet, Giuseppe Manco, Bernhard PfahringerKDD 2026
- GeminiSketch: An Accurate and Efficient Sketch for Summarizing Temporal Graph Streams with Rolling-Out EliminationXuyang Jing, Chenhao Zhang, Zheng Yan, Qingze Jiang et al.ICDE 2026
- Efficient Multi-Query Oriented Continuous Subgraph MatchingZiyi Ma, Jianye Yang, Xu Zhou, Guoqing Xiao et al.ICDE 2024 · 6 citations
