Paper commentary
A Comprehensive Survey of Graph Embedding: Problems, Techniques and Applications
Survey organizes graph embedding methods by problem setting and by technique
- Problem Most graph analytics methods carry high computation and space costs. Graph embedding maps a graph into a low-dimensional space, but its input and output vary by scenario, so existing reviews miss key differences.
- Method The authors split each graph embedding problem into an input setting and an output target, then review each technique by the challenges it addresses. They also add a second taxonomy that records the insight behind each technique.
- Results The survey proposes two taxonomies, one by problem setting and one by technique. The commentary reports no new experiments.
Why graph analytics needs a cheaper route
Graph analytics pays off in tasks such as node classification, node clustering and link prediction. Most graph analytics methods, though, carry high computation and space costs. Faster graph processing frameworks and leaner graph storage have been the usual response. Graph embedding takes another route by mapping the graph into a low-dimensional space while keeping its information.
Once each part of the graph is a vector, downstream algorithms can run on it cheaply.
The difficulty is that graphs differ, so the input to an embedding method changes with the scenario. Social, citation, user-interest and knowledge graphs each carry different information. The target changes too: a single node, an edge, a substructure or a whole graph may each need one vector.
Two taxonomies: problem setting and technique
The survey's central move is to read each method through the challenges its problem setting creates. A setting has two parts, the embedding input and the embedding output. The input falls into four categories: homogeneous graph, heterogeneous graph, graph with auxiliary information, and graph constructed from non-relational data. The output falls into four as well: node, edge, hybrid and whole-graph embedding.
The categories matter because each input carries different information that the embedding has to preserve. A good node embedding keeps neighbouring nodes similar, whereas a good whole-graph embedding keeps graph-level similarity. The output is task driven, so the granularity is set by the application rather than by the data.
The authors add this setting view because earlier surveys usually offer only one taxonomy. One of them, [11], covers twelve representative algorithms, while [13] focuses on knowledge graph embedding alone. The second taxonomy records the insight behind each technique, which earlier surveys did not analyse.
Matrix factorization of the proximity matrix
Given a node proximity matrix W, the goal is to minimize the loss from approximating W with a product of a node embedding and a context embedding. Written out, the objective is \(\min \|W-YY_c^{T}\|\), where Y is the |V| by d node embedding. Y_c is the embedding of the context nodes, with the same shape as Y.
One popular solution applies SVD to W and keeps only the largest d singular values and their vectors. This gives an optimal rank-d approximation of W, and the embedding scales each singular vector by the square root of its singular value. Whether the asymmetric property is kept decides whether a node's vector is Y_i alone or the concatenation of Y_i and Y^c_i.
This family suits graphs built from non-relational data, the typical Laplacian eigenmap setting, and also some homogeneous graphs. Other solutions include regularized Gaussian matrix factorization and low-rank matrix factorization.
Random walks feeding SkipGram
DeepWalk's key idea is to treat random walks over the graph as sentences, so that a language model learns node neighbourhoods. The insight is that second-order proximity is preserved by maximizing the probability of a node's neighbourhood given its embedding. Each walk moves from a node to a neighbour chosen uniformly, until a maximum length is reached.
Each walk then plays the role of a sentence, and each node the role of a word.
SkipGram's objective sums over the context window around each node. Its softmax gives \(P(v_{i+j}\mid y_i)=\dfrac{\exp(y_{i+j}^{T}y_i)}{\sum_{k=1}^{|V|}\exp(y_k^{T}y_i)}\). The denominator sums over every node, which makes the full softmax expensive.
Hierarchical softmax places the nodes at the leaves of a binary tree, so only the root-to-leaf path is evaluated. This reduces the time complexity of SkipGram from O(|V|^2) to O(|V|log(|V|)). Negative sampling instead separates a neighbour from noise nodes with logistic regression, at cost O(K|V|), where K is the number of negative nodes.
Both methods approximate the same normalizing sum, so each trades exactness for speed.
Most later studies keep DeepWalk's idea and change either the walk sampling or the proximity being preserved. node2vec and metapath2vec are examples, and metapath2vec uses meta-path based walks for heterogeneous graphs. LSTM and GRU handle sequences, embedding a node sequence as one vector, as in cQA sentences and information cascades.
Where each technique runs into trouble
Matrix factorization learns from global pairwise similarities, so it can beat random-walk methods on some tasks. But building the proximity matrix or its eigendecomposition takes time and space, which makes it hard to scale to large graphs.
Deep learning with random walks sees only a node's neighbours within one path, so the global structure is overlooked. Choosing a good sampling strategy is also hard, because sampling and embedding aren't optimized together.
Edge reconstruction methods are more efficient than the two families above, because they train on observed edges. But they see only directly observed local information, so the embedding lacks awareness of the global graph structure.
Graph kernels are efficient because they only count the desired substructures, but they carry two limits. Substructures aren't independent, since a graphlet of size k+1 can grow from one of size k, and dimensionality grows exponentially with substructure size.
Generative models are interpretable and can merge information from several sources, but the distribution assumption is hard to justify. They also need a large amount of training data to fit a proper model.
Building a graph from feature vectors
Here the input is a feature matrix X, where each row is one training instance. A similarity matrix S is computed from pairs of rows, and S then has to become a graph. Using S directly as the adjacency matrix is the simplest choice, but it relies on Euclidean distance and ignores neighbours. On a curved manifold, the distance along the manifold can be much larger than the Euclidean one, so this choice can mislead.
Isomap instead builds a KNN graph and takes shortest-path distances in it as geodesic distances. Building that KNN graph costs O(|V|^2), which is why the anchor graph was introduced. An anchor graph uses cluster centres as virtual anchors and costs O(|V|) in time and space.
Other graphs come from co-occurrence, such as pixel graphs in images, where pixels are nodes and spatial relations are edges. A signed graph gives positive edges to same-class pairs and negative edges to different-class pairs. The core challenge is to build a graph that encodes pairwise relations, and then to preserve its proximity in the embedding.
What the embeddings are used for
Link prediction is a main use, since embedding vectors preserve several orders of proximity and can reveal missing links. Most such work is on homogeneous graphs, while ProxEmbed predicts missing semantic links in a heterogeneous social graph.
Whole-graph embedding supports graph classification, such as classifying chemical compounds, organic molecules or protein structures. Node embedding supports visualization, where nodes are placed as 2D vectors and coloured by category.
Embeddings also serve social network alignment, where two accounts in different networks are matched. Image work embeds graphs built from images for classification, clustering and segmentation.
Limits and open directions
Most existing work embeds static graphs, and dynamic graph embedding is overlooked. Dynamic methods have to be scalable and ideally incremental, so that changes are handled efficiently.
Edge reconstruction methods use single edges, so global paths, trees and subgraph patterns are missed. Some knowledge graph work explores paths, but most of it uses deep models that are inefficient. SPE augments paths with subgraphs in heterogeneous graphs, and this beat plain paths on semantic search.
Deep models designed for grids struggle on graphs, because graphs have no grid structure. The authors suggest borrowing computational paradigms from large-scale graph processing.
The comparisons here rest on prior work the survey reviews, and the text reports no new experiments.
Paper info
- Authors
- Hongyun Cai, Vincent W. Zheng, Kevin Chen-Chuan Chang
- Venue
- arXiv · Preprint
- First published
- 2017-9-22
- Added
- 2026-11-12
- Updated
- 2018-2-2
- Version
- v3
- arXiv
- 1709.07604
- Category
- cs.AI
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Hongyun Cai, Vincent W. Zheng, Kevin Chen-Chuan Chang (2017). A Comprehensive Survey of Graph Embedding: Problems, Techniques and Applications. arXiv:1709.07604v3. https://arxiv.org/abs/1709.07604v3
BibTeX
@misc{cai2017comprehensive,
title = {{A Comprehensive Survey of Graph Embedding: Problems, Techniques and Applications}},
author = {Hongyun Cai and Vincent W. Zheng and Kevin Chen-Chuan Chang},
year = {2017},
eprint = {1709.07604},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1709.07604v3}
}