Node Embeddings and Exact Low-Rank Representations of Complex Networks

Sudhanshu Chanpuriya, Cameron Musco, Konstantinos Sotiropoulos, Charalampos E. Tsourakakis

This paper, presented at NeurIPS 2020, challenges a recent and influential "impossibility" result in network science, proving that low-dimensional node embeddings are far more powerful than previously thought.

TL;DR

The authors debunk the claim that low-dimensional embeddings cannot represent sparse, triangle-rich complex networks. By relaxing model constraints and using a logistic-based factorization, they show that real-world graphs actually admit exact low-rank representations at surprisingly low dimensions.

What Problem Does This Paper Address?

In the world of graph machine learning, we often map nodes to low-dimensional vectors (embeddings) to capture the "essence" of a network. However, a 2020 PNAS paper by Seshadhri et al. argued that this is mathematically impossible for many real-world networks. They claimed that any low-dimensional model cannot be both sparse (few edges) and have high triangle density (many local clusters)—two defining features of social and biological networks.

This paper addresses whether this "impossibility" is a fundamental limit of geometry or simply a byproduct of the specific mathematical models researchers were using. The authors argue it’s the latter: the previous results relied on a "truncated dot product" model that forced embeddings to be positive semi-definite (PSD), a restriction that doesn't exist in many modern embedding methods like DeepWalk or node2vec.

Methods

The authors propose two major shifts in how we think about graph factorizations:

  1. From PSD to Non-PSD: Instead of using a single embedding vector $x_i$ for each node (which implies the adjacency matrix $A \approx XX^T$), they use two vectors, $x_i$ and $y_i$ (implying $A \approx XY^T$). This allows the model to represent a much wider array of structures.
  2. Logistic PCA (LPCA): Standard methods like Singular Value Decomposition (SVD) minimize the squared error (Frobenius norm), which is poorly suited for binary data like graph edges. The authors instead use a logistic loss function—similar to what is used in logistic regression—to find the embeddings. They optimize this using the L-BFGS algorithm.

Theoretically, they prove that any graph with a maximum degree $c$ can be represented exactly with an embedding dimension of only $2c + 1$.

Datasets

The authors evaluated their approach on 11 diverse real-world networks, including:

  • Citation Networks: Pubmed, Citeseer, Cora.
  • Social/Collaboration Networks: BlogCatalog, Facebook, ca-HepPh, ca-GrQc, Wiki-Vote.
  • Biological/Other: Protein-Protein Interaction (PPI), Wikipedia (word co-occurrence), p2p-Gnutella04.

Key Insights and Ideas

  • The "Brittle" Impossibility: The authors show that the previous impossibility result is "brittle." A minor relaxation—allowing the model to be non-PSD—completely evaporates the theoretical barrier to representing triangles in sparse graphs.
  • Non-linearity is a Cheat Code: The use of a thresholding function (like the sigmoid in logistic PCA) allows a low-rank matrix to represent a high-rank adjacency matrix. This is why "exact" factorization is possible at such low dimensions.
  • Real-World Graphs are "Simple": Interestingly, real-world graphs are easier to factorize than random graphs with the same degree distribution. This suggests that the inherent community structure of real networks makes them naturally compressible.
  • Reconstruction vs. Learning: The paper highlights a distinction between reconstruction (perfectly capturing the training graph) and generalization (performing well on downstream tasks).

Key Results

  • Exact Factorization: Many popular datasets like Cora and Citeseer were reconstructed perfectly (zero error) with an embedding dimension of just 16. Even the complex BlogCatalog network only required a rank of 128 for exact recovery.
Comparison of True, LPCA, and TSVD reconstructions
  • Triangle Recovery: In experiments on "low-degree triangles" (the specific case where previous theory said embeddings would fail), LPCA matched the true triangle counts almost perfectly, while standard Truncated SVD (TSVD) failed significantly.
  • Superiority over SVD: Across all tests, the LPCA approach achieved much lower error than SVD at the same dimension, proving that the choice of loss function is critical for graph embeddings.
Performance comparison on the Wikipedia dataset

Limitations and Future Work

  • Downstream Performance: While the embeddings are perfect for reconstructing the graph, the authors note in their "Open Problems" that these specific exact embeddings don't necessarily perform better on tasks like node classification. They may be "overfitting" to the specific edges of the graph.
  • Optimization Speed: LPCA using L-BFGS is effective but can be slower than randomized SVD methods for extremely large graphs.
  • Theoretical Gap: There is still a gap between the $O(c)$ theoretical bound they proved and the much smaller dimensions (like rank 16) they observed empirically. Understanding why real networks are this compressible remains an open question.

Summary updated

BibTeX
@inproceedings{chanpuriya2020node,
  author = {Sudhanshu Chanpuriya and Cameron Musco and Konstantinos Sotiropoulos and Charalampos E. Tsourakakis},
  title = {{Node Embeddings and Exact Low-Rank Representations of Complex Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=7LWcCebR8Cs},
}
Figure