A complete pipeline for constructing, testing, actively learning, and pruning a Moment Tensor Potential (MTP) for Germanium using MLIP-3.
data/train_diamond.xyz
│
▼ 00_convert.sh
data/train.cfg (converted MLIP-3 CFG)
│
▼ 01_train.sh
results/potentials/pot.almtp (trained MTP-16 potential)
| Requirement | Version |
|---|---|
| Python | ≥ 3.12 |
| ASE | ≥ 3.22 |
| mlp binary | MLIP-3-prune fork |
| LAMMPS | compiled with MLIP plugin |
conda env create -f environment.yml
conda activate mtp4geThe input file data/train_diamond.xyz is already in the repository. Convert it to MLIP-3 CFG format and partition it into a seed set and a candidate pool:
bash scripts/save/00_convert.sh data/train_diamond.xyzProduces:
data/seed.cfg— alldistorted_bulkconfigs (one kept as seed); dimers excludeddata/candidate_pool.cfg— remaining labeled configs for AL selectiondata/train.cfg— copy ofseed.cfg; the AL loop appends to thislogs/seed_selection.log— index and config_type of the chosen seed config
Trains MTP-16 (template: mtp_templates/16.almtp) on the seed set:
bash scripts/save/01_train.shOutput: results/potentials/pot.almtp
Training hyperparameters (iteration limit, loss weights, MTP level) are configured in config/training.yaml.
| File | Purpose |
|---|---|
config/training.yaml |
MTP level, loss weights, iteration limit |
Pre-built MTP architectures are in mtp_templates/. The default pipeline uses MTP-16 (mtp_templates/16.almtp). Edit config/training.yaml to switch levels.
- Shapeev, A. V. Moment Tensor Potentials: A class of systematically improvable interatomic potentials. Multiscale Model. Simul. 14, 1153–1173 (2016).
- Podryabinkin, E. V. & Shapeev, A. V. Active learning of linearly parametrized interatomic potentials. Comput. Mater. Sci. 140, 171–180 (2017).
- Bochkarev, A. et al. Efficient parametrization of the NSGA-II multi-objective optimization for pruning interatomic potentials. (2024).