Cayley Graph Propagation

Jj Wilson, Maya Bechler-Speicher, Petar Veličković

TL;DR

Cayley Graph Propagation (CGP) addresses the notorious "over-squashing" problem in Graph Neural Networks by routing information through a complete, mathematically optimized expander graph. Unlike prior work that truncated these computational templates and inadvertently destroyed their expansion properties, CGP preserves the full graph structure by introducing sparse virtual nodes. This approach achieves state-of-the-art performance on long-range tasks while bypassing the heavy preprocessing costs of traditional graph rewiring.

What Problem Does This Paper Address?

Message Passing Neural Networks (MPNNs) are the workhorses of graph machine learning, but they suffer from a fundamental structural flaw: over-squashing. When a task requires information to travel between distant nodes, an MPNN must pass messages over multiple layers. As the number of layers increases, the receptive field grows exponentially, forcing a massive amount of information to be squeezed into fixed-size node vectors. This bottleneck severely hinders a GNN's ability to model long-range dependencies.

To alleviate this, researchers often "rewire" the input graph to improve information flow. A recent promising approach, Expander Graph Propagation (EGP), introduced the use of Cayley graphs—highly connected yet sparse algebraic structures—as auxiliary computational templates. However, EGP truncated these Cayley graphs to match the exact size of the input graph. This paper demonstrates that truncation severely damages the graph's expansion properties, reintroducing the very bottlenecks it was meant to destroy.

Methods

The authors introduce Cayley Graph Propagation (CGP), which abandons truncation in favor of using the complete Cayley graph structure derived from the special linear group $SL(2, \mathbb{Z}_n)$.

To align an input graph $G$ with a larger, complete Cayley graph, CGP pads the input graph with virtual nodes.

  1. Node Extension: The model identifies the smallest Cayley graph that is at least as large as the input graph. The extra nodes are treated as virtual nodes and initialized (typically with zeros).
  2. Adjacency Extension: The original input graph's adjacency matrix is extended by adding self-edges to these virtual nodes, keeping them isolated during input-graph propagation.
  3. Alternating Propagation: CGP alternates its layers: odd layers perform standard message passing over the extended input graph to preserve local topology, while even layers propagate information over the complete Cayley graph to facilitate bottleneck-free global communication.
Figure 1: Both Cayley graphs represent SL(2, Z3) with |V | = 24 nodes using the same construction. Left: A truncated Cayley graph (spectral gap: 0.0751, diameter: 10) aligned to a given input graph. Right: The complete Cayley graph (spectral gap: 1.2679, diameter: 4) structure indicating the additional virtual nodes (in green).

Datasets

The authors evaluated CGP across several standard benchmarks known to require long-range interactions:

  • Open Graph Benchmark (OGB): OGBG-MOLHIV (molecular property prediction) and OGBG-PPA (protein-protein association networks).
  • TUDataset: REDDIT-BINARY, IMDB-BINARY, MUTAG, ENZYMES, PROTEINS, and COLLAB.
  • Long Range Graph Benchmark (LRGB): PEPTIDES-FUNC and PEPTIDES-STRUCT.

Key Insights and Ideas

  • The Perils of Truncation: The core "aha moment" of the paper is quantifying how detrimental truncation is. As shown in the paper's analysis, cutting down a Cayley graph causes a catastrophic drop in the Cheeger constant (a measure of bottleneck-ness) and a spike in graph diameter.
Figure 2: Illustrates the correlation between the Cheeger constant (left) and diameter (right) between extracting a truncated Cayley graphs from SL(2, Zn). The properties exhibit the most derisible property at each given complete Cayley graph interval (as denoted by the dotted red line) for the groups of Zn. The trend shows a detrimental drop in the derisible property occurring once the truncated Cayley graph aligns with the next complete Cayley graph structure.
  • Virtual Nodes as Sparse Bridges: Instead of acting as a centralized bottleneck (like standard master-node approaches), the virtual nodes in CGP inherit the 4-regular sparsity of the Cayley graph. They act as distributed "bridges" that connect distant communities without blowing up computational complexity.
  • Regular Graph Robustness: Because Cayley graphs are regular graphs (every node has the same degree), they exhibit a natural resistance to overfitting the graph structure when the underlying task depends purely on node features.

Key Results

  • Performance Gains: CGP consistently outperformed the truncated EGP baseline. For instance, using a GIN backbone on OGBG-MOLHIV, CGP achieved a Test ROC-AUC of 0.7899 compared to EGP's 0.7537.
  • State-of-the-Art Comparison: CGP matched or exceeded the performance of computationally expensive, state-of-the-art preprocessing rewiring methods (like SDRF, FoSR, and DIGL) across the TUDataset and LRGB benchmarks.
  • Scalability and Efficiency: Unlike traditional rewiring methods that require complex surgical analysis of the input graph, CGP's complete Cayley graphs are precomputed. Its preprocessing runtime is orders of magnitude lower than methods like SDRF, making it highly practical for large-scale graphs.

Limitations and Future Work

While CGP shows significant improvements, the authors note a few limitations:

  • Node-to-Edge Ratio: Performance can degrade on datasets where graphs have a very high node-to-edge ratio.
  • Inductive Bias Alignment: The structural edges of the Cayley graph are purely mathematical and do not inherently reflect the domain-specific features of the input task.

Future work includes dynamically aligning Cayley graph edges to better retain task-specific inductive biases and extending the framework to temporal graph rewiring.

Summary updated

BibTeX
@inproceedings{wilson2024cayley,
  author = {JJ Wilson and Maya Bechler-Speicher and Petar Veličković},
  title = {{Cayley Graph Propagation}},
  booktitle = {LoG},
  year = {2024},
  url = {https://openreview.net/forum?id=VaTfEDs6lE},
}
Figure