CoDCL: Counterfactual Data Augmentation Contrastive Learning for Continuous-Time Dynamic Network Link Prediction
Hantong Feng, Yonggang Wu, Duxin Chen, Wenwu Yu
TL;DR
The paper tackles continuous-time dynamic network link prediction, where temporal evolution and shifting interaction patterns challenge generalization. It introduces CoDCL, a plug-and-play framework that fuses counterfactual data augmentation with contrastive learning, driven by dynamic treatment variables and a neighborhood-based counterfactual link completion strategy. Key contributions include a formal dynamic interaction indicator, a nearest-neighbor k-hop counterfactual sampling method, and a dual-objective loss (factual prediction plus counterfactual contrastive learning) that yield state-of-the-art performance across multiple real-world datasets and backbones. The results demonstrate robust generalization to temporal changes and unseen nodes, highlighting the practical impact of integrating counterfactual reasoning into temporal representation learning.
Abstract
The rapid growth and continuous structural evolution of dynamic networks make effective predictions increasingly challenging. To enable prediction models to adapt to complex temporal environments, they need to be robust to emerging structural changes. We propose a dynamic network learning framework CoDCL, which combines counterfactual data augmentation with contrastive learning to address this deficiency.Furthermore, we devise a comprehensive strategy to generate high-quality counterfactual data, combining a dynamic treatments design with efficient structural neighborhood exploration to quantify the temporal changes in interaction patterns.Crucially, the entire CoDCL is designed as a plug-and-play universal module that can be seamlessly integrated into various existing temporal graph models without requiring architectural modifications.Extensive experiments on multiple real-world datasets demonstrate that CoDCL significantly gains state-of-the-art baseline models in the field of dynamic networks, confirming the critical role of integrating counterfactual data augmentation into dynamic representation learning.
