Molecule Design by Latent Prompt Transformer

De-Qian Kong, Yu-Hao Huang, Jianwen Xie, Edouardo Honig, Ming Xu +6 more
10/1/2023
13 citations
transformer-attention

No official code found. Best implementation: deqiankong/Latent-Prompt-Transformer-Molecule-Design (8 stars, Python, last commit 2025-03-22).

Abstract

This work explores the challenging problem of molecule design by framing it as a conditional generative modeling task, where target biological properties or desired chemical constraints serve as conditioning variables. We propose the Latent Prompt Transformer (LPT), a novel generative model comprising three components: (1) a latent vector with a learnable prior distribution modeled by a neural transformation of Gaussian white noise; (2) a molecule generation model based on a causal Transformer, which uses the latent vector as a prompt; and (3) a property prediction model that predicts a molecule's target properties and/or constraint values using the latent prompt.

Show full abstract

LPT can be learned by maximum likelihood estimation on molecule-property pairs. During property optimization, the latent prompt is inferred from target properties and constraints through posterior sampling and then used to guide the autoregressive molecule generation. After initial training on existing molecules and their properties, we adopt an online learning algorithm to progressively shift the model distribution towards regions that support desired target properties. Experiments demonstrate that LPT not only effectively discovers useful molecules across single-objective, multi-objective, and structure-constrained optimization tasks, but also exhibits strong sample efficiency.

View on arXivView PDF

Code Implementations(1)

Molecule Design by Latent Prompt Transformer, NeurIPS 2024 (Spotlight)

80PythonOct 19, 20241 years ago

Similar Papers

Cite this paper

@article{kong2023molecule,
  title  = {Molecule Design by Latent Prompt Transformer},
  author = {De-Qian Kong and Yu-Hao Huang and Jianwen Xie and Edouardo Honig and Ming Xu and Shuang-Hong Xue and Pei Lin and Sanping Zhou and Sheng Zhong and Nan-Ning Zheng and Ying-Nian Wu},
  year   = {2023},
  eprint = {2310.03253},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2310.03253},
  url    = {https://doi.org/10.48550/arXiv.2310.03253},
  journal = {Neural Information Processing Systems}
}

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/2310.03253.svg)](https://codeofpaper.com/paper/2310.03253)

Discussion