Enhancing Robustness Of Neural Network Interatomic Potentials Through Sampling Methods And Uncertainty Quantification