Papers › Protein Design with Guided Discrete Diffusion

Protein Design with Guided Discrete Diffusion

31 May 2023NeurIPS 2023 11arXiv:2305.20009archive 2025-07-28

Nate Gruver, Samuel Stanton, Nathan C. Frey, Tim G. J. Rudner, Isidro Hotzel, Julien Lafrance-Vanasse, Arvind Rajpal, Kyunghyun Cho, Andrew Gordon Wilson

A popular approach to protein design is to combine a generative model with a discriminative model for conditional sampling. The generative model samples plausible sequences while the discriminative model guides a search for sequences with high fitness. Given its broad success in conditional sampling, classifier-guided diffusion modeling is a promising foundation for protein design, leading many to develop guided diffusion models for structure with inverse folding to recover sequences. In this work, we propose diffusioN Optimized Sampling (NOS), a guidance method for discrete diffusion models that follows gradients in the hidden states of the denoising network. NOS makes it possible to perform design directly in sequence space, circumventing significant limitations of structure-based methods, including scarce data and challenging inverse design. Moreover, we use NOS to generalize LaMBO, a Bayesian optimization procedure for sequence design that facilitates multiple objectives and edit-based constraints. The resulting method, LaMBO-2, enables discrete diffusions and stronger performance with limited edits through a novel application of saliency maps. We apply LaMBO-2 to a real-world protein design task, optimizing antibodies for higher expression yield and binding affinity to several therapeutic targets under locality and developability constraints, attaining a 99% expression rate and 40% binding rate in exploratory in vitro experiments.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.20009")

Code

Syntology Ran 2 of 16 code samples harvested from 1 repository linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ngruver/nos officialmentioned in paperpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 2 ran; 1 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran
14unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ngruver/nos. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

betas_for_alpha_bar ngruver/nos/seq_models/schedule/noise_schedule.py official repository ran · honoured contract MIT (permissive) · 2ab2316ac6fdd869 · report
timestep_embedding ngruver/nos/seq_models/nets/util.py official repository ran fingerprinted MIT (permissive) · 6c617b25817f8107 · report
betas_for_alpha_bar2 ngruver/nos/seq_models/schedule/noise_schedule.py official repository unverified MIT (permissive) · fd26f763d09f5953 · report
chains_to_formatted ngruver/nos/seq_models/sample.py official repository unverified MIT (permissive) · ba68ea0d339e00f9 · report
formatted_to_chains ngruver/nos/seq_models/sample.py official repository unverified MIT (permissive) · c7011cc258dff6b6 · report
get_named_beta_schedule ngruver/nos/seq_models/schedule/noise_schedule.py official repository unverified MIT (permissive) · 14cec0043dedf345 · report
get_ranges ngruver/nos/seq_models/compare_samples.py official repository unverified MIT (permissive) · 58f8c46fa4402e38 · report
iglm_perplexity ngruver/nos/seq_models/compare_samples.py official repository unverified MIT (permissive) · 000d647ece3c1093 · report
infill_metrics_sample ngruver/nos/seq_models/compare_samples.py official repository unverified MIT (permissive) · 8ad4d05cd69ac220 · report
make_tags ngruver/nos/seq_models/sample.py official repository unverified MIT (permissive) · a0447d09ab7442d2 · report
make_wandb_log ngruver/nos/seq_models/metrics.py official repository unverified MIT (permissive) · c6234f423e26b09b · report
pad_to_length ngruver/nos/seq_models/data.py official repository unverified MIT (permissive) · 8c3f4d642b502689 · report
pplm_step ngruver/nos/seq_models/model/autoregressive.py official repository unverified MIT (permissive) · 02575eab5609b8d7 · report
random_sequences ngruver/nos/seq_models/data.py official repository unverified MIT (permissive) · a063d5b22365eced · report
reformat ngruver/nos/seq_models/data.py official repository unverified MIT (permissive) · 26fe4feb6d44885d · report
regression_labels ngruver/nos/seq_models/metrics.py official repository unverified MIT (permissive) · 1854c648c2dc84eb · report

Tasks

Bayesian OptimizationDenoisingProtein Design

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections