Is a Single Vector Enough?: Exploring Node Polysemy for Network Embedding

Ninghao Liu, Qiaoyu Tan, Yuening Li, Hongxia Yang, Jingren Zhou, Xia Hu

Abstract

Standard network embedding models typically map each node to a single vector. However, real-world entities are often "polysemous," playing multiple roles or possessing diverse interests. This paper introduces a framework for polysemous network embedding, allowing nodes to possess multiple vectors (facets) that are activated based on context. This approach leads to significant performance gains in classification and link prediction tasks across various network types.

Introduction: The Problem of Node Polysemy

Most graph embedding techniques, such as DeepWalk or node2vec, aim to map each node to a single point in a continuous vector space. While effective for many tasks, a single vector is often insufficient to capture the complexity of real-world entities.

Consider a user in a movie recommendation network who enjoys both "slasher horrors" and "romantic comedies." In a traditional single-vector space, the model attempts to position the user close to both genres. If these genres are distant in the embedding space, the user's vector ends up in a "no man's land" between them, failing to represent either interest accurately. This phenomenon is known as node polysemy. By forcing disparate characteristics into one vector, we lose the nuance of the node’s different "facets."

Figure 1: Illustration of node polysemy, where a single person node exhibits multiple facets such as being a young father, enjoying vacations, and having specific job-related interests.

Methodology: Polysemous Deepwalk (PolyDW)

To address this, the authors propose a general framework for handling multiple facets, specifically extending the DeepWalk algorithm into Polysemous Deepwalk (PolyDW). The framework consists of several key components:

  1. Multiple Embeddings: Each node $v_i$ is assigned $K$ distinct embedding vectors, each representing a possible facet.
  2. Facet Assignment: To determine the distribution of facets for each node, the model utilizes Non-negative Matrix Factorization (NMF) on the network's adjacency matrix as a prior.
  3. Context-Aware Activation: During training via random walks, the model does not update all $K$ vectors. Instead, it samples an "activated" facet for the target node and its neighbors based on the specific local context of that walk.
  4. Efficient Optimization: To maintain computational efficiency, the authors derive a lower bound for the objective function using Jensen’s inequality, enabling the use of negative sampling similar to standard Word2Vec implementations.
Figure 2: The Polysemous Deepwalk framework, illustrating the pipeline from input network to facet distribution estimation, facet assignment, and objective optimization.

Experimental Evaluation

The researchers evaluated PolyDW on four real-world datasets: BlogCatalog and Flickr (homogeneous social networks), and MovieLens and Pinterest (heterogeneous interaction networks).

Key Results

  • Node Classification: On BlogCatalog and Flickr, PolyDW consistently outperformed standard DeepWalk and other multi-vector baselines like MNE and MSSG. Performance generally improved as the number of facets ($K$) increased.
  • Link Prediction: The gains were particularly pronounced in heterogeneous networks. On the Pinterest dataset, PolyPTE (an extension for heterogeneous networks) achieved an AUC of 0.919, significantly outperforming the single-vector PTE baseline (0.703).
  • Efficiency: Despite the increased number of parameters, training remains feasible because only one facet is sampled and updated per observation.

Discussion and Insights

The work draws a strong analogy to natural language processing, where words like "bank" have different meanings depending on context. Similarly, a node's "meaning" in a graph changes based on its interacting neighbors.

One notable finding is the context window trade-off. While standard DeepWalk typically benefits from larger context windows, PolyDW's performance can degrade if the window is too large. This is because an overly large window "over-smooths" the facet distribution, making it difficult for the model to identify which specific facet is active. Furthermore, PolyDW demonstrates greater robustness to high dimensionality, as information is distributed across specialized vectors rather than being compressed into a single, overloaded representation.

Conclusion

By moving beyond the single-vector paradigm, polysemous network embeddings provide a more nuanced and interpretable representation of complex entities in graphs. Future work aims to move toward end-to-end learning of facet distributions and extending the framework to more complex knowledge graph structures.

Summary updated

BibTeX
@inproceedings{liu2019is,
  author = {Ninghao Liu and Qiaoyu Tan and Yuening Li and Hongxia Yang and Jingren Zhou and Xia Hu},
  title = {{Is a Single Vector Enough?: Exploring Node Polysemy for Network Embedding}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2019},
  doi = {10.1145/3292500.3330967},
}
Figure