Constrained Diffusion for Protein Design with Hard Structural Constraints

Jacob K Christopher, Austin Seamann, Jingyi Cui, Sagar D Khare, Ferdinando Fioretto

Introduction

Diffusion models have revolutionized de novo protein design, offering a powerful means to generate entirely new, realistic protein structures. However, for a designed protein to be functionally useful—such as acting as a targeted drug or an enzyme—it must adhere to strict physical and spatial rules. It might require precise bond angles to bind to a target molecule or a specific empty cavity to allow a chemical substrate to enter.

Current diffusion models natively learn the unconstrained distribution of proteins. When researchers attempt to force these models to obey strict rules, they typically rely on flawed methods like soft guidance (which increases the probability of a good structure but rarely guarantees exact constraint satisfaction) or intermediate projection (which forces noisy, intermediate steps to snap to constraints). Because protein constraints are highly complex and non-convex, projecting noisy data often traps the model in local minima, ruining the diffusion trajectory and producing unusable outputs.

This paper introduces a novel constrained diffusion framework that strictly enforces hard structural constraints without breaking the generative process, achieving perfect constraint satisfaction on complex design tasks.

Methodology: The Predict-Prox-Renoise Cycle

To enforce hard constraints without destabilizing the model, the authors reframe the reverse diffusion process as a sequence of optimization problems using a predict-prox-renoise cycle.

Instead of applying hard constraints directly to the noisy intermediate states ($x_t$), which is a recipe for disaster in complex biological spaces, the model operates on the predicted clean state.

The predict-prox-renoise cycle applies constraint enforcement to the predicted clean state before renoising.

The cycle works as follows:

  1. Predict: The model first predicts the final, clean protein structure ($\hat{x}_0$) from the current noisy state.
  2. Proximal Projection (Correct): A "proximal operator" is applied to this clean prediction. This mathematical step pulls the predicted structure into perfect alignment with the required constraints.
  3. Renoise: The model then adds the appropriate amount of noise back to this corrected clean state to continue the standard diffusion trajectory.

To handle the immense complexity of protein physics, the framework utilizes the Alternating Direction Method of Multipliers (ADMM). In protein design, global constraints (like the distance across a binding pocket) and local constraints (like valid peptide bond lengths) constantly conflict during optimization. ADMM decouples these constraints, solving them as separate blocks that iteratively communicate until they reach a consensus. This divide-and-conquer approach makes hard constraint enforcement computationally tractable. Furthermore, the authors provide theoretical proofs showing that their specific scheduling of the proximal step guarantees the final generated sample will converge to the constraint set.

Experimental Setup

The framework was evaluated on two primary tasks:

  • Motif Scaffolding (PDZ Domain Benchmark): A newly curated benchmark dataset of 31 high-confidence PDZ domain structures and their peptide ligands, pulled from the PDB. This tests the model's ability to handle non-covalent bonding constraints.
  • Vacancy-Constrained Pocket Design (Molecule Encapsulation): A synthetic spatial environment defined by a 3D bounding box with a conical "exclusion zone," testing the model's ability to respect negative space.

Key Results

The proposed method achieves state-of-the-art performance, significantly outperforming existing baselines like standard RFDiffusion and Constraint-Guided Diffusion.

Comparison of the proposed constrained diffusion method against standard RFDiffusion on a structural motif scaffolding task.

On the PDZ Domain binding task, the constrained diffusion method achieved 100% constraint satisfaction and yielded 21.0% usable structures overall (scaling up to 83% for well-posed targets). In stark contrast, across nearly 100,000 samples, baseline methods achieved 0% constraint satisfaction and 0% usable structures, frequently generating incorrect secondary structures and violating global distance constraints.

Similarly, on the Molecule Encapsulation task, the method achieved 100% constraint satisfaction and a 97.8% success rate for usable samples. The best baseline only managed 27.4% satisfaction and 24.2% usable samples, often producing unfolded or unrealistic structures.

While the proposed method takes longer to compute a single diffusion step due to the proximal optimization, it is vastly more efficient in terms of time per usable sample. It eliminates the need to generate tens of thousands of candidates just to find one that accidentally satisfies the functional rules.

Limitations and Future Work

Enforcing hard constraints inherently increases the computational complexity and runtime per generation step. Additionally, the theoretical convergence guarantees rely on a mathematical assumption called "prox-regularity," which may not strictly hold true for the highly non-convex constraints found in real-world protein design—though the method proves exceptionally robust in practice.

Future work will explore extending this framework to enforce higher-level global properties, such as regional polarity, or imposing specific geometric formations on secondary structures (e.g., explicitly controlling the radius of a $\beta$-barrel).

Summary updated

BibTeX
@inproceedings{christopher2026constrained,
  author = {Jacob K Christopher and Austin Seamann and Jingyi Cui and Sagar D Khare and Ferdinando Fioretto},
  title = {{Constrained Diffusion for Protein Design with Hard Structural Constraints}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=kkvqVRu2Zy},
}
Figure