Subset Node Representation Learning over Large Dynamic Graphs

Xingzhi Guo, Baojian Zhou, Steven Skiena · DOI

Abstract

Dynamic graphs like Wikipedia or social networks present a "scaling wall" for representation learning. Existing methods often require re-calculating embeddings for the entire graph, making it prohibitively expensive to track specific subsets of nodes. We present DynamicPPE, a framework for subset node representation learning that decouples computational complexity from the total number of nodes. By leveraging dynamic Personalized PageRank and adaptive precision strategies, DynamicPPE enables efficient tracking of entity evolution at scale.

Introduction

In graph representation learning, the goal is to map nodes into low-dimensional vectors (embeddings) that preserve structural information. However, real-world graphs are inherently dynamic, growing and changing continuously. Most existing algorithms face a significant challenge: their complexity scales linearly with the total number of nodes ($n$), or they require a full re-calculation whenever a change occurs.

This creates a "scaling wall" for researchers who only need to track a small subset of nodes—such as specific political leaders or cities—within a massive graph of millions. There is a critical need for "subset node representation learning," focusing on local efficiency and accuracy rather than global coverage.

The DynamicPPE Framework

To address these challenges, the authors introduce DynamicPPE (Dynamic Personalized PageRank Embedding). This framework is built upon three core pillars:

  1. Dynamic Personalized PageRank (PPR): Instead of costly random walks, DynamicPPE uses PPR vectors to measure node proximity. It employs a "ForwardPush" algorithm to incrementally update these vectors as edges are added or removed.
  2. Adaptive Precision Strategy: Recognizing that a fixed error tolerance ($\epsilon$) is insufficient as a graph grows, DynamicPPE adaptively adjusts $\epsilon$ based on the graph's state. This ensures bounded estimation errors and maintains embedding quality over time.
  3. Hash Kernels for Projection: High-dimensional PPR vectors are projected into compact embeddings using universal hash functions. This approach is memory-efficient and preserves both local proximity and global consistency.
Figure 1: Overview of DynamicPPE updating embeddings for a specific subset of nodes as the graph evolves.

Crucially, the time complexity of DynamicPPE is independent of the total number of nodes ($n$), depending instead on the volume of edge events and the average degree of the graph.

Experimental Evaluation

The researchers evaluated DynamicPPE on several large-scale datasets, including Enwiki20 (6.2M nodes, 170M links), the US Patent Graph (2.7M nodes), and the Microsoft Academic Graph (4.8M nodes).

Performance and Efficiency

On node classification tasks, DynamicPPE matched or outperformed state-of-the-art static methods (e.g., Node2Vec, DeepWalk) and dynamic baselines. Its efficiency is particularly noteworthy: updating the embedding for a single node in the massive Wikipedia graph across a year of changes took only 8.5 minutes, whereas traditional baselines would require days to process the entire graph.

Embeddings as "Social Sensors"

A key insight from this work is the use of embeddings as "social sensors." By tracking the movement of node embeddings over time, researchers can correlate structural changes in the graph with real-world events.

Figure 2: Embedding movement of Donald Trump and Joe Biden, showing significant spikes corresponding to elections and inaugurations.

For example, the "embedding movement" of political figures like Donald Trump and Joe Biden showed clear spikes during major political milestones. Similarly, the method successfully identified structural shifts for cities like Wuhan during the onset of the COVID-19 pandemic.

Conclusion

DynamicPPE provides a scalable solution for monitoring specific entities in massive, evolving networks. By focusing on local updates and adaptive precision, it bypasses the computational bottlenecks of global embedding methods. While the current framework focuses on structural evolution, future work could incorporate node interaction dynamics (e.g., message frequency) to further enrich the learned representations.

Summary updated

BibTeX
@inproceedings{guo2021subset,
  author = {Xingzhi Guo and Baojian Zhou and Steven Skiena},
  title = {{Subset Node Representation Learning over Large Dynamic Graphs}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2021},
  doi = {10.1145/3447548.3467393},
}
Figure