Instruction-Based Molecular Graph Generation with Unified Text-Graph Diffusion Model

Yuran Xiang, Haiteng Zhao, Chang Ma, Zhi-Hong Deng
8/19/2024
cs.LGphysics.chem-phq-bio.BM

Official code: ran1812/UTGDiff (9 stars, last commit 2024-08-16).

Abstract

Recent advancements in computational chemistry have increasingly focused on synthesizing molecules based on textual instructions. Integrating graph generation with these instructions is complex, leading most current methods to use molecular sequences with pre-trained large language models. In response to this challenge, we propose a novel framework, named $\textbf{UTGDiff (Unified Text-Graph Diffusion Model)}$, which utilizes language models for discrete graph diffusion to generate molecular graphs from instructions. UTGDiff features a unified text-graph transformer as the denoising network, derived from pre-trained language models and minimally modified to process graph data through attention bias. Our experimental results demonstrate that UTGDiff consistently outperforms sequence-based baselines in tasks involving instruction-based molecule generation and editing, achieving superior performance with fewer parameters given an equivalent level of pretraining corpus. Our code is availble at https://github.com/ran1812/UTGDiff.

View on arXivView PDF

Code Implementations(1)

ran1812/UTGDiffOfficial100%
92PythonAug 22, 20232 years ago

Similar Papers

Cite this paper

@article{xiang2024instructionbased,
  title  = {Instruction-Based Molecular Graph Generation with Unified Text-Graph Diffusion Model},
  author = {Yuran Xiang and Haiteng Zhao and Chang Ma and Zhi-Hong Deng},
  year   = {2024},
  eprint = {2408.09896},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.09896v2}
}

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

Discussion