Shifts in energy prediction for different temperature testset. #579
Replies: 3 comments 7 replies
-
ML potentials typically are poor at extrapolating in density. So I think what happened is that because your training set is all one density, some interaction energy wasn't partitioned correctly into the various energy terms, because there was no information on how things change when the density changes. So I would expect that if you train on configs that have just a couple of different lattice vectors, then your performance at new lattice vectors will improve. |
Beta Was this translation helpful? Give feedback.
-
It is possible that you could get more out of stress data. have you tried increasing the stress weight? Also, make sure you use the very latest code from the main branch we fixed a bug in the stress weight a month or so ago which meant that before, the stress loss was divided by the number of atoms when it should not have been, effectively making the stress count for very little (unless you used a huge weight). If you are not using the latest code, update and retrain using the above parameters. if you are using the latest code already, try stress weight of 100. |
Beta Was this translation helpful? Give feedback.
-
and also reduce your forces weight to 100 so that it does not overwhelm the loss. |
Beta Was this translation helpful? Give feedback.
-
Dear MACE developers,
I am trying to train a MACE potential for a system of molecular crystal.
The training dataset only contain structure at 295 K with a fixed lattice vectors.
I tried to evaluate/predict the above trained potential on a test set containing lower temperature structures (80K, 150K, 220K, 295K) with different lattice vectors.
The Force predictions are in perfect agreements. However, there is a constant shift on energy prediction (please find the plots below)
The structures which have perfect agreement in energy prediction plot are from 295 K (same as in training set).
I tried following things, but got the same results.
Submission script for training the potential.
Could someone help me understand, what is the possible reason behind the constant shift in energies for different temperature in testset ?
I will be happy to take any suggestions.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions