Proceedings

Unsupervised Anomaly Detection in Dynamic Graphs via Compatibility Modeling and Boundary Learning

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 2897-2905.

https://doi.org/10.24963/ijcai.2026/322

Abstract

Anomaly detection in dynamic graphs is essential for monitoring evolving systems such as transaction networks and online platforms. Yet existing methods remain limited in realistic edge-stream settings: snapshot-based approaches discretize continuous interactions and miss fine-grained temporal signals, while many continuous-time models rely on scarce node/edge attributes and often fail to explicitly assess whether a destination is compatible with a source’s recent context. Moreover, under extreme class imbalance and the lack of anomaly labels, unsupervised detectors frequently yield ill-defined normality criteria and ambiguous decision boundaries. We propose BAD, an unsupervised framework for anomaly detection in continuous-time dynamic graphs. BAD adopts a minimalistic design that represents nodes with learnable identity embeddings and performs pairwise compatibility modeling via cross-attention between each destination node and the source’s recent neighbors, enabling direct characterization of context-dependent deviations without requiring attributes. To obtain a principled separating boundary, BAD further integrates normalizing flows to model the distribution of normal interactions and derive likelihood-based anomaly scores. Extensive experiments on four real-world datasets demonstrate that BAD consistently performs well, highlighting its robustness under feature-scarce and label-scarce conditions.

  1. [Berger-Wolf and Saia, 2006] Tanya Y. Berger-Wolf and Jared Saia. A framework for analysis of dynamic social networks. In Proceedings of the 12th ACM SIGKDD In- ternational Conference on Knowledge Discovery and Data Mining, KDD '06, page 523-528, New York, NY, USA, 2006. Association for Computing Machinery.
  2. [Bhatia et al., 2020] Siddharth Bhatia, Bryan Hooi, Minji Yoon, Kijung Shin, and Christos Faloutsos. Midas: Microcluster-based detector of anomalies in edge streams. In Proceedings of the AAAI conference on artificial intel- ligence, volume 34, pages 3242-3249, 2020.
  3. [Bhatia et al., 2023] Siddharth Bhatia, Mohit Wadhwa, Kenji Kawaguchi, Neil Shah, Philip S. Yu, and Bryan Hooi. Sketch-based anomaly detection in streaming graphs. KDD '23, page 93-104, New York, NY, USA, 2023. Association for Computing Machinery.
  4. [Cai et al., 2021] Lei Cai, Zhengzhang Chen, Chen Luo, Ji- aping Gui, Jingchao Ni, Ding Li, and Haifeng Chen. Struc- tural temporal graph neural networks for anomaly detec- tion in dynamic graphs. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management, CIKM '21, page 3747-3756, New York, NY, USA, 2021. Association for Computing Machinery.
  5. [Chang et al., 2020] Xiaofu Chang, Xuqin Liu, Jianfeng Wen, Shuang Li, Yanming Fang, Le Song, and Yuan Qi. Continuous-time dynamic graph learning via neural inter- action processes. In CIKM, 2020.
  6. [Chang et al., 2021] Yen-Yu Chang, Pan Li, Rok Sosic, M. H. Afifi, Marco Schweighauser, and Jure Leskovec. F-fade: Frequency factorization for anomaly detection in edge streams. In Proceedings of the 14th ACM Inter- national Conference on Web Search and Data Mining, WSDM '21, page 589-597, New York, NY, USA, 2021. Association for Computing Machinery.
  7. [Ding et al., 2019] Kaize Ding, Jundong Li, Rohit Bhanushali, and Huan Liu. Deep anomaly detection on attributed networks. In Proceedings of the 2019 SIAM international conference on data mining, pages 594-602.
  8. [Eswaran and Faloutsos, 2018] Dhivya Eswaran and Chris- tos Faloutsos. Sedanspot: Detecting anomalies in edge streams. In ICDM, 2018.
  9. [Fan et al., 2020] Haoyi Fan, Fengbin Zhang, and Zuoyong Li. Anomalydae: Dual autoencoder for anomaly detec- tion on attributed networks. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5685-5689. IEEE, 2020.
  10. [Greene et al., 2010] Derek Greene, Dónal Doyle, and Pádraig Cunningham. Tracking the evolution of commu- nities in dynamic social networks. In 2010 International Conference on Advances in Social Networks Analysis and Mining, pages 176-183, 2010.
  11. [Grover and Leskovec, 2016] Aditya Grover and Jure Leskovec. node2vec: Scalable feature learning for networks. In Proceedings of the 22nd ACM SIGKDD international conference on Knowledge discovery and data mining, pages 855-864, 2016.
  12. [Hua et al., 2026] Fengrui Hua, Yiyan Qi, Zikai Wei, Yuxing Tian, Chengjin Xu, Xiaojun Wu, Jia Li, and Jian Guo. Bag: Benchmarking anomaly detection on dynamic graphs. In Proceedings of the AAAI Conference on Artificial Intelli- gence, volume 40, pages 14892-14900, 2026.
  13. [Jin et al., 2022] Ming Jin, Yuan-Fang Li, and Shirui Pan. Neural temporal walks: Motif-aware representation learn- ing on continuous-time dynamic graphs. In NeurIPS, 2022.
  14. [Kingma and Ba, 2015] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In Inter- national Conference on Learning Representations (ICLR), 2015.
  15. [Kumar et al., 2019] Srijan Kumar, Xikun Zhang, and Jure Leskovec. Predicting dynamic embedding trajectory in temporal interaction networks. In KDD, 2019.
  16. [Lee et al., 2024] Jongha Lee, Sunwoo Kim, and Kijung Shin. Slade: Detecting dynamic anomalies in edge streams without labels via self-supervised learning. In Proceed- ings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD '24, page 1506-1517, New York, NY, USA, 2024. Association for Computing Machinery.
  17. [Li et al., 2023] Song Li, Jiandong Zhou, Chong MO, Jin LI, Geoffrey K. F. Tso, and Yuxing Tian. Motif-aware tempo- ral gcn for fraud detection in signed cryptocurrency trust networks, 2023.
  18. [Liu et al., 2023] Yixin Liu, Shirui Pan, Yu Guang Wang, Fei Xiong, Liang Wang, Qingfeng Chen, and Vincent CS Lee. Anomaly detection in dynamic graphs via trans- former. IEEE Transactions on Knowledge and Data En- gineering, 35(12):12081-12094, 2023.
  19. [Ma et al., 2020] Yao Ma, Ziyi Guo, Zhaochun Ren, Jiliang Tang, and Dawei Yin. Streaming graph neural networks. In SIGIR, 2020.
  20. [Ma et al., 2023] Xiaoxiao Ma, Jia Wu, Shan Xue, Jian Yang, Chuan Zhou, Quan Z. Sheng, Hui Xiong, and Le- man Akoglu. A comprehensive survey on graph anomaly detection with deep learning. IEEE Transactions on Knowledge and Data Engineering, 35(12):12012-12038, 2023.
  21. [Peng et al., 2018] Zhen Peng, Minnan Luo, Jundong Li, Huan Liu, Qinghua Zheng, et al. Anomalous: A joint mod- eling approach for anomaly detection on attributed net- works. In IJCAI, volume 18, pages 3513-3519, 2018. IJCAI
  22. [Perozzi et al., 2014] Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: Online learning of social repre- sentations. In Proceedings of the 20th ACM SIGKDD in- ternational conference on Knowledge discovery and data mining, pages 701-710, 2014.
  23. [Postuvan et al., 2024] Tim Postuvan, Claas Grohnfeldt, Michele Russo, and Giulio Lovisotto. Learning-based link anomaly detection in continuous-time dynamic graphs. Transactions on Machine Learning Research, 2024.
  24. [Qiao et al., 2025] Hezhe Qiao, Hanghang Tong, Bo An, Ir- win King, Charu Aggarwal, and Guansong Pang. Deep graph anomaly detection: A survey and new perspectives. IEEE Transactions on Knowledge and Data Engineering, 37(9):5106-5126, 2025.
  25. [Rossi et al., 2020a] Emanuele Rossi, Ben Chamberlain, Fabrizio Frasca, Davide Eynard, Federico Monti, and Michael Bronstein. Temporal graph networks for deep learning on dynamic graphs. arXiv preprint arXiv:2006.10637, 2020.
  26. [Rossi et al., 2020b] Emanuele Rossi, Ben Chamberlain, Fabrizio Frasca, Davide Eynard, Federico Monti, and Michael M. Bronstein. Temporal graph networks for deep learning on dynamic graphs. CoRR, abs/2006.10637, 2020.
  27. [Tang et al., 2023] Jianheng Tang, Fengrui Hua, Ziqi Gao, Peilin Zhao, and Jia Li. Gadbench: Revisiting and bench- marking supervised graph anomaly detection. Advances in Neural Information Processing Systems, 36:29628-29653, 2023.
  28. [Tian et al., 2023] Sheng Tian, Jihai Dong, Jintang Li, Wen- long Zhao, Xiaolong Xu, Baokun Wang, Bowen Song, Changhua Meng, Tianyi Zhang, and Liang Chen. Sad: semi-supervised anomaly detection on dynamic graphs. In Proceedings of the Thirty-Second International Joint Con- ference on Artificial Intelligence, IJCAI '23, 2023. IJCAI
  29. [Tian et al., 2024a] Yuxing Tian, Aiwen Jiang, Qi Huang, Jian Guo, and Yiyan Qi. Latent diffusion-based data aug- mentation for continuous-time dynamic graph model. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD '24, page 2900-2911, New York, NY, USA, 2024. Association for Computing Machinery.
  30. [Tian et al., 2024b] Yuxing Tian, Yiyan Qi, and Fan Guo. Freedyg: Frequency enhanced continuous-time dynamic graph model for link prediction. In The Twelfth Interna- tional Conference on Learning Representations, 2024.
  31. [Tian et al., 2026] Yuxing Tian, Yiyan Qi, Fengran Mo, Weixu Zhang, Jian Guo, and Jian-Yun Nie. Learning discriminative and generalizable anomaly detector for dy- namic graph with limited supervision, 2026.
  32. [Trivedi et al., 2019] Rakshit S. Trivedi, Mehrdad Fara- jtabar, Prasenjeet Biswal, and Hongyuan Zha. Dyrep: Learning representations over dynamic graphs. In ICLR, 2019.
  33. [Wang et al., 2021a] Xuhong Wang, Ding Lyu, Mengjian Li, Yang Xia, Qi Yang, Xinwen Wang, Xinguang Wang, Ping Cui, Yupu Yang, Bowen Sun, and Zhenyu Guo. APAN: asynchronous propagation attention network for real-time temporal graph embedding. In SIGMOD, 2021.
  34. [Wang et al., 2021b] Yanbang Wang, Yen-Yu Chang, Yunyu Liu, Jure Leskovec, and Pan Li. Inductive representa- tion learning in temporal networks via causal anonymous walks. In ICLR, 2021.
  35. [Xu et al., 2020] Da Xu, chuanwei ruan, evren korpeoglu, sushant kumar, and kannan achan. Inductive representa- tion learning on temporal graphs. In ICLR, 2020.
  36. [Xu et al., 2022] Zhiming Xu, Xiao Huang, Yue Zhao, Yushun Dong, and Jundong Li. Contrastive attributed network anomaly detection with data augmentation. In Pacific-Asia conference on knowledge discovery and data mining, pages 444-457. Springer, 2022.
  37. [Yang et al., 2024] Xiao Yang, Xuejiao Zhao, and Zhiqi Shen. A generalizable anomaly detection method in dy- namic graphs, 2024.
  38. [Yu et al., 2018] Wenchao Yu, Wei Cheng, Charu C Aggar- wal, Kai Zhang, Haifeng Chen, and Wei Wang. Netwalk: A flexible deep embedding approach for anomaly detec- tion in dynamic networks. In Proceedings of the 24th ACM SIGKDD international conference on knowledge discov- ery & data mining, pages 2672-2681, 2018.
  39. [Yuan et al., 2021] Xu Yuan, Na Zhou, Shuo Yu, Huafei Huang, Zhikui Chen, and Feng Xia. Higher-order structure based anomaly detection on attributed networks. In 2021 IEEE International Conference on Big Data (Big Data), pages 2691-2700. IEEE, 2021.
  40. [Zhang et al., 2021] Shilei Zhang, Toyotaro Suzumura, and Li Zhang. Dyngraphtrans: Dynamic graph embedding via modified universal transformer networks for financial transaction data. In 2021 IEEE International Conference on Smart Data Services (SMDS), pages 184-191, 2021.
  41. [Zhang et al., 2022] Chenxi Zhang, Xin Peng, Chaofeng Sha, Ke Zhang, Zhenqing Fu, Xiya Wu, Qingwei Lin, and Dongmei Zhang. Deeptralog: trace-log combined mi- croservice anomaly detection through graph-based deep learning. In Proceedings of the 44th International Confer- ence on Software Engineering, ICSE '22, page 623-634, New York, NY, USA, 2022. Association for Computing Machinery.
  42. [Zheng et al., 2019] Li Zheng, Zhenpeng Li, Jian Li, Zhao Li, and Jun Gao. Addgraph: Anomaly detection in dy- namic graph using attention-based temporal gcn. In IJCAI, volume 3, page 7, 2019. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards