Abstract
Real-world networks are inherently dynamic, evolving through continuous edge insertions and deletions. Traditional static network embedding methods fail to scale efficiently to these streaming environments, often requiring costly global retraining. This paper introduces Graph Memory Refreshing (GMR), a framework designed for high-quality, efficient updates of node embeddings. GMR utilizes a hierarchical addressing tree to identify affected nodes and employs gating mechanisms to refresh embeddings while maintaining structural consistency. Experimental results demonstrate that GMR achieves state-of-the-art accuracy with up to 20x speedup over retraining.
Introduction
Network embedding transforms complex graph structures into dense vector representations, facilitating downstream tasks like link prediction and node classification. However, most existing methods are static, assuming a fixed graph. In streaming scenarios—such as social networks or citation indices—the graph changes constantly.
Updating embeddings in these environments presents two major challenges: the ripple effect, where local changes impact distant nodes, and isomorphic inconsistency, where nodes with similar structural roles lose their embedding similarity over time. While some streaming methods exist, they often sacrifice representation quality for speed or fail to handle edge deletions.
Methodology
The GMR framework addresses these challenges through three primary innovations: multi-type updating, hierarchical addressing, and memory-inspired gating mechanisms.
Multi-type Updating
Unlike many streaming models that only accommodate edge additions, GMR modifies the Skip-Gram objective function to explicitly handle both edge insertions and deletions. This ensures the model remains robust as the network's topology evolves in both directions.
Hierarchical Addressing
To efficiently identify the "affected area" of a graph change without exhaustive search, GMR constructs a Hierarchical Addressing Tree through graph coarsening.
As shown in the figure above, the tree is built by iteratively collapsing nodes into higher-level representations ($u_{12}, u_{123}$). When a change occurs, GMR performs a beam search on this tree to identify nodes that are structurally similar to the modified region. This approach reduces the search complexity from $O(|V|)$ to $O(k \log |V|)$, where $k$ is the beam size.
Refreshing and Percolation Gates
Inspired by Gated Recurrent Units (GRUs), GMR treats the graph as a memory system that requires periodic refreshing. It employs two specialized gates:
- Refreshing Gate: Determines the degree to which a node's current embedding should be updated based on new streaming data.
- Percolation Gate: Transduces these changes to neighboring nodes, ensuring that local community structures remain consistent.
This gating mechanism allows the model to "percolate" updates through the network, maintaining global structural integrity without the need for full retraining.
Experimental Evaluation
The researchers evaluated GMR on six real-world datasets, including Facebook, Yahoo, Epinions (link prediction), and BlogCatalog, Wiki, DBLP (node classification). These datasets range from thousands to over 131,000 nodes.
Key Results
- Superior Accuracy: GMR outperformed streaming baselines (e.g., DNE, SLA, DHPE) by at least 10.5% across all tasks.
- Computational Efficiency: GMR achieves accuracy comparable to full retraining (within 1-2%) while being significantly faster—reaching a 20.7x speedup on the DBLP dataset.
- Consistency: The model maintained a high "isomorphic retaining score" (above 0.90), preventing the representation drift common in simpler streaming methods.
Conclusion and Future Work
GMR provides a theoretical and practical framework for maintaining high-quality embeddings in streaming networks. By prioritizing structural consistency and efficient hierarchical search, it bridges the gap between static quality and streaming speed.
Future research will focus on reducing the initial $O(|V|)$ overhead for tree construction to better support gargantuan graphs and extending the framework to handle multi-relational knowledge graphs.
Summary updated