TLDR: ReaDISH is a novel machine learning model for chemical reaction prediction that overcomes limitations of existing models by being permutation-invariant and interaction-aware. It uses symmetric difference shingle encoding to capture reaction-specific structural changes without order sensitivity and geometry-structure interaction attention to model intra- and inter-molecular interactions at the shingle level. Experiments show ReaDISH improves prediction performance and robustness across various chemical tasks, especially in out-of-sample scenarios.
Predicting chemical reactions accurately is a cornerstone of organic chemistry, offering vital insights for understanding reaction mechanisms, forecasting outcomes, and guiding experimental design. However, current machine learning models often struggle with two significant issues: their sensitivity to how input molecules or atoms are ordered, and their inability to properly model the intricate interactions between substructures that dictate how chemicals react.
These limitations can lead to inconsistent predictions and make it difficult for models to perform well in real-world chemical scenarios. To tackle these challenges, researchers have introduced a new model called ReaDISH. This innovative approach aims to learn representations of chemical reactions that are unaffected by input order, while also incorporating features that are aware of how different parts of molecules interact.
ReaDISH’s Core Innovations
ReaDISH brings two key innovations to the table. First, it uses a technique called “symmetric difference shingle encoding.” Imagine breaking down molecules into small, meaningful structural fragments, or “shingles.” ReaDISH then looks at the differences in these shingle sets between the starting materials (reactants) and the final products. By focusing on these differences, the model can pinpoint the specific structural changes that occur during a reaction, and crucially, it eliminates any sensitivity to the order in which the input molecules or atoms are presented.
The second innovation is “geometry-structure interaction attention.” This mechanism allows ReaDISH to model how substructures interact, both within the same molecule (intra-molecular) and between different molecules (inter-molecular), at the shingle level. It considers factors like geometric distances between shingles, whether they belong to the same molecule, and their structural similarity (or dissimilarity). By integrating these interaction-aware features, ReaDISH gains a deeper understanding of the underlying chemical mechanisms.
The model’s architecture consists of an embedding layer to process molecular inputs, an encoder that captures geometric and structural features, and a lightweight predictor for outputting reaction properties. The 3D molecular encoder transforms each molecule into atom-level representations. Then, the shingle-generation algorithm extracts molecular shingles and computes the symmetric difference between reactant and product shingle sets. These shingle-level representations are then fed into an encoder that uses transformer-style attention blocks, enhanced by the pairwise interaction information.
Also Read:
- Enhancing Equivariant Graph Neural Networks with Magnitude-Modulated Adapters for Chemical Simulations
- S2Drug: Enhancing Drug Discovery by Combining Protein Sequence and 3D Structure Data
Enhancing Generalization and Robustness
To further improve its generalization capabilities, ReaDISH is pre-trained on a large dataset using a “pseudo-reaction-type classification” task. This involves clustering reactions based on their structural representations and then training the model to predict these clusters. This multi-scale classification helps the encoder learn both broad and fine-grained structural semantics, making it more robust.
Extensive experiments have shown that ReaDISH significantly improves reaction prediction performance across various benchmarks. It has been tested on tasks such as reaction yield prediction, enantioselectivity prediction, conversion rate estimation, and reaction type classification. The model demonstrates enhanced robustness, particularly under permutation perturbations, showing an average improvement of 8.76% on R2 scores when the input order is varied. This means ReaDISH provides more stable and reliable predictions, especially in real-world scenarios where input variations are common.
Ablation studies, where individual components of ReaDISH were removed or altered, confirmed the importance of each innovation. Removing the pairwise interaction modeling, excluding geometric or structural features, or not using the symmetric difference encoding all led to a noticeable drop in performance. The pre-training strategy also contributed to better representations of the reaction space, and a shingle radius of 3 was found to offer the best balance between coverage and efficiency.
In conclusion, ReaDISH offers a flexible and effective framework for modeling chemical reactions. By focusing on the symmetric difference of molecular shingles and incorporating detailed geometric and structural interaction information, it addresses critical limitations of previous models. This paves the way for more interpretable and generalizable machine learning models in computational chemistry, potentially accelerating scientific discovery in fields like drug development and materials science. You can find the full research paper here.


