Sparse representation for machine learning the properties of defects in 2D materials

Nikita Kazeev, Abdalaziz Rashid Al-Maeeni, Ignat Romanov, Maxim Faleev, Ruslan Lukin, Alexander Tormasov, A. H. Castro Neto, Kostya S. Novoselov, Pengru Huang, Andrey E UstyuzhaninOpenReview 2023

Abstract

Two-dimensional materials offer a promising platform for the next generation of (opto-) electronic devices and other high technology applications. One of the most exciting characteristics of 2D crystals is the ability to tune their properties via controllable introduction of defects. However, the search space for such structures is enormous, and ab-initio computations prohibitively expensive. We propose a machine learning approach for rapid estimation of the properties of 2D material given the lattice structure and defect configuration. The method suggests a way to represent configuration of 2D materials with defects that allows a neural network to train quickly and accurately. We compare our methodology with the state-of-the-art approaches and demonstrate at least 3.7 times energy prediction error drop. Also, our approach is an order of magnitude more resource-efficient than its contenders both for the training and inference part.

Introduction

Defect engineering—the intentional introduction of vacancies or impurities—is a critical technique for tuning the electronic and optical properties of two-dimensional (2D) materials such as graphene and molybdenum disulfide ($MoS_2$). Despite its potential, predicting the behavior of these defects presents a significant computational challenge. Traditional ab-initio methods, specifically Density Functional Theory (DFT), provide high accuracy but are computationally intensive, limiting their utility for large-scale screening of the vast defect configuration space.

While Graph Neural Networks (GNNs) have been proposed as a faster alternative, they often struggle with the "needle in a haystack" problem. In a typical simulation cell, the majority of atoms remain in a pristine state. Standard GNNs allocate significant computational resources to these identical atoms, making it difficult for the model to capture the subtle, long-range quantum interactions between distant defects.

Methodology: Sparse Representation and Physics-Informed Features

To overcome these limitations, we introduce a Sparse Representation approach. Rather than modeling the entire crystal lattice, the system is represented as a graph where nodes correspond exclusively to defect sites (e.g., vacancies or substitutions). This drastically reduces the graph size and focuses the model's attention on the physically relevant regions.

To maintain structural context, several physics-informed features are integrated into the model:

  1. Pristine State Encoding: Each node captures the difference between the original atom in the pristine lattice and the current defect state.
  2. Electronic Orbital Shells (EOS): Defect introduction creates oscillatory ripples in the electron wave function. We assign an "EOS index" to atoms based on these shells to capture the non-monotonic nature of quantum interactions.
  3. Z-axis Awareness: Recognizing the unique geometry of 2D materials, the model explicitly includes the difference in $z$-coordinates as an edge feature, accounting for the "up" and "down" orientation often ignored in rotationally invariant 3D models.
Illustration of Electronic Orbital Shells (EOS) and defect interactions in 2D materials.

The architecture is implemented using a modified version of MEGNet, optimized for these sparse graphs.

Datasets and Experimental Setup

The model was evaluated using the 2D Material Defect (2DMD) database, comprising nearly 15,000 DFT-calculated structures. The dataset includes materials such as $MoS_2$, $WSe_2$, h-BN, $GaSe$, $InSe$, and black phosphorous (BP), covering various defect types and concentrations.

Results and Discussion

The sparse representation model demonstrates significant improvements in both accuracy and efficiency:

  • Predictive Accuracy: The model achieved a 3.7x reduction in Mean Absolute Error (MAE) for energy predictions compared to state-of-the-art baselines like SchNet and GemNet.
  • Capturing Quantum Oscillations: A key success was the model's ability to reconstruct the non-monotonic energy curves resulting from defect interactions. While baseline models often predicted a linear decay with distance, our model correctly captured the oscillatory behavior driven by wave function interference.
  • Computational Efficiency: By processing sparse graphs, the model requires 4x less memory and 8x fewer GPU operations than dense alternatives, enabling rapid inference on standard hardware.

Conclusion

This work demonstrates that focusing on defect-specific sparse representations, augmented with physics-informed features like EOS indices, significantly enhances the machine learning of 2D material properties. Future research will focus on generalizing these features to 3D bulk materials, developing "universal" models for unseen materials, and incorporating more complex physical phenomena such as spin-orbit coupling.

Summary updated

BibTeX
@misc{kazeev2023sparse,
  author = {Nikita Kazeev and Abdalaziz Rashid Al-Maeeni and Ignat Romanov and Maxim Faleev and Ruslan Lukin and Alexander Tormasov and A. H. Castro Neto and Kostya S. Novoselov and Pengru Huang and Andrey E Ustyuzhanin},
  title = {{Sparse representation for machine learning the properties of defects in 2D materials}},
  year = {2023},
  url = {https://openreview.net/forum?id=Q4uXFg97pH},
  howpublished = {OpenReview},
}

Loading related content...

Figure