# Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling

차원 축소와 층화 샘플링을 이용한 머신러닝 원자간 퍼텐셜의 견고한 학습

Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong · arXiv · 2023년 7월 24일

- **연구 문제** 기계학습 원자간 퍼텐셜은 학습 데이터의 구성 공간 포괄성에 크게 의존하지만, 기존 도메인 지식이나 능동 학습으로 복잡한 구성 공간을 효율적으로 덮기 어렵습니다.
- **연구 방법** DIRECT 샘플링은 M3GNet 형성 에너지 모델의 구조 특징을 주성분 분석과 BIRCH 클러스터링으로 줄이고, 각 클러스터에서 층화 샘플링한 구조에만 DFT 계산을 수행합니다.
- **주요 결과** DIRECT 세트는 14개 주성분 특징 공간에서 평균 커버리지 0.996을 보였고, 이로 학습한 M3GNet 범용 퍼텐셜은 DIRECT 테스트 세트에서 수동 샘플링 모델보다 안정적입니다. Ti-H에서는 DIRECT 기반 MTP가 AL 반복과 정적 DFT 계산을 줄였다고 보고됩니다.

## MLIP 학습 데이터 구성의 어려움

기계학습 원자간 퍼텐셜(MLIP)은 학습 데이터의 품질에 따라 정확도와 견고성이 결정됩니다. 기존에는 도메인 지식으로 기저 상태, 완화 궤적 스냅샷, 변형 구조, AIMD 구조, 결함 구조 등을 골라 구성 공간을 만들고, 이를 DFT로 계산해 학습 데이터로 씁니다. 이 방식은 구성 공간이 복잡해질수록 포괄성이 떨어질 수 있습니다. 활성 학습(AL)은 MLIP이 외삽해야 하는 구조를 반복적으로 추가해 포괄성을 높이지만, 매우 복잡한 구성 공간에서는 반복 횟수가 많아 비효율적일 수 있습니다. 이 논문은 DFT 계산 전에 구성 공간을 넓고 고르게 선별하는 문제를 다룹니다.

## DIRECT 샘플링의 연산 단계

DIRECT 샘플링은 구성 공간 생성, 인코딩, 차원 축소, 클러스터링, 층화 샘플링의 다섯 단계로 이루어집니다. 구조는 사전 학습된 M3GNet 형성 에너지 모델의 최종 그래프 컨볼루션 출력 128차원 벡터로 인코딩됩니다. 이 특징은 정규화된 뒤 주성분 분석(PCA)을 거치며, Kaiser 규칙에 따라 고윳값이 1보다 큰 주성분만 유지합니다. 이어서 분산으로 가중한 주성분 공간에서 BIRCH 클러스터링으로 구조를 묶고, 각 클러스터에서 중심과의 유클리드 거리 순서로 k개 구조를 일정 간격으로 고릅니다. k가 1이면 중심에 가장 가까운 구조를 고르며, 클러스터 크기가 k보다 작으면 그 클러스터의 모든 구조를 선택합니다.

선택된 구조에 정적 DFT 계산을 수행합니다.

![Figure 1: Workflow of DImensionality REduction - Clustering - sTratified (DIRECT) sam- pling. The standard steps in MLIP development are in black boxes, while…](https://refivu.com/papers/5c340cd0-bd53-43af-998d-a610bbe32799/figures/figure-cc2f819fe59a2d34c0f0951ec577335b.png?thumb=512)

**Figure 1** : Workflow of DImensionality REduction - Clustering - sTratified (DIRECT) sam- pling. The standard steps in MLIP development are in black boxes, while the key conceptual improvements proposed in this work are highlighted in purple boxes. The methods in the brackets are those used in the present work, though they can be substituted with other sim- ilar approaches.

[원문](https://arxiv.org/abs/2307.13710v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong · Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## MPF.2021.2.8.All 데이터셋과 특징 공간 포괄성

연구진은 Materials Project의 첫 번째와 두 번째 완화 계산에서 모든 이온 단계를 포함한 원 데이터셋을 정제하여 1,315,097개 구조의 MPF.2021.2.8.All 데이터셋을 만들었습니다. 이 데이터에 DIRECT 샘플링을 적용할 때 n = 20,044 클러스터와 클러스터당 최대 k = 20을 사용해 185,670개 구조를 구성했고, 수동 샘플링(MS) 세트 185,877개와 크기를 비슷하게 맞췄습니다. M3GNet 특징의 누적 설명 분산은 처음 2개 PC에서 49%, 14개 PC에서 93%였습니다. 커버리지 점수는 각 PC 값 범위를 nb = 50,000 구간으로 나눠 계산하며, 14개 PC에서 DIRECT 세트는 평균 0.996, MS 세트는 평균 0.642를 보고합니다.

이 결과는 특징 공간에서의 포괄성에 대한 것이며, 데이터 분포 차이는 에너지·힘·응력의 MAD로도 확인됩니다.

## DIRECT 데이터로 재학습한 M3GNet 범용 퍼텐셜

DIRECT 세트와 MS 세트로 각각 M3GNet 범용 퍼텐셜을 재학습했습니다. 두 세트에서 무작위로 5%를 뽑은 테스트 세트는 각각 7,635개와 7,684개 구조입니다. M3GNet-MS는 DIRECT 테스트 세트에서 에너지와 힘의 MAE가 MS 테스트 세트보다 약 한 자릿수 크게 나타났습니다. 반면 M3GNet-DIRECT는 두 테스트 세트에서 비슷한 MAE를 보였습니다. 이 재학습에서는 원래 모델의 임베딩과 다층 퍼셉트론 차원을 64에서 128로 늘렸고, 나머지 학습 설정은 원래 M3GNet 범용 퍼텐셜과 대체로 같습니다. M3GNet-DIRECT의 두 테스트 세트 평균 MAE는 에너지 0.041 eV atom−1, 힘 0.101 eV Å−1, 응력 0.54 GPa로 원래 M3GNet 보고치 0.035 eV atom−1, 0.072 eV Å−1, 0.41 GPa보다 약간 높습니다.

누적 오차 분포에서는 두 모델이 약 90% 테스트 구조에서 비슷하지만, 나머지 약 10%의 어려운 구조에서 M3GNet-DIRECT가 더 낮은 오차를 보입니다.

![Figure 4: Performance of M3GNet universal potentials (UPs) trained using the DIRECT and MS training sets. Parity plots for (a) energies, (b) forces and (c) str…](https://refivu.com/papers/5c340cd0-bd53-43af-998d-a610bbe32799/figures/figure-0733a77a3f6cee9e790df80388f7f69a.png?thumb=512)

**Figure 4** : Performance of M3GNet universal potentials (UPs) trained using the DIRECT and MS training sets. Parity plots for (a) energies, (b) forces and (c) stresses for the M3GNet UP trained on the DIRECT set. The equivalent plots for the M3GNet UP trained on the MS set is shown in plots (d)-(f). The cumulative errors of (g) energies, (h) forces and (i) stresses in the two test sets by the two UPs are also plotted.

[원문](https://arxiv.org/abs/2307.13710v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong · Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 가설 물질에서의 에너지 위 볼록 껍질 예측

연구진은 무작위로 뽑은 506개 O 포함 화합물과 291개 S 포함 가설 물질에서 DFT와 M3GNet 예측 사이의 에너지 위 볼록 껍질(Ehull) 절대 오차를 비교했습니다. O 포함 화합물에서는 두 모델의 차이가 상대적으로 작았지만, S 포함 화합물에서는 M3GNet-DIRECT의 오차가 더 작았습니다. S 포함 물질의 50%에서 M3GNet-DIRECT의 Ehull 오차는 0.091 eV atom−1 이하였고, M3GNet-MS는 0.158 eV atom−1 이하였습니다. 저자들은 원래 Materials Project에 O 포함 물질이 34,556개, S 포함 물질이 5,333개로 많이 치우쳐 있었던 점을 이 차이의 배경으로 해석합니다.

![Figure 5: Cumulative absolute errors for energy above hull Ehull prediction for (a) O- and (b) S-containing hypothetical materials by M3GNet-DIRECT and M3GNet-…](https://refivu.com/papers/5c340cd0-bd53-43af-998d-a610bbe32799/figures/figure-9e1b98ae62524efab6e0e532eb755301.png?thumb=512)

**Figure 5** : Cumulative absolute errors for energy above hull Ehull prediction for (a) O- and (b) S-containing hypothetical materials by M3GNet-DIRECT and M3GNet-MS UPs.

[원문](https://arxiv.org/abs/2307.13710v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong · Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## Ti-H 구성 공간 생성

Ti-H 사례에서는 AIMD와 M3GNet 범용 퍼텐셜 MD를 비교해 구성 공간을 만듭니다. AIMD 구조는 HCP Ti36H2, BCC Ti36H36, FCC Ti36H72를 1000 K에서 계산한 75,000개 스냅샷이며, 기존 MTP AL에서 얻은 구조는 2,063개입니다. 반면 재학습한 M3GNet-DIRECT로 수행한 MD는 273,000개의 NpT 스냅샷을 생성합니다. 원문은 AIMD가 짧은 시뮬레이션 시간과 제한된 구조 다양성 때문에 구성 공간의 일부만 샘플링한다고 보고합니다. M3GNet-DIRECT MD는 MTP AL과 AIMD가 방문한 대부분의 영역을 포함하지만, AL이 방문한 일부 구조는 이 집합 바깥에 있어 추가 MD 조건이나 AL과의 결합이 필요할 수 있다고 설명됩니다.

![Figure 6: Plot of the first two principal components of the feature space of TiH n (0 ≤ n ≤ 2) sampled by structures from three different sources, i.e., 75,000…](https://refivu.com/papers/5c340cd0-bd53-43af-998d-a610bbe32799/figures/figure-4ba2d7fe8ac713f55d569f7045f4d53f.png?thumb=512)

**Figure 6** : Plot of the first two principal components of the feature space of TiH n (0 ≤ n ≤ 2) sampled by structures from three different sources, i.e., 75,000 AIMD snapshots for HCP Ti36H2, BCC Ti 36H36 and FCC Ti 36H72 at 1000 K, 2,063 configurations from MTP AL and 273,000 MD NpT snapshots from M3GNet-DIRECT. H 2 structures are excluded in this analysis to ensure better resolution for Ti-containing structures.

[원문](https://arxiv.org/abs/2307.13710v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong · Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

## DIRECT 기반 MTP 학습과 능동 학습 비교

MTP-DIRECT는 274,000개 M3GNet MD 스냅샷에서 954개 클러스터마다 1개 구조를 골라 학습했으며, 이 중 947개 DFT 정적 계산이 수렴했습니다. MTP-AL의 학습 세트는 2,077개로 보고되어, MTP-DIRECT 학습 세트는 그 절반 수준입니다. 400개 AIMD 테스트 구조에서 두 MTP의 에너지와 힘 MAE, RMSE는 comparable하다고 보고되며, 에너지는 10 eV atom−1 미만, 힘은 0.15 eV Å−1 이하로 제시됩니다. MD 신뢰성은 10 ps 동안 외삽 등급 γ가 3을 넘는 스냅샷이 없는 경우로 판정했습니다. 0번째 AL 반복에서 MTP-DIRECT는 300 K와 1000 K의 91개 Ti 포함 Ti-H MD를 완료했고, 5번째 AL 반복 뒤에는 3000 K의 91개 MD와 H72의 300 K MD도 완료했습니다.

원문은 AL을 처음부터 시작하면 300 K와 3000 K의 Ti-H 구조에서 각각 약 10회와 약 20회 반복이 필요했고, H72 300 K에는 28회가 필요했다고 보고합니다. 이 결과는 Ti-H 시스템과 이 MD 조건에 한정됩니다.

![Figure 7: Energy and force errors of 400 AIMD test structures by MTPs fitted using M3GNet- DIRECT MD structures (MTP-DIRECT) and MTP AL structures (MTP-AL)](https://refivu.com/papers/5c340cd0-bd53-43af-998d-a610bbe32799/figures/figure-4fb9c5c88108da8bc0d1f108a90608b1.png?thumb=512)

**Figure 7** : Energy and force errors of 400 AIMD test structures by MTPs fitted using M3GNet- DIRECT MD structures (MTP-DIRECT) and MTP AL structures (MTP-AL).

[원문](https://arxiv.org/abs/2307.13710v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong · Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.

![Figure 8: The evolution of MTP MD stability by AL starting from two different initial training sets, i.e., 947 training structures for MTP-DIRECT (labeled as ”…](https://refivu.com/papers/5c340cd0-bd53-43af-998d-a610bbe32799/figures/figure-a9da216f63dc40d0ab9c75d151074161.png?thumb=512)

**Figure 8** : The evolution of MTP MD stability by AL starting from two different initial training sets, i.e., 947 training structures for MTP-DIRECT (labeled as ”case 1”) and 92 starting structures for the 274 AL scenarios (labeled as ”case 2”). Evolution at the three different AL temperatures are plotted separately.

[원문](https://arxiv.org/abs/2307.13710v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong · Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

## 수소 확산 성질 예측

MTP-AL과 MTP-DIRECT는 HCP Ti36H2, BCC Ti36H36, FCC Ti36H72의 1000 K MSD 경향에서 AIMD와 비슷한 순서를 재현합니다. 수소 MSD는 BCC에서 가장 크고 FCC에서 가장 작습니다. 확산 계수는 3×3×2 슈퍼셀을 사용해 300에서 1000 K까지 100 K 간격의 1-ns MD/NpT 시뮬레이션으로 계산했습니다. 시뮬레이션 활성화 에너지는 HCP에서 MTP-DIRECT 0.42 eV, MTP-AL 0.49 eV, BCC에서 0.14 eV와 0.16 eV, FCC에서 0.91 eV와 0.80 eV입니다. 이 값들은 실험값과 비교되었지만, 실험값은 원문에서 서로 다른 온도 구간과 상으로 인용된 값이므로 같은 조건의 검증으로 읽지 않아야 합니다.

## 적용 범위와 남은 조건

이 방법의 학습 비용은 클러스터 수 n과 클러스터당 샘플 수 k로 조절되며, 작은 n은 극단값 포괄성을 떨어뜨릴 수 있고 큰 k는 클러스터링 비용을 늘립니다. 원문은 DIRECT 샘플링이 MLIP 구조에 무관하다고 설명하지만, 실제 검증은 M3GNet 범용 퍼텐셜과 Ti-H MTP에 한정됩니다. 특징 인코더, 차원 축소, 클러스터링 알고리즘은 다른 방법으로 대체할 수 있다고 원문이 밝히지만, 이 논문에서 대체 방법을 비교하지는 않았습니다. Ti-H 확산 결과는 해당 MTP와 조건에서 얻은 것이며, AL 과정의 일부 구조는 DIRECT 샘플링 집합 바깥에 남아 있습니다.

## 논문 정보

- **저자**: Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2023년 7월 24일
- **등록일**: 2026년 11월 6일
- **수정일**: 2023년 7월 24일
- **버전**: v1
- **arXiv**: 2307.13710
- **분류**: cond-mat.mtrl-sci
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2307.13710v1) · [원문 PDF ↗](https://arxiv.org/pdf/2307.13710v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Machine learning interatomic potentials (MLIPs) enable the accurate simulation of materials at larger sizes and time scales, and play increasingly important roles in the computational understanding and design of materials. However, MLIPs are only as accurate and robust as the data they are trained on. In this work, we present DImensionality-Reduced Encoded Clusters with sTratified (DIRECT) sampling as an approach to select a robust training set of structures from a large and complex configuration space. By applying DIRECT sampling on the Materials Project relaxation trajectories dataset with over one million structures and 89 elements, we develop an improved materials 3-body graph network (M3GNet) universal potential that extrapolate more reliably to unseen structures. We further show that molecular dynamics (MD) simulations with universal potentials such as M3GNet can be used in place of expensive \\textit{ab initio} MD to rapidly create a large configuration space for target materials systems. Combined with DIRECT sampling, we develop a highly reliable moment tensor potential for Ti-H system without the need for iterative optimization. This work paves the way towards robust high throughput development of MLIPs across any compositional complexity.

## 원문 인용

Ji Qi, Tsz Wai Ko, Brandon C. Wood, Tuan Anh Pham, Shyue Ping Ong (2023). Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling. arXiv:2307.13710v1. https://arxiv.org/abs/2307.13710v1

**BibTeX**

```
@misc{qi2023robust,
  title = {{Robust Training of Machine Learning Interatomic Potentials with Dimensionality Reduction and Stratified Sampling}},
  author = {Ji Qi and Tsz Wai Ko and Brandon C. Wood and Tuan Anh Pham and Shyue Ping Ong},
  year = {2023},
  eprint = {2307.13710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.13710v1}
}
```

## 이 논문의 용어

- [Principal Component Analysis](https://refivu.com/terms/5e8334d817e7-principal-component-analysis)
- [Active learning](https://refivu.com/terms/0e0dd6f76a6c-active-learning)
- [Materials Project](https://refivu.com/terms/95dd3fc03c1d-materials-project)
- [Stratified sampling](https://refivu.com/terms/f26cbd387338-stratified-sampling)
- [coverage score](https://refivu.com/terms/fd8ef03be09f-coverage-score)
- [MSD](https://refivu.com/terms/8c7e5701e888-msd)
- [MTP](https://refivu.com/terms/9d9f3c056309-mtp)

## 다른 논문 해설

- [A Survey of Graph Neural Networks for Social Recommender Systems](https://refivu.com/papers/c1848045-eac7-443a-a4b7-d8a38a3de17b-a-survey-of-graph-neural-networks-for-social.md)
- [Low-light Image Enhancement by Retinex Based Algorithm Unrolling and Adjustment](https://refivu.com/papers/7970eddf-3bce-4d41-bc8d-76dfbba7b932-low-light-image-enhancement-by-retinex-based-algorithm.md)
- [Surveying You Only Look Once (YOLO) Multispectral Object Detection Advancements, Applications And Challenges](https://refivu.com/papers/6d588d4a-ec49-48d7-8dc8-3de9cfab7ecd-surveying-you-only-look-once-yolo-multispectral-object.md)
- [EDiffSR: An Efficient Diffusion Probabilistic Model for Remote Sensing Image Super-Resolution](https://refivu.com/papers/76f50706-1489-43e9-9b29-6e7734ea5128-ediffsr-an-efficient-diffusion-probabilistic-model-for.md)
- [Bayesian Optimization Enhanced Deep Reinforcement Learning for Trajectory Planning and Network Formation in Multi-UAV Networks](https://refivu.com/papers/9684aebc-900c-4d54-ae96-d29e7c6d4958-bayesian-optimization-enhanced-deep-reinforcement-learning.md)
- [Layer-wise training convolutional neural networks with smaller filters for human activity recognition using wearable sensors](https://refivu.com/papers/50098453-c0be-4e81-af34-4e75bdc6f532-layer-wise-training-convolutional-neural-networks-with.md)
- [Predicting and Mapping of Soil Organic Carbon Using Machine Learning Algorithms in Northern Iran](https://refivu.com/papers/383faf6c-19ff-4b1a-8858-cf949c09ed5b-predicting-and-mapping-of-soil-organic-carbon-using.md)
- [Machine learning for industrial sensing and control: A survey and practical perspective](https://refivu.com/papers/d9f5f0b1-46cb-423b-a63b-20fab615d644-machine-learning-for-industrial-sensing-and-control-a.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/5c340cd0-bd53-43af-998d-a610bbe32799-robust-training-of-machine-learning-interatomic-potentials)
