A simple approach to rotationally invariant machine learning of a vector quantity - AMIDEX
Article Dans Une Revue The Journal of Chemical Physics Année : 2024

A simple approach to rotationally invariant machine learning of a vector quantity

Résumé

Unlike with the energy, which is a scalar property, machine learning (ML) predictions of vector or tensor properties poses the additional challenge of achieving proper invariance (covariance) with respect to molecular rotation. For the energy gradients needed in molecular dynamics (MD), this symmetry is automatically fulfilled when taking analytic derivative of the energy, which is a scalar invariant (using properly invariant molecular descriptors). However, if the properties cannot be obtained by differentiation, other appropriate methods should be applied to retain the covariance.There have been several approaches suggested to properly treat this issue. For nonadiabatic couplings and polarizabilities, for example, it was possible to construct virtual quantities from which the above tensorial properties are obtained by differentiation and thus guarantee the covariance.

Another possible solution is to build the rotational equivariance into the design of a neural network employed in the model. Here we propose a simpler alternative technique, which does not require construction of auxiliary properties or application of special equivariant ML techniques. We suggest a three-step approach, using the molecular tensor of inertia. In the first step, the molecule is rotated using the eigenvectors of this tensor to its principal axes. In the second step, the ML procedure predicts the vector property relative to this orientation, based on a training set where all vector properties were in this same coordinate system. As third step, it remains to transform the ML estimate of the vector property back to the original orientation. This rotate-predict-rotate (RPR) procedure should thus guarantee proper covariance of a vector property and is trivially extensible also to tensors such as polarizability. The PRP procedure has an advantage that the accurate models can be trained very fast for thousands of molecular configurations which might be beneficial where many trainings are required (e.g., in active learning). We have implemented the RPR technique, using the MLatom and Newton-X programs for ML and MD and performed its assessment on the dipole moment along MD trajectories of 1,2-dichloroethane.

Fichier principal
Vignette du fichier
JCP24-AR-03279.pdf (3.39 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04763148 , version 1 (01-11-2024)

Identifiants

Citer

Jakub Martinka, Marek Pederzoli, Mario Barbatti, Pavlo O Dral, Jiří Pittner. A simple approach to rotationally invariant machine learning of a vector quantity. The Journal of Chemical Physics, 2024, ⟨10.1063/5.0230176⟩. ⟨hal-04763148⟩
0 Consultations
0 Téléchargements

Altmetric

Partager

More