PDDFormer: Pairwise Distance Distribution Graph Transformer for Crystal Material Property Prediction

Xiangxiang Shen, Zheng Wan, Lingfeng Wen, Licheng Sun, Jian Yang, Xuan Tang, Shing-Ho J. Lin, Xiao He, Mingsong Chen, Xian Wei

Introduction

The accurate prediction of crystal properties—such as hardness, conductivity, and stability—is fundamental to advancing materials science. However, the periodic nature of crystals presents unique challenges for machine learning representations. Specifically, models must overcome ambiguity, where a single crystal structure can be represented by infinitely many different unit cells, and discontinuity, where minor atomic vibrations cause disproportionate changes in traditional descriptors.

Illustration of (a) representation ambiguity with different unit cells for the same crystal and (b) discontinuity caused by slight atomic perturbations.

While Pairwise Distance Distribution (PDD) has been proposed to address these issues, it often lacks chemical specificity and is computationally demanding. PDDFormer addresses these gaps by integrating local graph structures with global periodic signatures.

Methodology

PDDFormer introduces a Transformer-based architecture that leverages two novel PDD variants:

  • Atom-Weighted PDD (WPDD): By weighting distance entries with atomic mass, the model distinguishes between structurally identical crystals made of different elements.
  • Unit-cell PDD (UPDD): This variant improves computational efficiency by focusing on local neighborhoods to reconstruct unit cells, avoiding the need for exhaustive global neighbor searches.

The core of the architecture is the PDD Message Passing Block. Unlike traditional methods that attempt to model every periodic image as an edge, PDDFormer treats the PDD matrix as a global "fingerprint." This periodic signature is integrated into the message-passing process via matrix multiplication, capturing the infinite nature of the crystal lattice efficiently without the "neighbor explosion" problem.

Results and Performance

The model was evaluated on two industry-standard benchmarks: the Materials Project (MP) for properties like formation energy and band gap, and JARVIS-DFT for high-fidelity calculations. PDDFormer achieved state-of-the-art (SOTA) results, notably improving formation energy prediction by 11.7% and bulk moduli prediction by 14.3% on the MP dataset.

Beyond accuracy, PDDFormer demonstrates superior efficiency. Compared to previous leading models like ComFormer, it is approximately 30% faster in training and 65% more memory-efficient, requiring only 6GB of GPU memory compared to 17GB. The use of Earth Mover’s Distance (EMD) further proves the mathematical continuity of the representation, ensuring that slight atomic vibrations result in only minor changes to the model's input.

Conclusion and Future Work

By combining local graph structures with global periodic signatures, PDDFormer provides a continuous and unambiguous representation for crystals. While future research will address absolute mathematical completeness and dimension alignment for varying unit cell sizes, PDDFormer currently sets a new standard for both accuracy and efficiency in material property prediction.

Summary updated

BibTeX
@inproceedings{shen2025pddformer,
  author = {Xiangxiang Shen and Zheng Wan and Lingfeng Wen and Licheng Sun and Jian Yang and Xuan Tang and Shing-Ho J. Lin and Xiao He and Mingsong Chen and Xian Wei},
  title = {{PDDFormer: Pairwise Distance Distribution Graph Transformer for Crystal Material Property Prediction}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/859},
}
Figure