Classic Graph Structural Features Outperform Factorization-Based Graph Embedding Methods on Community Labeling

Andrew Stolman, Caleb Levy, C. Seshadhri, Aneesh Sharma
1/20/2022
cs.SIcs.AIcs.DS

Official code: astolman/snlpy (1 star, Python, GPL-3.0, last commit 2021-04-30).

Abstract

Graph representation learning (also called graph embeddings) is a popular technique for incorporating network structure into machine learning models. Unsupervised graph embedding methods aim to capture graph structure by learning a low-dimensional vector representation (the embedding) for each node.

Show full abstract

Despite the widespread use of these embeddings for a variety of downstream transductive machine learning tasks, there is little principled analysis of the effectiveness of this approach for common tasks. In this work, we provide an empirical and theoretical analysis for the performance of a class of embeddings on the common task of pairwise community labeling. This is a binary variant of the classic community detection problem, which seeks to build a classifier to determine whether a pair of vertices participate in a community. In line with our goal of foundational understanding, we focus on a popular class of unsupervised embedding techniques that learn low rank factorizations of a vertex proximity matrix (this class includes methods like GraRep, DeepWalk, node2vec, NetMF). We perform detailed empirical analysis for community labeling over a variety of real and synthetic graphs with ground truth. In all cases we studied, the models trained from embedding features perform poorly on community labeling. In constrast, a simple logistic model with classic graph structural features handily outperforms the embedding models. For a more principled understanding, we provide a theoretical analysis for the (in)effectiveness of these embeddings in capturing the community structure. We formally prove that popular low-dimensional factorization methods either cannot produce community structure, or can only produce ``unstable" communities. These communities are inherently unstable under small perturbations.

View on arXivView PDF

Code Implementations(1)

astolman/snlpyOfficial100%
GPL-3.0

sparse network learning for python

11PythonFeb 14, 20215 years agoGPL-3.0

Similar Papers

Cite this paper

@article{stolman2022classic,
  title  = {Classic Graph Structural Features Outperform Factorization-Based Graph Embedding Methods on Community Labeling},
  author = {Andrew Stolman and Caleb Levy and C. Seshadhri and Aneesh Sharma},
  year   = {2022},
  eprint = {2201.08481},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.08481}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.08481.svg)](https://codeofpaper.com/paper/2201.08481)

Discussion