When More Data Hurts: Optimizing Data Coverage While Mitigating Diversity Induced Underfitting in an Ultra-Fast Machine-Learned Potential

Jason B. Gibson, Tesia D. Janicki, Ajinkya C. Hire, Chris Bishop, J. Matthew D. Lane, Richard G. HennigarXiv 2024 · DOI

Abstract

Machine-learned interatomic potentials (MLIPs) typically rely on maximizing training data diversity to ensure broad coverage of atomic environments. However, for models with finite complexity, excessive diversity can lead to "diversity-induced underfitting," where the model fails to resolve conflicting physics across disparate chemical environments. This study investigates this phenomenon using the Ultra-Fast Force Field ($UF^3$) framework applied to silicon nitride ($Si_3N_4$). By strategically filtering training data to match the target application's chemical context, we demonstrate that a model trained on a curated subset outperforms those trained on larger, more diverse datasets in both structural accuracy and elastic property prediction.

Introduction

Machine-learned interatomic potentials (MLIPs) represent a critical middle ground in materials science, offering the accuracy of quantum-mechanical Density Functional Theory (DFT) at the computational speeds of classical empirical potentials. A persistent challenge for MLIPs is their "black box" nature; they often fail catastrophically when encountering atomic environments outside their training distribution. To mitigate this, researchers traditionally aim for maximum data coverage.

This paper challenges that conventional wisdom, identifying a regime where adding more data actually degrades performance. For models with fixed functional complexity, such as those based on linear combinations of basis functions rather than deep neural networks, excessive training diversity can exceed the model's "complexity budget." This leads to a "jack of all trades, master of none" scenario where the potential fails to accurately capture the specific physics of the system of interest.

Methods and Data Selection

The researchers utilized the Ultra-Fast Force Field ($UF^3$) framework, which represents 2-body and 3-body interactions using a linear combination of cubic B-splines. While $UF^3$ is highly interpretable and computationally efficient, its fixed spline density limits its total learning capacity.

To study the impact of data diversity, four model variants were trained:

  1. $UF^3_{stoic}$: Trained exclusively on stoichiometric $Si_3N_4$ data from ab initio molecular dynamics (AIMD).
  2. $UF^3_{nonstoic}$: Trained on diverse non-stoichiometric structures generated via a Genetic Algorithm (GASP).
  3. $UF^3_{total}$: Trained on the union of both datasets.
  4. $UF^3_{final}$: Trained on a strategically filtered subset, removing nitrogen-rich environments (e.g., $N_2$ gas configurations) that were irrelevant to the target application of amorphous silicon nitride.
Learned 2-body potential energy curves for Si-Si, Si-N, and N-N interactions across the four model variants, illustrating how training data composition dictates the captured physics.

As shown in Figure 2, the interpretability of $UF^3$ allows for a direct diagnostic of underfitting. For instance, the $UF^3_{stoic}$ model fails to learn attractive wells for Si-Si and N-N interactions because those environments are absent in stoichiometric crystals. Conversely, forcing the model to learn both nitrogen-rich and silicon-rich environments simultaneously results in "smeared" potentials that compromise accuracy in the target regime.

Key Results and Discussion

The study found that $UF^3$ is approximately 9,269 times faster than DFT and significantly faster than more complex MLIPs like the Gaussian Approximation Potential (GAP). However, speed must be balanced with physical fidelity.

Structural and Elastic Accuracy

The $UF^3_{final}$ model, which utilized strategic filtering, emerged as the superior variant. It achieved a Mean Absolute Percent Error (MAPE) of 8.5% for elastic constants, a significant improvement over the 12.1% error of the $UF^3_{total}$ model and the 20.5% error of the $UF^3_{nonstoic}$ model.

Comparison of elastic constant errors (radar charts) and structural distribution functions ($g(r)$ and $\Omega(\theta)$) for the model variants against DFT benchmarks.

Beyond force errors, structural validation proved critical. As illustrated in Figure 4, only the $UF^3_{final}$ model accurately reproduced the radial distribution functions ($g(r)$) and angular distribution functions ($\Omega(\theta)$) of amorphous silicon nitride. Other variants exhibited unphysical artifacts, such as spurious peaks in the Si-Si distribution, highlighting that low force RMSE does not always translate to a physically sound potential.

Conclusion

This work demonstrates that for MLIPs with finite complexity, "more data" is not a universal solution. The concept of diversity-induced underfitting suggests that data coverage must be balanced against model capacity. By understanding the chemical context of the target system—such as the preference for 3-fold nitrogen coordination in silicon-rich environments—researchers can filter training data to optimize performance. Future work will focus on developing automated methods to identify these underfitting "tipping points" before the training process begins.

Summary updated

BibTeX
@misc{gibson2024when,
  author = {Jason B. Gibson and Tesia D. Janicki and Ajinkya C. Hire and Chris Bishop and J. Matthew D. Lane and Richard G. Hennig},
  title = {{When More Data Hurts: Optimizing Data Coverage While Mitigating Diversity Induced Underfitting in an Ultra-Fast Machine-Learned Potential}},
  year = {2024},
  eprint = {2409.07610},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.07610},
}
Figure