--- license: mit license_link: https://opensource.org/license/mit arxiv: 2405.04967 language: - en tags: - materials-science - force-field - molecular-dynamics --- # MatterSim MatterSim is a large-scale pretrained deep learning model for efficient materials emulations and property predictions. ## Model Details ### Model Description MatterSim is a deep learning model for general materials design tasks. It supports efficient atomistic simulations at first-principles level and accurate prediction of broad material properties across the periodic table, spanning temperatures from 0 to 5000 K and pressures up to 1000 GPa. Out-of-the-box, the model serves as a machine learning force field, and shows remarkable capabilities not only in predicting ground-state material structures and energetics, but also in simulating their behavior under realistic temperatures and pressures. MatterSim also serves as a platform for continuous learning and customization by integrating domain-specific data. The model can be fine-tuned for atomistic simulations at a desired level of theory or for direct structure-to-property predictions with high data efficiency. Please refer to the [MatterSim](https://arxiv.org/abs/2405.04967) manuscript for more details on the model. - **Developed by:** Han Yang, Chenxi Hu, Yichi Zhou, Xixian Liu, Yu Shi, Jielan Li, Guanzhi Li, Zekun Chen, Shuizhou Chen, Claudio Zeni, Matthew Horton, Robert Pinsler, Andrew Fowler, Daniel Zügner, Tian Xie, Jake Smith, Lixin Sun, Qian Wang, Lingyu Kong, Chang Liu, Hongxia Hao, Ziheng Lu - **Funded by:** Microsoft Research AI for Science - **Model type:** Currently, we only release the models trained with **M3GNet** architecture. - **License:** MIT License ### Model Sources - **Repository:** https://github.com/microsoft/mattersim - **Paper:** https://arxiv.org/abs/2405.04967 ### Available Models | | mattersim-v1.0.0-1M | mattersim-v1.0.0-5M | | ------------------ | --------------------- | ----------------------- | | Training Data Size | 3M | 6M | | Model Parameters | 880K | 4.5M | ## Uses The MatterSim model is intended for property predictions of materials. ### Direct Use The model is used for materials simulation and property prediction tasks. An interface to atomic simulation environment is provided. Examples of direct usages include but not limited to - Direct prediction of energy, forces and stress of a given materials - Phonon prediction using finite difference - Molecular dynamics ## Evaluation ### Testing Data, Factors & Metrics #### Testing Data To evaluate the model performance, we created the following test sets - **MPtrj-random-1k:** 1k structures randomly sampled from MPtrj dataset - **MPtrj-highest-stress-1k:** 1k structures with highest stress magnitude sampled from MPtrj dataset - **Alexandria-1k:** 1k structures randomly sampled from Alexandria - **MPF-Alkali-TP:** For detailed description of the generation of the dataset, please refer to the SI of the [MatterSim manuscript](https://arxiv.org/abs/2405.04967) - **MPF-TP:** For detailed description of the generation of the dataset, please refer to the SI of the [MatterSim manuscript](https://arxiv.org/abs/2405.04967) - **Random-TP:** For detailed description of the generation of the dataset, please refer to the SI of the [MatterSim manuscript](https://arxiv.org/abs/2405.04967) We released the test datasets in pickle files and each of them contains the `ase.Atoms` objects. To access the structures and corresponding labels in the datasets, you do use the following snippet to get started, ```python import pickle from ase.units import GPa atoms_list = pickle.load(open("/path/to/datasets.pkl", "rb")) atoms = atoms_list[0] print(f"Energy: {atoms.get_potential_energy()} eV") print(f"Forces: {atoms.get_forces()} eV/A") print(f"Stress: {atoms.get_stress(voigt=False)} eV/A^3, or {atoms.get_stress(voigt=False)/GPa}") ``` #### Metrics We evaluate the performance by computing the mean absolute errors (MAEs) of energy (E), forces (F) and stress (S) of each structures within the same dataset. The MAEs are defined as follows,