Abstract
Protein denoising diffusion probabilistic models are used for the de novo generation of protein backbones but are limited in their ability to guide generation of proteins with sequence-specific attributes and functional properties. To overcome this limitation, we developed ProteinGenerator (PG), a sequence space diffusion model based on RoseTTAFold that simultaneously generates protein sequences and structures. Beginning from a noised sequence representation, PG generates sequence and structure pairs by iterative denoising, guided by desired sequence and structural protein attributes. We designed thermostable proteins with varying amino acid compositions and internal sequence repeats and cage bioactive peptides, such as melittin. By averaging sequence logits between diffusion trajectories with distinct structural constraints, we designed multistate parent-child protein triples in which the same sequence folds to different supersecondary structures when intact in the parent versus split into two child domains. PG design trajectories can be guided by experimental sequence-activity data, providing a general approach for integrated computational and experimental optimization of protein function.
Introduction
Recent breakthroughs in de novo protein design, such as RFdiffusion, have mastered "structure-first" design by generating 3D backbones and then "painting" sequences onto them using tools like ProteinMPNN. However, this decoupled approach has a significant blind spot: it is difficult to design for properties defined primarily by the sequence itself, such as specific amino acid compositions, internal repeats, or experimental fitness. Furthermore, designing multistate proteins—where a single sequence adopts different folds depending on the environment—is exceptionally challenging when starting from a fixed backbone. To address these limitations, we present ProteinGenerator (PG), which reasons over sequence and structure simultaneously to unlock complex functional attributes.
Methods: Sequence Space Diffusion with ProteinGenerator
ProteinGenerator utilizes a Categorical Denoising Diffusion Probabilistic Model (DDPM) that operates directly in sequence space. Unlike models that add Gaussian noise to 3D coordinates, PG starts with a "noised" sequence representation (a random distribution of amino acids) and iteratively denoises it into a clear, valid protein sequence.
The model uses a fine-tuned RoseTTAFold structure prediction network as the denoiser. At each step of the diffusion process, the model predicts both the "clean" sequence ($x_0$) and its corresponding 3D structure. This simultaneous co-evolution ensures that the generated sequence and structure are physically and energetically compatible. The model was trained on the Protein Data Bank (PDB) and evaluated using UniProt to ensure the "naturalness" of generated sequences.
Key Design Capabilities: Multistate and Guided Generation
Because PG operates on sequence "logits" (raw scores for each amino acid), it allows for the seamless application of "guidance" and constraints. Researchers can apply "soft" constraints—such as nudging the model toward a specific hydrophobicity profile or amino acid composition—which are mathematically difficult to enforce in structure-only models.
A particularly powerful application is multistate design. To create a sequence that satisfies multiple structural states, PG runs parallel diffusion trajectories with different structural constraints and averages the resulting sequence logits at each step. This forces the model to find a "compromise" sequence that can adopt different shapes, as demonstrated by the design of "parent-child" triples where a parent protein splits into two child domains with entirely different folds.
Furthermore, PG can be integrated directly into experimental feedback loops. By training a surrogate model on laboratory results (e.g., sequence-activity data), researchers can use its gradients to guide PG design trajectories toward optimized function.
Experimental Validation and Results
The effectiveness of PG was demonstrated across several challenging design tasks:
- High Success Rates: Unconditional designs were highly successful, with 32 out of 42 tested proteins being soluble, monomeric, and thermostable up to 95°C.
- Atomic Accuracy: A five-repeat unit protein designed by PG was crystallized, and the experimental structure matched the design model with a 1.38 Å RMSD.
- Functional Caging: PG successfully "caged" the toxic peptide Melittin. The designed protein remained inactive until a specific enzyme (furin) cleaved a loop, releasing the peptide to lyse red blood cells.
- Superior Optimization: In benchmarks using the GB1 fitness landscape, PG-guided design outperformed standard Bayesian optimization, reaching higher fitness levels in fewer rounds by leveraging its deep structural priors.
Discussion and Future Directions
While PG excels at sequence-level constraints and multistate design, structure-based models like RFdiffusion remain superior for designing massive, globally symmetric assemblies. However, the ability of PG to simultaneously optimize sequence and structure provides a general approach for integrated computational and experimental optimization of protein function. Future work will focus on generalizing PG for more complex state-switching proteins and fully automated, machine-learning-assisted directed evolution campaigns.
Summary updated