Density of States Prediction of Crystalline Materials via Prompt-guided Multi-Modal Transformer

Namkyeong Lee, Heewoong Noh, Sungwon Kim, Dongmin Hyun, Gyoung S. Na, Chanyoung Park

Introduction

The Density of States (DOS) is a fundamental spectral property in materials science, describing the number of states electrons or phonons can occupy at specific energy levels. Unlike single-valued properties such as band gap or formation energy, DOS is a continuous curve that provides comprehensive insights into a material's electrical and thermal behavior.

Density of States (DOS) as a spectral property of crystalline materials like SbPO4, alongside single-valued properties.

Traditional methods for calculating DOS, such as Density Functional Theory (DFT), are computationally expensive and slow. While machine learning models offer a faster alternative, they often struggle to distinguish between allotropes—materials with the same atomic composition but different structural arrangements (e.g., graphite vs. diamond). This paper introduces DOSTransformer, a multi-modal architecture designed to overcome these limitations by treating energy levels and crystal structures as distinct, interacting modalities.

Methods: The DOSTransformer Architecture

DOSTransformer reformulates DOS prediction as a multi-modal learning problem. The core innovation lies in how the model relates atomic structures to energy levels.

Multi-Modal Transformer and Cross-Attention

Instead of predicting the entire DOS curve as a single sequence, the model uses Cross-Attention to relate atom embeddings (derived from a Graph Neural Network) to specific energy level embeddings. This allows the model to learn how different atoms contribute to the density of states at specific energies, effectively "querying" the material structure for its response at a given energy point.

Prompt-Guided Learning

To address the challenge of structural isomers, the authors utilize learnable prompts representing the seven primary crystal systems (e.g., Cubic, Hexagonal, Monoclinic). These prompts guide the model to capture structure-specific interactions, allowing for better differentiation between materials with identical atoms but different symmetries.

Dual Self-Attention

The model employs two parallel self-attention branches: a Global Self-Attention branch for information shared across all materials and a System Self-Attention branch focused on features specific to the crystal structure.

The DOSTransformer architecture integrates energy and atom embeddings through cross-attention and dual self-attention layers, guided by crystal system prompts.

Key Results and Insights

The model was evaluated on major benchmarks, including a Phonon DOS dataset and a large Electron DOS dataset from the Materials Project (38,889 materials).

  • State-of-the-Art Accuracy: On Electron DOS, DOSTransformer achieved a Mean Squared Error (MSE) of 0.221, significantly outperforming baselines like E3NN (0.291).
  • Out-of-Distribution (OOD) Performance: In tests involving entirely new crystal systems not seen during training, the model maintained a high $R^2$ (0.552), demonstrating superior generalization compared to models lacking energy-aware attention.
  • Physical Validity: A critical finding was that DOSTransformer's predicted curves are more physically accurate. When used to derive other properties like Bulk Modulus or Band Gap, the results were more consistent with ground truth than those from competing models, even when numerical MSE was similar.

Conclusion

By treating energy as a modality and utilizing prompt-guided learning, DOSTransformer achieves superior accuracy and physical validity in predicting the Density of States. This approach not only speeds up material characterization but also provides a robust framework for handling the structural complexity of crystalline materials. Future work will focus on improving predictions for transition metals and exploring unsupervised structural prompts.

Summary updated

BibTeX
@inproceedings{lee2023density,
  author = {Namkyeong Lee and Heewoong Noh and Sungwon Kim and Dongmin Hyun and Gyoung S. Na and Chanyoung Park},
  title = {{Density of States Prediction of Crystalline Materials via Prompt-guided Multi-Modal Transformer}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=2lWh1G1W1I},
}
Figure