Protein design workbench/KRAS G12D pMHC/C9 — the generator huntHomeAbout
Campaign

C9 — the generator hunt

2026-11-02 → 2026-11-08
Every design on this site begins as a backbone from the hosted RFD4-Proteina NIM — the one stage the project could not run, inspect or fine-tune. This campaign opens that stage and then tries to beat it. It covers the third-generator trial (genie3), the local RFD4-Proteina copy and its parity check against the hosted service, a competing generator (BoltzGen) measured on the same funnel, wet-lab label sets for calibrating the score (ATLAS, SKEMPI2), the reward-tuned LoRA plan and the 12 GB wall that stopped it, the fine-tuned checkpoint that produced clean proteins 14 A away from the peptide, and the 100-design pristine batch whose three-arm specificity panel settled the question. Most of its experiments are negative, and that is the value: it fixes the generator as a trusted frozen input and locates this project's discriminating power in the selection loop instead.
Verdict. Four attempts to replace or improve the hosted generator, and the frozen released model wins all four. genie3's CA-only route scored 0 of 70; BoltzGen reached 0.101 peptide_read against RFD4-Proteina's 0.577 on an identical funnel; the LoRA fine-tune was closed on the 12 GB card after six verified attempts, and the checkpoint trained on rented silicon destroyed the model's target conditioning. 100 raw designs from the frozen model then passed the organizer gate nine times and still lost the wild-type test to the evolved champions by an order of magnitude. The generator ends this campaign local, inspectable and deliberately unchanged.basis: 20 experiments
01 / Goal

Add a third, independent generator to the portfolio.

2026-11-02 → 2026-11-08 · 20 experiments · 0 designs · tools: Genie 3, Gemmi, ProteinMPNN, Boltz-2, RFD4-Proteina, ATLAS, SKEMPI2, BoltzGen, diffusers, peft, Chai-1, OpenDDE
  • Strategy difference: a different architecture entirely — not a variation of the RFdiffusion line.
  • Answers: does the third generator transfer to this target? (Not via the CA-only pipeline.)
02 / Experiments
Each experiment: the method, the tools, the steps — and its proteins, folded. The climb first.
01 · G — generate and convert 2026-11-02
tools Genie 3Gemmi

