Abstract
Representation learning on graphs has emerged as a powerful mechanism to automate feature vector generation for downstream machine learning tasks. The advances in representation on graphs have centered on both homogeneous and heterogeneous graphs, where the latter presenting the challenges associated with multi-typed nodes and/or edges. In this paper, we consider the additional challenge of evolving graphs. We ask the question of whether the advances in representation learning for static graphs can be leveraged for dynamic graphs and how? It is important to be able to incorporate those advances to maximize the utility and generalization of methods. To that end, we propose the Framework for Incremental Learning of Dynamic Networks Embedding (FILDNE), which can utilize any existing static representation learning method for learning node embeddings, while keeping the computational costs low. FILDNE integrates the feature vectors computed using the standard methods over different timesteps into a single representation by developing a convex combination function and alignment mechanism. Experimental results on several downstream tasks, over seven real-world data sets, show that FILDNE is able to reduce memory and computational time costs while providing competitive quality measure gains with respect to the contemporary methods for representation learning on dynamic graphs.
Introduction: The Challenge of Evolving Networks
Most real-world networks—social media, financial transactions, or citation indices—are dynamic, meaning they grow and change over time. However, the vast majority of graph embedding techniques, which transform complex graph structures into compact mathematical vectors, are designed for static graphs.
When a network evolves, researchers typically face a "lose-lose" choice. Naive retraining involves recomputing the entire embedding from scratch using all historical data, which is computationally expensive and slow. Alternatively, specialized incremental methods are often "locked-in" to specific architectures and cannot benefit from the rapid advances in the broader field of static graph representation learning. FILDNE addresses this by asking: Can we leverage any high-performing static embedding method and make it work for dynamic graphs without losing efficiency or accuracy?
Methodology
FILDNE operates as a flexible framework or "wrapper" around a chosen Base Method (such as Node2vec or LINE). It processes the graph as a stream of non-overlapping snapshots.
The pipeline consists of three primary steps:
- Batch Embedding: For each new time snapshot, a fresh embedding is computed using the chosen Base Method.
- Alignment: Since many embedding algorithms are stochastic, two runs on similar data can result in different coordinate systems. FILDNE identifies "stable" reference nodes based on their activity and topology, then applies Orthogonal Procrustes to align the new embedding with the previous one.
- Composition: The aligned current embedding is merged with the previous representation using a convex combination.
For more advanced scenarios, $k$-FILDNE combines a window of $k$ past embeddings. It employs Bayesian inference (a Dirichlet-Multinomial model) to automatically estimate optimal weights for each snapshot based on their performance in link prediction tasks.
Experimental Evaluation
The framework was evaluated on seven diverse real-world dynamic datasets, including email networks (enron-employees, radoslaw-email), social communication (fb-forum, fb-messages, hypertext09), and trust networks (bitcoin-alpha, bitcoin-otc). These datasets vary in density, time span (from days to years), and volatility.
Key Results
- Efficiency and Scalability: FILDNE achieved a 2x to 3x speedup over competitive dynamic methods and reduced memory consumption by up to 4x compared to retraining-based approaches.
- Performance: In link prediction and edge classification, FILDNE-based models frequently outperformed specialized dynamic architectures like
tNodeEmbedanddynGraph2vec. - Graph Reconstruction: The framework showed a massive advantage in Mean Average Precision (mAP) for graph reconstruction, sometimes outperforming other streaming methods by a factor of 50x.
Discussion and Conclusion
FILDNE's strength lies in its "Base-Method Agnostic" nature, allowing it to adopt any future static embedding improvements immediately. By focusing on "reference nodes" for stability and using convex combinations to prevent vector drift, it maintains high quality with low overhead.
Current limitations include a requirement for batch data rather than true per-edge online learning, and a dependency on node overlap between snapshots for alignment. Future work may explore adaptive snapshot sizing and the integration of node attributes into the framework.
Summary updated