Manuscript Offprint
arXiv:2608.23874Differential Learning for Robust Prediction of Thermal Stability with Application to Energetic Materials
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Predicting thermal stability during handling and storage is essential for the design of safe and reliable energetic materials. However, experimental measurements vary significantly across laboratories due to differences in protocols and analysis methods, making it difficult to train reliable predictive models. We address this challenge through differential learning. Rather than predicting absolute decomposition temperatures, we instead train message passing neural networks to predict relative differences between pairs of molecules. This approach reduces sensitivity to systematic experimental errors and achieves >85% accuracy in ranking compounds by thermal stability, outperforming conventional regression methods on the same heterogeneous dataset. To understand what drives these predictions, we compare neural network models with interpretable alternatives built from descriptors derived from ab initio calculations and cheminformatics software. This analysis identifies bond dissociation enthalpy as a key determinant of thermal stability rankings, providing further insight into the complex chemistry of thermal decomposition. The differential learning framework generalizes across model architectures, from graph neural networks to classical descriptor-based approaches. Our results demonstrate that learning relative properties rather than absolute values offers a practical solution for modeling noisy experimental data, with direct applications in materials design where thermal stability predictions inform safety protocols.
KEYWORDS: machine learning, energetic materials, density functional theory, thermal stability
1. Introduction
Thermal decomposition kinetics determine the temperature-time limit at which organic molecules can be processed, stored, or deployed without undergoing irreversible chemical changes. The decomposition temperature ( ) at which molecular breakdown occurs is widely adopted as a proxy for thermal stability, despite its dependence on heating rate and exposure time, and serves as a key parameter in materials screening and qualification workflows. Accurate prediction of this quantity would streamline materials discovery and development by reducing our reliance on costly and time-consuming molecule synthesis, purification, and thermal characterization. Experimentally, decomposition temperatures are commonly determined using differential scanning calorimetry and related thermal analysis techniques, but the reported values are sensitive to experimental protocols. Heating rate, sample mass, thermal contact, and the choice of reporting convention such as onset or peak temperature can all influence the reported decomposition temperature. Beyond intrinsic measurement uncertainty, these factors introduce systematic, source-dependent variability into compiled datasets, while the experimental context required to interpret such differences is often incomplete or inconsistently reported. As materials databases increasingly aggregate values from heterogeneous literature sources, this variability becomes embedded as latent noise, fundamentally limiting the reliability of conventional data-driven modeling.
Machine learning (ML) has become a useful methodology in molecular and materials informatics, enabling data-driven prediction of chemical, thermodynamic, and biological properties directly from structure. Recent works have emphasized the development of molecular representations for property prediction, including graph-based neural networks that operate directly on the two-dimensional molecular graph as well as descriptor-based models derived from cheminformatics fingerprints and electronic structure calculations. While most studies formulate property prediction as a direct regression of absolute values, alternative learning strategies based on relative or paired representations have begun to emerge. For example, paired molecular representations have been used to classify relative potency differences in drug discovery settings, demonstrating that comparative formulations can enhance predictive performance when learning structure–activity relationships. Similarly, pairwise difference regression frameworks train models to predict property differences between data points rather than the properties themselves, improving generalization and uncertainty estimation across chemical tasks. Related twin-network regression architectures likewise operate on differences between targets to reformulate conventional supervised learning objectives. Although these approaches were not developed specifically to address heterogeneous experimental data, they illustrate a broader principle: learning relative differences between instances can provide an alternative inductive bias to absolute regression. Thermal decomposition offers a compelling context in which such a formulation may be particularly advantageous. Because decomposition temperatures are compiled from diverse experimental protocols, systematic offsets arising from measurement conditions are embedded within the data. In this setting, directly regressing absolute temperatures risks entangling protocol-dependent artifacts with intrinsic molecular trends. Learning relative stability relationships instead provides a principled route to preserve chemically meaningful ordering while attenuating global shifts introduced by heterogeneous experimental conditions.
Here, we introduce a differential learning framework for the robust prediction of thermal stability in the chemical space of organic molecules containing only CHNO. Rather than directly regressing absolute decomposition temperatures, our approach learns pairwise differences between compounds, enabling consistent ranking under heterogeneous measurement conditions. We implement this strategy using message passing neural networks (MPNNs) operating on molecular graphs, together with complementary differential models constructed from interpretable descriptors derived from cheminformatics software and density functional theory (DFT) calculations. This framework is particularly well suited for experimentally heterogeneous properties whose reported values embed systematic protocol-dependent variability.
We apply this framework to energetic organic molecules, a class of materials in which thermal stability is both technologically critical and intrinsically coupled to molecular design. In these systems, decomposition temperature serves as a primary metric of safe handling, storage lifetime, and operational reliability. Compounds with insufficient thermal stability may undergo premature decomposition at elevated temperatures, whereas excessive stabilization tends to be correlated with diminished energetic performance, necessitating a careful balance between energy density and thermal robustness. This energy–stability trade-off has long motivated the use of physically grounded descriptors to rationalize decomposition behavior. In particular, the minimum bond dissociation enthalpy (BDE) or “trigger-linkage” has been widely employed as a mechanistically motivated proxy for thermal robustness. By combining differential graph-based models with descriptor-based differential regressors, we evaluate not only ranking performance but also whether the learned representations recover chemically meaningful determinants of decomposition. Feature attribution analysis identifies differences in oxygen balance and bond dissociation enthalpy as top predictors of relative thermal stability, directly linking the differential learning formulation to established mechanistic concepts. Together, this work positions differential learning as a principled framework for modeling experimentally heterogeneous materials properties, with thermal decomposition in energetic molecules serving as a stringent and mechanistically informative case study.
2.1 Model Workflow

Figure 1 – High-throughput workflow used to collect data from literature, calculate descriptors, train machine learning models, and derive chemical insights. SMILES strings and associated values are collected from literature. A conformer search produces adequate starting geometry for DFT calculations while topological features are derived from the molecular graph. Chemprop and scikit-learn are used to train differential regression models to predict between pairs of molecules. Postprocessing results in SHAP scores that help to identify key descriptors in the prediction of thermal stability. The inset figure in the top right depicts a schematic of the differential regression model – two molecular graphs (or descriptor sets) are used as input and the between them is the targeted output. The sign of the prediction can be used to rank molecules by their thermal stability.
Figure 1 provides a schematic of our workflow for database curation, including the computation of properties from DFT (e.g., bond dissociation enthalpy) and subsequent model training to predict . The full procedure is described in more detail in Section 4. We initially tested two approaches to train ML regression models to predict using our collected data: (i) interpretable ML models using DFT and cheminformatics descriptors as inputs, leveraging the scikit-learn package and (ii) message passing neural networks implemented using Chemprop, which are trained directly on molecular graphs. This direct regression approach exhibits underwhelming performance (Supplemental Information Figures S1 and S2), with the best model achieving a MAE of 48.9 °C and an of 0.70. Notably, predictive accuracy deteriorates at the upper and lower extremes of the distribution. This limitation is particularly consequential in materials discovery, where the objective is to identify candidates that optimize some target property and where high-performing outliers are therefore of greatest interest. A likely contributor to this poor predictive performance is the systematic noise present in our curated dataset. Because the dataset is compiled from measurements reported by multiple institutions, it is subject to systematic heterogeneity arising from differences in experimental protocols, reporting practices, and incomplete metadata availability. Moreover, the relatively small dataset size limits model generalizability and complicates the robust identification of underlying structure-property relationships. Collectively, these challenges motivate the development of alternative modeling strategies that are robust to data heterogeneity and sparsity while maintaining predictive fidelity.
To mitigate the effects of dataset noise, we reframed the task from predicting absolute values to learning the relative ordering of molecular performance using a differential learning framework. In this approach, the model receives a pair of molecules as input and predicts the difference in their values (Figure 1 inset). This formulation offers several advantages. First, constructing molecular pairs generates training examples, substantially expanding the number of pairwise comparisons available during training. Second, because predictions are based on pairwise comparisons rather than absolute values, the model can focus on learning discriminative features that govern relative performance, improving robustness to systematic heterogeneity in the underlying data. Pairwise predictions can then be aggregated through a round-robin tournament to generate a global ranking without imposing arbitrary classification thresholds.
We evaluated both classification- and regression-based implementations of this differential learning strategy. In the classification formulation, the model predicts which molecule in a pair exhibits the higher , whereas in the regression formulation it predicts the numerical difference in between the two molecules. The regression approach consistently outperformed classification, achieving an F1 score of 0.860 compared with 0.845 for the best classification model (Table S1). Consequently, the remainder of this work focuses on two complementary differential regression models: (i) a message-passing neural network (MPNN) operating on molecular graphs derived from SMILES representations, and (ii) a random forest (RF) model trained on differential molecular descriptors. Although the MPNN provides slightly superior predictive performance, both approaches offer complementary opportunities for model interpretation and the development of chemical insights (Section 2.3).
2.2 Model performance
To assess the predictive performance of both the MPNN and RF models (implementation details outlined in Section 4.3), we apply them to the same held-out test set to collect consistent accuracy metrics. In Figure 2, the accuracy of each model is assessed as a function of the ground-truth between the pair of input molecules. Both the MPNN and RF models exhibit a trend of improved accuracy score as increases. Even at small separations, both models are always better than random choice (accuracy score > 0.5), which indicates that both architectures are effective in deriving structure from the data – either from the molecular graph in the MPNN model or from physical descriptors in the RF model. Both models converge to 100 % accuracy once surpasses approximately 250 °C. This result is intuitive, as we expect that either model should readily differentiate between molecules with drastically different , but for molecules that are close in , the decision boundary becomes narrower. This is despite the fact that the training data used to fit each model contains more pairs with a small as evidenced by the grey bars in Figure 2, which depict the number of pairs in each bin.

Figure 2 – Test set accuracy scores of the (a) MPNN model and (b) RF model in predicting which input molecule has a higher as a function of the difference in between the two molecules. The blue curve corresponds to accuracy, and the orange curve corresponds to the area under the receiver operating characteristic (AUROC). Error bars are computed as the standard deviation of each score within each bin. Grey bars indicate the number of molecule pairs in each bin.
Accurate ordinal ranking is needed for identifying new materials with enhanced thermal stability. To highlight this capability in both models, Figure 3 shows the parity between predicted rank order derived from a tournament-based ranking system (outlined in Section 4.4), and a rank order based on ground-truth for all molecules in the test set. Both the MPNN and RF models achieve a high pairwise accuracy, 87% and 86%, and a high , 0.81 and 0.79, respectively. The points in Figure 3 are color-coded by the experimental of the molecule they represent to illustrate how experimental correlates with the rank predicted by the model. The position of 1,3,5-triamino-2,4,6-trinitrobenzene (TATB), a molecule often cited for its excellent thermal stability, is represented by a vertical dashed line to serve as an example of how these surrogate models can be used during materials screening to identify new candidate molecules with high thermal stability. The nearly equivalent predictive performance exhibited by the two models further supports the idea that both architectures are capable of deriving structure from the data.
using different, but equally informative, molecular representations. In the following section, chemical and mechanistic insights into the factors governing thermal stability as predicted by these surrogates will be presented.

Figure 3 – Parity of (a) the MPNN model and (b) the RF model in predicting the order of each molecule in the test set ranked by its . Points are colored by their experimental with red corresponding to higher values and blue corresponding to lower values as indicated by the color bar on the right. The position of TATB is indicated by a dashed line in both subplots to give a sense of the range which the test molecules cover.
2.3 Model interpretability
Beyond serving as surrogate predictors of thermal stability for unknown compounds, our MPNN and RF models can be interrogated using SHAP analysis (described in Section 4.3) to identify the descriptors that most strongly influence predictions, thereby providing interpretability and chemical insight into the factors governing thermal stability. Figure 4 presents the top descriptors identified by this analysis when applied to the RF model. Subplot (a) ranks the descriptors by their mean absolute SHAP score while subplots (b)-(g) plot the relationship between
SHAP score and descriptor value for each of the top six descriptors, which indicates the directionality of the correlation. It is important to note that each descriptor is a differential descriptor, meaning that it captures the difference in the value of a property between molecules A and B rather than the magnitude of either one.
The difference in oxygen balance (%OB) is identified as the most important descriptor to predict , with a mean SHAP value of 13.8 °C. This highlights a well-established inverse relationship between energetic performance and thermal stability in most energetic materials. Molecules with an %OB near zero tend to be highly performant and are therefore less likely to be thermally stable. From inspection of Figure 4b, it is clear that pairs of molecules with a large difference in %OB tend to produce the highest SHAP score for this descriptor indicating that this is the strongest proxy for difference in of the descriptors tested in this study.
Two descriptors that relate to bond dissociation also rank highly: the difference in mean BDE and the difference in minimum BDE with SHAP scores of 13.0 °C and 12.5 °C respectively. Referring to subplots (c) and (d) of Figure 4, it is evident that pairs of molecules with significant differences in their mean or minimum BDE are associated with the highest SHAP scores. This supports the argument often used in literature that the weakest bond in a molecule can act as a trigger which once broken could initiate the decomposition process. However, it is important to consider this descriptor in the full context of Figure 4a. Despite being some of the most important descriptors, they are clearly dominated by the combined contribution of the remaining 183 descriptors not explicitly listed. This suggests that the contribution of any individual feature is less important than the interaction or combination of them all which makes the use of BDEs alone (or any other individual descriptor for that matter) insufficient for screening thermally stable energetic materials. The remaining descriptors exhibit even less influence on the final prediction, further reinforcing the idea that it is the combination of these descriptors, rather than the value of any individual one, that enables accurate predictions by the RF model.
(a)

Figure 4 – SHAP importance scores of the top descriptors in predicting using the RF model. (a) Mean absolute SHAP score for the top ten most important descriptors alongside the sum of all remaining descriptors. (b-g) Scatter plots of SHAP score v. descriptor value for each molecule in the dataset. Each subplot corresponds to a different descriptor: %OB, Mean BDE, Minimum BDE, BCUT2D_MWHI, Alpha HOMO, and BCUT2D_LOGPLOW respectively. The colormap scales linearly with the Y-axis to emphasize the points with extreme values. Positive SHAP scores are associated with a positive contribution to predicted and negative SHAP scores are associated with a negative contribution to predicted .
While Figure 4 illustrates the directional relationship of each descriptor with SHAP scores in the aggregate, it can also be informative to review results from the SHAP analysis on the individual molecule pair-level. Therefore, Figure 5 illustrates two representative scenarios encountered by the RF model, one in which molecule A has a greater than molecule B and vice versa. Figure 5a depicts a pair of molecules in which molecule A is selected to be the molecule with the minimum in the dataset and molecule B has a median value relative to the range of the whole dataset. Figure 5b reports the opposite scenario, where molecule A has a median value and molecule B is the molecule with the maximum in the dataset. As expected, each of the top descriptors identified in Figure 4 are present in both scenarios. However, it is important to note how specific differences in molecule composition and structure can impact the influence that a descriptor has – often changing the order from what was observed in the aggregate. For example, in Figure 5a, oxygen balance – the most important descriptor in aggregate – ranks low for the minimum/median pair of molecules since the two molecules do not have a substantial difference in their computed %OB ( ). This means that the model must rely on other descriptors, namely mean BDE, to make a clear distinction between the two. Alternatively, in Figure 5b, the oxygen balance between the two molecules does differ significantly ( ) and, in this case, can be used reliably to separate the pair.
(a)

(b)
Figure 5 – Waterfall plots illustrating the SHAP analysis for two specific pairs of molecules. Subplot (a) describes how the RF model makes its prediction between the lowest (45 °C) molecule and a median (221 °C) molecule whereas subplot (b) illustrates the results for the median molecule and the highest (459 °C) one. These two scenarios compare how the RF model handles pairs with different orderings but similar magnitudes.
To better understand how BDEs affect thermal stability, Figure 6 illustrates the distribution of all BDE values grouped by bond type for the nine most prevalent bond types in our dataset.
Sorting the groups by their median BDE value, we observe a clear separation between the linkages ( , , and ) and all other bond types. The weakness of bonds (median BDE < 2 eV) relative to all other bond types reinforces a commonly used heuristic in the energetic materials literature that groups, when present, often serve as the trigger linkage that initiates the decomposition reaction. However, as shown in Figure 4a, this heuristic alone is insufficient to make an accurate prediction of thermal stability. Therefore, despite the prevalence of this idea in similar works focused on developing thermally stable energetic materials, we posit that the minimum or mean BDE of a molecule can be informative when used in conjunction with other topological and DFT-derived descriptors but should not be used as a direct proxy for thermal stability.

Figure 6 – Boxplot illustrating the distributions of BDE values for the most prevalent bond types in the dataset. The X-axis labels correspond to the type of bond being broken and the number in parentheses underneath it is the total number of bonds of that type. The bond types are ordered by their median BDE value with the highest starting at the left. All bond types that are not explicitly labeled are grouped into a single “Other” category for clarity.
SHAP scores can be assigned directly to the molecular graph by pairing the predictions of our graph-based MPNN model with the interpretability procedure developed by Li et al. This enables deeper insight into the structural features that the ML model associates with thermal stability and complements the prior analysis of higher-level physical descriptors covered by the RF model. Figure 7 illustrates a selection of targeted structural modifications to TATB and describes how specific atoms and bonds contribute to the relative thermal stability of the resulting molecules.
Inspection of Figure 7a reveals that in TATB the aromatic core and NH₂ groups contribute strongly to the total thermal stability of the molecule while the NO₂ groups tend to detract from it. This result is in close agreement with the BDE data presented in Figure 6 that shows R-NH₂ bonds as being some of the strongest in the dataset while R-NO₂ bonds tend to be the weakest. Furthermore, the symmetrical positions of NH₂ proton donors and NO₂ proton acceptors enable strong inter- and intramolecular H-bonding that acts as a stabilizing force known to contribute to the excellent thermal stability of TATB.³⁶ Given that TATB already exhibits a high decomposition temperature (approximately 350 °C),⁴⁰,⁴¹ there are few modifications one can apply to increase it without completely changing the core. However, some chemically intuitive changes such as isolating the aromatic core entirely (Figure 7b) and replacing the energetic NO₂ groups with highly stable aromatic rings (Figure 7c) are attempted. In both cases, the model predicts an increase in the Tₐ by more than 50 °C relative to unmodified TATB. While these specific modifications may result in counterproductive changes to other properties of interest, we stress that this model can be used in conjunction with surrogate models that predict other properties to drive multi-objective molecule design.
The second row of Figure 7 depicts modifications that are detrimental to predicted and establish design principles for the structural features that should be avoided in the development of new thermally stable energetic materials. In Figure 7d, the stabilizing groups are replaced with an alternative proton donor, OH. This results in a significant reduction in predicted thermal stability relative to TATB ( ). While Figure 6 does show that R-OH bonds tend to be weaker than R- bonds on average, such a significant drop in decomposition temperature may be an indication that the OH groups are less effective in forming strong stabilizing H-bond networks than the groups present in unmodified TATB. This is despite the fact that OH groups are stronger H-bond donors than groups - suggesting that the presence of two available H-bonding sites in each group may be contributing to a more stabilizing network effect even though each individual interaction is weaker. Additionally, the acidic strength of the OH group relative to may also contribute to this effect. Figure 7e focuses specifically on weakening the R- linkage by replacing it with a R-O- linkage. This results in an even more significant drop in ( ) indicating that the new O- group cannot be as effectively stabilized by the presence of a neighboring proton donor such as . Lastly, Figure 7f modifies the aromatic core through nitrogen heteroatom substitution. The ring nitrogen withdraws electron density from the aromatic framework, altering the electronic environment of the adjacent group and reducing its ability to participate in stabilizing intramolecular interactions with the neighboring substituent. This behavior is reflected in the lower SHAP score assigned to the group bound to the aza-substituted position relative to the groups bound to unmodified sites. Consequently, disruption of the - stabilizing interaction produces a decrease in predicted decomposition temperature ( ). However, this effect size is the smallest of the three destabilizing mechanisms considered.
(a)

(b)

Pred.
(c)
(d)

Pred.

(e)

Pred.
(f)

Pred.

Pred.
Figure 7 – Molecular graph-based SHAP analysis derived from the predictions of the MPNN model. TATB (a) is chosen as the anchor molecule for all predictions. Subplots (b) and (c) illustrate modifications that are predicted to result in molecules with increased thermal stability relative to TATB by isolating the aromatic core (b) and replacing groups with aromatic rings (c). Subplots (d), (e), and (f) illustrate modifications that are predicted to result in molecules with reduced thermal stability relative to TATB by replacing groups with alternative proton donors (d), weakening the bonds (e), and disrupting the aromaticity of the core by introducing heteroatoms (f). Predicted values relative to TATB are shown as labels below each subplot. Bonds and atoms which contribute positively to the thermal stability are colored red while bonds and atoms that detract from thermal stability are colored blue as indicated by the color bars on the right. Slight variations in the SHAP values of symmetrical positions are expected due to the non-exhaustive nature of the SHAP analysis procedure.
Conclusions
In this work, we develop two distinct differential regression models that can be used to rank molecules by their thermal stability. A message-passing neural network that learns directly from the graph representation of a molecule and a random forest model trained on physically interpretable topological and DFT-derived descriptors are shown to have similar predictive performance and exhibit robust ranking metrics. We find that this differential learning strategy outperforms conventional regression methods and is especially useful for data-constrained problems such as thermal stability prediction due to the fact that the number of possible training pairs far exceeds the number of individual molecules. We also highlight how the predictions from the regression models can be post-processed to compute classification metrics that further improve ranking accuracy. To our knowledge, these models exhibit state-of-the-art performance in thermal stability ranking (pairwise accuracy of 87% in the test set) making them useful tools for high-throughput materials discovery applications where thermal stability is a key issue - such as in the realm of energetic materials.
Furthermore, feature importance analysis reveals chemical insights that can inform future development of new thermally stable energetic materials. We find that the difference in oxygen balance and bond dissociation enthalpy between a pair of molecules are key factors in the ability of the model to predict the difference in their thermal stability. However, we stress that the contribution of any individual descriptor is small relative to the sum of all descriptors, which indicates that within the set of molecular descriptors examined in this study, no individual property should be used directly as a proxy for thermal stability. Instead, more complex non-linear relationships between the descriptors are what enable the ML models to make accurate predictions. Taking TATB as a case study, we also apply graph-level SHAP analysis to highlight the importance of stabilizing H-bond networks as a key structural feature to guide the development of new thermally stable materials.
Lastly, we make the complete dataset publicly available to facilitate future model development and benchmarking. An important next step will be the construction of a decomposition temperature database that includes standardized metadata describing the experimental conditions associated with each measurement. We anticipate that reducing variability arising from differences in testing protocols and reporting practices will improve the quality of the training data and, consequently, the predictive performance of future models. We also note that the molecular descriptors employed in this work are derived primarily from gas-phase representations of isolated molecules. As such, the present models do not explicitly account for condensed-phase effects, including intermolecular interactions, crystal packing, and other collective phenomena that may meaningfully influence thermal stability in real materials. While the strong performance of the current models suggests that intrinsic molecular features capture a significant fraction of the observed behavior, condensed-phase properties likely provide additional predictive information that remains unexplored. Future work will therefore focus on incorporating descriptors derived from calculated and experimental condensed-phase properties to quantify the contribution of intermolecular interactions and further improve model accuracy and interpretability.
4. Methods
4.1 Workflow and data collection
We initially collect molecules and their associated experimental decomposition temperatures from the work of Wu et al. and Mathieu et al. The data from Mathieu et al. can be easily extracted directly from their reported supplemental information documents. In Wu et al., the molecules are provided as images of molecular graphs and the associated values are stored in the images as labels. The molecular graph images were converted into SMILES strings using a selection of three machine learning models: DECIMER , MolNexTR , and MolScribe. If any two of the models predicted the same SMILES string, then that molecule was considered valid and added to the dataset. The Python library EasyOCR was used to convert the labels in the images to numerical values. On the occasion that each source reported a different for the same molecule, the average of the two reports was taken to be the target value. This results in a dataset of 915 molecules with experimentally reported decomposition temperatures. 57 molecules were separated out to form a held-out testing set using the binned-sampling strategy outlined in Section 4.3, leaving 858 molecules for training.
4.2 Density functional theory calculations
We produce an initial geometry for each molecule using the Confab conformer generation routine in Open Babel. This method creates structurally diverse low-energy conformers by evaluating the energy barrier to rotate different bonds present within the molecule and comparing the root mean square deviation (RMSD) of different conformers. The routine uses the GFN2-xTB tight-binding method to select the lowest-energy conformer for higher-fidelity DFT calculations. These initial structures are all optimized at the B97X-D/6-311G** level of theory as implemented in Gaussian 16 (vC.01). Following DFT optimization, we identify all possible homolytic bond dissociation reactions for non-ring bonds in each molecule using RDKit and apply them to produce radical fragments and . The initial geometry of the radical fragments is set to correspond to the coordinates of the corresponding fragment in the optimized parent molecule. The radical fragments are then optimized using the same level of theory used to optimize the parents. Bond dissociation enthalpy is computed with the following equation:
Where H represents the total enthalpy of the parent molecule ( ) and each radical fragment ( , ). Note that in rare cases the fragmentation procedure may produce a negative BDE due to especially low energy products as compared to the parent molecule. In addition to the enthalpy used to compute BDEs, a list of additional DFT-computed properties collected to be used as ML descriptors is provided in Supplemental Information Table S2. All DFT job submission and data collection is managed with the Python framework pyiron.
4.3 Machine learning methods
We develop a message-passing neural network (MPNN) implemented using the Python package Chemprop as a surrogate model to predict the difference in decomposition temperature ( ) between pairs of molecules. Models with this architecture represent atoms and bonds as nodes and edges of a molecular graph. Information is exchanged between bonded atoms via message-passing to update the model weights during training. After multiple rounds of message-passing, atom and bond-level features are pooled into a single molecule-level embedding that is passed to a feed-forward neural network, which predicts the target properties. While this architecture is typically applied to individual molecules, it is straightforward to extended it to pairs of molecules, as we do in this work, by treating the two input molecules as a single graph with disconnected components. This treatment is supported directly in Chemprop by the MulticomponentDataset class.
Molecular graphs are read as SMILES strings, canonicalized using RDKit, and filtered to remove duplicate or malformed entries. A unique set of 10,000 pairs are generated from the molecules in the training set according to a stratified sampling procedure in which molecules were grouped by their into ten bins and chosen such that each bin has nearly equal representation in the final subset. Selecting molecules in this way enforces a balanced representation of molecular pairs across the entire range of values and enables the model to effectively learn from regions that would otherwise be underrepresented in the dataset. This procedure is repeated 10 times to produce unique splits for cross-fold validation. Targets are standardized to the mean and variance of the training set, and an inverse-transform layer unscales the predictions at inference. Pairs of molecules are featurized with the default SimpleMoleculeMolGraphFeaturizer class available in Chemprop. A dropout layer with a rate of 20% is applied to the bond message-passing and final feed-forward steps to prevent overfitting and batch normalization is applied after aggregation to stabilize training. Hyperparameter optimization is managed by the Python package Ray Tune, which employs the Asynchronous Successive Halving Algorithm (ASHA) for efficient early-stopping. The optimized hyperparameters are outlined in Supplemental Information Table S3. Each trial is trained for up to 100 epochs with ASHA configured to use a grace period of 20 epochs and a reduction factor of 2. Hinge loss, , (where is the ground-truth and is the predicted value) is chosen as the loss function. This loss function only penalizes the model when the sign of the prediction is incorrect; resulting in a model that prioritizes accuracy in the pairwise ordering of molecules more so than minimizing the magnitude of the prediction error of individual pairs. Adam is used as the optimizer in conjunction with a Noam learning-rate scheduler, which scales the learning rate from an initial value of to a final value of . Model checkpoints are saved for each trial, and the configuration that produces the lowest validation error in each fold is retained for inference. All training is conducted on NVIDIA A100 Tensor Core GPUs, with four GPUs per node used for parallel execution.
In addition to the graph-based models outlined above, descriptor-based models are also trained with a differential learning strategy. These models are implemented using scikit-learn 1.6.1. Differential regression was found to outperform classification (see Table S1). Several tree-based models were tested, including RandomForestRegressor, GradientBoostingRegressor and ExtraTreesRegressor. We attempted to implement hinge-loss criterion for split impurity for trees, but this was outperformed by standard regression criterion (Table S1). The input representation for these models is constructed from DFT descriptors computed from our BDE workflow together with RDKit cheminformatic descriptors (including features dependent on optimized 3D geometry from DFT) and several additional hand-crafted features. The latter includes heats of sublimation computed via the group-additive model reported by Mathieu, force constants for minimum BDE bonds computed with the LMODEA package, the bond-type of the minimum BDE (one-hot encoded), and density, which is estimated by using RDKit to compute the molecular volume of the lowest energy MMFF94 conformer then fitting to a dataset of experimental density measurements as we have described in prior work. Heat of explosion ( ), which describes the energy released as a molecule is converted into its primitive detonation products, is computed as the difference between the solid-state heat of formation of the reactant molecule and the sum of the reference energies of the following products weighted by their stoichiometric coefficients: , , , , C (graphite), CO, and . The amount of each product is determined by the Modified Kistiakowsky-Wilson rules. The reference energies are computed via DFT using the same level of theory described in Section 4.2. Lastly, oxygen balance (%OB) is calculated according to the following equation,
where , , and represent the number of carbon, hydrogen, and oxygen atoms respectively, and M is the molecular weight. Using Equation 2 to compute the oxygen balance results in all sources of oxygen in the molecule counting towards the final value. This is conventional, but differs from another formulation by Kamlet and Adolph which excludes oxygen atoms in carbonyl groups.
The full list of descriptors is given in Table S2. Three approaches for input representation are examined: (i) using descriptor matrices for molecule A and molecule B concatenated together, (ii) using the difference of the input vectors for molecule A and B (differential descriptors), and (iii) both approaches combined. It is found that the second approach, differential descriptors, has the best performance (Table S1) which is consistent with prior work. Furthermore, it is the representation most amenable to SHAP analysis. The input vectors are then pruned by removing descriptors with zero variance and with > 0.95 Pearson correlation with any other descriptor. The list of pruned descriptors is given in Supplemental Information Table S4.
10,000 pairs for training are sampled from the training set in the same manner (ensuring an even distribution across the range of values) as for the MPNN model. Hyperparameter optimization is performed by constructing 20 cross-validation folds with a 90:10 train:validation split and using HalvingGridSearchCV to find optimal hyperparameters for each model (hyperparameter grids are given in Supplemental Information Table S5). Once hyperparameters are selected, a BaggingRegressor meta-estimator is constructed for each model, forming an ensemble of 20 models trained on separate datasets constructed via sampling-with-replacement from the training data. Predictions from each sub-estimator are then aggregated to provide final predictions and standard deviations for predictions and performance metrics. The SHAP package is used for feature importance analysis.
4.4 Classification and ranking metrics
The MPNN and RF models are both regressors trained to predict a scalar for a given pair of molecules. However, through postprocessing, we convert these regression results into a binary classification problem indicating whether molecule A or molecule B is predicted to have a higher . If the sign of is negative, the binary prediction is 0 and if the sign of is positive the binary prediction is 1. Transforming the problem in this way is especially useful for noisy datasets such as ours because the noise in the continuous target variable leads to large regression residuals that obscure meaningful structure whereas classification of similarly noisy datasets tends to be more robust. Given that our goal is to guide the development of materials with improved thermal stability relative to the current state of the art, preserving the ordinality of the pairwise predictions is more valuable than precisely predicting the difference between two molecules.
To support this goal, we develop a simple tournament-based ranking system to score molecules and assign them a rank based on their implied thermal stability. All possible pairs of molecules in the test set are constructed and evaluated with the surrogate model to generate a prediction for each pair. For each individual molecule, its corresponding pairs are analyzed and the number of pairs in which that molecule was predicted to have a higher (a binary classification of 1) are summed together to produce a “win count” metric. Each molecule is then ranked by its win count such that the molecule with the most wins is interpreted as being the most thermally stable. To assess the quality of a predicted ranking we compute pairwise accuracy, a measure of the percentage of samples that are correctly ordered relative to their ground-truth rank, according to the following equation,
where is Kendall’s tau evaluated between the ground-truth ordering and the predicted ordering. While this system is effective and robust, it suffers from scaling. Fortunately, this can be reduced to if a single “anchor molecule” with a known is compared against all unknown molecules. In this anchored system, a precise can be derived for each unknown molecule by simply adding the of the anchor molecule to the predicted by the model. Molecules can then be ranked directly by their derived without resorting to the more computationally expensive win count metric. While this anchor-based system is faster for large datasets, in this work we choose to rely on the tournament-based system as we expect that comparison against multiple molecules will result in a more robust predicted ordering.
Corresponding Authors
megand@lanl.gov, sullberg@lanl.gov, kortkamp@lanl.gov
Author Contributions
WKK, IM, and CJS conceived the project. MCD, RSU, IM, and JNS developed the high-throughput workflows to run density functional theory calculations. JNS calculated the DFT and BDE descriptors. MCD curated the cheminformatics descriptors, trained the tree-based regression models, and ran the SHAP analysis of the RF model. RSU curated the molecules from literature, ran DFT calculations, and ran the SHAP analysis of the MPNN model. RSU and WKK trained the MPNN models. MCD and RSU wrote the manuscript with input from WKK, IM, MJC, and CJS. All authors have approved of the final version of the manuscript. MCD and RSU contributed equally. WKK and IM supervised the execution of the project.
Data Availability
A dataset of all the SMILES strings, targets, and descriptor values used in this work is available for download at: https://zenodo.org/records/22033730.
Acknowledgements
Research presented in this article was supported by the Laboratory Directed Research and Development program of Los Alamos National Laboratory under project number 20250006DR. The authors thank the NNSA Minority Serving Institution Partnership Program (MSIPP) for additional financial support. This research used resources provided by the Los Alamos National Laboratory Institutional Computing Program which is supported by the U.S. Department of Energy National Nuclear Security Administration under contract No. 89233218C-NA000001. This work has been approved for unlimited release under LA-UR-26-27497.
References
-
Brill, T. B. & James, K. J. Kinetics and mechanisms of thermal decomposition of nitroaromatic explosives. Chem. Rev. 93, 2667–2692 (1993).
-
Wespiser, C. & Mathieu, D. Application of Machine Learning to the Design of Energetic Materials: Preliminary Experience and Comparison with Alternative Techniques. Propellants Explos. Pyrotech. 48, e202200264 (2023).
-
Lu, Z.-J. et al. From Concept to Synthesis: Developing Heat-Resistant High Explosives through Automated High-Throughput Virtual Screening. J. Phys. Chem. C 127, 18832–18842 (2023).
-
Liu, H., Chen, P., Huang, X. & Wei, X. A physical organic strategy to predict and interpret stabilities of chemical bonds in energetic compounds for the discovery of thermal-resistant properties. J. Mol. Model. 30, 84 (2024).
-
Lazzús, J. A. A group contribution method to predict the thermal decomposition temperature of ionic liquids. J. Mol. Liq. 168, 87–93 (2012).
-
Wu, J., Song, S., Tian, X., Wang, Y. & Qi, X. Machine learning-based prediction and interpretation of decomposition temperatures of energetic materials. Energ. Mater. Front. 4, 254–261 (2023).
-
Sheng, M., Valco, D., Tucker, C., Cayo, E. & Lopez, T. Practical use of differential scanning calorimetry for thermal stability hazard evaluation. Org. Process Res. Dev. 23, 2200–2209 (2019).
-
Saadatkhah, N. et al. Experimental methods in chemical engineering: Thermogravimetric analysis—TGA. Can. J. Chem. Eng. 98, 34–43 (2020).
-
Zuo, C. & Zhang, C. Standardizing differential scanning calorimetry (DSC) thermal decomposition temperatures at various heating rates of an energetic material as a threshold one. Energ. Mater. Front. 6, 189–194 (2025).
-
Mitchell, J. B. O. Machine learning methods in chemoinformatics. WIREs Comput. Mol. Sci. 4, 468–481 (2014).
-
Ramprasad, R., Batra, R., Pilania, G., Mannodi-Kanakkithodi, A. & Kim, C. Machine learning in materials informatics: recent applications and prospects. Npj Comput. Mater. 3, 1–13 (2017).
-
Chibani, S. & Coudert, F.-X. Machine learning approaches for the prediction of materials properties. APL Mater. 8, 080701 (2020).
-
Shastry, K. A. & Sanjay, H. A. Machine Learning for Bioinformatics. in Statistical Modelling and Machine Learning Principles for Bioinformatics Techniques, Tools, and Applications (eds Srinivasa, K. G., Siddesh, G. M. & Manisekhar, S. R.) 25–39 (Springer, Singapore, 2020). doi:10.1007/978-981-15-2445-5_3.
-
S. Na, G., Chang, H. & Woo Kim, H. Machine-guided representation for accurate graph-based molecular machine learning. Phys. Chem. Chem. Phys. 22, 18526–18535 (2020).
-
Guo, Z. et al. Graph-based Molecular Representation Learning. Preprint at https://doi.org/10.48550/arXiv.2207.04869 (2023).
-
C. Elton, D., Boukouvalas, Z., D. Fuge, M. & W. Chung, P. Deep learning for molecular design—a review of the state of the art. Mol. Syst. Des. Eng. 4, 828–849 (2019).
-
Wang, Y., Li, Z. & Barati Farimani, A. Graph Neural Networks for Molecules. in Machine Learning in Molecular Sciences (eds Qu, C. & Liu, H.) 21–66 (Springer International Publishing, Cham, 2023). doi:10.1007/978-3-031-37196-7_2.
-
Davis, J. V., Marrs, F. W., Cawkwell, M. J. & Manner, V. W. Machine Learning Models for High Explosive Crystal Density and Performance. Chem. Mater. 36, 11109–11118 (2024).
-
Davis, M. C., Kort-Kamp, W. J. M., Holby, E. F., Zelenay, P. & Matanovic, I. Computational screening of transition metal-nitrogen-carbon materials as electrocatalysts for CO2 reduction. Electrochimica Acta 510, 145357 (2025).
-
Zang, X. et al. Prediction and Construction of Energetic Materials Based on Machine Learning Methods. Molecules 28, 322 (2023).
-
Peng, H., Hao, L., Feng, J., Xu, W. & Wei, H. Predictive Models for Sensitivities and Detonation Velocity of Energetic Materials Based on Nonlinear Kernel Machine and Heuristic Algorithms. Processes 13, 39 (2025).
-
Burns, J., Zalte, A. & Green, W. Descriptor-based Foundation Models for Molecular Property Prediction. Preprint at https://doi.org/10.48550/arXiv.2506.15792 (2025).
-
Fralish, Z., Skaluba, P. & Reker, D. Leveraging bounded datapoints to classify molecular potency improvements. RSC Med. Chem. 15, 2474–2482.
-
Tynes, M. et al. Pairwise Difference Regression: A Machine Learning Meta-algorithm for Improved Prediction and Uncertainty Quantification in Chemical Search. J. Chem. Inf. Model. 61, 3846–3857 (2021).
-
Wetzel, S. J., Ryczko, K., Melko, R. G. & Tamblyn, I. Twin neural network regression. Appl. AI Lett. 3, e78 (2022).
-
Pagoria, P. F., Lee, G. S., Mitchell, A. R. & Schmidt, R. D. A review of energetic materials synthesis. Thermochim. Acta 384, 187–204 (2002).
-
Liu, R. Theoretical advances in understanding and enhancing the thermostability of energetic materials.
-
Agrawal, J. P. High Energy Materials: Propellants, Explosives and Pyrotechnics. (John Wiley & Sons, 2010).
-
Klapötke, T. M. Chemistry of High-Energy Materials. (Walter de Gruyter GmbH & Co KG, 2022).
-
Politzer, P. & Murray, J. S. Detonation Performance and Sensitivity. in Advances in Quantum Chemistry vol. 69 1–30 (Elsevier, 2014).
-
Mathieu, D., Ott, E. & Glorian, J. Misconceptions and Open Issues in Energetic Materials. Propellants Explos. Pyrotech. e70064 doi:10.1002/prep.70064.
-
Bao, G., Abe, R. Y. & Akutsu, Y. Bond dissociation energy and thermal stability of energetic materials. J. Therm. Anal. Calorim. 143, 3439–3445 (2021).
-
Du, H. et al. DFT Studies on Detonation Properties, Pyrolysis Mechanism, and Stability of the Nitro and Hydroxyl Derivatives of Benzene. Chin. J. Chem. 29, 455–462 (2011).
-
Pedregosa, F. et al. Scikit-learn: Machine Learning in Python. J. Mach. Learn. Res. 12, 2825–2830 (2011).
-
Heid, E. et al. Chemprop: A Machine Learning Package for Chemical Property Prediction. J. Chem. Inf. Model. 64, 9–17 (2024).
-
Rice, S. F. & Simpson, R. L. The Unusual Stability of TATB (1,3,5-Triamino-2,4,6-Trinitrobenzene): A Review of the Scientific Literature. https://www.osti.gov/biblio/6426268 (1990) doi:10.2172/6426268.
-
Claveau, R., Glorian, J. & Mathieu, D. Impact sensitivities of energetic materials derived from easy-to-compute ab initio rate constants. https://doi.org/10.1039/D2CP05742E (2023) doi:10.1039/D2CP05742E.
-
Liu, J. et al. De novo multi-objective generation framework for energetic materials with trading off energy and stability. Npj Comput. Mater. 11, 360 (2025).
-
Li, S.-C. et al. When Do Quantum Mechanical Descriptors Help Graph Neural Networks to Predict Chemical Properties? J. Am. Chem. Soc. 146, 23103–23120 (2024).
-
Guo, H. et al. Preparation and thermal decomposition of micron-sized spherical TATB. CrystEngComm 26, 4367–4375 (2024).
-
Koroglu, B. et al. Comparative analysis of sublimation and thermal decomposition of TATB. Propellants Explos. Pyrotech. 49, e202300124 (2024).
-
Lansford, J. L., Barnes, B. C., Rice, B. M. & Jensen, K. F. Building Chemical Property Models for Energetic Materials from Small Datasets Using a Transfer Learning Approach. J. Chem. Inf. Model. 62, 5397–5410 (2022).
-
Appleton, R. J., Barnes, B. C. & Strachan, A. Data Fusion of Deep Learned Molecular Embeddings for Property Prediction. J. Chem. Inf. Model. 65, 11620–11630 (2025).
-
Yang, C. et al. Density Prediction Models for Energetic Compounds Merely Using Molecular Topology. J. Chem. Inf. Model. 61, 2582–2593 (2021).
-
Ullberg, R. S. et al. Active Learning for Generalizable Detonation Performance Prediction of Energetic Materials. Chem. Mater. https://doi.org/10.1021/acs.chemmater.6c01049 (2026) doi:10.1021/acs.chemmater.6c01049.
-
Jeffrey, G. A. An Introduction to Hydrogen Bonding. vol. 12 (Oxford university press New York, 1997).
-
Rajan, K., Brinkhaus, H. O., Zielesny, A. & Steinbeck, C. Advancements in hand-drawn chemical structure recognition through an enhanced DECIMER architecture. J. Cheminformatics 16, 78 (2024).
-
Rajan, K., Zielesny, A. & Steinbeck, C. DECIMER 1.0: deep learning for chemical image recognition using transformers. J. Cheminformatics 13, 61 (2021).
-
Rajan, K., Brinkhaus, H. O., Agea, M. I., Zielesny, A. & Steinbeck, C. DECIMER.ai: an open platform for automated optical chemical structure identification, segmentation and recognition in scientific publications. Nat. Commun. 14, 5045 (2023).
-
Chen, Y. et al. MolNexTR: a generalized deep learning model for molecular image recognition. J. Cheminformatics 16, 141 (2024).
-
Qian, Y. et al. MolScribe: Robust Molecular Structure Recognition with Image-to-Graph Generation. J. Chem. Inf. Model. https://doi.org/10.1021/acs.jcim.2c01480 (2023) doi:10.1021/acs.jcim.2c01480.
-
JaidedAI/EasyOCR. Jaided AI (2026).
-
O'Boyle, N. M., Vandermeersch, T., Flynn, C. J., Maguire, A. R. & Hutchison, G. R. Confab - Systematic generation of diverse low-energy conformers. J. Cheminformatics 3, 8 (2011).
-
O'Boyle, N. M. et al. Open Babel: An open chemical toolbox. J. Cheminformatics 3, 33 (2011).
-
Bannwarth, C., Ehlert, S. & Grimme, S. GFN2-xTB—An Accurate and Broadly Parametrized Self-Consistent Tight-Binding Quantum Chemical Method with Multipole Electrostatics and Density-Dependent Dispersion Contributions. J. Chem. Theory Comput. 15, 1652–1671 (2019).
-
Chai, J.-D. & Head-Gordon, M. Long-range corrected hybrid density functionals with damped atom–atom dispersion corrections. Phys. Chem. Chem. Phys. 10, 6615–6620 (2008).
-
Frisch, M. J. et al. Gaussian 16 Revision C.03. (2016).
-
Landrum, G. et al. rdkit/rdkit: 2024_09_4 (Q3 2024) Release. Zenodo https://doi.org/10.5281/zenodo.14535873 (2024).
-
Janssen, J. et al. pyiron: An integrated development environment for computational materials science. Comput. Mater. Sci. 163, 24–36 (2019).
-
Liaw, R. et al. Tune: A Research Platform for Distributed Model Selection and Training. Preprint at https://doi.org/https://doi.org/10.48550/arXiv.1807.05118 (2018).
-
Li, L. et al. A System for Massively Parallel Hyperparameter Tuning. Preprint at https://doi.org/https://doi.org/10.48550/arXiv.1810.05934 (2020).
-
Rosasco, L., De Vito, E., Caponnetto, A., Piana, M. & Verri, A. Are loss functions all the same? Neural Comput. 16, 1063–1076 (2004).
-
Adam, K. D. B. J. & others. A method for stochastic optimization. Preprint at (2014).
-
Vaswani, A. et al. Attention is all you need. Adv. Neural Inf. Process. Syst. 30, (2017).
-
Mathieu, D. Accurate or fast prediction of solid-state formation enthalpies using standard sublimation enthalpies derived from geometrical fragments. Ind. Eng. Chem. Res. 57, 13856–13865 (2018).
-
Moura, R. T. Jr., Quintano, M., Antonio, J. J., Freindorf, M. & Kraka, E. Automatic Generation of Local Vibrational Mode Parameters: From Small to Large Molecules and QM/MM Systems. J. Phys. Chem. A 126, 9313–9331 (2022).
-
Halgren, T. A. Merck molecular force field. I. Basis, form, scope, parameterization, and performance of MMFF94. J. Comput. Chem. 17, 490–519 (1996).
-
Thermochemistry of Explosives. https://doi.org/10.1039/BK9781839164460-00089 (2022)
doi:10.1039/BK9781839164460-00089.
-
Kamlet, M. & Adolph, H. The relationship of impact sensitivity with structure of organic high explosives. II. Polynitroaromatic explosives. Propellants Explos. Pyrotech. 4, 30–34 (1979).
-
Davis, M. C., Kort-Kamp, W. J. M., Matanovic, I., Zelenay, P. & Holby, E. F. Design of active sites for amine-functionalized direct air capture materials using integrated high-throughput calculations and machine learning. Commun. Chem. 9, 12 (2025).
-
Lundberg, S. M. & Lee, S.-I. A Unified Approach to Interpreting Model Predictions. in Advances in Neural Information Processing Systems 30 (eds Guyon, I. et al.) 4765–4774 (Curran Associates, Inc., 2017).
-
Lundberg, S. M. et al. From local explanations to global understanding with explainable AI for trees. Nat. Mach. Intell. 2, 56–67 (2020).
-
Jain, A. C., Gyanchandani, M., Shukla, S. & Ram, D. A Comparative Analysis of the Robustness to Noise of Machine Learning Classifiers. in Business Intelligence, Computational Mathematics, and Data Analytics (eds Gupta, V. B., Shandilya, S. K., Ortiz-Rodríguez, F. & Martinez-Rodriguez, J. L.) 182–192 (Springer Nature Switzerland, Cham, 2025). doi:10.1007/978-3-031-87511-3_13.
-
Fawzi, A., Moosavi-Dezfooli, S.-M. & Frossard, P. Robustness of classifiers: from adversarial to random noise. in Advances in Neural Information Processing Systems vol. 29 (Curran Associates, Inc., 2016).
-
Kendall, M. G. A new measure of rank correlation. Biometrika 30, 81–93 (1938).
Supplemental Information for the Manuscript:
Differential Learning for Robust Prediction of Thermal Stability with Application to Energetic Materials
Megan C. Davis , R. Seaton Ullberg , Jeremy N. Schroeder , Andrew H. Salij , Marc J. Cawkwell , Christopher J. Snyder , Ivana Matanovic , Wilton J. M. Kort-Kamp
Theoretical Division, Los Alamos National Laboratory, Los Alamos, NM 87545, United States
Department of Mechanical and Aerospace Engineering, Texas Tech University, Lubbock, TX 79409, United States
¶ Weapon Stockpile Modernization Division, Los Alamos National Laboratory, Los Alamos, NM 87545, United States
Corresponding authors: megand@lanl.gov, sullberg@lanl.gov, kortkamp@lanl.gov
These authors contributed equally.
Table of Contents
Figure S1 – Direct regression parity plots.....3
Figure S2 – Direct regression rank order parity.....3
Table S1 – Architecture and performance of descriptor-based models.....4
Table S2 – List of descriptors.....5
Table S3 – Optimized MPNN model hyperparameters.....12
Table S4 – List of correlated descriptors.....12
Table S5 – Optimized RF model hyperparameters.....13

Figure S1 – Parity plots illustrating the predictive performance of direct regression models for (a) the MPNN architecture and (b) the RF architecture. High MAE and low motivate the decision to move forward with a differential regression strategy.

Figure S2 – Parity of (a) the direct regression MPNN model and (b) the direct regression RF model in predicting the order of each molecule in the test set ranked by its . Points are colored by their with red corresponding to higher values and blue corresponding to lower values as indicated by the color bar on the right. The position of TATB is indicated by a dashed line in both subplots to give a sense of the range which the test molecules cover.
Table S1 - Model Performance of descriptor based differential models for different input representations and model architectures. “Delta” refers to differential descriptors defined in the main text. “Combined” refers to concatenating descriptors for both input molecules. “Both” refers to concatenating “Delta” and “Combined” descriptors. “Hinge-Delta-GBT” and “Hinge-Delta-RF” are models where a hinge loss function was used as the tree split criterion for regression trees. “Reg” indicates that the model is a regression model, otherwise it is a classifier.
| Model | F1 | Accuracy | AUROC | AUPRC |
|---|---|---|---|---|
| Delta-RF | 0.845 +/- 0.011 | 0.845 +/- 0.013 | 0.923 +/- 0.004 | 0.928 +/- 0.004 |
| Delta-XTR | 0.835 +/- 0.010 | 0.833 +/- 0.011 | 0.916 +/- 0.005 | 0.922 +/- 0.004 |
| Delta-GBT | 0.830 +/- 0.011 | 0.826 +/- 0.012 | 0.916 +/- 0.008 | 0.922 +/- 0.007 |
| Both-RF | 0.837 +/- 0.005 | 0.835 +/- 0.005 | 0.921 +/- 0.003 | 0.924 +/- 0.003 |
| Both-XTR | 0.840 +/- 0.01 | 0.838 +/- 0.008 | 0.919 +/- 0.005 | 0.923 +/- 0.005 |
| Both-GBT | 0.833 +/- 0.014 | 0.831 +/- 0.014 | 0.926 +/- 0.005 | 0.930 +/- 0.005 |
| Combined-RF | 0.828 +/- 0.009 | 0.826 +/- 0.009 | 0.906 +/- 0.005 | 0.907 +/- 0.007 |
| Combined-XTR | 0.835 +/- 0.010 | 0.833 +/- 0.010 | 0.915 +/- 0.005 | 0.919 +/- 0.006 |
| Combined-GBT | 0.826 +/- 0.014 | 0.824 +/- 0.015 | 0.920 +/- 0.008 | 0.925 +/- 0.008 |
| Hinge-Delta-GBT | 0.852 +/- 0.008 | 0.850 +/- 0.008 | 0.934 +/- 0.004 | 0.939 +/- 0.004 |
| Hinge-Delta-RF | 0.811 +/- 0.021 | 0.813 +/- 0.021 | 0.889 +/- 0.010 | 0.896 +/- 0.009 |
| Reg-Delta-RF | 0.860 +/- 0.007 | 0.861 +/- 0.007 | 0.936 +/- 0.002 | 0.940 +/- 0.002 |
| Reg-Delta-XTR | 0.853 +/- 0.008 | 0.854 +/- 0.008 | 0.929 +/- 0.004 | 0.934 +/- 0.003 |
| Reg-Delta-GBT | 0.845 +/- 0.010 | 0.842 +/- 0.010 | 0.932 +/- 0.005 | 0.937 +/- 0.004 |
| Reg-Both-RF | 0.838 +/- 0.008 | 0.835 +/- 0.009 | 0.928 +/- 0.003 | 0.933 +/- 0.002 |
|---|---|---|---|---|
| Reg-Both-XTR | 0.842 +/- 0.008 | 0.840 +/- 0.009 | 0.929 +/- 0.003 | 0.933 +/- 0.003/ |
| Reg-Both-GBT | 0.833 +/- 0.017 | 0.832 +/- 0.018 | 0.923 +/- 0.010 | 0.926 +/- 0.010 |
| Reg-Combined-RF | 0.837 +/- 0.010 | 0.834 +/- 0.010 | 0.919 +/- 0.004 | 0.921 +/- 0.004 |
| Reg-Combined-XTR | 0.833 +/- 0.007 | 0.830 +/- 0.007 | 0.923 +/- 0.003 | 0.928 +/- 0.003 |
| Reg-Combined-GBT | 0.835 +/- 0.009 | 0.832 +/- 0.009 | 0.923 +/- 0.006 | 0.927 +/- 0.006 |
Table S2 - All descriptors considered for descriptor-based ML models together with source: DFT calculations (DFT), RDKit (RDKit) or uniquely crafted descriptors (Custom).
| Descriptor | Source |
|---|---|
| A | DFT |
| B | DFT |
| C | DFT |
| mu | DFT |
| alpha | DFT |
| alpha_homo | DFT |
| alpha_lumo | DFT |
| gap | DFT |
| r2 | DFT |
| U0 | DFT |
| U | DFT |
| H (kcal/mol) | DFT |
| G | DFT |
| Cv | DFT |
| dipole_x | DFT |
| dipole_y | DFT |
| dipole_z | DFT |
| quad_xx | DFT |
| quad_yy | DFT |
| quad_zz | DFT |
| quad_xy | DFT |
| quad_xz | DFT |
| quad_yz | DFT |
| max_charge | DFT |
| min_charge | DFT |
| DFT | |
| DFT | |
| Hexp (kcal/mol) | DFT |
| BDE_min_fc (mDyn/A) | DFT |
| BDE_min_vf (cm^-1) | DFT |
| BDE_min_bt | DFT |
| BDE_min (kcal/mol) | DFT |
| BDE_mean (kcal/mol) | DFT |
| Hsub | Custom |
| PMI1 | RDKit |
| PMI2 | RDKit |
| PMI3 | RDKit |
| NPR1 | RDKit |
| NPR2 | RDKit |
| RadiusOfGyration | RDKit |
| InertialShapeFactor | RDKit |
| Eccentricity | RDKit |
| Asphericity | RDKit |
| SpherocityIndex | RDKit |
| PBF | RDKit |
| MaxAbsEStateIndex | RDKit |
| MaxEStateIndex | RDKit |
| MinAbsEStateIndex | RDKit |
| MinEStateIndex | RDKit |
| qed | RDKit |
| SPS | RDKit |
| MolWt | RDKit |
| HeavyAtomMolWt | RDKit |
| ExactMolWt | RDKit |
| NumValenceElectrons | RDKit |
| NumRadicalElectrons | RDKit |
| MaxPartialCharge | RDKit |
| MinPartialCharge | RDKit |
| MaxAbsPartialCharge | RDKit |
| MinAbsPartialCharge | RDKit |
| FpDensityMorgan1 | RDKit |
|---|---|
| FpDensityMorgan2 | RDKit |
| FpDensityMorgan3 | RDKit |
| BCUT2D_MWHI | RDKit |
| BCUT2D_MWLOW | RDKit |
| BCUT2D_CHGHI | RDKit |
| BCUT2D_CHGLO | RDKit |
| BCUT2D_LOGPHI | RDKit |
| BCUT2D_LOGPLOW | RDKit |
| BCUT2D_MRHI | RDKit |
| BCUT2D_MRLOW | RDKit |
| AvgIpc | RDKit |
| BalabanJ | RDKit |
| BertzCT | RDKit |
| Chi0 | RDKit |
| Chi0n | RDKit |
| Chi0v | RDKit |
| Chi1 | RDKit |
| Chi1n | RDKit |
| Chi1v | RDKit |
| Chi2n | RDKit |
| Chi2v | RDKit |
| Chi3n | RDKit |
| Chi3v | RDKit |
| Chi4n | RDKit |
| Chi4v | RDKit |
| HallKierAlpha | RDKit |
| Ipc | RDKit |
| Kappa1 | RDKit |
| Kappa2 | RDKit |
| Kappa3 | RDKit |
| LabuteASA | RDKit |
| PEOE_VSA1 | RDKit |
| PEOE_VSA10 | RDKit |
| PEOE_VSA11 | RDKit |
| PEOE_VSA12 | RDKit |
| PEOE_VSA13 | RDKit |
| PEOE_VSA14 | RDKit |
| PEOE_VSA2 | RDKit |
| PEOE_VSA3 | RDKit |
|---|---|
| PEOE_VSA4 | RDKit |
| PEOE_VSA5 | RDKit |
| PEOE_VSA6 | RDKit |
| PEOE_VSA7 | RDKit |
| PEOE_VSA8 | RDKit |
| PEOE_VSA9 | RDKit |
| SMR_VSA1 | RDKit |
| SMR_VSA10 | RDKit |
| SMR_VSA2 | RDKit |
| SMR_VSA3 | RDKit |
| SMR_VSA4 | RDKit |
| SMR_VSA5 | RDKit |
| SMR_VSA6 | RDKit |
| SMR_VSA7 | RDKit |
| SMR_VSA8 | RDKit |
| SMR_VSA9 | RDKit |
| SlogP_VSA1 | RDKit |
| SlogP_VSA10 | RDKit |
| SlogP_VSA11 | RDKit |
| SlogP_VSA12 | RDKit |
| SlogP_VSA2 | RDKit |
| SlogP_VSA3 | RDKit |
| SlogP_VSA4 | RDKit |
| SlogP_VSA5 | RDKit |
| SlogP_VSA6 | RDKit |
| SlogP_VSA7 | RDKit |
| SlogP_VSA8 | RDKit |
| SlogP_VSA9 | RDKit |
| TPSA | RDKit |
| EState_VSA1 | RDKit |
| EState_VSA10 | RDKit |
| EState_VSA11 | RDKit |
| EState_VSA2 | RDKit |
| EState_VSA3 | RDKit |
| EState_VSA4 | RDKit |
| EState_VSA5 | RDKit |
| EState_VSA6 | RDKit |
| EState_VSA7 | RDKit |
| EState_VSA8 | RDKit |
|---|---|
| EState_VSA9 | RDKit |
| VSA_EState1 | RDKit |
| VSA_EState10 | RDKit |
| VSA_EState2 | RDKit |
| VSA_EState3 | RDKit |
| VSA_EState4 | RDKit |
| VSA_EState5 | RDKit |
| VSA_EState6 | RDKit |
| VSA_EState7 | RDKit |
| VSA_EState8 | RDKit |
| VSA_EState9 | RDKit |
| FractionCSP3 | RDKit |
| HeavyAtomCount | RDKit |
| NHOHCount | RDKit |
| NOCount | RDKit |
| NumAliphaticCarbocycles | RDKit |
| NumAliphaticHeterocycles | RDKit |
| NumAliphaticRings | RDKit |
| NumAmideBonds | RDKit |
| NumAromaticCarbocycles | RDKit |
| NumAromaticHeterocycles | RDKit |
| NumAromaticRings | RDKit |
| NumAtomStereoCenters | RDKit |
| NumBridgeheadAtoms | RDKit |
| NumHAcceptors | RDKit |
| NumHDonors | RDKit |
| NumHeteroatoms | RDKit |
| NumHeterocycles | RDKit |
| NumRotatableBonds | RDKit |
| NumSaturatedCarbocycles | RDKit |
| NumSaturatedHeterocycles | RDKit |
| NumSaturatedRings | RDKit |
| NumSpiroAtoms | RDKit |
| NumUnspecifiedAtomStereoCenters | RDKit |
| Phi | RDKit |
| RingCount | RDKit |
| MolLogP | RDKit |
| MolMR | RDKit |
| fr_Al_COO | RDKit |
|---|---|
| fr_Al_OH | RDKit |
| fr_Al_OH_noTert | RDKit |
| fr_ArN | RDKit |
| fr_Ar_COO | RDKit |
| fr_Ar_N | RDKit |
| fr_Ar_NH | RDKit |
| fr_Ar_OH | RDKit |
| fr_COO | RDKit |
| fr_COO2 | RDKit |
| fr_C_O | RDKit |
| fr_C_O_noCOO | RDKit |
| fr_C_S | RDKit |
| fr_HOCCN | RDKit |
| fr_Imine | RDKit |
| fr_NH0 | RDKit |
| fr_NH1 | RDKit |
| fr_NH2 | RDKit |
| fr_N_O | RDKit |
| fr_Ndealkylation1 | RDKit |
| fr_Ndealkylation2 | RDKit |
| fr_Nhpyrrole | RDKit |
| fr_SH | RDKit |
| fr_aldehyde | RDKit |
| fr_alkyl_carbamate | RDKit |
| fr_alkyl_halide | RDKit |
| fr_allylic_oxid | RDKit |
| fr_amide | RDKit |
| fr_amidine | RDKit |
| fr_aniline | RDKit |
| fr_aryl_methyl | RDKit |
| fr_azide | RDKit |
| fr_azo | RDKit |
| fr_barbitur | RDKit |
| fr_benzene | RDKit |
| fr_benzodiazepine | RDKit |
| fr_bicyclic | RDKit |
| fr_diazo | RDKit |
| fr_dihydropyridine | RDKit |
| fr_epoxide | RDKit |
|---|---|
| fr_ester | RDKit |
| fr_ether | RDKit |
| fr_furan | RDKit |
| fr_guanido | RDKit |
| fr_halogen | RDKit |
| fr_hdrzine | RDKit |
| fr_hdrzone | RDKit |
| fr_imidazole | RDKit |
| fr_imide | RDKit |
| fr_isocyan | RDKit |
| fr_isothiocyan | RDKit |
| fr_ketone | RDKit |
| fr_ketone_Topliss | RDKit |
| fr_lactam | RDKit |
| fr_lactone | RDKit |
| fr_methoxy | RDKit |
| fr_morpholine | RDKit |
| fr_nitrile | RDKit |
| fr_nitro | RDKit |
| fr_nitro_arom | RDKit |
| fr_nitro_arom_nonortho | RDKit |
| fr_nitroso | RDKit |
| fr_oxazole | RDKit |
| fr_oxime | RDKit |
| fr_para_hydroxylation | RDKit |
| fr_phenol | RDKit |
| fr_phenol_noOrthoHbond | RDKit |
| fr_phos_acid | RDKit |
| fr_phos_ester | RDKit |
| fr_piperdine | RDKit |
| fr_piperzine | RDKit |
| fr_priamide | RDKit |
| fr_prisulfonamd | RDKit |
| fr_pyridine | RDKit |
| fr_quatN | RDKit |
| fr_sulfide | RDKit |
| fr_sulfonamd | RDKit |
| fr_sulfone | RDKit |
| fr_term_acetylene | RDKit |
| fr_tetrazole | RDKit |
| fr_thiazole | RDKit |
| fr_thiocyan | RDKit |
| fr_thiophene | RDKit |
| fr_unbrch_alkane | RDKit |
| fr_urea | RDKit |
| O_balance | Custom |
Table S3 – Optimized Chemprop model hyperparameters.
| Hyperparameter | Optimal Value |
|---|---|
| Message Passing | |
| d_e | 14 |
| d_h | 950 |
| d_v | 72 |
| d_vd | None |
| depth | 5 |
| dropout | 0.2 |
| Feed Forward | |
| hidden_dim | 350 |
| input_dim | 950 |
| dropout | 0.2 |
Table S4 - Descriptors (Kept Descriptor) which had >0.95 Pearson correlation coefficient with another descriptor (Correlated Descriptors). The latter were removed from the input representation prior to model training.
| Kept Descriptor | Correlated Descriptors |
|---|---|
| B | C |
| alpha | Chi0n, Chi0v, Chi1n, Chi1v, MolMR |
| r2 | PMI2, PMI3 |
| U0 | U, H (kcal/mol), G, quad_yy, quad_zz |
|---|---|
| Cv | MolWt, HeavyAtomMolWt, ExactMolWt, NumValenceElectrons, Chi0, Chi0n, Chi0v, Chi1n, Chi1v, Kappa1, LabuteASA, HeavyAtomCount |
| Hf_gas (kcal/mol) | Hf_solid (kcal/mol) |
| MaxAbsEStateIndex | MaxEStateIndex |
| FpDensityMorgan1 | FpDensityMorgan2 |
| Kappa2 | Phi |
| SMR_VSA2 | fr_nitrile |
| SMR_VSA3 | fr_Ar_N |
| SlogP_VSA4 | EState_VSA10 |
| TPSA | NOCount, NumHeteroatoms |
| NumAmideBonds | fr_amide |
| NumAromaticCarbocycles | fr_benzene |
| NumAtomStereoCenters | NumUnspecifiedAtomStereoCenters |
| fr_Ar_NH | fr_Nhpyrrole |
| fr_Ar_OH | fr_phenol, fr_phenol_noOrthoHbond |
| fr_COO | fr_COO2 |
| fr_Ndealkylation2 | fr_piperdine |
Table S5 - Hyperparameter grid for best RF model discussed in main text. Optimized hyperparameters are bolded. All other parameters were kept as scikit-learn defaults.
| Parameter | Values |
|---|---|
| n_estimators | 600, 1000 |
| max_depth | None, 30 |
| criterion | squared_error, friedman_mse |
| min_samples_split | 2, 10 |
| min_samples_leaf | 1, 2, 5 |
| max_features | sqrt, 0.5 |
| bootstrap | False, True |
| min_impurity_decrease | 0.0 |