T-Rex: Text-assisted Retrosynthesis Prediction

Yifeng Liu, Hanwen Xu, Tangqi Fang, Haocheng Xi, Zixuan Liu +3 more
1/26/2024
cs.CL

Official code: lauyikfung/T-Rex (8 stars, last commit 2024-01-29).

Abstract

As a fundamental task in computational chemistry, retrosynthesis prediction aims to identify a set of reactants to synthesize a target molecule. Existing template-free approaches only consider the graph structures of the target molecule, which often cannot generalize well to rare reaction types and large molecules. Here, we propose T-Rex, a text-assisted retrosynthesis prediction approach that exploits pre-trained text language models, such as ChatGPT, to assist the generation of reactants. T-Rex first exploits ChatGPT to generate a description for the target molecule and rank candidate reaction centers based both the description and the molecular graph. It then re-ranks these candidates by querying the descriptions for each reactants and examines which group of reactants can best synthesize the target molecule. We observed that T-Rex substantially outperformed graph-based state-of-the-art approaches on two datasets, indicating the effectiveness of considering text information. We further found that T-Rex outperformed the variant that only use ChatGPT-based description without the re-ranking step, demonstrate how our framework outperformed a straightforward integration of ChatGPT and graph information. Collectively, we show that text generated by pre-trained language models can substantially improve retrosynthesis prediction, opening up new avenues for exploiting ChatGPT to advance computational chemistry. And the codes can be found at https://github.com/lauyikfung/T-Rex.

View on arXivView PDF

Code Implementations(1)

lauyikfung/T-RexOfficial100%

T-Rex: Text-assisted Retrosynthesis Prediction

82Shell, PythonJan 23, 20242 years ago

Similar Papers

Cite this paper

@article{liu2024trex,
  title  = {T-Rex: Text-assisted Retrosynthesis Prediction},
  author = {Yifeng Liu and Hanwen Xu and Tangqi Fang and Haocheng Xi and Zixuan Liu and Sheng Zhang and Hoifung Poon and Sheng Wang},
  year   = {2024},
  eprint = {2401.14637},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.14637v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.14637.svg)](https://codeofpaper.com/paper/2401.14637)

Discussion