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

Multi-Scale attributed node embedding

Benedek Rozemberczki, Carl Allen, Rik Sarkar

TL;DR

This paper introduces novel network embedding methods (AE and MUSAE) that effectively capture both network structure and node attributes at multiple scales. These methods outperform existing approaches on tasks like node classification and regression, and importantly, enable transfer learning across networks with shared features.

What Problem Does This Paper Address?

Traditional node embedding techniques primarily focus on preserving the network's structural proximity, often treating nodes as simple identifiers. However, real-world networks are rich with node attributes (e.g., user interests in a social network, article topics on Wikipedia). These attributes hold crucial information that can significantly improve downstream tasks like classification and prediction. Existing methods that incorporate attributes often struggle to effectively leverage information from varying neighborhood sizes or to generalize across different networks. This paper aims to bridge this gap by developing embedding methods that can learn from node attributes at multiple "scales" of neighborhood influence and facilitate knowledge transfer.

Methods

The authors propose two main algorithms:

  • Attributed Embedding (AE): This method adapts the Skip-gram model (popular for word embeddings) to network data. It generates "sentences" by performing random walks on the graph and then considers both the node itself and its neighbors within a defined context window. Crucially, AE pools the attribute information from these different neighborhood scales into a single representation.
  • Multi-Scale Attributed Embedding (MUSAE): Building on AE, MUSAE takes a more nuanced approach. Instead of pooling attribute information, it learns distinct embeddings for each "scale" of neighborhood influence (e.g., 1-hop, 2-hop neighbors). These multi-scale embeddings are then concatenated to form the final node representation. This allows for a more granular capture of how attributes at different proximities contribute to a node's identity.

Both AE and MUSAE are designed to implicitly factorize matrices related to node-feature pointwise mutual information (PMI), a theoretical underpinning that helps explain their effectiveness. The authors also introduce "EGO" variants (AE-EGO, MUSAE-EGO) which append an identity matrix to the feature set, effectively adding a unique feature for each node to incorporate more explicit structural information.

Datasets

The paper evaluates their methods on a variety of real-world datasets, including:

  • Social Networks: Facebook, GitHub, LastFM Asia, Deezer Europe, Twitch (DE, EN, ES, FR, PT, RU).
  • Web Graphs: Cora, Citeseer, Pubmed, Wikipedia (Chameleons, Crocodiles, Squirrels).

These datasets vary in size, density, and the nature of their node attributes, providing a comprehensive evaluation. The Twitch datasets are particularly highlighted for their use in transfer learning experiments due to shared features across disjoint vertex sets.

Key Insights and Ideas

  • Multi-scale attribute capture is beneficial: Explicitly modeling attribute information at different neighborhood scales (MUSAE) generally leads to better performance than pooling it (AE). This suggests that the influence of attributes can vary significantly with distance.
  • Implicit matrix factorization is key: The theoretical derivation showing that AE and MUSAE implicitly factorize node-feature PMI matrices provides a strong foundation for understanding their effectiveness and connects them to established principles in representation learning.
  • Transfer learning is enabled by shared features: By learning distinct node and feature embeddings, AE and MUSAE can effectively transfer knowledge between networks that share common features, even if their structures differ. This is a significant advantage over methods that don't explicitly model features.
  • EGO variants offer marginal gains: Adding explicit structural information via the EGO variants provides some improvement, particularly in low-data scenarios, but the core multi-scale attribute learning remains the dominant factor.

Key Results

  • Node Classification: AE and MUSAE consistently outperform other unsupervised node embedding methods on node classification tasks across various datasets, often achieving performance close to supervised baselines. MUSAE generally outperforms AE.
  • Node Attribute Regression: The proposed methods show significant improvements in predicting real-valued node attributes (e.g., website traffic) compared to other unsupervised methods, with MUSAE-EGO achieving the best results.
  • Transfer Learning: MUSAE and AE demonstrate effective transfer learning capabilities on the Twitch datasets, outperforming random guessing and in some cases approaching the performance of re-training on the target graph.
  • Scalability: The algorithms are computationally efficient, exhibiting linear runtime complexity with respect to the number of nodes and features, making them suitable for large-scale networks.

Limitations and Future Work

  • Inductive Capability: The paper notes that their proximal embedding approach is not inductive, meaning it cannot directly embed unseen nodes that are not connected to the training graph. This is a limitation shared with many proximity-based methods.
  • Hyperparameter Sensitivity: While the paper provides hyperparameter settings, fine-tuning can still be crucial for optimal performance on specific datasets.
  • Future Work: The authors suggest that their theoretical framework of implicit matrix factorization could be extended to other attributed network embedding models for interpretability. They also highlight the potential for further exploration of transfer learning across networks with varying degrees of feature overlap.

Summary updated

BibTeX
@misc{rozemberczki2019multi,
  author = {Benedek Rozemberczki and Carl Allen and Rik Sarkar},
  title = {{Multi-Scale attributed node embedding}},
  year = {2019},
  eprint = {1909.13021},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.13021},
}
Figure