The general theory of permutation equivarant neural networks and higher order graph variational encoders

Erik Henning Thiede, Truong-Son Hy, Risi KondorarXiv 2020

TL;DR

This paper introduces a general theory for permutation equivariant neural networks that goes beyond simple vector permutations to handle more complex actions, like permuting rows and columns of matrices simultaneously. This is crucial for tasks like graph learning and relation modeling. They demonstrate this by developing a second-order equivariant graph variational encoder, showing it improves performance on link prediction and molecular generation tasks.

What Problem Does This Paper Address?

Traditional neural networks often struggle with data where the order of elements doesn't inherently matter, such as sets or graphs. While "permutation equivariant" networks have been developed, they typically only consider permutations acting on individual elements of a vector. This is insufficient for scenarios where permutations affect multiple aspects of the data simultaneously, like permuting both the rows and columns of an adjacency matrix in a graph. This limitation hinders the ability of neural networks to effectively model complex relationships and structures in data like graphs and relational databases.

Methods

The authors generalize the concept of permutation equivariance to handle more complex actions of the symmetric group ($S_n$). They derive explicit formulas for "higher-order" permutation equivariant layers, which can act on matrices and tensors by permuting their elements in more intricate ways. This includes simultaneous row and column permutations for matrices, which is directly applicable to graph adjacency matrices. They leverage Fourier space representations and group representation theory to provide a general framework for these equivariant layers. As a specific application, they propose a second-order equivariant graph variational encoder (VAE) and demonstrate its effectiveness. A key theoretical insight is that the latent distribution in such equivariant generative models must be "exchangeable," a concept from probability theory.

Datasets

The paper evaluates its proposed methods on the following datasets:

  • Cora and Citeseer: Citation network datasets used for link prediction tasks.
  • ZINC: A dataset of molecular graphs used for molecular generation tasks.

Key Insights and Ideas

  • Beyond Simple Permutations: The core insight is that real-world data often requires handling permutations that act on multiple dimensions of data simultaneously (e.g., rows and columns of a matrix), not just individual vector elements.
  • Higher-Order Equivariance is Key for Graphs: Graph structures, where edges represent relationships between pairs of nodes, naturally require second-order permutation equivariance. This allows the network to understand relationships beyond simple node identity.
  • Exchangeability in Latent Spaces: For equivariant generative models, the latent space distribution must be "exchangeable" (invariant to permutation of its elements), not necessarily independent and identically distributed (IID). This connects to Bayesian non-parametric models.
  • Fourier Space as a Unifying Tool: Using Fourier space representations, inspired by group representation theory, provides a powerful and general way to characterize and construct equivariant layers.

Key Results

  • Improved Link Prediction: The proposed second-order equivariant graph variational encoder (2nd-order VGAE) achieved state-of-the-art or competitive results on the Cora and Citeseer datasets for link prediction, outperforming the original VGAE and other baseline methods. For instance, on Cora, their method achieved an AUC of 96.1% and AP of 96.4%.
  • Enhanced Molecular Generation: The 2nd-order VGAE also showed promising results in molecular generation on the ZINC dataset, achieving higher reconstruction accuracy (98.4%) compared to other methods, even without relying on extensive domain-specific chemical rules.
  • General Framework: The paper provides a theoretical framework for constructing higher-order permutation equivariant layers, which can be applied to various data structures beyond simple vectors.

Limitations and Future Work

  • Computational Complexity: While the Fourier space approach provides a general framework, fast Fourier transforms for symmetric groups can still be computationally intensive, especially for large $n$. The paper notes that detailing these fast transforms is beyond its scope.
  • Compositional Networks: The paper introduces the concept of compositional networks where neurons are only equivariant to permutations of a subset of objects. It suggests that future work could explore how to combine these local equivariances into a global one, especially for complex hierarchical structures.
  • Exchangeable Distributions: The authors highlight the importance of exchangeable distributions for latent spaces in generative models and suggest that exploring more complex exchangeable distributions could lead to further improvements.
  • Higher-Order Relations: The paper hints at the potential for learning even higher-order relations (e.g., quadruples of atoms forming a "peptide group" in chemistry) by extending the theory to 4th-order or higher equivariant models.

Summary updated

BibTeX
@misc{thiede2020general,
  author = {Erik Henning Thiede and Truong-Son Hy and Risi Kondor},
  title = {{The general theory of permutation equivarant neural networks and higher order graph variational encoders}},
  year = {2020},
  eprint = {2004.03990},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.03990},
}
Figure