Introduction
Real-world networks such as social media platforms, e-commerce sites, and communication logs are inherently dynamic. Unlike static snapshots, these graphs evolve continuously as new users join and new interactions occur. Traditional Graph Neural Networks (GNNs), such as GCN or GraphSAGE, are primarily designed for static structures and often fail to capture the temporal nuances of streaming data. Streaming Graph Neural Networks (DGNN) introduces a novel framework to address these limitations by modeling graphs in real-time, accounting for the sequential order of interactions and the precise time intervals between them.
The Challenge of Dynamic Graphs
Static models typically overlook three critical aspects of evolving networks:
- Sequential Information: The chronological order of edges matters; a user's recent behavior is often more relevant than past actions.
- Temporal Dynamics: The time elapsed between interactions is a vital signal. Significant gaps may imply a shift in node properties, necessitating a mechanism to "forget" outdated information.
- Information Propagation: A single new interaction influences not just the participants but also their local neighborhoods. Efficiently updating these "influenced nodes" without global re-computation is a major hurdle for static architectures.
Proposed Architecture: DGNN
The DGNN framework is built around two core components that are triggered by every new interaction (edge):
- The Update Component: When an edge forms between a source and target node, this unit refreshes their internal states using a modified Long Short-Term Memory (LSTM) unit. It features a "time-aware" cell memory that distinguishes between long-term and short-term information.
- The Propagation Component: This unit transmits the update to the 1-hop neighbors of the interacting pair. To maintain efficiency and minimize noise, it employs attention mechanisms to weigh "tie strength" and a filtering function to ignore neighbors whose influence has decayed over time.
A Merge Unit is also utilized to synthesize a node's dual roles (source and target) into a unified feature vector.
Key Innovations: Time-Awareness and Local Propagation
The defining feature of DGNN is its treatment of time as a "forgetting factor." Rather than treating time as a simple feature, the model uses it to control the LSTM's forgetting gate.
By mathematically decomposing the cell state, the model can discount short-term memory based on the time interval ($\Delta t$) since the last interaction. This allows the network to "heavily forget" old information if a long hiatus has occurred. Furthermore, by focusing on localized updates rather than global re-computation, DGNN achieves high scalability for truly streaming data.
Experimental Results
The researchers evaluated DGNN on three real-world datasets: UCI (online messages), DNC (email leaks), and Epinions (trust network).
- Link Prediction: DGNN significantly outperformed baselines. On the UCI dataset, it achieved a Mean Reciprocal Rank (MRR) of 0.0342, nearly tripling the performance of GCN (0.0138).
- Node Classification: On the Epinions dataset, DGNN showed superior F1-macro and F1-micro scores, demonstrating that temporal dynamics are essential for understanding evolving node properties.
- Ablation Studies: Removing either the propagation component or the time-interval logic resulted in a sharp performance decline, validating the necessity of both spatial and temporal modeling.
Conclusion and Future Work
DGNN represents a significant step forward in processing streaming graph data. While currently focused on edge emergence and 1-hop propagation, future work may explore edge deletion, multi-hop influence zones, and unsupervised tasks like community detection. By integrating time directly into the neural architecture, DGNN provides a robust foundation for real-time network analysis.
Summary updated