Skip to content

[Feature Request] logarithm loss function for high energetic density systems #2090

Description

@trollchu

Summary

add an option to choose logarithm loss function for deep potential training

Detailed Description

Dear developers,

We are working on the development of metal fuel (boron) potentials using the deepmdkit and dpgen. During the dpgen process, the model performance worsens after some iterations. By checking the structures produced by "model_devi", we found there are some atoms with very short distances (~0.6 A for B-O bond). The below figure shows the DFT calculation for these structures, where the largest atomic force is > 300 eV/A! But the force deviation predict by the four deep potentials is within the range of 0.1-0.3 ( when model_devi_f_avg_relative==true). Therefore, these extremely high-energy structures are added to our training dataset and the model performance worsens.
We have manually deleted these extremely high-energy structures from our training dataset, and we found the model to become better. We think these structures might have very large errors in the current linear loss function, and result in the model worsening. Could you please add some options to add a logarithm function to the loss function? We believe such a function would help the potential development for high-energy systems in combustion and explosion fields.
image

Further Information, Files, and Links

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions