TL;DR
This paper introduces FullSSPrUCe, a novel machine learning model that rapidly predicts full NMR spin systems (chemical shifts and scalar couplings) with quantified uncertainty. It achieves state-of-the-art accuracy by combining graph neural networks with 3D conformational information and a new method for jointly training on experimental and ab initio data.
What Problem Does This Paper Address?
Accurately simulating Nuclear Magnetic Resonance (NMR) spectra is crucial for determining molecular structure. This requires knowing all chemical shift and scalar coupling parameters. Traditionally, this has been done using time-consuming ab initio computational chemistry methods or heuristic techniques. While machine learning (ML) has shown promise, existing methods often struggle with predicting all parameters (especially scalar couplings), require computationally expensive ab initio conformers, or lack reliable uncertainty quantification. This paper aims to bridge this gap by developing a faster, more accurate, and uncertainty-aware ML model for comprehensive NMR parameter prediction.
Methods
The core of the approach is a Graph Neural Network (GNN) model called FullSSPrUCe. Key methodological innovations include:
- 3D Conformational Ensembles: Instead of relying solely on 2D connectivity or expensive ab initio generated 3D structures, FullSSPrUCe uses rapid distance geometry methods (ETKDG) to generate multiple 3D conformers. These conformers provide crucial geometric information that influences NMR parameters and is essential for distinguishing stereoisomers.
- Uncertainty Quantification (Bootstrapping): The model employs a "bootstrapping" technique, where multiple versions of the model with slightly different final layers are trained on subsets of the data. At test time, the mean prediction is used, and the variance among the bootstrapped predictions serves as a measure of uncertainty. This allows users to identify predictions with higher expected accuracy.
- Disagreement Regularization: A novel loss function is introduced to jointly train on both experimental and ab initio NMR data. This method intelligently balances the contribution of each data type to the loss, down-weighting discrepancies where experimental data might be noisy or erroneous, and allowing the model to learn from the strengths of both.
- Hybrid GNN Architecture: The model utilizes both "message passing" layers (for per-vertex properties like chemical shifts) and "decode" layers (which incorporate geometric features to predict both per-vertex and per-edge properties like scalar couplings).
Datasets
- NMRShiftDB: This is the primary dataset used for training and evaluating chemical shift predictions. It's a user-contributed database of experimental NMR shift values for small molecules. The authors also generated ab initio NMR parameters for a subset of these molecules to facilitate training and evaluation on both data types.
- GDB-17: A subset of this large chemical database was used for stereoisomer identification tasks, providing molecules with known stereoisomers and their corresponding ab initio NMR parameters.
- Small Experimental Datasets: Three small experimental datasets were used to evaluate the model's performance on scalar coupling predictions, particularly for ³J<sub>HH</sub>.
Key Insights and Ideas
- 3D Geometry is Crucial for Couplings and Stereoisomers: The paper strongly demonstrates that incorporating 3D conformational information is essential for accurately predicting scalar couplings and for distinguishing between stereoisomers, something 2D-based methods struggle with.
- Uncertainty is Predictable and Useful: The quantified uncertainty from the bootstrapping method shows a strong correlation with prediction error. This allows users to confidently select a subset of predictions with significantly reduced error, effectively filtering out potentially unreliable results.
- Joint Training of Experimental and Ab Initio Data is Powerful: Disagreement regularization offers a sophisticated way to leverage both noisy experimental data and more reliable but potentially biased ab initio data, leading to improved performance, especially in areas where experimental data is scarce or problematic (like "small rings").
- Rapid Conformers are Sufficient: Using faster ETKDG conformers, rather than computationally expensive ab initio ones, provides a good balance between performance and speed, making the prediction pipeline much more practical.
Key Results
- Improved Accuracy: FullSSPrUCe achieves state-of-the-art accuracy for chemical shift predictions, with mean average errors (MAE) of 0.209 ppm for protons and 1.218 ppm for carbons on experimental data. It also shows significant improvement over previous methods for ab initio predictions.
- Full Spin System Prediction: Unlike previous GNN models, FullSSPrUCe successfully predicts all scalar coupling values, achieving accuracies between 0.838 Hz and 1.392 Hz for ³J<sub>HH</sub> on small experimental datasets.
- Uncertainty-Driven Error Reduction: By selecting the top 80% most confident proton shift predictions, the average error is reduced to just 0.140 ppm.
- Stereoisomer Identification: The model can correctly identify the true stereoisomer for approximately 49% of test molecules, with top-2 accuracy on 73% of cases, demonstrating its potential for this downstream task.
- Speed Advantage: Using ETKDG conformers, the prediction pipeline is significantly faster than methods relying on ab initio conformers, with prediction times on the order of milliseconds per molecule.
Limitations and Future Work
- Solvent and Temperature Effects: The current model does not account for solvent and temperature effects, which can contribute to error and explain differences in prediction accuracy for different types of protons. Future work could explore incorporating this information.
- Stereoisomer Identification Performance: While promising, the stereoisomer identification accuracy is not yet at the level of DFT-based methods. This is attributed to challenges in training on a representative subset of the massive GDB-17 database. More thorough training and testing are needed.
- Conformer Generation Bottleneck: While ETKDG is fast, conformer generation remains the most time-consuming part of the pipeline, especially for larger molecules. Future work could explore faster geometry featurization methods or even skipping explicit conformer generation.
- Hyperparameter Tuning for Disagreement Regularization: The optimal weighting parameter (λ) for disagreement regularization can lead to trade-offs between performance on different types of molecules (e.g., small vs. big rings). Further study is needed to fully understand and optimize these hyperparameters.
Summary updated