Back to Feed
Training & Fine-Tuning / Benchmarks & Evals

Improving Reaction Predictions with Condensed Graphs

Original: RxnCLF: Contrastive Transformation-Aware Reaction Foundation Model for Improved Reactivity Prediction

Listen to the summary

Uses a voice available on your device

Audio options
On this page

Key Takeaways

  • Developed Condensed Reaction Graphs (CRG) to unify reactant and product data into a single structure for improved bond change tracking.
  • Used contrastive learning to train a Graph Isomorphism Network (GIN) on 1.7 million reactions from the Pistachio dataset.
  • Achieved an R2 of 0.962 ± 0.003 on the Buchwald-Hartwig dataset, outperforming existing models.
  • Introduced subgraph augmentation techniques, including random, reaction-center focused, and side-chain focused masking, to improve model robustness.

Summary & Methodology Analysis

The RxnCLF methodology addresses the limitations of traditional tokenization by introducing the Condensed Reaction Graph (CRG). By unifying reactants and products into a single graph, the model explicitly encodes bond changes and conserved substructures. This structure serves as the foundation for a Graph Isomorphism Network (GIN) encoder, which uses contrastive learning (a technique to project data into a latent space where similar instances are closer together) to learn meaningful representations of chemical transformations. The model employs specific augmentation strategies, such as masking atoms and removing bonds based on their role in the reaction center or side chains, to force the encoder to prioritize transformation-aware features.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the primary goal of the RxnCLF model?

The model aims to improve chemical reactivity prediction by better capturing transformation-level information that disconnected graph structures or tokenization methods often miss.

Q2. What kind of data was used to pretrain the model?

The model was pretrained on a dataset consisting of 1.7 million reactions from the Pistachio dataset.

Q3. How well does RxnCLF perform on standard benchmarks?

It achieved an R2 of 0.962 ± 0.003 on the Buchwald-Hartwig dataset, indicating strong predictive performance.

Q4. How does the Condensed Reaction Graph differ from standard featurization?

Standard featurization uses separate representations, whereas the Condensed Reaction Graph unifies reactant and product data to explicitly encode bond changes and conserved substructures.

Q5. What is the role of the Graph Isomorphism Network in this architecture?

The GIN acts as the encoder that projects the augmented CRG views into a transformation-aware latent space using NT-Xent loss.

Q6. What are the limitations of RxnCLF regarding data quality?

Performance is stronger on curated public datasets than on noisy industrial data, which may suffer from missing reagent information or human errors.

Q7. How does RxnCLF compare to RxnFP for retrieval tasks?

RxnCLF embeddings retrieve fewer reactions of the same type because they prioritize broader structural context information rather than the retrieval metrics favored by RxnFP.

Q8. Does the paper provide specific compute costs or latency metrics?

The paper does not specify compute costs, latency, or memory requirements.

Q9. What specific augmentation methods are used during training?

The model uses subgraph augmentation by masking atoms and removing bonds, selecting these targets randomly or specifically focusing on reaction centers or side chains.