Implicit SVD for Graph Representation Learning

Sami Abu-El-Haija, Hesham Mostafa, Marcel Nassar, Valentino Crespi, Greg Ver Steeg, Aram Galstyan

Graph Representation Learning (GRL) has experienced a massive surge in performance, largely driven by deep Graph Neural Networks (GNNs). However, this progress comes at a steep computational price: training these models requires expensive hardware and many epochs of gradient descent.

In the paper "Implicit SVD for Graph Representation Learning," the authors propose a novel method to sidestep this "backprop tax." By revisiting Singular Value Decomposition (SVD) and applying it to symbolically defined matrices, they achieve state-of-the-art results with training times that are orders of magnitude faster than traditional deep learning approaches.

The Challenge: Memory Bottlenecks in SVD

Standard GRL methods, such as node2vec or Graph Convolutional Networks (GCNs), rely on non-convex optimization via backpropagation. This process is inherently slow and requires extensive hyperparameter tuning.

SVD presents an attractive alternative because it offers a closed-form, globally unique solution to convex problems. However, for a graph with $n$ nodes, the "design matrix" $M$ required for SVD is often $n \times n$ and dense. For a graph with just 100,000 nodes, $M$ would contain 10 billion entries—far exceeding the memory capacity of standard GPUs or workstations. Previous attempts to use SVD on graphs either relied on simplified, sparse matrices (which lose critical information) or used entry-wise sampling (which introduces noise).

Methodology: Implicit SVD and Symbolic Matrices

The core innovation of this work is a symbolic matrix representation framework. Instead of calculating and storing a massive matrix $M$ entry-by-entry, the authors represent it as a Directed Acyclic Graph (DAG) of operations, such as addition, matrix multiplication, and transposition.

Symbolic Matrix Representation: A complex matrix $M$ defined via code (left) is represented as a DAG (center/right) of operations, avoiding full materialization.

Matrix-Free Decomposition

To decompose these symbolic matrices, the framework utilizes randomized SVD algorithms. Crucially, these algorithms do not need to "see" the entire matrix; they only require the ability to compute matrix-vector products ($Mv$ and $M^T v$). By traversing the symbolic DAG downwards, the framework computes these products efficiently without ever materializing the full dense matrix $M$ in memory.

Linearization and the "Split-ReLU"

The authors demonstrate that state-of-the-art models can be effectively linearized:

  • DeepWalk/node2vec: Approximated by decomposing a matrix representing expected random walk transitions.
  • GCNs: Viewed as a linear system mapping graph features to labels.

To bridge the gap back to deep, non-linear models, they introduce a novel Split-ReLU layer. This layer is architected to behave linearly at initialization. This allows the SVD solution to serve as the starting weights—providing a highly optimized "warm start." The model can then be fine-tuned using standard cross-entropy loss, allowing the Split-ReLU to become non-linear and more expressive over just a few epochs.

Key Results

The authors evaluated their approach across a wide range of benchmarks, including Link Prediction (PPI, Facebook, AstroPh, HepTh), Node Classification (Cora, Citeseer, Pubmed), and large-scale Open Graph Benchmark (OGB) datasets.

The results highlight a dramatic shift in the speed-accuracy tradeoff:

  • Unprecedented Speed: On the Cora dataset, the implicit SVD model trains in just 0.1 seconds. In contrast, a standard GCN takes 4 seconds, and a GAT takes a full minute—representing a 40x to 600x speedup.
  • Competitive Accuracy: On the large ogbn-arxiv dataset (169k nodes), the model achieved 74.14% accuracy, competing closely with heavy-duty GNNs like GCNII (72.74%) while training in a fraction of the time.
  • Link Prediction: On the Facebook dataset, the model achieved a 99.3 AUC in merely 2 seconds.
Node Classification Performance: The iSVD models achieve competitive accuracy on citation graphs while reducing training time to fractions of a second.

Conclusion and Limitations

By computing the SVD of implicitly defined matrices, this framework makes Graph Representation Learning significantly more tractable for researchers with modest hardware. Using SVD as a sophisticated initialization—starting a deep model at the global optimum of its linear approximation—proves far more effective than random initialization.

While powerful, the framework does have constraints. The symbolic DAG must represent a linear transformation of the input matrices and cannot handle arbitrary element-wise non-linearities during the SVD phase. Furthermore, while the design matrix can be massive, the initial leaf matrices (like the adjacency matrix) must still fit within machine memory. Future work may extend this symbolic framework to other machine learning domains where large, dense matrices currently act as computational bottlenecks.

Summary updated

BibTeX
@inproceedings{abuelhaija2021implicit,
  author = {Sami Abu-El-Haija and Hesham Mostafa and Marcel Nassar and Valentino Crespi and Greg Ver Steeg and Aram Galstyan},
  title = {{Implicit SVD for Graph Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=9Jsop0faZtU},
}
Figure