Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Laplacian Canonization: A Minimalist Approach to Sign and Basis Invariant Spectral Embedding

About

Spectral embedding is a powerful graph embedding technique that has received a lot of attention recently due to its effectiveness on Graph Transformers. However, from a theoretical perspective, the universal expressive power of spectral embedding comes at the price of losing two important invariance properties of graphs, sign and basis invariance, which also limits its effectiveness on graph data. To remedy this issue, many previous methods developed costly approaches to learn new invariants and suffer from high computation complexity. In this work, we explore a minimal approach that resolves the ambiguity issues by directly finding canonical directions for the eigenvectors, named Laplacian Canonization (LC). As a pure pre-processing method, LC is light-weighted and can be applied to any existing GNNs. We provide a thorough investigation, from theory to algorithm, on this approach, and discover an efficient algorithm named Maximal Axis Projection (MAP) that works for both sign and basis invariance and successfully canonizes more than 90% of all eigenvectors. Experiments on real-world benchmark datasets like ZINC, MOLTOX21, and MOLPCBA show that MAP consistently outperforms existing methods while bringing minimal computation overhead. Code is available at https://github.com/PKU-ML/LaplacianCanonization.

Jiangyan Ma, Yifei Wang, Yisen Wang• 2023

Related benchmarks

TaskDatasetResultRank
Graph RegressionZINC (test)
MAE0.101
218
Molecular property predictionMolHIV
ROC-AUC72.21
39
Graph-level predictionogbg-molpcba (test)
AP28.1
35
Molecular property predictionMOLTOX21
ROC-AUC0.777
33
Graph ClassificationEXP (test)--
33
Graph ExpressivityBREC
Basic Expressivity Score60
26
Graph ClassificationTox21 MoleculeNet (random train val test)
ROC-AUC0.784
18
Molecular property predictionZINC-12K
MAE0.104
8
Molecular property predictionOGB MOLPCBA
AP27.4
7
Molecular property predictionOGB MOLBBBP
ROC-AUC0.7029
4
Showing 10 of 12 rows

Other info

Code

Follow for update