This paper presents the first systematic study of adversarial attacks on Dynamic Network Link Prediction (DNLP). The authors introduce the Time-aware Gradient Attack (TGA), a method that leverages gradient information from deep learning models to strategically add or remove links across historical snapshots, effectively "hiding" specific future relationships from being predicted.
TL;DR
The authors propose TGA, the first adversarial attack designed specifically for dynamic networks, which uses time-aware gradients to mislead link prediction models. By perturbing just a few historical links, TGA can prevent state-of-the-art models from detecting target future connections, highlighting a significant security and privacy vulnerability in dynamic graph analysis.
What Problem Does This Paper Address?
Link prediction is a cornerstone of network analysis, used for everything from friend recommendations to detecting fraudulent transactions. While static link prediction is well-studied, real-world networks are dynamic—they evolve over time. DNLP models (like those using RNNs or LSTMs) learn these temporal patterns to predict future edges.
However, these models are susceptible to adversarial attacks: small, intentional perturbations to the input data designed to cause the model to fail. While adversarial attacks on static graphs exist, they ignore the temporal dimension. A link added yesterday might influence a prediction much more than a link added a year ago. This paper fills that gap by exploring how to attack models that account for time.
Methods
The authors focus on attacking a Deep Dynamic Network Embedding (DDNE) model, which uses a Gated Recurrent Unit (GRU) to encode sequences of network snapshots. The core of their approach is the Time-aware Gradient Attack (TGA).
TGA works by calculating the gradient of the prediction probability with respect to the input network snapshots. This identifies which historical links, at which specific points in time, have the most influence on the target prediction. The authors propose two variants:
- TGA-Tra (Traversal Search): An exhaustive approach that explores a large tree of possible modifications across iterations and snapshots. It is highly effective but computationally expensive.
- TGA-Gre (Greedy Search): A more efficient version that selects the single best modification in each iteration.
As shown in the framework above, the attack iteratively selects the best "route" through the snapshots to minimize the target link's existence probability.
Datasets
The methods were evaluated on four real-world dynamic email networks:
- RADOSLAW: Internal emails from a manufacturing company.
- DNC: The 2016 Democratic National Committee email leak.
- LKML: Linux Kernel Mailing List replies.
- ENRON: The classic Enron email dataset.
Additionally, they performed a case study on the Ethereum transaction network to demonstrate the attack's practical implications for financial privacy.
Key Insights and Ideas
- Time Matters: A link's importance is not just about its position in the graph, but when it occurred. TGA outperforms static attacks because it identifies the most "influential" moments in time to intervene.
- Strategic Differences: TGA-Tra (the exhaustive version) tends to modify earlier snapshots and prefers adding links, making the attack more concealed. TGA-Gre (the greedy version) tends to modify recent snapshots and prefers deleting links, which is more "aggressive" but potentially easier to notice.
- Long-term Vulnerability: The authors found that predicting links further into the future is actually easier to attack. The model's uncertainty over longer horizons makes it more fragile to small perturbations.
- Robustness through History: Conversely, models that incorporate a longer history of snapshots are more robust against these attacks, as the "signal" of the target link is spread across more data points.
Key Results
TGA significantly outperformed baselines like Random Attack (RA), Common-Neighbor-based Attack (CNA), and the static Fast Gradient Attack (FGA).
- Attack Success Rate (ASR): In many scenarios, TGA achieved a 100% success rate in hiding target links, whereas static attacks often hovered between 30-70%.
- Efficiency: While TGA-Tra is slow, TGA-Gre provides a comparable attack success rate with a runtime similar to much simpler methods.
Limitations and Future Work
The primary limitation is that TGA is a white-box attack, meaning the attacker needs full access to the target model's architecture and gradients. In real-world scenarios, attackers often only have "black-box" access (observing inputs and outputs).
The authors suggest that future research should focus on:
- Developing black-box attacks for dynamic networks.
- Creating defense mechanisms to make DNLP models more robust against these time-aware perturbations.
Summary updated