PRESTO: Progressive Pretraining Enhances Synthetic Chemistry Outcomes

He Cao, Yanjun Shao, Zhiyuan Liu, Zijing Liu, Xiangru Tang, Yuan Yao, Yu Li · DOI

Abstract

PRESTO (Progressive Pretraining Enhances Synthetic Chemistry Outcomes) is a novel framework designed to bridge the gap between textual descriptions and 2D molecular graphs in Multimodal Large Language Models (MLLMs). By employing a two-stage progressive pretraining strategy—alignment and domain-specific incremental pretraining—PRESTO enables models to effectively process interleaved chemical data. The framework achieves state-of-the-art performance across diverse synthetic chemistry tasks, including reaction prediction and yield estimation, while addressing critical issues like data leakage through scaffold-based benchmarking.

Introduction

Synthetic chemistry is fundamentally defined by transformations involving multiple molecular entities, such as reactants, reagents, and catalysts. While Large Language Models (LLMs) have shown potential in this domain, they face significant hurdles. Most models rely on 1D SMILES strings, which fail to capture the complex topological information of 2D molecular graphs. Additionally, existing multimodal models are typically limited to processing single molecules, struggling with the interleaved nature of real-world chemical procedures. Finally, "data leakage" in current benchmarks often inflates performance metrics due to high structural similarity between training and test sets.

Methodology: Progressive Pretraining

To address these challenges, the authors developed PRESTO, which utilizes a Vicuna-7B backbone and a Graph Isomorphism Network (GIN) encoder connected by an MLP projector. The framework's success hinges on a two-stage pretraining pipeline:

  1. Stage 1: Mol-Text Alignment: The model learns to map single 2D molecular graphs to textual descriptions, establishing a foundational understanding of molecular identity.
  2. Stage 2: Domain Incremental Pretraining: The model is trained on a massive corpus of interleaved molecule-text data, including experimental procedures where multiple molecules are discussed in context.
The two-stage progressive pretraining pipeline of PRESTO.

A critical architectural choice is the use of atom-level representation, where each atom is represented as a token. This granularity allows the model to perceive the internal structure of molecules more effectively than graph-level representations.

Data Diversity and Benchmarking

The researchers curated a comprehensive dataset for pretraining and evaluation. This included ~327k molecule-text pairs from PubChem for Stage 1 and ~1.6M interleaved samples from USPTO-Applications for Stage 2.

Interleaved molecule-text data and name conversion tasks used in pretraining.

To combat data leakage, the authors introduced an "Uncontaminated" Benchmark. By resampling test sets using scaffold splitting, they ensured that test molecules have low structural similarity to the training data, providing a more realistic measure of the model's generalization capabilities.

Key Results

PRESTO consistently outperformed specialized baselines and general-purpose MLLMs across a wide array of tasks:

  • Reaction Condition Prediction: Achieved accuracies of 0.458 for reagents and 0.768 for catalysts, surpassing models like Mol-Instruction.
  • Retrosynthesis: Reached a BLEU score of 0.902, significantly higher than the previous state-of-the-art (Retroformer at 0.769).
  • Yield Regression: On the Buchwald-Hartwig dataset, it achieved an $R^2$ of 0.944, rivaling domain-expert models.

Discussion and Future Directions

PRESTO represents a significant advancement in chemical MLLMs by demonstrating that progressive pretraining and interleaved data are essential for complex chemical reasoning. However, limitations remain. The current model is restricted to 2D graphs; integrating 3D structural information could improve performance on tasks sensitive to spatial arrangements. Additionally, the model currently outputs 1D SMILES strings; future iterations could aim to generate 2D or 3D molecular representations directly. Addressing "catastrophic forgetting" of general-domain knowledge during specialized training also remains a key area for future research.

Summary updated

BibTeX
@inproceedings{cao2024presto,
  author = {He Cao and Yanjun Shao and Zhiyuan Liu and Zijing Liu and Xiangru Tang and Yuan Yao and Yu Li},
  title = {{PRESTO: Progressive Pretraining Enhances Synthetic Chemistry Outcomes}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=ZHBXytEJmj},
}
Figure