Spear and Shield: Adversarial Attacks and Defense Methods for Model-Based Link Prediction on Continuous-Time Dynamic Graphs
Dongjin Lee, Juho Lee, Kijung Shin
Abstract
Real-world graphs are dynamic, constantly evolving with new interactions, such as financial transactions in financial networks. Temporal Graph Neural Networks (TGNNs) have been developed to effectively capture the evolving patterns in dynamic graphs. While these models have demonstrated their superiority, being widely adopted in various important fields, their vulnerabilities against adversarial attacks remain largely unexplored. In this paper, we propose T-SPEAR, a simple and effective adversarial attack method for link prediction on continuous-time dynamic graphs, focusing on investigating the vulnerabilities of TGNNs. Specifically, before the training procedure of a victim model, which is a TGNN for link prediction, we inject edge perturbations to the data that are unnoticeable in terms of the four constraints we propose, and yet effective enough to cause malfunction of the victim model. Moreover, we propose a robust training approach T-SHIELD to mitigate the impact of adversarial attacks. By using edge filtering and enforcing temporal smoothness to node embeddings, we enhance the robustness of the victim model. Our experimental study shows that T-SPEAR significantly degrades the victim model's performance on link prediction tasks, and even more, our attacks are transferable to other TGNNs, which differ from the victim model assumed by the attacker. Moreover, we demonstrate that T-SHIELD effectively filters out adversarial edges and exhibits robustness against adversarial attacks, surpassing the link prediction performance of the naive TGNN by up to 11.2% under T-SPEAR. The code and datasets are available at https://github.com/wooner49/T-spear-shield
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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1a0ab885-3519-47b0-93ba-e868e93cb2a3Cited by top-tier papers5
- CAT: Can Trust be Predicted with Context-Awareness in Dynamic Heterogeneous Networks?Jie Wang, Zheng Yan, Jiahe Lan, Xuyan Li et al.NDSS 2026 · 2 citations
- LORETTA: A Low Resource Framework to Poison Continuous Time Dynamic GraphsHimanshu Pal, Venkata Sai Pranav Bachina, Ankit Gangwal, Charu SharmaAAAI 2026
- MemFreezing: A Novel Adversarial Attack on Temporal Graph Neural Networks under Limited Future KnowledgeYue Dai, Liang Liu, Xulong Tang, Youtao Zhang et al.ICML 2025
- Entangled No More: Multi-Domain Decoupling for Robust Dynamic Graph Neural NetworksYouda Mo, Chaobo He, Junwei Cheng, Peng Mei et al.ICML 2026
- Temporal Graph Thumbnail: Robust Representation Learning with Global Evolutionary SkeletonWeining Shi, Zhisen Wen, Qinggang Zhang, Chentao Zhang et al.ICLR 2026
Builds on12
- EvolveGCN: Evolving Graph Convolutional Networks for Dynamic GraphsAldo Pareja, Giacomo Domeniconi, Jie Chen, Tengfei Ma et al.AAAI 2020 · 1,429 citations
- Inductive representation learning on temporal graphsDa Xu, Chuanwei Ruan, Evren Körpeoglu, Sushant Kumar et al.ICLR 2020 · 901 citations
- Graph Structure Learning for Robust Graph Neural NetworksWei Jin, Yao Ma, Xiaorui Liu, Xianfeng Tang et al.KDD 2020 · 604 citations
- Inductive Representation Learning in Temporal Networks via Causal Anonymous WalksYanbang Wang, Yen-Yu Chang, Yunyu Liu, Jure Leskovec et al.ICLR 2021 · 326 citations
- Towards More Practical Adversarial Attacks on Graph Neural NetworksJiaqi Ma, Shuangrui Ding, Qiaozhu MeiNeurIPS 2020 · 160 citations
Related papers
- Temporal Dynamics-Aware Adversarial Attacks on Discrete-Time Dynamic Graph ModelsKartik Sharma, Rakshit S. Trivedi, Rohit Sridhar, Srijan KumarKDD 2023 · 20 citations
- TDGIA: Effective Injection Attacks on Graph Neural NetworksXu Zou, Qinkai Zheng, Yuxiao Dong, Xinyu Guan et al.KDD 2021 · 83 citations
- Fight Fire with Fire: Towards Robust Graph Neural Networks on Dynamic Graphs via Actively DefenseHaoyang Li, Shimin Di, Calvin Hong Yi Li, Lei Chen et al.VLDB 2024 · 6 citations
- Simple yet Effective Node Property Prediction on Edge Streams under Distribution ShiftsJongha Lee, Taehyung Kwon, Heechan Moon, Kijung ShinICDE 2025 · 1 citation
- Benchtemp: A General Benchmark for Evaluating Temporal Graph Neural NetworksQiang Huang, Xin Wang, Susie Xi Rao, Zhichao Han et al.ICDE 2024 · 7 citations
