Context-Guided Diffusion for Out-of-Distribution Molecular and Protein Design

Leo Klarner, Tim G. J. Rudner, Garrett M. Morris, Charlotte M. Deane, Yee Whye Teh
7/16/2024
q-bio.BMcs.LGstat.ML

No official code found. Best implementation: leojklarner/context-guided-diffusion (41 stars, BSD-3-Clause, last commit 2026-02-21).

Abstract

Generative models have the potential to accelerate key steps in the discovery of novel molecular therapeutics and materials. Diffusion models have recently emerged as a powerful approach, excelling at unconditional sample generation and, with data-driven guidance, conditional generation within their training domain. Reliably sampling from high-value regions beyond the training data, however, remains an open challenge -- with current methods predominantly focusing on modifying the diffusion process itself. In this paper, we develop context-guided diffusion (CGD), a simple plug-and-play method that leverages unlabeled data and smoothness constraints to improve the out-of-distribution generalization of guided diffusion models. We demonstrate that this approach leads to substantial performance gains across various settings, including continuous, discrete, and graph-structured diffusion processes with applications across drug discovery, materials science, and protein design.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Code for the paper Context-Guided Diffusion for Out-of-Distribution Molecular and Protein Design

414Shell, PythonJun 1, 20248 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{klarner2024contextguided,
  title  = {Context-Guided Diffusion for Out-of-Distribution Molecular and Protein Design},
  author = {Leo Klarner and Tim G. J. Rudner and Garrett M. Morris and Charlotte M. Deane and Yee Whye Teh},
  year   = {2024},
  eprint = {2407.11942},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.11942v1},
  journal = {ICML 2024 2024}
}

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

Discussion