Graph representation learning has become a cornerstone of modern machine learning, powering everything from social network analysis to drug discovery. However, most popular methods are "static"—they assume the graph is a frozen snapshot. In the real world, networks like Twitter or financial transaction logs are constantly evolving. Retraining a model from scratch every time a new edge appears is prohibitively expensive.
This paper introduces FILDNE (Framework for Incremental Learning of Dynamic Networks Embedding), a modular framework that transforms static graph embedding methods into efficient, incremental ones. By aligning and merging embeddings from consecutive time snapshots, FILDNE achieves significant speedups and memory reductions while maintaining high accuracy.
The Efficiency and Quality Challenge
The core challenge in dynamic network embedding is balancing efficiency and quality. Static methods like Node2vec or LINE require full retraining on the entire graph history to incorporate new data, which does not scale. Meanwhile, existing incremental methods are often "monolithic," tied to specific neural architectures like LSTMs. Furthermore, because most embedding algorithms use random initialization, vector spaces from different snapshots are often rotated or translated differently, necessitating an alignment step before they can be merged.
The FILDNE Framework
FILDNE operates as a three-step pipeline that repeats with every new snapshot of graph data. This modular approach allows users to swap out the "Base Method" (e.g., Node2vec, LINE, or GCNs) depending on the specific structural properties they wish to capture.
The pipeline consists of:
- Batch Embedding: The chosen base method is run only on the newest snapshot of the graph.
- Embedding Alignment: To make the new embedding comparable to previous ones, FILDNE uses Orthogonal Procrustes. It identifies "reference nodes"—nodes with minimal structural change—to find a transformation matrix that aligns the new vectors with the existing coordinate system.
- Composition: The aligned embeddings are merged to form the final dynamic representation.
Composition: Merging the Past and Present
The composition step is where the framework balances historical information with new updates. FILDNE offers two primary variants for this:
- Standard FILDNE: Uses a simple hyperparameter $\alpha$ to perform a weighted average (convex combination) of the previous composed embedding and the new aligned embedding.
- k-FILDNE: A more advanced variant that combines the last $k$ embeddings. It employs a Bayesian inference approach (Dirichlet-Multinomial model) to automatically estimate importance weights based on link prediction performance, effectively handling "concept drift" in the network.
Experimental Evaluation
The authors evaluated FILDNE on seven diverse real-world dynamic datasets, including communication networks (Enron, FB-forum) and trust/finance networks (Bitcoin-Alpha, Bitcoin-OTC). These datasets represent a wide range of network dynamics and node/edge overlap.
Key Results
- Massive Speedups: FILDNE computed embeddings up to 50x faster than state-of-the-art dynamic competitors like
tNodeEmbedordynGraph2vec. - Memory Efficiency: By processing snapshots and storing only resulting vectors, peak memory usage was reduced by up to 4x.
- Competitive Quality: Despite its simplicity, FILDNE often outperformed complex deep learning models in link prediction and edge classification tasks.
Key Insights
- Modularity: The framework's ability to use any static embedding method as a base makes it highly flexible and future-proof.
- Stability via Alignment: Using reference nodes for alignment creates a stable coordinate system, allowing the embeddings of new or active nodes to be interpreted correctly.
- Automated Weighting: The $k$-FILDNE variant's Bayesian weighting is a robust way to handle changing network behaviors by automatically down-weighting irrelevant historical data.
Conclusion
FILDNE provides a powerful and efficient solution for learning embeddings in dynamic networks. By decoupling the embedding generation from the temporal alignment and composition, it offers a flexible framework that scales to large, evolving graphs without sacrificing representation quality. Future work may explore alignment strategies for graphs with no node overlap and the integration of dynamic node attributes.
Summary updated