100 backbones in about an hour; the output is a CA trace in binder-first chain order, remapped to the project layout.

    Outcome. 100 backbones, 100 sequence sets.
    02 · V — fold both slices 2026-11-02
    tools ProteinMPNNBoltz-2

    ProteinMPNN CA-only (designing the binder chain only), a CA-trace pose screen, then folds of the top 30 and a second slice of 40.

      Outcome. 0 of 70 pass; the negative reproduced exactly.
      03 · The generator is open and runs locally 2026-11-04
      tools RFD4-Proteina

      The hosted NIM's RFD4-Proteina is public: nvidia/RFD4-Proteina and the Diffusers build, BSD 3-Clause, released 2026-10-19, 435.6M parameters, 1.74 GB in FP32. It runs in BF16 on the local 12 GB GPU with the same annotated-CIF conditioning our NIM requests used, and it emits sequence and all-atom structure together. The release is itself a rank-32 LoRA of a pretrain-base, which is the fine-tuning route. Smoke run (scripts/rfd4_smoke.py): the shipped example first, then our target - a 64-residue binder against the G12D pMHC in about one minute, chains A/B/C held fixed at 276/99/10 residues, one new chain added.

        Outcome. The generator runs locally, about one minute per design.
        04 · The target verified against the challenge reference 2026-11-04

        The challenge's three parts against our local structure, 7OW6 chains A-C with the TCR removed: beta2-microglobulin exact (99 residues), the G12D peptide VVVGADGVGK exact, and HLA-A*11:01 at 99.1 percent identity. The only difference is the disordered C-terminal tail LSSQT (5 residues), which the crystal does not resolve and which sits far from the binding groove. Construct numbering 25-305 maps cleanly onto our chain.

          Outcome. Target confirmed: the binder is designed against the right surface.
          05 · Wet-lab labels for calibrating the scores 2026-11-04
          tools ATLASSKEMPI2

          Downloaded under custom-model/data/. ATLAS holds 1,174 TCR-mutant affinities on pMHC with KD, dG and dDeltaG, plus 803 TCR-pMHC structures. SKEMPI2 holds 7,085 measured mutation effects, 764 of them at TCR/pMHC interfaces. The sharpest external fact: the JDI TCR binds the KRAS G12D decamer on HLA-A*11:01 at 63 uM, affinity enhancement takes it to 743 pM, and the wild-type peptide stays at 3.0 uM (PDB 7PB2 and 7OW6 for G12D, 7OW5 for WT); the paper attributes the selectivity to indirect electrostatic differences, the thesis this project has tested all along. The loop's own reward needs no labels - this data is here to measure how well the scores track real binding.

            Outcome. Labels in place; the site-specific E-score keeps its sign control, the composite stays uncalibrated.
            06 · The chosen loop: reward-tuned LoRA 2026-11-04
            tools RFD4-ProteinaProteinMPNNBoltz-2

            The chosen strategy is a RAFT-style loop. Generate N backbones around the fixed peptide motif; sequence them with ProteinMPNN or LigandMPNN; co-fold each with boltz; score with the composite (interface metrics, the tri-state, the E-score); keep the top-K under the existing gates; LoRA-SFT on the winners; repeat, with held-out designs as the guard against reward collapse. One cycle is about 1.5 to 2 h. Rejected alternatives: RFdiffusion-based particle steering (older model, porting is real work) and reward backpropagation through the trajectory (research-grade). Also recorded: an integrated local pipeline (RFAA or RFdiffusion generator, one orchestrator) and, later, a parametric helix-bundle generator that optimizes the pose against the E-score directly. The loop is drawn out in custom-model/diagram-pipeline.html (the frozen submission path against the RAFT training loop; the LoRA adapter is the only trained component).

              Outcome. Plan recorded; the first tuning cycle was attempted and is blocked on the 12 GB card (see the tune chapter).
              07 · The local baseline, and it matches the hosted funnel 2026-11-04
              tools Boltz-2

              32 designs from the local RFD4-Proteina (seeds 1000-1031, about one minute each), then the whole pipeline - co-fold, s1 screen, E-score - in about 90 minutes. Result: 6 of 32 interfaces are JDI-like (ipTM >= 0.8), 19 percent against the hosted campaign's about 15 percent, best interface batch1-017 at ipTM_pep 0.959. The organizer epitope gate (peptide_read >= 0.61) caught none of them: the best read 0.577 (batch1-008), just under. No design scored E below -1.0, and the strongest interfaces carry positive E (wrong field direction) - exactly the raw-design behaviour the hosted funnel showed. Raw generation is not the bottleneck: the local model matches the hosted one at about a third of the wall time, with no rate limits. These 32 designs and their scores are themselves training material for the reward loop.

                Outcome. Local generation is at parity; specificity stays the rare commodity.
                08 · A competing generator, measured and not adopted 2026-11-04
                tools BoltzGen

                BoltzGen (MIT, all-atom binder design) was run on our target: 8 designs through its full six-step pipeline, on a spec that mirrors the shipped peptide-in-pMHC example, then through our own funnel after fixing a chain-order mismatch (BoltzGen emits the binder as chain A; our pipeline expects A = HLA). Head-to-head with the local batch: its designs dock confidently (ipTM_pep 0.965-0.974, 8 of 8) but do not engage the peptide epitope (peptide_read 0.101 max against the local RFD4's 0.577) and sit flat on the E-score (best -0.06 against -0.86). Its internal metrics rank these designs as good; the epitope-specific instruments disagree. Eight designs is a small sample and its recommended campaign is 10,000 or more, so this is a plumbing verdict, not a final quality claim - but nothing here motivates displacing the RFD4, and the training program proceeds against the RFD4 as planned.

                  Outcome. BoltzGen not adopted; the RFD4 stays the generator.
                  09 · The E-score against wet-lab affinity: a scope found 2026-11-04
                  tools ATLAS

                  First calibration of the electrostatic instrument against measured binding. A whole-interface Coulomb sum (E_int) was computed for 12 ATLAS structures that carry a median Kd (61 were selected, 12 had usable affinity rows), then compared with log10 Kd: Pearson r = -0.08. The naive whole-interface form does not predict measured affinity, so interface-wide electrostatics is not an affinity proxy here. The site-specific E-score - charged groups against the P6 aspartate, distance-dependent dielectric - keeps its one passing control, the JDI sign check (-0.67), and stays the specificity instrument. The mutant-versus-wild-type reading is a local effect, which is the scope note, not a failure of the instrument.

                    Outcome. Scope caveat recorded; the site-specific E-score still passes its control.
                    10 · The tune hits the 12 GB wall (honest record) 2026-11-04
                    tools diffuserspeft

                    The first LoRA fine-tune of RFD4-Proteina used the official diffusers example on 8 of the best batch1 complexes. Every configuration failed in the same place, the forward-backward pass on the ~490-residue complex: rank 32 / alpha 64 and rank 8 / alpha 32, bf16, gradient checkpointing, expandable_segments on and off. The failing allocation is small (102 MiB) - the card sits at the edge, not far over. The 4-bit route fails too: an NF4 base loads in 1.2 GB, a tenth of the card, but training allocates about 26 GiB of activations, so the wall is the activations, not the weights. Six verified fixes (quant configs, peft-versus-transformers helper moves, HF interface stubs, VAE kwarg leakage) reached the same place. Conclusion, final for this machine: the 12 GB card cannot fine-tune this model on our target's complexes at any setting tried. Options recorded, in order: train on shorter class I complexes from ATLAS (cheapest, untested), quantized base with LoRA, or tune a different component - the frozen RFD4 already generates at parity, so the specificity gap is not a generator problem.

                      Outcome. Fine-tune blocked on 12 GB; the next step needs smaller complexes or a different component.
                      11 · The truncated-complex attempt: the wall does not move 2026-11-04
                      tools RFD4-Proteina

                      The remaining idea was to shrink the training complexes instead of the model. A truncated dataset was built (binder + peptide + full beta2m + HLA residues 1-200, the groove-carrying part: 379 residues against 449) and the same 4-bit recipe ran on it. At 520 tokens against the full complex's 620 the out-of-memory peak moved from 25.99 to 25.86 GiB, so a 16 percent length cut moved the peak by 0.5 percent: the allocation is effectively input-independent at our sizes, and fine-tuning is not reachable on this card by input shaping. The design-side route replaced it the same day - the loop with the v4 composite improved the submission with no training at all, on the 18 gate passers the v3 composite could not rank (see the next chapter). The choice of fallback (shorter class I complexes, a quantized base, or another component) still needs the owner's decision and is recorded in the site-sync TODO.

                        Outcome. Truncation does not move the wall; the fine-tune needs a bigger card or a smaller model.
                        12 · The composite gains the organizer's gate term (v4) 2026-11-04

                        The v3 composite (30 i_pDAE, 20 ipTM, 20 dfree, 20 E, 10 dWT) had no term for the surface the organizers name as the target: the peptide in the groove. Composite v4 keeps the same shape and adds a 20 percent peptide_read term (25 i_pDAE, 15 ipTM, 15 dfree, 15 E, 10 dWT, 20 peptide_read), with a hard veto on a positive E. Re-ranking the generation-4 pool (104 designs) finds 18 designs that clear the organizers' own archive gate (peptide_read >= 0.61), best 0.766, which the v3 ranking could not see. The evolution loop's own selection moved to this ranking the same evening, so the loop breeds from the gate top. The consequence is on the submission table: six of the gate passers entered the twenty (C10).

                          Outcome. The composite can see the organizer's gate, and the loop breeds from it.
                          13 · Tool audit and the 2026 field 2026-11-04
                          tools Boltz-2Chai-1OpenDDE

                          boltz 2.2.1 is the latest release, and its affinity head does NOT cover protein-protein binding, so there is still no direct Kd estimate for a binder from boltz: the E-score and the interface metrics remain the specificity instruments. The open models released after our NIM campaigns started, all candidates for the generator slot: BoltzGen (MIT, all-atom binder design), PXDesign (ByteDance, Apache 2.0, 17 to 82 percent nanomolar hit rates on seven targets) and Protenix-v2. Chai-2 is access-gated but reports a peptide-MHC target among its validated cases. OpenDDE was installed for a second co-folding opinion and then shelved: it rebooted the host twice, its retry pass collected 20 complex files and produced no scores, and it is a binder-versus-nonbinder instrument, not a G12D-versus-WT one. PXDesign/Protenix-v2 was never run - it needs conda or Docker and its recommended server sends the target off-machine - so it stays the backup generator. APBS is not installed and is an optional post-deadline addition; Complexa and OpenFold3 were available and unused; no all-atom MD or FEP run was made, because the BioEmu2 ensembles cover thermal stability.

                            Outcome. boltz cannot give a binder Kd; BoltzGen was then measured on our target and not adopted (see its chapter). OpenDDE is shelved, and no unused tool can move the submission's fate.
                            14 · The provenance record of the top three 2026-11-04

                            The chain of the set's best three designs is now written down end to end (records/final2/PROVENANCE.md): hosted generation, fold and screens, one repair swap, one evolution swap, then the full instrument set. Rank 1 L58K-Q15K (Q15K took it to 90.5, E -3.65), rank 2 A16K (67.5 to 87.1, E -3.75, the set's best read) and rank 3 W57K (84.3) - the order as this record was written, before the evening's epitope-gate re-cut moved W57K out of the set (C10). All three begin at the same place: a backbone from the hosted generator. Stages 3 to 10 are already ours or open (boltz, chai-lab, ProteinMPNN, BioEmu2). The submission's methods text is written from these records (records/final2/METHODS.md).

                              Outcome. Provenance recorded; the single external dependency is the generator stage, which this campaign now owns.
                              15 · F — the tune on rented silicon 2026-11-05
                              tools RFD4-Proteina

                              Local training was closed first, after six verified out-of-memory attempts on the 12 GB card: the 435M model needs about 26 GiB per allocation. The tune moved to a rented A100-80GB, ran the official tutorial recipe against the test dataset, and kept a checkpoint ladder every ten epochs in a persisting volume.

                                Outcome. 99 epochs, 4,775 steps, epoch-99 checkpoint downloaded. Spend 24.43 of 30 dollars.
                                16 · G — the comparison that misled 2026-11-07
                                tools Boltz-2Gemmi

                                100 designs were generated from the tuned checkpoint and 100 from the released weights, then scored with the same geometry pass. Both sets produced 4-chain complexes, and both were clean.

                                  Outcome. Fine-tuned 3.76 A CA-CA, 0 broken backbones; pristine 3.84 A, 0 broken. Read at the time as parity. The reading was internal to the chain and could not see placement.
                                  17 · P — the placement check that reversed it 2026-11-07
                                  tools Gemmi

                                  For each generated complex, measure the binder-to-peptide distance, the peptide contact count, and the closest approach to the MHC. A real pose sits at 2.5-4 A; below 1.5 A the atoms interpenetrate, which no real structure does.

                                    Outcome. Fine-tuned: median 14.2 A from the peptide, 0 peptide contacts, 59 of 100 designs interpenetrating the MHC. Pristine: median 2.7 A, 59 contact atoms, no clashes. The tuned checkpoint was withdrawn.
                                    18 · G — 100 designs through the fold funnel 2026-11-08
                                    tools RFD4-ProteinaBoltz-2Gemmi

                                    100 raw designs were converted to fold inputs with canonical chains, folded at five diffusion samples each, and scored. The fold batch ran 100 of 100 with no failures in about two hours of local GPU time.

                                      Outcome. 9 of 100 pass the organizer gate; 27 of 100 are JDI-like. pr-089 reads 0.756, above the champion's 0.754.
                                      19 · S — the three-arm specificity panel 2026-11-08
                                      tools Boltz-2Gemmi

                                      Every gate passer was folded again with the wild-type peptide and with no peptide at all, and the top three across three seeds. A design only counts when the mutant arm passes the gate while both other arms fail it.

                                        Outcome. pr-089 separates mutant from wild type by 0.029. The submitted champions separate them by 0.65 to 0.76. Five new designs pass all three criteria, the best by 0.205.
                                        20 · E — the electrostatic instrument agrees 2026-11-08
                                        tools Gemmi

                                        The histidine-aware E-score was run on the new candidates as an independent check, reading the charge environment around the mutant aspartate.

                                          Outcome. Every new design reads -0.28 or higher and places no histidine in the shell. The champions read -2.60 to -3.75. Third instrument, same answer: no new design displaces the submitted set.
                                          03 / Results — this campaign's best designs
                                          None of this campaign's designs are in the submission set; its best reads stand as the campaign record. The score column is empty here: the composite ranks the single-chain submission candidates, and this campaign sits outside the selection pool - its own metrics stand instead.
                                          designscorein submission
                                          What the columns mean:
                                          • selection score (0-100) — The primary selection score, from select-top20.py: 100 x (2.0*A + 1.5*B + 1.0*E + 0.5*R) / 25. A = activation geometry (how many of the 6 agonist features the pose meets, and whether samples agree), B = binding (ipSAE, with a bonus for pDockQ2 >= 0.30), E = expression (pLDDT band + Kyte-Doolittle hydropathy), R = epitope reach. Each component is capped at 5, so the weighted total caps at 25. The six epitope-gate additions of 2026-11-04 carry the v4 composite instead (25 i_pDAE + 15 ipTM + 15 dfree + 15 E + 10 dWT + 20 peptide_read): same 0-100 scale, different formula. Row order is this score, descending. (higher is better)
                                          04 / Binding
                                          The designs of this experiment on KRAS G12D peptide (VVVGADGVGK · KRAS 7–16) on HLA-A*11:01 with β2-microglobulin — a three-chain complex. The wild-type peptide complex and the peptide-free MHC are the counter-targets., in the structure explorer. The eye icon on the left toolbar opens the design list (one or many, with scores); Coloring Options switches pLDDT / hydrophobicity / interface — or back to the default design colours.
                                          targetthe protein to bind
                                          designed binderthe design
                                          interfacethe residues that touch