Modelling chemical processes in explicit solvents with machine learning potentials | Nature Communications
Nature Communications volume 15, Article number: 6114 (2024) Cite this article
4336 Accesses
3 Citations
8 Altmetric
Metrics details
Solvent effects influence all stages of the chemical processes, modulating the stability of intermediates and transition states, as well as altering reaction rates and product ratios. However, accurately modelling these effects remains challenging. Here, we present a general strategy for generating reactive machine learning potentials to model chemical processes in solution. Our approach combines active learning with descriptor-based selectors and automation, enabling the construction of data-efficient training sets that span the relevant chemical and conformational space. We apply this strategy to investigate a Diels-Alder reaction in water and methanol. The generated machine learning potentials enable us to obtain reaction rates that are in agreement with experimental data and analyse the influence of these solvents on the reaction mechanism. Our strategy offers an efficient approach to the routine modelling of chemical reactions in solution, opening up avenues for studying complex chemical processes in an efficient manner.
(Bio)chemical and industrially relevant reactions occur predominantly in the liquid phase1,2. The influence of solvent on reaction rates was first documented by Berthelot and Pean de Saint-Gilles in 18623 and later formalised by Menschutkin in 18904. Since then, experimental and computational techniques have been developed to elucidate and quantify the origin of solvent effects on reactivity and selectivity5. From an atomistic point of view, solvent effects arise from the interactions between solute and solvent molecules, which, although generally weak, have a significant impact on the overall reaction dynamics.
In computational chemistry, solvent effects are modelled using implicit or explicit solvent models. The former represents solvents as a polarisable continuum, offering computational simplicity and efficiency. However, it fails to capture the contributions arising from solute-solvent interactions, including entropy and pre-organisation effects6. On the other hand, explicit solvent models provide an atomistic representation of the solvent but at a much higher computational cost since they require the use of ab initio molecular dynamics (AIMD). This cost becomes significant when attempting to compute free energies, where extensive sampling is required to obtain statistically meaningful ensembles. Hybrid approaches, such as quantum mechanics/molecular mechanics (QM/MM), can alleviate this computational cost by describing only the reactive part at a QM level while the environment is described classically. However, the inclusion of mobile solvent molecules into the QM part creates additional technical difficulties, such as discontinuities at the boundary between the QM and MM regions7,8.
In recent years, machine learning-based potentials (MLPs) have emerged as powerful surrogates for existing modelling techniques, representing complex potential energy surfaces (PES) with an accuracy comparable to QM methods but at a significantly lower computational cost9,10. Since the pioneering work of Behler and Parinello (BP) on neural network-based potentials (NNP)9, several MLP approaches have been developed, including models directly derived from BP, such as DeepMD11 and ANI12, message-passing NN models13, such as PhysNet14, SchNet15, and MACE16, kernel-based approaches, such as Gaussian Approximation Potential (GAP) and gradient-domain ML (GDML)17,18,19, and linear regression-based models, such as linear Atomic Cluster Expansion (ACE)20,21. These MLPs have been successfully applied to study organic molecules12,22, material properties23,24 and simple chemical reactions in the gas phase and interfaces25,26,27,28. While there are prominent examples of using MLPs to correct QM/MM computed free energies29, modelling solvent implicitly30,31, or replacing the QM part to have a more efficient approach, ML/MM32, only a handful of examples exist where chemical processes have been modelled in explicit solvent fully using MLPs. Such examples include urea decomposition in water33, 1,3-dipolar cycloadditions in water34, Strecker-cyanohydrin synthesis of glycine in water35, and reactions in alkali carbonate-hydroxide electrolytes36. In all these cases, NNPs are used, requiring thousands of AIMD configurations. For a comprehensive overview of relevant works, we refer the reader to a recent review by Isayev and Roitberg, ref. 37, and SI §S1.
One of the main challenges limiting the application of MLPs to study chemical reactions in solution is the quality and size of the training data set, which needs to incorporate diverse configurations to effectively capture solute-solvent interaction at the minima and TS regions. Unlike solid-state systems, where particles are packed in highly ordered arrangements, molecules in solution are often flexible, resulting in a larger conformational space that needs to be sampled to accurately describe their PES. Moreover, the reliable description of reaction barriers and non-covalent interactions requires accurate reference electronic structure methods, further increasing the computational cost38. The complexity of the training data can be reduced in Δ-ML models39, which predict the differences between semi-empirical baseline and QM PES rather than the absolute energies. However, even in these approaches, the cost of energy and force evaluations remains a bottleneck, as the baseline computations need to be performed in each MD step40,41.
Recently, we demonstrated the promise of several MLP approaches, including ACE, GAP and NequIP, in modelling various molecular systems and chemical reactions42,43. Notably, when coupled with active learning (AL), where the MLP is retrained using new data collected based on preliminary versions of MLP, these methods can provide accurate potentials with much smaller data sets than traditional NN approaches. In this way, one can efficiently explore the chemical space required to describe reactions involving complex PESs.
The performance and efficiency of AL strategies heavily depend on the algorithm used to select suitable structures for retraining. Previous studies have utilised various metrics or selectors to evaluate the performance of MLPs within AL iterations. Probably the most straightforward metric is the direct comparison of energies or forces between the reference (ground-truth) method and the MLP42. However, this metric requires QM calculations at every evaluation step, which is only feasible for small systems in the gas phase. Gaussian Process-based methods, such as GAP, commonly use energy uncertainty as a metric, which refers to the variance in predicted energy28,44,45,46. However, this property is limited to Bayesian models, as they yield a predictive distribution characterised by its mean and variance. Other models only provide a point prediction for a given structure and are thus unable to utilise this metric47. Another approach widely used in NNPs34,48,49,50, although not limited to, is query-by-committee, where uncertainty is quantified through the variance of predicted energies or forces among an ensemble of MLPs, referred to as committees. In the case of NNs, multiple potentials are trained with the same architecture but with different initial parameters. This approach provides on-the-fly uncertainty estimation but incurs additional computational costs associated with the training of several NNPs. In all the uncertainty metrics mentioned above, a large variance indicates an under-representation of the corresponding data points and the need to include them in the training set.
In this work, we propose a general AL strategy for training MLPs to model chemical processes in explicit solvents and, more generally, large systems with complex PES. To achieve this, we employ an AL loop combined with descriptor-based selectors. In contrast to the metrics described above, these selectors use molecular descriptors, such as Smooth Overlap of Atomic Positions (SOAP)51, to assess whether the training set accurately represents the chemical space of interest. By examining the SOAP descriptor space for the structures in the training set, we demonstrate that these selectors provide a general metric applicable across different MLP approaches at a low computational cost. The effectiveness and versatility of the selectors are showcased using the linear ACE model. Firstly, we investigate a simple water box as a test case, evaluating and comparing the performance of various selectors in terms of the quality of the potential and data efficiency. Building upon these findings, we further apply our strategy to study the Diels-Alder (DA) reaction between cyclopentadiene (CP) and methyl vinyl ketone (MVK) in both water and methanol. Through this example, we illustrate the transferability of our approach to accurately model chemical reactions in different solvent environments. The generality and computational efficiency of our approach make it well-suited for a wide range of applications, contributing to the advancement of MLP in various fields. By harnessing its capabilities, accurate and efficient modelling of chemical processes in explicit solvents becomes attainable. This enables a deeper understanding of solvent effects and facilitates the investigation of more complex processes in solution.
The AL strategy employed in this work to train MLPs is illustrated in Fig. 1a. The first step involves generating a small set of configurations labelled with reference energies and forces. This information is used to train the initial version of the MLP. For a given reaction, we employ two different training sets, one containing the reacting substrates in the gas phase (or implicit solvent) and another including explicit solvent molecules. The latter is necessary to account for specific non-covalent interactions between the solute and solvent.
a In the gas phase, initial configurations are generated by random displacements (ΔD) on the atomic coordinates (x, y, z, red arrows). For the system in the condensed phase, cluster configurations with a minimum radius (rcluster) ≥ cut-off hyperparameters (rcut) in MLP are used as initial configurations. b Selection methods in the AL process: energy selector: selects data points where the energy difference (red) between the ground truth density functional theory (DFT) value (EDFT) and MLP predicted values (EMLP) exceeds the threshold (ET). similarity selector: collects configurations with dissimilar geometry to the original data set, i.e., configurations with the maximum of the similarity vector K lower than similarity threshold kT. distance selector: uses the local outlier factor (LOF) method to identify outliers o from the original data set. The circle with radius k-distance centred at the outlier (o) is highlighted in red.
Different initial data generation strategies are used for each of the data sets mentioned above. For the gas phase or implicit solvated molecules, initial training configurations are generated by randomly displacing the atomic coordinates. In the case of a chemical reaction, the training typically starts from the corresponding TS. The initial dataset containing substrate and the explicit solvent can be generated either from solvent molecules in a box under periodic boundary conditions (PBC) or cluster models containing only a handful of solvent molecules placed at relevant positions. While PBC reproduces well the structure of the bulk solvent and includes long-range interactions, generating such training data, in particular with AIMD, is computationally expensive as thousands of configurations are required to accurately describe all the interactions, making it unfeasible for most chemically relevant systems. An alternative approach for generating PBC data is to use classical MM force fields; however, they are often inaccurate and unable to describe bond-breaking/forming processes. Moreover, MM configurations exhibit a weak overlap with the true potential energy surfaces (PES), even for non-reactive systems making them unsuitable for the training of MLPs42. In this regard, cluster data labelled with molecular energy and forces provide all structural information for MLPs based on the local descriptors and offer access to a large spectrum of electronic structure methods, including long-range corrected and double-hybrid DFT functionals. The minimum radius of the solvent shell around the substrate should be no less than the cut-off radius used for training the MLP to avoid artificial forces close to the solvent-vacuum interface in the cluster data.
As discussed in more detail below, we observed good transferability of cluster-based MLPs to systems with PBC. Similar transferability has already been reported for an NNP applied to bulk water, where NNPs trained using both PBC and cluster training data demonstrate similar performance in predicting bulk properties, such as radial distribution functions (RDF), self-diffusion coefficients, and equilibrium densities52.
After the initial MLP training, one structure from the initial training set is selected as the starting point to propagate the molecular dynamics (MD) using the first version of the trained MLP. Several rounds of short MD simulations are then performed to assess the stability of the potential and generate new training structures. The simulation time is set to (n3 + 2) fs where n corresponds to the index of the MD run, starting from 0. The time step of the dynamics is 0.5 fs. More details can be found in ref. 42 and SI§ S6.1. From each MD trajectory, the last frame is evaluated by the selector to determine whether to add or not this structure to the training set. If the structure is not selected, n is incremented, and MD runs are repeated until the maximum simulation time or a maximum number of MD iterations is achieved.
In previous studies, we have utilised an energy-based selector (further referred to as energy) to determine whether a configuration should be added to the training set. This selector identifies structures that show an error in predicted energy higher than the threshold ET, satisfying the condition \(\left\vert {E}^{{{{{{{\rm{DFT}}}}}}}}-{E}^{{{{{{{\rm{MLP}}}}}}}}\right\vert > {E}_{{{{{{{\rm{T}}}}}}}}\). Structures with prediction errors greater than 10 ET were excluded from the dataset as these were too distorted to provide meaningful information. Although reliable, this approach requires QM calculations for each selection step, which is computationally prohibitive for large systems.
In this work, we introduce selectors using descriptor-based selection criteria. Descriptors transfer molecular representation from Cartesian coordinates to a physical invariant description, encompassing both the geometrical and chemical information of molecular structures. Evaluating the SOAP descriptor over the training data thus provides information on how well the training set covers the relevant conformational and chemical space, enabling the identification of underrepresented data points.
During the AL loop, we apply so-called similarity- and distance-based selectors, referred here to as similarity and distance selectors, respectively. The former quantifies the similarity between a new data point p and existing configurations \({p}^{{\prime} }\) using the kernel function \(k(p\cdot {p}^{{\prime} })\). The similarity vector of the data point is defined as:
where p0 is the SOAP vector of the new structure, pi is the SOAP vector of the i-th configuration in the existing set, and ζ is a positive integer that increases the sensitivity of kernel to changes in atomic position51. The kernel is computed between the new configuration and all other configurations in the training data set. The selector adds structure to the training set if the maximum value of its similarity vector, K, is smaller than threshold kT, i.e., \(\max ({{{{{{\bf{K}}}}}}}) < {k}_{{{{{{{\rm{T}}}}}}}}\). Selecting an appropriate threshold is key as too low values (e.g., similarity below 0.9) can result in the selection of non-physical structures that fail to converge in the self-consistent field (SCF) computations, while too high values (e.g., 1) do not provide any additional information.
For the distance selector, we use the local outlier factor (LOF) method53 to determine whether the SOAP vector of the new configuration is an outlier compared to the SOAP vectors of the existing training data. LOF is based on the local density of each point, which is calculated by measuring the Euclidean distance between the target point and its k-nearest neighbours (Fig. 1b). The local reachability density of an object o, denoted as lrdk(o), is calculated as:
rdk(o, a) in the equation corresponds to the reachability distance defined as
Here, k-distance (a) represents the radius of the smallest circle with its origin in a, which includes the k-nearest neighbours of a (illustrated in dark blue in Fig. 1b), d(o, a) is the Euclidean distance between points o and a, where point o is the target point and point a is one of its neighbours. Nk(o) is a set of k-nearest neighbours of o, which are illustrated by blue points. The local reachability density is thus expressed as the number of neighbours per distance unit. If the local reachability density of the target point is smaller than that of its neighbours, the point is considered an outlier and added to the training data set. The comparison among the local densities is achieved by computing the ratio of the average local density of neighbours and the local density of the point, as follows:
A LOF value close to 1 indicates that a point is located in a similarly dense region as its neighbours. A LOF value less than 1 represents an inlier, meaning that the point is situated in a denser region, while a value greater than 1 indicates an outlier. Since there is no definitive rule for selecting an LOF threshold to identify outliers, in this study, we chose the threshold as an LOF value which is larger than 80 % of LOF values for the given training set. This approach ensures that the threshold value varies with the PES exploration during the AL iterations. More details of the distance selector are provided in SI§ 3.2.
In contrast to the variance metric, descriptor-based selectors can be applied to any regression method without incurring additional computational costs for training multiple models.
As discussed in the next section, both descriptor-based selectors accelerate the training of MLP models compared to the energy selector. This acceleration arises from the reduction in QM calculations and the selectors' ability to explore the relevant chemical space more efficiently.
We assessed the performance of three different selectors (energy, similarity, and distance) during the AL training of MLPs for water. In each case, we evaluated the accuracy of the generated potential by measuring the mean absolute deviation (MAD) of total energy and atomic forces with respect to the ground truth method, PBE0-D3BJ. We also considered the efficiency of training by analysing the number of configurations required for training. The AL process was considered complete when no configurations were selected within the maximum simulation time of 5 ps.
Our results demonstrate that, in general, all descriptors provide accurate and stable potentials. This is evident from the direct comparison of predicted and ground-true energies for two systems: a small cluster system comprising 27 water molecules, from which we extracted 200 configurations from a 1 ps MD simulation, and a larger system consisting of 216 water molecules under PBC, where we performed 50 ps dynamics in the NVE ensemble (SI § S3.1). All MLPs achieved MAD errors in energy below 1 kcal mol−1 and errors in force of less than 2 kcal mol−1 Å−1. Moreover, all MLPs remained stable during the NVE simulations, which lasted significantly longer than the maximum simulation time in the AL process.
The main difference between the selectors lies in the number of configurations selected during the training and computational efficiency. Descriptor-based selectors generally require fewer configurations, with 40 and 52 data points for similarity and distance selectors, respectively, compared to 281 data points for energy. To explore the geometrical similarity among the data selected by different selectors, we combined all the training sets (373 configurations in total, shown in grey in Fig. 2a) and analysed them with t-SNE maps based on global SOAP representation. This analysis reveals three distinct clusters. The bottom cluster represents initial structures in training, where water molecules are randomly placed and have relatively high energy. The middle cluster contains configurations with more structured arrangements due to the presence of hydrogen bonds (HB). Finally, the upper cluster comprises configurations near equilibrium, evidenced by lower energies. Interestingly, the energy selector predominantly selects geometries near the equilibrium configurations (67%), with only a handful of configurations in the middle/bottom cluster. In contrast, the configurations selected by either the similarity or distance selectors are more evenly distributed (Fig. 2b). The size of the training set does not influence the MLP performance, as all MLPs reproduced well the experimental radial distribution function (RDF) of water (Fig. 2c). The small differences in the positions and amplitudes of peaks for the first and second solvation shells are likely due to the level of theory used and the lack of nuclear quantum effects54.
a t-Distributed Stochastic Neighbour Embedding (t-SNE) maps of configurations generated during active learning using energy, similarity and distance selectors for a 27-water molecule system. Configurations generated by each selector are labelled by their energy relative to the lowest energy configuration in the dataset, while configurations obtained from other selectors are shown in grey. b Energy distribution of configurations obtained using the different selectors for a 27-water cluster system. c Oxygen-oxygen radial distribution function (RDF) from a 20 ps NVT Atomic Cluster Expansion (ACE) machine learning potential molecular dynamics (MLP-MD) simulation of 216 water molecules in an 18.65 Å cubic box under periodic boundary conditions. RDF obtained from ACE MLP trained with energy (orange), similarity (blue), or distance (green) selector. Experimental RDF is shown in grey shading88. Data associated with this figure is provided as a Source Data file.
This demonstrates that both similarity and distance selectors explore the chemical space more efficiently, using only around 15% of the training data required by the energy selector. Furthermore, they reduce the structural correlation in the training sets, as illustrated in Fig. 2a. Instead of containing numerous points with similar geometries, these training sets encompass data points distributed across the space. Descriptor-based selectors are also significantly faster than energy-based ones as they do not require QM computation at every selection step, making them suitable for larger and more complex systems.
Overall, the descriptor-based selectors demonstrate superior efficiency in terms of training speed and amount of data, outperforming the energy selector. All three selectors yield potentials with comparable accuracy and stability. However, the distance selector requires a more extensive initial data set to perform the selection criteria in the first iteration of the AL process, as it relies on neighbouring information. Throughout this paper, we will use the similarity selector for MLP training.
The ability of MLPs to accurately describe chemical processes in explicit solvents is critical for extending their application to more challenging systems. To this end, we investigated the solvent effects on the DA reaction between CP and MVK in explicitly modelled water and methanol. While this reaction exhibits only minor solvent effects compared to charged systems, several reports have shown rate acceleration and selectivity enhancement when water or aqueous solvent mixtures are employed55,56,57,58. The reaction is accelerated up to 58-fold in water compared to methanol56, and the endo/exo selectivity is enhanced by 8-fold in water over benzene58. This behaviour is widely explained by the formation of stronger HBs between solvent and substrate at the TS compared to the reactants state (RS) and product state (PS)59,60,61,62,63,64,65. In addition, solvent polarity and hydrophobic effects have also been suggested to contribute to this enhancement55,62,66,67.
We trained four ACE MLPs for each endo/exo DA reaction between CP and MVK in either explicit water or methanol. For comparison, we also trained the models in implicit solvent, neglecting the presence of the explicit solvent molecules. Here, we describe the strategy employed to obtain the ACE MLP for the endo reaction in explicit water. A similar approach was used for the other systems (SI § S6 for further details). For the reaction in explicit solvents, the training set consisted of four subsets, each aimed at describing different types of interactions in the system. Subset 1 corresponds to the substrate complex (CP + MVK) and provides information about intramolecular interactions and intrinsic reactivity (Fig. 3a). Subsets 2 and 3 consist of the substrate with 2 and 33 water molecules, respectively, and aim at describing various solute-solvent interactions. Finally, subset 4 contains only water molecules, providing information about solvent-solvent interactions in bulk solvent. All subsets were generated independently using the AL scheme initiated from the transition state structure, except the pure water subset, which started from a random water configuration. This approach ensured that the training set contained reactants, products and connecting reaction paths for all studied environments. The combination of these sub-training sets yielded 600 training points, which we used to train the final ACE MLP. See SI § S6.1 for further details.
a The training data consists of four subsets, each describing key interactions. b Comparison of ground-truth and ACE MLP energies and forces over a 500-fs ACE MLP-molecular dynamics (MD) downhill dynamics for a system containing substrate and 55 water molecules with a timestep of 0.5 fs at 300 K.
The accuracy of the resulting ACE MLP was assessed by conducting 500 fs ACE MLP-MD simulations starting from two configurations not included in the training set. The first configuration, which is similar to subset 2, consisted of the gas phase TS and three water molecules forming HBs with the carbonyl group of MVK. The resulting dynamics are stable with the energy error of 2 meV atom−1, demonstrating the ability of the ACE MLP to represent reactions and specific HB interactions (Supplementary Fig. 14). The second one corresponds to a TS immersed in a box containing 55 water molecules (box size: 12.42 Å, Fig. 3b). The resulting accuracy confirms that ACE MLP is reliable for investigating the reaction of CP and MVK in solution. Validation of the other systems is provided in the SI § S6.
After obtaining accurate and stable ACE MLPs for the reaction of CP and MVK in two solvent environments, we utilised these potentials to investigate the reaction pathway in more detail. This was done by conducting a relaxed 2D scan along the forming of C-C bonds r1 and r2 in both implicit and explicit solvents (Fig. 4a and Supplementary Fig. 26, respectively). Analysis of the endo 2D scan in both implicit and explicit water reveals the presence of a zwitterionic-like structure characterised by the formation of only one C-C bond in the region around r1 < 1.6 Å and 2.5 < r2 < 3.0 Å (an example marked by a cross in Fig. 4a). Unrestricted DFT calculations on these geometries confirmed that they do not exhibit any diradical character (SI § S8). The cross-labelled zwitterionic species is slightly more stabilised in the explicit solvent than in implicit solvent (ΔΔE = 2.2 kcal mol−1).
a 2D potential energy surface (PES), which is along r1 and r2 distances, generated by Atomic Cluster Expansion (ACE) machine learning potential (MLP) in explicit water (box size 18.5 Å). Solid and dashed lines indicate the reaction pathway from PES and ACE MLP-molecular dynamics (MD), respectively. b Free energy surfaces (FES) obtained from ACE MLP-MD/umbrella sampling (US) simulation along the reaction coordinate of (r1 + r2)/2. The distribution of oxygen (red) and hydrogen (grey) atoms around the solute is shown for the reactants and intermediate state. c Downhill ACE MLP-MD dynamics in explicit water along r1 and r2 for 500 trajectories, including snapshots of forward/backward trajectories. d Number of hydrogen bonds per solvent molecule during explicit solvent uphill trajectories at the RS, intermediate (inter) if existent, and PS states as a function of distance (D) from the centre of mass (CoM) of the reactive molecules. Data associated with this figure is provided as a Source Data file.
Using ACE MLP-MD in conjunction with umbrella sampling (US, ACE MLP-MD/US), we then computed the activation free energy, ΔG‡, in implicit and explicit solvents (Fig. 4b and Supplementary Fig. 29). ΔG‡ in implicit solvent are 21.2 kcal mol−1 and 23.6 kcal mol−1, for the endo and exo pathway, respectively (ΔΔG‡ = 2.4 kcal mol−1). Incorporating explicit solvent reduces these values to 18.8 kcal mol−1 and 20.3 kcal mol−1 (ΔΔG‡ = 1.5 kcal mol−1), thereby improving the agreement with experimental data (19.2 kcal mol−1 and 21.1 kcal mol−1, respectively56,57,65, Supplementary Table 5). These results also illustrate the significance of solute-solvent interactions in the reaction.
Furthermore, the presence of solvent molecules influences the synchronicity of the reaction. In explicit solvent, the reaction exhibits an earlier and more asynchronous TS compared to the implicit solvent or gas phase. The difference in bond length between the forming C-C bonds Δr = ∣r2 − r1∣ at the TS increases from 30 pm in the gas phase to 37 pm in implicit solvent and 46 pm in explicit water. Notably, explicit water molecules also altered the reaction mechanism from a concerted asynchronous to a “pseudo" stepwise mechanism, as evidenced by the presence of a shallow local minimum in the FESs immediately after the TS (Fig. 4b). This intermediate state, which was observed for both endo and exo reactions, corresponds to a zwitterionic state. Interestingly, such an intermediate is absent in the PES, where the structure corresponds to a high energy state (labelled as a cross in (Fig. 4a)). This behaviour suggests that the intermediate arises from an entropic rather than an enthalpic contribution. The formation of an entropic intermediate has been previously reported by Singleton et al. for the reaction of cis-2-butene with dichloroketene, in which the free energy surface illustrates the entropic barrier and the mechanism change from concerted to stepwise68. In this study, we observed a similar phenomenon, highlighting the necessity of explicit solvent to capture the formation of an entropic intermediate.
The presence of this entropic intermediate is further confirmed by downhill dynamics initiated from the TS (Fig. 4c and Supplementary Table 13). For the endo reaction, the trajectories reveal a significantly more asynchronous reaction in explicit solvent compared to implicit solvent, in agreement with the ACE-MD/US data. The asynchronicity in the downhill dynamic is evident in the increased average time gap between the formation of the two C-C bonds, from 19.9 fs in an implicit water solvent to 84.3 fs in an explicit solvent. It is worth noting that although the average time gaps observed in the water exceeded 60 fs (the time gap criterion proposed by Houk et al. to distinguish concerted and stepwise mechanisms69), some trajectories displayed time gaps below this threshold, indicating that not all trajectories passed through the intermediate region, and certain trajectories bypass the intermediate free energy well. The presence of this intermediate did not affect the product ratio, as the intermediate lifetime was shorter than the C-C bond rotation period, leaving no time to form alternative products by bond rotation.
A comparison of the average time gap for the reactions in explicit water and methanol reveals that the latter exhibits a more concerted mechanism, with a time gap of 24.8 fs. These distinct reaction mechanisms are in line with the differences in the synchronicity of this reaction in different solvents, where the TSs exhibit a Δr of 7 pm in methanol and 46 pm in water (listed in Supplementary Table 12). In addition, a shift in the stability of the intermediate species occurs in methanol (further discussed in SI § S10.1).
To assess the effect of solvent at the molecular level, we performed uphill trajectories propagated from the optimised RS towards the TS to PS (further details in SI § S10.2). In contrast to downhill dynamics propagated from the TS, uphill dynamics allow the solvent sufficient time to reorganise before the trajectory passes the free energy barrier, providing a more realistic view of solvent behaviour during the reaction.
To determine the importance of HB stabilisation throughout the reaction, we analysed the number of HBs as well as their bond lengths (O(carbonyl)-H(water)) and angles (O(carbonyl)-H(water)-O(water)) distributions at RS, TS and PS in explicit water and methanol (Supplementary Table 15 and Supplementary Fig. 34). We also analysed the density distribution of water molecules surrounding the reactive species at the RS and intermediate states obtained from the corresponding US windows (Fig. 4b). The latter was chosen over the TS due to their similar geometry and the fact that only a few configurations representative of the TS were obtained. In both reactions, the number of HBs and the density of water’s oxygen and hydrogen atoms around the substrate remained practically constant. However, the reaction in water exhibited stronger HB interactions compared to methanol during the reaction process, as evidenced by the existence of HBs with shorter bond lengths at TS in water and a larger decrease in the angle in methanol.
These observations challenge the hypothesis that the reaction is accelerated in water due to the stabilisation of the TS by enhanced HB interactions compared to the RS, as suggested in previous studies59,60,70. These differences can be attributed to the differing dynamics employed in the studies. For example, Houk et al. investigated the reaction in water using downhill dynamics from the TS and observed shorter HBs bond length and more linear bond angle at TS compared with RS and PS. In this approach, the TS with solvent molecules is fully optimised, and the solvent does not undergo complete reorganisation at RS or PS as the trajectory approaches the RS or PS at a faster rate than the reorganisation process due to the absence of energy barriers to overcome.
The reactions in solution are further affected by hydrophobic effects66, which were investigated by analysing the change in cavity volume during uphill dynamics. The cavity volume was measured as empty space formed by the solvent when the solute was extracted from the system. Supplementary Fig. 33 illustrates the reduction in cavity volume from the RS to the PS. Reduction in the cavity is more pronounced in water with a change in cavity volume from RS to post-TS of − 60 Å3 compared to methanol ( − 40 Å3). The decrease in cavity volume is entropically unfavourable as it implies the formation of a more ordered solvent structure. However, at the same time, it is enthalpically favourable due to the formation of HBs among solvent-solvent (rather than solvent-solute) molecules, resulting in a decrease in ΔG‡. The importance of HB formation is supported by analysing the average number of HBs per solvent molecule at increasing distances from the solute. The distance was measured between the oxygen atom of the solvent and the centre of mass (CoM) of the RS, intermediate, and PS. Since the reaction passes the TS very quickly, the intermediate was chosen for analysis instead.
As the distance from the CoM of the substrate to solvent molecules increases, the number of HBs for each solvent converges to the average bulk value, with two HBs for water molecules and one for methanol. Fig. 4d displays a peak in the number of HB in the water close to the substrate, demonstrating the higher number of HBs in the first solvation shell for the RS (2.13), intermediate (2.43), and PS (2.49) compared to bulk water. Such an increase suggests the organisation of water molecules around the substrate during the reaction. In contrast, no such peak is observed in methanol, indicating that the solvent HB network is not influenced by the presence of substrate. The organisation of solvent molecules should lead to a reduction in free energy, as previously stated. Magsumov et al. demonstrated a linear relationship between the free energy of cavity formation and the volume of the cavity for various solvents through MD simulations utilising classical force fields71. Applying their parameters for water and methanol, the change in cavity contribution from RS to post-TS was approximately − 2.6 kcal mol−1 for the endo reaction in water, compared to around − 1.1 kcal mol−1 in methanol, further evidencing that the reactions benefit more from the hydrophobic effect in the water than in methanol. These observations thus further support the role of the hydrophobic effect in the acceleration of DA reaction in water.
We have presented a robust and efficient AL strategy that utilises descriptor-based selectors to train MLPs for condensed-phase reactions. We evaluated the impact of three different selectors: energy, similarity, and distance on data efficiency and MLP accuracy using bulk water as a model system. Our findings reveal that descriptor-based selectors outperform the classical energy selector in both efficiency and accuracy. This is evident from the smaller number of configurations required with comparable MAD in energies and forces compared with energy selector.
We applied this approach to investigate the influence of solvent molecules in the reaction between CP and MVK in water and methanol. The resulting MLPs enable us to efficiently obtain accurate PESs and FESs for these reactions. Consideration of explicit water solvent leads to the formation of a short-lived intermediate, revealing the interplay between hydrogen bond interactions and hydrophobic effects in chemical reactions. The results emphasise the importance of incorporating explicit solvation in the modelling of chemical processes to provide a more realistic representation of experimental conditions.
This work applies the SOAP approach, which is based on 3-body features, for the descriptor-based selectors. Although we demonstrated the advantages of using SOAP-based selectors in automated AL, these selectors may face challenges when applied to highly complex systems due to their geometrical incompleteness. In such cases, descriptors with higher-order features, such as ACE, would serve as a suitable replacement for the SOAP descriptors within the same framework. Another potential limitation arises from the locality assumption used in the SOAP. This means that the descriptor-based selectors may be unable to differentiate between chemical environments that only differ in a long-range region beyond the descriptor cut-off. In such cases, employing a larger cut-off or combination of short-range and long-range descriptors would be beneficial. The use of both injective and concise descriptors, as well as the development of long-range MLPs, are areas currently being explored. In future work, we aim to update the descriptor-based selectors following these advancements.
By harnessing the speed and data efficiency of this framework, we demonstrate the feasibility of accurately modelling chemical processes in explicit solvents using MLPs. We also acknowledge that as the complexity of chemical reactions in solution increases, the identification of multiple potential pathways becomes challenging. To address such challenges, particularly when multiple pathways may exist or when solvent actively participates in the reaction, the integration of enhanced sampling techniques, coupled with chemical intuition within the AL framework, will further enhance the robustness and versatility of our approach. Our approach offers an accurate and efficient means to model reactions in explicit solvents, which will contribute to a deeper understanding of solute-solvent effects and entropy in reactivity.
ACE MLPs were trained using ACE.jl72 wrapped by pyjulip in mlp-train package43. Unless specified otherwise, training for ACE MLPs uses hyperparameters listed in SI § S2. All ACE MLP-MD simulations were performed using the Atomic Simulation Environment (ASE) v.3.22.073. package with a timestep of 0.5 fs. Initial velocities were sampled from a Maxwell-Boltzmann distribution. We used the following system-specific ground truth methods: PBE0-D3BJ/def2-SVP74 for the water system, and ωB97M-D3BJ75/def2-TZVP level of theory for the DA reaction. The PBE0-D3BJ method was selected as it provided good agreement with the bulk water structure76. The ground truth for the DA reaction was chosen based on a benchmark relative to SCS-MP277 (SI § S4). Implicit solvation was accounted for using the Conductor-like Polarizable Continuum Model (CPCM)78 model. All QM computations were performed in ORCA v. 4.2.179 wrapped with autodE80. The t-SNE maps of training data sets for bulk water were generated with scikit-learn 1.3.281.
The 1D free energy profiles in implicit and explicit solvents were computed by umbrella sampling (US). The reaction coordinate was defined as (r1 + r2)/2, where r1 and r2 are the distance of C-C bonds formed during the reaction (Fig. 4, upper part). The initial configurations were generated by the partial Nudged Elastic Band (pNEB)82 method with 15 images. Solvent molecules were equilibrated before and during the NEB calculations. The ACE MLP-MD/US was performed with 30 windows for 10 ps per window at 300 K in the NVT ensemble. 15 windows were equally spaced in [1.55, 4.0] Å with k = 10 eV Å−2, and an additional 15 were equally spaced over [1.7, 2.5] Å with k = 20 eV Å−2, except for the Exo reaction in explicit water, for which k = 13 eV Å−2 and k = 30 eV Å−2 were applied for the wide- and narrow-range, respectively, to ensure overlap among the windows.
The dynamic properties of the DA reaction in an explicit solvent were investigated by propagating downhill and uphill trajectories. Downhill trajectories were propagated from the TS, while uphill trajectories were initiated from RS.
Initial configurations for the downhill trajectories were obtained using a method inspired by the solvent-perturbed transition state (SPTS) sampling scheme proposed by Houk et al.70 TS frames for reactions in explicit solvents were initially selected from ACE MLP-MD/US. These frames were equilibrated for 20 ps in the NVT ensemble while fixing the solute geometry. Snapshots were collected every 5 ps from resulting 20 ps trajectories. In these snapshots, TSs were optimised using the Broyden-Fletcher-Goldfarb-Shanno (BFGS)83,84,85,86 method, implemented in ASE, with fixed solvent molecules and harmonic potentials to maintain the TS distance of the forming bonds, obtaining optimised TSs reflecting solvent environments. Downhill dynamics were propagated from optimised TSs until the products or reactants were formed within a maximum simulation time of 2 ps. Product formation was considered when both r1 and r2 distances were below 1.6 Å, whereas the reactant was considered formed if the forming bond distances exceeded 3.0 Å.
Starting points for uphill trajectory were obtained by independent ACE-MD simulations of reactants at 300 K with r1 and r2 constrained by harmonic potentials at 3.0 ~ 5.0 Å, respectively. The uphill trajectories were propagated with a harmonic potential (spring constant of 0.4 eV Å−2) to overcome the energy barriers. Trajectories were propagated until products formed or the simulation time reached 3 ps.
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
The training datasets used in this study, along with the initial and final configurations of downhill and uphill trajectories for the DA reactions, have been deposited in the Oxford Research Archive (ORA) under accession code https://doi.org/10.5287/ora-zbjyr1ybk. Source data are provided with this paper.
mlp-train package is available at https://github.com/duartegroup/mlp-train87.
Kitanosono, T., Masuda, K., Xu, P. & Kobayashi, S. Catalytic organic reactions in water toward sustainable society. Chem. Rev. 118, 679–746 (2018).
Article CAS PubMed Google Scholar
Mlynarski, J. & Baś, S. Catalytic asymmetric aldol reactions in aqueous media - a 5 year update. Chem. Soc. Rev. 43, 577–587 (2014).
Article CAS PubMed Google Scholar
Berthelot, M. & de Saint-Gilles, P. Recherches sur les affinites, part 1. Ann. Chim. Phys. 65, 385 (1862).
Google Scholar
Menschutkin, N. Über die affinitätskoeffizienten der alkylhaloide und der amine. Z. Phys. Chem. 6U, 41–57 (1890).
Article Google Scholar
Orr-Ewing, A. J. Taking the plunge: chemical reaction dynamics in liquids. Chem. Soc. Rev. 46, 7597–7614 (2017).
Article CAS PubMed Google Scholar
Marenich, A. V., Cramer, C. J. & Truhlar, D. G. Universal solvation model based on solute electron density and on a continuum model of the solvent defined by the bulk dielectric constant and atomic surface tensions. J. Phys. Chem. B 113, 6378–6396 (2009).
Article CAS PubMed Google Scholar
Duster, A. W., Wang, C. H., Garza, C. M., Miller, D. E. & Lin, H. Adaptive quantum/molecular mechanics: what have we learned, where are we, and where do we go from here? Wiley Interdiscip. Rev. Comput. Mol. Sci. 7, 1–21 (2017).
Article Google Scholar
Watanabe, H. C. & Cui, Q. Quantitative analysis of QM/MM boundary artifacts and correction in adaptive QM/MM simulations. J. Chem. Theory Comput. 15, 3917–3928 (2019).
Article CAS PubMed Google Scholar
Kocer, E., Ko, T. W. & Behler, J. Neural network potentials: A concise overview of methods. Annu. Rev. Phys. Chem. 73, 163–186 (2022).
Article ADS CAS PubMed Google Scholar
Deringer, V. L., Caro, M. A. & Csányi, G. Machine learning interatomic potentials as emerging tools for materials science. Adv. Mater. 31, 1902765 (2019).
Article CAS Google Scholar
Wang, H., Zhang, L., Han, J. & E, W. DeePMD-kit: A deep learning package for many-body potential energy representation and molecular dynamics. Comput. Phys. Commun. 228, 178–184 (2018).
Article ADS CAS Google Scholar
Smith, J. S., Isayev, O. & Roitberg, A. E. ANI-1: an extensible neural network potential with DFT accuracy at force field computational cost. Chem. Sci. 8, 3192–3203 (2017).
Article CAS PubMed PubMed Central Google Scholar
Batzner, S. et al. E(3)-equivariant graph neural networks for data-efficient and accurate interatomic potentials. Nat. Commun. 13, 2453 (2022).
Article ADS CAS PubMed PubMed Central Google Scholar
Unke, O. T. & Meuwly, M. PhysNet: A neural network for predicting energies, forces, dipole moments, and partial charges. J. Chem. Theory Comput. 15, 3678–3693 (2019).
Article CAS PubMed Google Scholar
Schütt, K. T., Sauceda, H. E., Kindermans, P. J., Tkatchenko, A. & Müller, K. R. SchNet - A deep learning architecture for molecules and materials. J. Chem. Phys. 148, 241722 (2018).
Article ADS PubMed Google Scholar
Batatia, I., Kovács, D. P., Simm, G., Ortner, C. & Csányi, G. Mace: Higher order equivariant message passing neural networks for fast and accurate force fields. In Advances in Neural Information Processing Systems (eds Koyejo, S. et al.) Vol. 35, 11423–11436 (Curran Associates, Inc., 2022).
Bartók, A. P., Payne, M. C., Kondor, R. & Csányi, G. Gaussian approximation potentials: The accuracy of quantum mechanics, without the electrons. Phys. Rev. Lett. 104, 136403 (2010).
Article ADS PubMed Google Scholar
Chmiela, S. et al. Machine learning of accurate energy-conserving molecular force fields. Sci. Adv. 3, e1603015 (2017).
Article ADS PubMed PubMed Central Google Scholar
Chmiela, S., Sauceda, H. E., Müller, K. R. & Tkatchenko, A. Towards exact molecular dynamics simulations with machine-learned force fields. Nat. Commun. 9, 3887 (2018).
Article ADS PubMed PubMed Central Google Scholar
Drautz, R. Atomic cluster expansion for accurate and transferable interatomic potentials. Phys. Rev. B 99, 014104 (2019).
Article ADS CAS Google Scholar
Kovács, D. P. et al. Linear atomic cluster expansion force fields for organic molecules: Beyond RMSE. J. Chem. Theory Comput. 17, 7696–7711 (2021).
Article PubMed PubMed Central Google Scholar
Xue, L.-Y. et al. ReaxFF-MPNN machine learning potential: a combination of reactive force field and message passing neural networks. Phys. Chem. Chem. Phys. 23, 19457–19464 (2021).
Article CAS PubMed Google Scholar
Deringer, V. L. et al. Origins of structural and electronic transitions in disordered silicon. Nature 589, 59–64 (2021).
Article ADS CAS PubMed Google Scholar
Erhard, L. C., Rohrer, J., Albe, K. & Deringer, V. L. A machine-learned interatomic potential for silica and its relation to empirical models. Npj Comput. Mater. 8, 90 (2022).
Article ADS Google Scholar
Brickel, S., Das, A. K., Unke, O. T., Turan, H. T. & Meuwly, M. Reactive molecular dynamics for the [Cl-CH3-Br]-reaction in the gas phase and in solution: A comparative study using empirical and neural network force fields.Electron. Struct. 1, 024002 (2019).
Article ADS CAS Google Scholar
Zeng, J., Cao, L., Xu, M., Zhu, T. & Zhang, J. Z. Complex reaction processes in combustion unraveled by neural network-based molecular dynamics simulation. Nat. Commun. 11, 5713 (2020).
Article ADS CAS PubMed PubMed Central Google Scholar
Ang, S. J., Wang, W., Schwalbe-Koda, D., Axelrod, S. & Gómez-Bombarelli, R. Active learning accelerates ab initio molecular dynamics on reactive energy surfaces. Chem 7, 738–751 (2021).
Article CAS Google Scholar
Schaaf, L., Fako, E., De, S., Schäfer, A. & Csányi, G. Accurate reaction barriers for catalytic pathways: An automatic training protocol for machine learning force fields. NPJ Comput. Mater. 9, 180 (2023).
Article ADS Google Scholar
Shen, L., Wu, J. & Yang, W. Multiscale quantum mechanics/molecular mechanics simulations with neural networks. J. Chem. Theory Comput. 12, 4934–4946 (2016).
Article CAS PubMed PubMed Central Google Scholar
Chen, Y. et al. Machine learning implicit solvation for molecular dynamics. J. Chem. Phys. 155, 084101 (2021).
Article ADS CAS PubMed Google Scholar
Yao, S. et al. Machine learning based implicit solvent model for aqueous-solution alanine dipeptide molecular dynamics simulations. RSC Adv. 13, 4565–4577 (2023).
Article ADS CAS PubMed PubMed Central Google Scholar
Zhou, B., Zhou, Y. & Xie, D. Accelerated quantum mechanics/molecular mechanics simulations via neural networks incorporated with mechanical embedding scheme. J. Chem. Theory Comput. 19, 1157–1169 (2023).
Article CAS PubMed Google Scholar
Yang, M., Bonati, L., Polino, D. & Parrinello, M. Using metadynamics to build neural network potentials for reactive events: the case of urea decomposition in water. Catal. Today 387, 143–149 (2022).
Article CAS Google Scholar
Yang, X., Zou, J., Wang, Y., Xue, Y. & Yang, S. Role of water in the reaction mechanism and endo/exo selectivity of 1,3-dipolar cycloadditions elucidated by quantum chemistry and machine learning. Eur. J. Chem. 25, 8289–8303 (2019).
Article CAS Google Scholar
Devergne, T., Magrino, T., Pietrucci, F. & Saitta, A. M. Combining machine learning approaches and accurate Ab initio enhanced sampling methods for prebiotic chemical reactions in solution. J. Chem. Theory Comput. 18, 5410–5421 (2022).
Article CAS PubMed Google Scholar
Mondal, A., Kussainova, D., Yue, S. & Panagiotopoulos, A. Z. Modeling chemical reactions in alkali carbonate-hydroxide electrolytes with deep learning potentials. J. Chem. Theory Comput. 19, 4584–4595 (2023).
Article CAS PubMed Google Scholar
Yang, Y., Zhang, S., Ranasinghe, K., Isayev, O. & Roitberg, A. Machine Learning of Reactive Potentials. Annu. Rev. Phys. Chem. 75, 371–395 (2024).
Vassilev-Galindo, V., Fonseca, G., Poltavsky, I. & Tkatchenko, A. Challenges for machine learning force fields in reproducing potential energy surfaces of flexible molecules. J. Chem. Phys. 154, 094119 (2021).
Article ADS CAS PubMed Google Scholar
Ramakrishnan, R., Dral, P. O., Rupp, M. & von Lilienfeld, O. A. Big data meets quantum chemistry approximations: The Δ-machine learning approach. J. Chem. Theory Comput. 11, 2087–2096 (2015).
Article CAS PubMed Google Scholar
Rossi, K. et al. Simulating solvation and acidity in complex mixtures with first-principles accuracy: the case of CH3SO3H and H2O2 in phenol. J. Chem. Theory. Comput. 16, 5139–5149 (2020).
Article CAS PubMed Google Scholar
Jurásková, V., Célerse, F., Laplaza, R. & Corminboeuf, C. Assessing the persistence of chalcogen bonds in solution with neural network potentials. J. Chem. Phys. 156, 154112 (2022).
Article ADS PubMed Google Scholar
Young, T. A., Johnston-Wood, T., Deringer, V. L. & Duarte, F. A transferable active-learning strategy for reactive molecular force fields. Chem. Sci. 12, 10944–10955 (2021).
Article CAS PubMed PubMed Central Google Scholar
Young, T. A., Johnston-Wood, T., Zhang, H. & Duarte, F. Reaction dynamics of diels-alder reactions from machine learned potentials. Phys. Chem. Chem. Phys. 24, 20820–20827 (2022).
Article CAS PubMed Google Scholar
Sivaraman, G. et al. Machine-learned interatomic potentials by active learning: amorphous and liquid hafnium dioxide. Npj Comput. Mater. 6, 104 (2020).
Article ADS CAS Google Scholar
Vandermause, J., Xie, Y., Lim, J. S., Owen, C. J. & Kozinsky, B. Active learning of reactive bayesian force fields applied to heterogeneous catalysis dynamics of H/Pt. Nat. Commun. 13, 5183 (2022).
Article ADS CAS PubMed PubMed Central Google Scholar
Xie, Y. et al. Uncertainty-aware molecular dynamics from bayesian active learning for phase transformations and thermal transport in SiC. Npj Comput. Mater. 9, 36 (2023).
Article ADS CAS Google Scholar
Rasmussen, C. & Williams, C. Gaussian Processes for Machine Learning. Adaptive computation and machine learning series (MIT Press, 2005).
Schran, C., Brezina, K. & Marsalek, O. Committee neural network potentials control generalization errors and enable active learning. J. Chem. Phys. 153, 104105 (2020).
Article ADS CAS PubMed Google Scholar
Zhang, L., Lin, D. Y., Wang, H., Car, R. & Weinan, E. Active learning of uniformly accurate interatomic potentials for materials simulation. Phys. Rev. Mater. 3, 023804 (2019).
Article CAS Google Scholar
Kulichenko, M. et al. Uncertainty-driven dynamics for active learning of interatomic potentials. Nat. Comput. Sci. 3, 230–239 (2023).
Article PubMed PubMed Central Google Scholar
Bartók, A. P., Kondor, R. & Csányi, G. On representing chemical environments. Phys. Rev. B 87, 184115 (2013).
Article ADS Google Scholar
Zaverkin, V., Holzmüller, D., Schuldt, R. & Kästner, J. Predicting properties of periodic systems from cluster data: A case study of liquid water. J. Chem. Phys. 156, 114103 (2022).
Breunig, M. M., Kriegel, H.-P., Ng, R. T. & Sander, J. LOF: Identifying density-based local outliers. SIGMOD Rec. 29, 93–104 (2000).
Article Google Scholar
Marsalek, O. & Markland, T. E. Quantum dynamics and spectroscopy of ab initio liquid water: The interplay of nuclear and electronic quantum effects. J. Phys. Chem. Lett. 8, 1545–1551 (2017).
Article CAS PubMed Google Scholar
Rideout, D. C. & Breslow, R. Hydrophobic acceleration of Diels-Alder reactions. J. Am. Chem. Soc. 102, 7816–7817 (1980).
Article CAS Google Scholar
Breslow, R. & Guo, T. Diels-Alder reactions in nonaqueous polar solvents. Kinetic effects of chaotropic and antichaotropic agents and of .beta.-cyclodextrin. J. Am. Chem. Soc. 110, 5613–5617 (1988).
Article CAS Google Scholar
Engberts, J. Diels-Alder reactions in water: Enforced hydrophobic interaction and hydrogen bonding. Pure Appl. Chem. 67, 823–828 (1995).
Article CAS Google Scholar
Lording, W. J., Fallon, T., Sherburn, M. S. & Paddon-Row, M. N. The simplest diels-alder reactions are not endo-selective. Chem. Sci. 11, 11915–11926 (2020).
Article CAS PubMed PubMed Central Google Scholar
Liu, F., Liang, Y. & Houk, K. N. Bioorthogonal cycloadditions: Computational analysis with the distortion/interaction model and predictions of reactivities. Acc. Chem. Res. 50, 2297–2308 (2017).
Article CAS PubMed PubMed Central Google Scholar
Acevedo, O. & Jorgensen, W. L. Understanding rate accelerations for diels-alder reactions in solution using enhanced qm/mm methodology. J. Chem. Theory Comput. 3, 1412–1419 (2007).
Article CAS PubMed Google Scholar
Jorgensen, W. L., Lim, D. & Blake, J. F. Ab initio study of Diels-Alder reactions of cyclopentadiene with ethylene, isoprene, cyclopentadiene, acrylonitrile, and methyl vinyl ketone. J. Am. Chem. Soc. 115, 2936–2942 (1993).
Article CAS Google Scholar
Soto-Delgado, J., Tapia, R. A. & Torras, J. Multiscale treatment for the molecular mechanism of a diels-alder reaction in solution: A qm/mm-md study. J. Chem. Theory Comput. 12, 4735–4742 (2016).
Article CAS PubMed Google Scholar
Li, P., Liu, F., Shao, Y. & Mei, Y. Computational insights into endo/exo selectivity of the diels-alder reaction in explicit solvent at ab initio quantum mechanical/molecular mechanical level. J. Phys. Chem. B 123, 5131–5138 (2019).
Article CAS PubMed Google Scholar
Chandrasekhar, J., Shariffskul, S. & Jorgensen, W. L. QM/MM simulations for Diels-Alder reactions in water: Contribution of enhanced hydrogen bonding at the transition state to the solvent effect. J. Phys. Chem. B 106, 8078–8085 (2002).
Article CAS Google Scholar
Thomas, L. L., Tirado-Rives, J. & Jorgensen, W. L. Quantum mechanical/molecular mechanical modeling finds diels-alder reactions are accelerated less on the surface of water than in water. J. Am. Chem. Soc. 132, 3097–3104 (2010).
Article CAS PubMed PubMed Central Google Scholar
Meijer, A., Otto, S. & Engberts, J. B. F. N. Effects of the hydrophobicity of the reactants on Diels-Alder reactions in water. J. Org. Chem. 63, 8989–8994 (1998).
Furlani, T. R. & Gao, J. Hydrophobic and hydrogen-bonding effects on the rate of diels-alder reactions in aqueous solution. J. Org. Chem. 61, 5492–5497 (1996).
Article CAS Google Scholar
Gonzalez-James, O. M., Kwan, E. E. & Singleton, D. A. Entropic intermediates and hidden rate-limiting steps in seemingly concerted cycloadditions. observation, prediction, and origin of an isotope effect on recrossing. J. Am. Chem. Soc. 134, 1914–1917 (2012).
Article CAS PubMed PubMed Central Google Scholar
Black, K., Liu, P., Xu, L., Doubleday, C. & Houk, K. N. Dynamics, transition states, and timing of bond formation in diels-alder reactions. Proc. Natl. Acad. Sci. USA 109, 12860–12865 (2012).
Article ADS CAS PubMed PubMed Central Google Scholar
Yang, Z., Doubleday, C. & Houk, K. N. Qm/mm protocol for direct molecular dynamics of chemical reactions in solution: The water-accelerated diels-alder reaction. J. Chem. Theory Comput. 11, 5606–5612 (2015).
Article CAS PubMed Google Scholar
Sedov, I. & Magsumov, T. The Gibbs free energy of cavity formation in a diverse set of solvents. J. Chem. Phys. 153, 134501 (2020).
Article ADS CAS PubMed Google Scholar
Ortner, C. et al. ACE.jl: Approximation of symmetric functions with polynomials and spherical harmonics. https://github.com/ACEsuit/ACE.jl.
Larsen, A. H. et al. The atomic simulation environment—a python library for working with atoms. J. Phys. Condens. Matter 29, 273002 (2017).
Article Google Scholar
Adamo, C. & Barone, V. Toward reliable density functional methods without adjustable parameters: The PBE0 model. J. Chem. Phys. 110, 6158–6170 (1999).
Article ADS CAS Google Scholar
Najibi, A. & Goerigk, L. The nonlocal kernel in van der waals density functionals as an additive correction: An extensive analysis with special emphasis on the b97m-v and ωb97m-v approaches. J. Chem. Theory Comput. 14, 5725–5738 (2018).
Article CAS PubMed Google Scholar
Zhang, C., Donadio, D., Gygi, F. & Galli, G. First principles simulations of the infrared spectrum of liquid water using hybrid density functionals. J. Chem. Theory Comput. 7, 1443–1449 (2011).
Article CAS PubMed Google Scholar
Fink, R. F. Spin-component-scaled Møller-Plesset (SCS-MP) perturbation theory: A generalization of the MP approach with improved properties. J. Chem. Phys. 133, 174113 (2010).
Article ADS PubMed Google Scholar
Barone, V. & Cossi, M. Quantum calculation of molecular energies and energy gradients in solution by a conductor solvent model. J. Phys. Chem. A 102, 1995–2001 (1998).
Article CAS Google Scholar
Neese, F. Software update: the orca program system, version 4.0. Wiley Interdiscip. Rev. Comput. Mol. Sci. 8, e1327 (2018).
Article Google Scholar
Young, T. A., Silcock, J. J., Sterling, A. J. & Duarte, F. autodE: Automated calculation of reaction energy profiles – application to organic and organometallic reactions. Angew. Chem. 60, 4266–4274 (2021).
Article CAS Google Scholar
Pedregosa, F. et al. Scikit-learn: machine learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011).
MathSciNet Google Scholar
Bergonzo, C., Campbell, A. J., Walker, R. C. & Simmerling, C. A partial nudged elastic band implementation for use with large or explicitly solvated systems. Int. J. Quantum Chem. 109, 3781–3790 (2009).
Article ADS CAS PubMed PubMed Central Google Scholar
Broyden, C. G. The convergence of a class of double-rank minimization algorithms 1. general considerations. IMA J. Appl. Math. 6, 76–90 (1970).
Article Google Scholar
Fletcher, R. A new approach to variable metric algorithms. Comput. J. 13, 317–322 (1970).
Article Google Scholar
Goldfarb, D. A family of variable-metric methods derived by variational means. Math. Comp. 24, 23–26 (1970).
Article MathSciNet Google Scholar
Shanno, D. F. Conditioning of quasi-newton methods for function minimization. Math. Comp. 24, 647–656 (1970).
Article MathSciNet Google Scholar
Young, T. A. et al. Modelling chemical processes in explicit solvents with machine learning potentials. mlp-train. https://doi.org/10.6084/m9.figshare.25816864.v1 (2024).
Skinner, L. B., Benmore, C. J., Neuefeind, J. C. & Parise, J. B. The structure of water around the compressibility minimum. J. Chem. Phys. 141, 214507 (2014).
Article ADS CAS PubMed Google Scholar
Download references
The authors thank Dr T. Piskorz, Dr A. Sterling and Z. Zhu for insightful discussions. They also acknowledge Dr H. Chan, Dr Z. Bo, Dr B. Lee, N. Frank, V. Vitartas, and Dr T. Johnston-Wood for their feedback on the manuscript and codes. H.Z. thanks the EPSRC Centre for Doctoral Training in Theory and Modelling in Chemical Sciences (EP/L015722/1). V.J. acknowledges the funding from the Swiss National Science Foundation (SNSF, Postdoc. Mobility fellowship, grant no. 210737). This work used the University of Oxford Advanced Research Computing (ARC) facility and the Cirrus UK National Tier-2 HPC Service at EPCC, funded by the University of Edinburgh and EPSRC (EP/P020267/1).
Chemistry Research Laboratory, Oxford, United Kingdom
Hanwen Zhang, Veronika Juraskova & Fernanda Duarte
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
You can also search for this author in PubMed Google Scholar
H.Z. and F.D. conceptualised the study. H.Z. carried out the calculations. All authors participated in data analyses and writing of the manuscript. H.Z. and V.J. wrote the first draft. F.D. supervised the study.
Correspondence to Fernanda Duarte.
The authors declare no competing interests.
Nature Communications thanks Diwakar Shukla who co-reviewed with Diego Kleiman and the other anonymous reviewer(s) for their contribution to the peer review of this work. A peer review file is available.
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
Reprints and permissions
Zhang, H., Juraskova, V. & Duarte, F. Modelling chemical processes in explicit solvents with machine learning potentials. Nat Commun 15, 6114 (2024). https://doi.org/10.1038/s41467-024-50418-6
Download citation
Received: 06 August 2023
Accepted: 08 July 2024
Published: 20 July 2024
DOI: https://doi.org/10.1038/s41467-024-50418-6
Anyone you share the following link with will be able to read this content:
Sorry, a shareable link is not currently available for this article.
Provided by the Springer Nature SharedIt content-sharing initiative