Equivariant Networks for Crystal Structures

Sékou-Oumar Kaba, Siamak Ravanbakhsh

TL;DR

Standard Graph Neural Networks (GNNs) treat crystalline materials like large molecules, ignoring their highly ordered, periodic lattice structures. This paper introduces Equivariant Crystal Networks (ECNs), a novel architecture that builds crystalline symmetries directly into the network layers via generalized message passing, leading to more expressive models and superior property predictions.

What Problem Does This Paper Address?

Deep learning has revolutionized molecular property prediction, but extending these successes to solid-state materials like crystals remains a challenge. Most state-of-the-art models map crystals to graphs and apply standard GNNs. However, this approach has two major flaws:

  1. Loss of Structural Information: GNNs are equivariant to arbitrary node permutations ($S_N$). This treats the crystal as an unordered cloud of atoms, completely ignoring the highly structured, periodic nature of the underlying Bravais lattice.
  2. Inability to Model Symmetry Breaking: Physical phenomena like magnetism or superconductivity arise from spontaneous symmetry breaking, where local properties vary across identical-looking unit cells. Because standard permutation-equivariant models map identical inputs to identical outputs, they cannot capture these crucial variations.

The authors tackle this by designing neural network layers that respect the actual space group symmetries of crystals while retaining the flexibility to model local variations.

Methods

The authors introduce Equivariant Crystal Networks (ECNs), which replace standard GNN layers with a framework tailored to crystal geometry.

1. Supercell Input Representation

Instead of modeling just a single unit cell, ECNs operate on a supercell (typically 8 times larger than the unit cell). To allow the network to distinguish between identical atoms in different cells (and thus capture symmetry breaking), each atom's feature vector includes a one-hot encoded identifier of its specific unit cell.

2. Periodic Graph Construction

Graphs are constructed using Voronoi tessellation combined with a cutoff based on atomic Cordero radii. To preserve translational invariance at the boundaries of the supercell, edges pointing outside are mapped back to their periodic representatives inside—analogous to circular padding in image processing.

Figure 1: Graphene crystal structure

3. Equivariant Message Passing via Orbit Finding

Instead of sharing the same neural network weights across all edges and nodes, ECNs use a group-theoretical orbit-finding algorithm. The network determines which nodes and edges are symmetrically equivalent under a product group $G_\Lambda \times S_C$ (where $G_\Lambda$ acts on the lattice and $S_C$ acts within the unit cells).

A distinct set of weights (or "color") is assigned to each unique orbit. This generalizes standard convolution to arbitrary crystal symmetries, allowing less restrictive parameter sharing and significantly higher expressivity than standard GNNs.

Datasets

The models were evaluated on two primary datasets:

  • The Materials Project: A massive standard database of over 120,000 materials. The authors performed a rigorous cleaning pipeline to remove redundant duplicate structures (a common source of training-test leakage), filtering for stable 3D materials with fewer than 50 atoms per unit cell.
  • Perov-5: A dataset where all materials share the exact same Perovskite crystal structure, making it an ideal testbed for evaluating how well a model leverages a fixed spatial symmetry.

Key Insights and Ideas

  • The Symmetry Tradeoff: Being equivariant to a smaller, more specific group (like a crystal space group) makes a model more expressive than being equivariant to a massive group (like the full permutation group $S_N$). It allows the network to learn more complex, position-dependent relationships.
  • Over-Symmetry vs. Exact Symmetry: The authors experimented with an exact minimal symmetry model ($P\bar{1}$-model) and a relaxed model that uses a larger overgroup ($S_\Lambda$-model). Surprisingly, the $S_\Lambda$-model often performed better. This suggests that in smaller data regimes, leaning on slightly more symmetry than physically required provides a beneficial regularization effect.

Key Results

Materials Project

When evaluated on the newly cleaned, leakage-free splits of the Materials Project, ECNs achieved competitive or superior performance compared to strong baselines like CGCNN and MEGNet across multiple targets, including formation energy ($E$), Fermi energy ($E_F$), and magnetic moment ($M$).

Perov-5 (The Big Win)

On the Perov-5 dataset, where the crystal structure is held constant, the ECN-$S_\Lambda$ model significantly outperformed the baselines:

Method Heat of Formation MAE
CGCNN $0.047 \pm 0.000$
MEGNet $0.059 \pm 0.006$
ECN-$S_\Lambda$ (Ours) $0.038 \pm 0.004$

This stark improvement demonstrates that when a model can specialize in a specific shared crystal structure, leveraging that exact symmetry yields massive generalization benefits.

Limitations and Future Work

  • Handling Diverse Space Groups: While ECNs excel when structures share symmetries, handling a dataset containing completely different space groups requires defaulting to a broader overgroup (like $S_\Lambda$), which sacrifices some of the theoretical expressivity gains.
  • Computational Efficiency: The orbit-finding process and the execution of separate message-passing functions for different orbits add computational overhead. Unlike standard grid convolutions, these operations cannot yet take advantage of highly optimized hardware acceleration kernels.

Summary updated

BibTeX
@inproceedings{kaba2022equivariant,
  author = {Sékou-Oumar Kaba and Siamak Ravanbakhsh},
  title = {{Equivariant Networks for Crystal Structures}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=MQwk-Onlv5},
}
Figure