Designing a drug molecule piece by piece is attractive and fragile. In fragment-based drug discovery, one screens small chemical pieces ("fragments," under 300 Da) that bind weakly but precisely to parts of a protein's binding site, then grows or links them into a potent molecule. Recent generative models do this sequentially: place a fragment, pick an attachment point, attach the next piece, repeat. The attraction is speed and flexibility — the model never has to commit to a final molecule size up front. The fragility is that each placement is made relative to the previous one, so a tiny angular error in an early step acts like a lever arm and displaces everything downstream. This is exactly the compounding-drift problem studied in robotics and 3D reconstruction, and it is documented in the molecular literature itself: PepHAR reports that backbone RMSD grows with peptide length, and Symphony++ sees bond lengths degrade over long generation chains and resorts to an external force field to patch them afterward.
There is a second, under-appreciated failure mode that makes this worse for a specific class of targets. Many therapeutically interesting proteins — helical repeat proteins such as ankyrin and tetratricopeptide repeats, and repetitive scaffolds like viral capsids — present arrays of near-identical sub-pockets. A sequential linker growing across such an array faces the same ambiguity a genome assembler faces with tandemly repeated DNA: locally, every copy looks the same, so chaining local decisions picks the wrong copy or collapses the repeats into one. Genome assemblers learned two hard lessons here: do not prematurely collapse near-identical repeats into a single consensus path (the Human Pangenome work preserves maternal and paternal haplotypes as parallel graph paths), and fix large structural misassemblies before polishing small base-level errors (the T2T-YAO "structural-error-first" pipeline). This proposal ports those two lessons, plus the drift-correction machinery of 3D reconstruction, into fragment-based molecular generation. No existing method, to my knowledge, does any of the three.
Core Claim
The claim is that autoregressive fragment assembly fails in repeat-rich protein pockets for the same structural reasons repeat-rich genome assembly and long-horizon camera tracking fail — local ambiguity plus sequential drift — and that the corresponding fixes transfer. Concretely, I propose a fragment linking and growing model with three components borrowed from outside chemistry: a repeat-preserving pocket representation that keeps identical sub-pockets as distinct, indexed graph nodes rather than collapsing them (the analogue of graph-based haplotype phasing); dual local/global coordinate prediction in which every new fragment is regressed both relative to its predecessor and relative to fixed pocket anchor residues, with disagreement between the two serving as a live drift signal (the mechanism STream3R uses to stay stable over 1,500-frame sequences); and periodic elastic relaxation over already-placed rigid fragments, distributing accumulated strain globally instead of letting it pile up at the chain end — the direct analogue of Elastic Fragments' strain-energy optimization, with chemical valence and junction-geometry constraints replacing the volumetric lattice. On top of these sits a structural-error-first monitor: before any local geometric refinement, each placed fragment must show "sufficient support," meaning its intended pocket contacts are still intact; fragments that fail are flagged as structural errors (wrong repeat copy, wrong attachment vector) and re-grown, while bond-length noise is polished only afterward.
The elastic relaxation step has a concrete objective. Treat each placed fragment $i$ as a rigid body with rotation $R_i$ and translation $t_i$; let $\hat{p}_i$ be the pose predicted by the grower and let $E_{\text{strain}}(i, i{+}1)$ measure deviation from ideal junction geometry (bond lengths, angles, planarity) between adjacent fragments. Then
$$\min_{\{R_i, t_i\}} \; \sum_i \| p_i - \hat{p}_i \|^2 \;+\; \lambda \sum_{(i,\,i+1)} E_{\text{strain}}(i, i{+}1)$$
redistributes drift across the whole assembly rather than forcing the last-placed atoms to absorb it. This is a small constrained optimization over a handful of six-degree-of-freedom bodies, so it should cost far less than the hundreds of denoising steps a diffusion model needs.
Research Program
Three things get built. First, the grower: an $E(3)$-equivariant policy in the style of the Action-GDL behavioral-cloning setup — which selects an attachment bond (its OPENBOND predictor reaches AUPRC $0.9391 \pm 0.0006$ on PDBBind) and then a fragment and dihedral (AUPRC $0.8496 \pm 0.0049$) — extended with a second regression head for anchor-relative global coordinates and a repeat-index conditioning embedding, so the model can distinguish "attach toward repeat copy 3" from "attach toward the nearest look-alike pocket." Hotspot anchor residues come from the energy-based hotspot sampling that PepHAR showed works for founding fragments. Second, the corrector: the elastic relaxation solver above, plus the support-check monitor that separates structural errors from local geometric errors, mirroring how the T2T-YAO pipeline separates structural-error windows from base-error windows and found that base-level polishing of repetitive DNA fails unless structural misplacements are fixed first. Third, drift-aware training: because the exposure-bias analysis shows that sequential policies trained only on perfect teacher-forced states fall apart on their own slightly erroneous outputs, training will inject calibrated placement noise so the model and its drift detector both see realistic drifted states — a lightweight cousin of DAgger.
The evaluation regime focuses on tandem-repeat pockets, which is where all three research directions genuinely intersect: the chemistry is fragment linking (direction one), the geometry is a repeat array that punishes local-copy confusion (direction two), and the failure mode is sequential drift and failed loop closure (direction three). No reported result found on Lacuna for fragment linking on tandem-repeat protein pockets, so part of the program is constructing that benchmark: repeat-protein complexes curated from the PDB with known fragment-sized ligands or designed binders, split into linking tasks where the correct repeat-copy assignment is known from the crystal structure.
Baselines
The naive reference point is uncorrected autoregressive growth: the Action-GDL behavioral-cloning policy run as-is, with no anchoring, no relaxation, and no monitor. This isolates how much of the failure is pure drift and gives the "do nothing" curve — I expect its RMSD-versus-length slope to reproduce the drift signature PepHAR documents. It will be run on identical data with the same training budget as our model.
The strongest existing competitor on the peptide-scaffolding benchmark is PepHAR, which combines hotspot founding, autoregressive extension in dihedral space, and a post-hoc gradient correction stage, and reports backbone RMSD of 2.15 Å on the PepBDB/Q-BioLip scaffolding benchmark (beating PepFlow at 2.45 Å and RFDiffusion at 4.09 Å). PepHAR is the right rival because it is the one prior system that both acknowledges drift explicitly and attempts a correction — but its correction is local gradient refinement over distributions, with no global strain distribution, no loop closure, and no structural-versus-local error distinction. We will run PepHAR with its published configuration on the same test splits, and beating it means lower mean RMSD with a statistically flatter RMSD-versus-length slope, since flatness is the direct evidence that drift is being corrected rather than masked.
For linker tasks, the strongest competitor is DiffLinker, the equivariant diffusion model that links an arbitrary number of fragments in 3D and reports 94% multi-fragment validity on GEOM and an average of 7 pocket atomic clashes on Binding MOAD when pocket-conditioned (down from 21 unconditioned). DiffLinker is a genuine threat on static, well-placed seeds; the discriminating experiments are (a) the repeat-pocket benchmark, where its rigid frozen-fragment assumption cannot exploit symmetry-breaking relaxation, and (b) a seed-noise stress test, since the paper itself notes it cannot relax input fragment coordinates. Both it and our model get the same seeds, the same pocket conditioning, and the same validity and clash metrics.
The key ablation is our own model minus the elastic relaxation step (dual anchoring and monitor retained), and separately minus the structural-error-first ordering (relaxation applied uniformly to all errors). The first isolates whether global strain distribution — the ingredient no molecular method currently has — is actually doing the work; the second isolates whether the error-hierarchy ordering from genome assembly matters or whether any relaxation suffices.
Why not just…?
Why not just use a one-shot diffusion model and skip sequential drift entirely? This is the most serious objection. Diffusion linkers like DiffLinker generate all linker atoms at once, so there is no lever arm by construction. But three pieces of evidence in the literature bound this escape: diffusion is expensive (TargetDiff generates at 0.01 molecules per second versus 2.0 for the autoregressive Frag2Seq, and diffusion baselines need 32M–450M parameters and 500–1200 GPU hours versus Symphony++'s 2M parameters and 50 GPU hours); diffusion typically fixes the atom count before generating, which is wrong when the optimal linker length across a repeat array is unknown; and on hard assembly tasks diffusion can fail completely — DiffLinker and LinkerNet both scored 0% assembly validity on the BRD9–VHL PROTAC task where CupOFLATTE reached 72%, and RFDiffusion's 4.09 Å on PepBDB is far off the pace. Still, DiffLinker may win on static two-fragment linking with clean seeds, and the head-to-head experiments above are designed to concede exactly that regime and locate the boundary where sequential plus correction wins.
Why not just relax the finished molecule with a force field? This is what Symphony++ does with NequIP, and it fixes small bond-length noise on QM9. The evidence says it cannot fix what actually matters here: post-hoc relaxation preserves chemical graph topology, so a wrong repeat-copy assignment, a broken ring closure, or a drifted trajectory that put attachment atoms out of bonding range — the failure mode Frag2Seq reports when OpenBabel bonding heuristics give up — is unreachable by gradient descent on energy. PepHAR likewise found unconstrained relaxation cannot stitch independently grown fragments without violating peptide-bond planarity. The analogous result in 3D reconstruction is direct: Elastic Fragments shows that rigid post-hoc alignment fails under systematic drift and only joint optimization distributing strain across locally rigid sub-units recovers the global structure. Our ablation minus elastic relaxation versus a NequIP-relaxed version of the same outputs will test this directly.
Why not just generate SMILES strings and avoid 3D coordinates altogether? FragmentGPT (99.1% linking validity on the RTCB task) and InVirtuoGen show string models are strong and cheap. But both discard 3D conformation and stereochemistry, and structure-based design against a shallow or repeat pocket is inherently a 3D matching problem: a 1D string model has no mechanism to ensure the molecule conforms to the pocket's geometry, and InVirtuoGen's own authors note that its naive token overwriting fails to propagate long-range structural dependencies — precisely where repeat-periodic linkers live. String models will be included as a validity-and-throughput reference point, but they cannot be scored on clash counts, repeat-copy assignment, or RMSD against a crystal pose, which is the point of the benchmark.
Proposed Experiments
Experiment one runs the PepBDB/Q-BioLip scaffolding benchmark (over 8,000 non-homologous peptide–protein complexes) with the drift-curve analysis front and center: mean backbone RMSD as a function of assembly length, with baselines PepHAR (2.15 Å), PepFlow (2.45 Å), and RFDiffusion (4.09 Å). Success is beating 2.15 Å in the mean and, more tellingly, a slope near zero where PepHAR's rises.
Experiment two runs GEOM multi-fragment linking for validity (DiffLinker: 94%) and Binding MOAD for pocket clashes (pocket-conditioned DiffLinker: 7 on average), including the seed-noise stress variant in which fragment starting poses are perturbed, testing DiffLinker's inability to relax seeds against our elastic step.
Experiment three is the new repeat-pocket benchmark: metrics are repeat-copy assignment accuracy against the crystallographic ground truth, linker periodicity error (deviation from the repeat unit's spatial period), structural-error rate versus local-error rate reported separately in the T2T-YAO style, and generation throughput (the autoregressive advantage should keep us near Frag2Seq's 2.0 molecules per second, far from TargetDiff's 0.01).
Experiment four is the ablation grid: no elastic relaxation, no dual anchoring, no structural-error-first ordering, no noise-injected training. The decisive check is simple to state: if the full model's improvement over the no-relaxation ablation on the drift curve and on structural-error rate is small, the transferred mechanism is not doing the work and the claim fails; if the elastic ablation collapses specifically on long and repeat-periodic assemblies while remaining fine on short ones, the genomic and reconstruction lessons genuinely transfer.