arXiv ScienceSearch

arXiv · 2407.13468

A simple approach to rotationally invariant machine learning of avector quantity

Abstract

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. 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. 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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Jakub Martinka, Marek Pederzoli, Mario Barbatti, Pavlo O. Dral, Jiří Pittner. 2025-08-12. A simple approach to rotationally invariant machine learning of avector quantity. https://doi.org/10.1063/5.0230176

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Construction of downfolded Hamiltonians from projective transcorrelation

Projective transcorrelation recovers the short-range electron correlation by a similarity transformation with a geminal function $f(r_{12})$, at the cost of an effective Hamiltonian containing a 3-body term. We replace the term by an effective operator of rank at most two, obtained from the two-body cumulant (2C) approximation to the three-particle reduced density matrix. The 2C 3-body energy is written without cumulants, and the effective one- and two-body interactions are derived as its partial derivatives with respect to the reduced density matrices. The truncation is assessed on the atomization and reaction energies of the HEAT set with CCSD(T), and on the CAS-pTC model, whose downfolded Hamiltonian is held on a qubit register with the number of Pauli strings reduced from the sixth power of the orbital count to the fourth.

physics.chem-ph

Competing Ring-Opening and Hofmann Elimination Pathways in Aqueous TEMPO Catholytes: A First-Principles Study

Aqueous redox-flow batteries based on TEMPO derivatives are promising for large-scale energy storage, but their practical use is limited by the chemical instability of the oxidized N -oxoammonium state. In this work, we investigate the degradation of five TEMPO derivatives using ab initio molecular dynamics combined with enhanced sampling. Two proposed degradation mechanisms, ring opening and Hofmann elimination, are examined and their corresponding activation free energies are compared. For all derivatives considered, ring opening exhibits a lower activation free energy than Hofmann elimination, identifying it as the kinetically preferred degradation pathway. The magnitude of the ring-opening barrier, however, varies significantly between molecules, showing that different functionalizations strongly influence its stability toward degradation. The predicted preference for ring opening is consistent with available experimental studies, which have identified or inferred ring-opening degradation for several TEMPO-based catholytes. These results provide an atomistic picture of degradation pathways that are difficult to resolve experimentally and highlight the importance of molecular structure in controlling the kinetic stability of TEMPO derivatives in aqueous electrolytes.

physics.chem-ph

Exchange-Correlation Potentials and Energies from Inverse Generalized Kohn-Sham Calculations

The Kohn-Sham (KS) formulation of density functional theory (DFT) is a map from the many-electron problem to an effective single-electron problem that is governed by a local multiplicative potential. The generalized-Kohn-Sham (GKS) formalism extends it to permit any single-electron operator---nonlocal, local non-multiplicative, local multiplicative, or any combination of them. Doing so expands the scope and ease of modeling the exchange-correlation (XC) functional in DFT, which encodes the complicated many-electron interactions into a mean-field of the electron density. However, unlike KS theory, development of XC functionals in GKS theory has been hindered by the absence of corresponding exact XC potentials and energies. We present the exact XC potentials and energies for atoms and molecules by solving the inverse GKS problem, using highly accurate correlated \textit{ab initio} densities. Our approach is validated across weakly and strongly correlated systems. We further examine a common, yet untested, assumption that KS and GKS correlation potentials and energies are similar, finding instead that they differ substantially in strongly correlated systems. Overall, this work offers a powerful tool to model next-generation of XC functionals within the GKS formalism of DFT.

physics.chem-ph