TL;DR
Designing proteins from scratch to bind specific drug molecules (ligands) usually treats molecular docking as a post-hoc spellcheck rather than part of the writing process. DockWizard flips the script by feeding fine-grained "docking language"—explicit text descriptions of local binding patterns and physical interactions—alongside 3D molecular data directly into a protein generator. By carefully separating high-level functional goals from microscopic atomic constraints during generation, it designs proteins with a 13% boost in docking confidence and 19% better complex stability than current state-of-the-art tools.
What Problem Does This Paper Address?
Imagine trying to design a custom lock for a complex, jagged key, but your only instruction is "make a sturdy brass padlock." That is essentially how most natural-language-guided protein generators work today. While generative AI has gotten great at translating broad, high-level text prompts (e.g., "an enzyme that breaks down sugar") into amino acid sequences, binding a specific small molecule—a ligand—comes down to ruthless, localized physics. Hydrogen bonds, hydrophobic pockets, and steric clashes happen at the angstrom scale.
Current pipelines suffer from three major blind spots:
- Coarse language: Prompts describe overall protein function, leaving out the fine-grained geometry of how a ligand actually docks.
- Signal soup: When models do combine text, chemical formulas, and 3D structures, they mash them together early on. Global instructions ("fold into a stable barrel") get tangled up with local rules ("put a positively charged residue right here"), weakening both.
- Docking comes too late: Physical docking simulations are usually used at the very end to filter out bad candidates, rather than actively steering the sequence as it is being written.
Methods
To bridge global biology and local physics, the authors built DockWizard, an encoder-router-decoder framework that wraps around frozen, pretrained backbones rather than training massive models from scratch.
- Stage 1: Multimodal Encoding (Standard Backbones + Novel Fusion). The model takes five distinct inputs: function text, docking text (describing specific binding pockets and interactions), ligand text descriptions, ligand SMILES (a 1D chemical string), and 3D ligand coordinates. It processes these using frozen, off-the-shelf encoders—PubMedBERT for text, ChemBERTa for SMILES, and an Equivariant Graph Neural Network (EGNN) for 3D atoms. What’s new here is a tri-view ligand fusion module paired with contrastive learning, ensuring the text, 1D chemical string, and 3D shape of the ligand all agree in a shared representation space without any single view dominating.
- Stage 2: Role-Aware Routing (Novel Organization). Instead of dumping all tokens into one flat prompt, a Perceiver-based router splits them by their "scope of action" into two distinct memory streams: a global function memory and a local docking/ligand memory. A learnable "gated bridge" lets the global function gently inform the local docking stream without overwriting its physical constraints, and a resampler compresses a lightweight version of the docking memory.
- Stage 3: Staged Condition Injection (Novel Decoding). Using a frozen ProGen2 causal protein language model as the engine, DockWizard injects guidance at two different altitudes. Global function and lightweight docking memories sit at the very front of the sequence as a persistent prefix (setting the overall blueprint). Meanwhile, the uncompressed, detail-rich docking memory is fed directly into every single decoder layer via gated cross-attention (full-memory injection), acting as a continuous, residue-by-residue physical course corrector.
Datasets
Because existing protein datasets lack detailed descriptions of binding mechanics, the authors curated a new multimodal benchmark containing over 100,000 samples (specifically, 108,436 training examples are noted). Each entry pairs a protein sequence with its functional description, ligand SMILES, 3D ligand structure, ligand overview, and explicit protein–ligand docking text. To prevent the model from simply memorizing known protein families, evaluation uses a strict 30% sequence-identity homology-aware split, alongside stress tests that filter out overlapping protein families, ligand scaffolds, and literature sources.
Key Insights and Ideas
- It’s about the grammar of physics, not memorization: You might suspect the model just spots a ligand's name in the prompt and recalls a memorized protein from its training set. To test this, the authors masked out all protein and ligand names, leaving only the relational clauses describing how they interact ("semantics-only"). The masked relational text still significantly beat generic text and entity names alone—proving the model genuinely translates natural-language descriptions of physical contacts into amino acid geometry.
- Novelty without copy-pasting: Generated sequences share only ~24.4% sequence identity with ground-truth reference proteins (and ~29.9% with the nearest training sequence), with 97.6% uniqueness across generations. DockWizard is genuinely designing de novo sequences rather than regurgitating nature's catalog.
- Global prefixes aren't enough for local binding: Ablation studies show that stripping away the layer-by-layer full-memory injection or the Perceiver router causes a sharp drop in docking confidence. High-level prefixes can get a protein to fold, but keeping local interaction constraints alive at every layer of decoding is what actually builds a working binding pocket.
Key Results
Evaluated across a four-stage in silico pipeline—ESMFold (folding), PyMOL (structural alignment), DiffDock (ligand docking), and Chai-1 (complex stability scoring)—against six adapted baselines (including ProGen2, ProteinDT, InstructPro, and RFDiffusion3):
- Superior Binding & Stability: DockWizard achieves an average gain of 13% in docking confidence and 19% in complex stability. On 100 matched test conditions, it hits the best DiffDock Top-1 confidence (-0.84 vs. ProGen2's -0.97 and RFDiffusion3's -1.22) and highest Chai-1 complex score (0.44 vs. InstructPro's 0.37).
- Structural Fidelity: It achieves the lowest structural deviation (RMSD of 8.24 Å), even when monomer folding confidence (pLDDT of 0.58) is slightly lower than baselines like ProCALM (0.64)—showing its capacity is spent optimizing the binding interface rather than just generic monomer stability.
- Recovering Real-World Contacts: When tested against 94 experimentally resolved crystal structures, DockWizard beats InstructPro in recovering true pocket residues (+7.6 percentage points F1) and atomic contacts (+6.6 pp F1).
- Sensitivity to Chemistry: Swapping in a mismatched ligand tanks performance across all metrics, whereas mild text noise (like dropping 10–30% of sentences) degrades performance gracefully, keeping DockWizard ahead of baselines.
Limitations and Future Work
- No Wet-Lab Validation Yet: All evaluations rely on computational predictors (ESMFold, DiffDock, Chai-1). Integrating DockWizard into real-world experimental ("wet-lab") validation workflows is highlighted as a primary step for future work.
- Strict Stringent-Split Trade-offs: When the training set is aggressively pruned to remove ~36,000 examples for potential family, scaffold, and literature overlap, DockWizard keeps a statistically significant DiffDock advantage over ProGen2, though its confidence intervals on Chai-1 and contact F1 against InstructPro widen to include zero.
- Cross-Modality Comparisons: In the robustness experiments, perturbations to text and perturbations to chemical SMILES strings inherently differ in severity, limiting direct apples-to-apples comparisons of which modality the model relies on most. Future work aims to build more robust docking-language representations and even finer-grained ligand interaction models.
Summary updated