NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Don't Walk, Skip!: Online Learning of Multi-scale Network Embeddings

Bryan Perozzi, Vivek Kulkarni, Haochen Chen, Steven Skiena

TL;DR

This paper introduces WALKLETS, a novel online algorithm for learning multi-scale network embeddings. By "skipping" steps in random walks, WALKLETS explicitly captures relationships at different network granularities, leading to improved performance on multi-label classification tasks compared to existing methods.

What Problem Does This Paper Address?

Social networks are inherently hierarchical, with individuals belonging to communities of varying sizes, from close-knit families to broader professional networks. Traditional network embedding methods often treat all relationships with a "one-size-fits-all" approach, failing to capture this multi-scale nature. This can be a significant limitation for tasks like classification, where different scales of relationships might be more informative. For instance, predicting a user's movie preferences might rely on fine-grained connections, while predicting their professional interests might benefit from coarser community-level information. The challenge is to develop methods that can effectively learn and leverage these different scales of network structure.

Methods

WALKLETS tackles this problem by modifying the random walk sampling process used in methods like DeepWalk. Instead of taking every step in a random walk, WALKLETS "skips" over a certain number of nodes. This "skipping" effectively generates pairs of nodes that are connected by paths of a specific length, corresponding to higher powers of the adjacency matrix. By generating separate corpora of these "skipped" random walks for different skip lengths (e.g., skipping 0 steps for A¹, skipping 1 step for A², etc.), WALKLETS creates distinct sets of relationships that capture different scales of network structure. These corpora are then used to learn latent representations using a Skip-gram objective, similar to DeepWalk. The key innovation is the explicit generation of these multi-scale relationship corpora, allowing for the learning of representations that are analytically tied to specific powers of the adjacency matrix.

Datasets

The paper evaluates WALKLETS on several real-world social network datasets:

  • BlogCatalog: A network of bloggers with topic category labels.
  • DBLP: A co-author graph in computer science with research area labels.
  • Flickr: A social graph of users with interest group labels.
  • YouTube: A social graph of video enthusiasts with shared group membership labels.
  • Cora: A citation network used for a case study to visualize the multi-scale effects.

Key Insights and Ideas

  • Explicit Multi-Scale Representation: Unlike previous methods that might implicitly capture multiple scales or blend them unintuitively, WALKLETS explicitly generates representations for different scales (e.g., A¹, A², A³), making them interpretable and directly usable for tasks.
  • "Skipping" as a Powerful Sampling Technique: The simple yet effective idea of skipping nodes in random walks allows for the generation of relationship samples that correspond to higher-order network structures, which are crucial for understanding broader community affiliations.
  • Scale Matters for Performance: The experiments demonstrate that different scales of representation are optimal for different tasks and datasets. This highlights the importance of having a family of representations rather than a single, global one.
  • Online and Scalable: WALKLETS is an online algorithm, meaning it can process data incrementally. This makes it highly scalable to massive graphs with millions of vertices, a significant advantage over methods that require materializing large matrices.

Key Results

WALKLETS consistently outperforms strong baselines like DeepWalk and LINE on multi-label classification tasks across various datasets.

  • On BlogCatalog, WALKLETS using A² features achieved up to an 8.9% improvement in Micro-F1 over DeepWalk and a 58.4% improvement over LINE, especially when labeled data was sparse.
  • On DBLP, WALKLETS using A³ features showed a 10.1% gain over DeepWalk and 34.3% over LINE.
  • On Flickr, A² features provided the best performance, outperforming DeepWalk by 4.1% and LINE by 29.6% with only 1% labeled data.
  • On YouTube, a combined representation (A², A³) offered the best performance, significantly outperforming DeepWalk and LINE. The paper also shows that the most competitive baseline, GraRep, which performs exact multi-scale computation, fails to scale to larger datasets like Flickr and YouTube due to memory constraints.

Limitations and Future Work

  • Computational Cost of Exact Multi-Scale: While WALKLETS is scalable, the paper notes that exact multi-scale computation (as done by GraRep) is computationally expensive and does not scale to large graphs.
  • Bias in DeepWalk: The paper points out that DeepWalk is implicitly biased towards lower-order powers of the adjacency matrix, which can be a weakness when higher-order structures are more relevant.
  • Future Work: The authors suggest further investigations into developing additional theoretical backing for their methods and exploring how different sampling strategies and walk lengths can be further optimized. They also mention that their method can be extended to weighted graphs and that alternative search strategies, like those in node2vec, could potentially benefit from their skipping approach.

Summary updated

BibTeX
@inproceedings{perozzi2017don,
  author = {Bryan Perozzi and Vivek Kulkarni and Haochen Chen and Steven Skiena},
  title = {{Don't Walk, Skip!: Online Learning of Multi-scale Network Embeddings}},
  booktitle = {ASONAM},
  year = {2017},
  url = {https://openreview.net/forum?id=1aWNg2yCy6o},
}
Figure