Introduction
Real-world networks, such as social media platforms, e-commerce interactions, and communication logs, are inherently dynamic. Most existing Graph Neural Networks (GNNs) are designed for static snapshots, failing to capture the continuous evolution of these systems. This paper introduces DGNN (Dynamic Graph Neural Network), a framework specifically engineered for "streaming" graphs where nodes and edges emerge over time. DGNN addresses three critical gaps in temporal graph modeling: the sequential order of interactions, the significance of time intervals between events, and the real-time propagation of information through local neighborhoods.
Methodology
DGNN processes a graph as a continuous stream of interactions $(v_s, v_g, t)$. The architecture is divided into two primary functional blocks: the Update Component and the Propagation Component.
1. The Update Component
When a new edge is formed between a source node ($v_s$) and a target node ($v_g$), DGNN updates their internal states. This process involves three units:
- Interact Unit: An MLP that generates an "interaction embedding" by combining features from both participating nodes.
- Time-Aware LSTM: This core innovation modifies the standard LSTM architecture to account for temporal gaps. It decomposes hidden memory into long-term and short-term components. The short-term memory is adjusted via a decay function $g(\Delta t)$, where $\Delta t$ represents the time elapsed since the node's last interaction. This mechanism allows the model to mathematically "forget" stale information as time passes.
- Merge Unit: To handle nodes acting as both sources and targets, DGNN maintains dual memories and merges them into a unified feature vector.
2. The Propagation Component
An interaction between two nodes often influences their immediate vicinity. DGNN captures this "ripple effect" by propagating information to 1-hop neighbors.
- Attention Mechanism: An attention function calculates "tie strength" based on feature similarity, ensuring that updates are weighted by relevance.
- Thresholding: To maintain computational efficiency and filter out noise, a time threshold ($\tau$) is applied. Neighbors that have not interacted recently are excluded from the update cycle.
Experimental Evaluation
The model was evaluated on three real-world dynamic datasets: UCI (student message communications), DNC (email leak logs), and Epinions (a trust network with 15 category labels).
Key Results
DGNN was compared against state-of-the-art baselines, including static models (GCN, GraphSage) and dynamic embedding methods (DynGEM, DynamicTriad).
- Link Prediction: DGNN consistently outperformed all baselines. On the UCI dataset, it achieved a Mean Reciprocal Rank (MRR) of 0.0342, significantly higher than GCN's 0.0138.
- Node Classification: On the Epinions dataset, DGNN demonstrated superior $F_1$-macro and $F_1$-micro scores, highlighting the importance of temporal dynamics in identifying node categories.
- Ablation Studies: Removing the propagation component or the time-decay feature resulted in substantial performance declines, validating the necessity of both local influence modeling and temporal forgetting.
Conclusion and Future Work
DGNN demonstrates that treating time as a primary architectural constraint—rather than just an input feature—leads to more robust representations of evolving graphs. By utilizing a time-aware LSTM and a local propagation mechanism, the model effectively captures the "pulse" of streaming data. Future research directions include extending the framework to handle edge deletions, refining neighbor selection strategies, and exploring applications in unsupervised tasks like dynamic community detection.
Summary updated