Accelerating Material Property Prediction using Generically Complete Isometry Invariants

Jonathan Balasingham, Viktor Zamaraev, Vitaliy KurlinarXiv 2024 · DOI

Abstract

Periodic material or crystal property prediction using machine learning has grown popular in recent years as it provides a computationally efficient replacement for classical simulation methods. A crucial first step for any of these algorithms is the representation used for a periodic crystal. While similar objects like molecules and proteins have a finite number of atoms and their representation can be built based upon a finite point cloud interpretation, periodic crystals are unbounded in size, making their representation more challenging. In the present work, we adapt the Pointwise Distance Distribution (PDD), a continuous and generically complete isometry invariant for periodic point sets, as a representation for our learning algorithm. The PDD distinguished all (more than 660 thousand) periodic crystals in the Cambridge Structural Database as purely periodic sets of points without atomic types. We develop a transformer model with a modified self-attention mechanism that combines PDD with compositional information via a spatial encoding method. This model is tested on the crystals of the Materials Project and Jarvis-DFT databases and shown to produce accuracy on par with state-of-the-art methods while being several times faster in both training and prediction time.

Introduction

Predicting the physical properties of crystals—such as formation energy, band gap, or bulk modulus—is fundamental to materials science. Traditionally, these properties are calculated using "ab initio" simulations like Density Functional Theory (DFT). While accurate, DFT is computationally expensive and slow, limiting the pace of material discovery.

Machine learning (ML) offers a promising alternative, but representing periodic crystals poses unique challenges. Unlike finite molecules, crystals are infinite lattices. A valid representation must be invariant to rotation and translation, independent of the choice of unit cell, and "complete" enough to distinguish between different structures. Many existing descriptors fail to meet these criteria simultaneously, often struggling with "homometric" structures that share similar distance sets but differ in properties.

Methodology: The Periodic Set Transformer

The researchers introduced the Periodic Set Transformer (PST) to address these challenges. The model relies on two primary innovations: the Pointwise Distance Distribution (PDD) and a weighted self-attention mechanism.

Pointwise Distance Distribution (PDD)

The PDD serves as a geometric fingerprint for the crystal. It is a matrix where each row describes an atom's neighborhood by listing distances to its $k$-nearest neighbors. A key feature of the PDD is its ability to collapse identical atomic environments into a single row with an associated "weight" representing its frequency. This makes the PDD invariant to rotation and translation, independent of the unit cell choice, and generically complete.

Classification of geometric descriptors, highlighting PDD as a continuous and generically complete invariant.

Weighted Self-Attention and Encoding

Standard Transformer models treat all input tokens equally. However, because the PDD uses weighted rows to represent multiple identical atoms, the PST employs a modified self-attention and pooling mechanism that incorporates these weights. This allows the model to process a "compressed" version of the crystal, significantly reducing computational overhead. Chemical information is integrated by combining structural PDD data with "mat2vec" atomic embeddings using a spatial encoding method.

Evaluation and Results

The PST was evaluated on industry-standard benchmarks, including the Materials Project (via Matbench) and the Jarvis-DFT database.

Accuracy and Efficiency

On the Matbench leaderboard, the PST achieved accuracy on par with state-of-the-art models like coGN and CrabNet. It proved particularly effective on smaller datasets where structural invariants provide a strong inductive bias.

The most significant advantage of the PST is its speed. By avoiding the "graph explosion" common in Graph Neural Networks (GNNs) that use line graphs to capture angles, the PST achieves massive speedups. On the Jarvis-DFT dataset, the PST was 6 to 12 times faster to train than Matformer. Prediction speeds were even more impressive, with the PST being roughly 80 to 90 times faster than Matformer for bulk properties.

Comparison of training and prediction times between PST and coGN across various properties.

Conclusion

The Periodic Set Transformer demonstrates that a mathematically rigorous, distance-based distribution can match the accuracy of complex graph-based models while offering orders-of-magnitude improvements in speed. While current iterations do not explicitly encode bond angles, the PDD's generic completeness ensures that structural information is captured effectively. Future work may involve pre-training on massive unlabeled datasets to develop a foundation model for crystallography, further accelerating the discovery of novel materials.

Summary updated

BibTeX
@misc{balasingham2024accelerating,
  author = {Jonathan Balasingham and Viktor Zamaraev and Vitaliy Kurlin},
  title = {{Accelerating Material Property Prediction using Generically Complete Isometry Invariants}},
  year = {2024},
  eprint = {2401.15089},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2401.15089},
}
Figure