Manuscript Offprint

arXiv:2609.31222

Budgeted Quotient-Residual Guidance for Frozen Pocket-Conditioned Molecular Diffusion

Xinyu Wang, Jinbo Bi, Minghu Song

Abstract

Pocket-conditioned molecular diffusion updates ambient atom coordinates, but many lead-optimization objectives are expressed on quotient features such as distances, contacts, and anchored substructures. We introduce budgeted quotient-residual guidance (QRG), an inference-time correction that makes these quotient objectives active without retraining the molecular generator. QRG lifts quotient covectors to metric-horizontal ambient directions and delivers them through a trust budget set by the frozen sampler's own step norm: quotient geometry chooses the direction, while sampler motion bounds the scale. We derive the horizontal lift, closed-form sampler-budget update, KL/kinetic interpretation around a frozen reverse step, equivariance conditions, and a product-budget split for budget-capped section and residual controls. Controlled quotient tasks confirm that sampler-relative delivery activates signals that raw local quotient gradients leave dormant. On frozen TARGETDIFF backbones, official seed-0 CBGBENCH ligand-generation/editing sweeps show practical quality–runtime gains: LOCAL-QRG improves validity from 0.815 to 0.864 on fragment growing, 0.664 to 0.707 on scaffold hopping, and 0.681 to 0.712 on linker design, while PREDNEXT-QRG improves fragment/scaffold and remains near-neutral on linker. Novelty remains 1.000 and diversity is preserved in the matched multi-seed molecular slice, giving task-dependent improvements without sampler retraining or backbone modification. Overall, QRG provides a lightweight route to quotient-aware inference for frozen molecular samplers with explicit runtime accounting.

1 Introduction

Pocket-conditioned molecular diffusion has two coordinate systems. The sampler evolves ambient atom coordinates, but many scientific objectives are defined only after quotienting away nuisance choices such as global rotation, translation, atom-index representatives, or irrelevant local coordinates. Fragment geometry, scaffold preservation, linker closure, and pocket-relative contacts are naturally described by distances, anchors, and substructure features rather than by one absolute coordinate representative. This ambient–quotient mismatch is present even when the backbone itself is equivariant: the model can move coordinates correctly under symmetry, while the guidance objective still lives on features that identify an equivalence class.

There are two broad ways to handle the mismatch. One can build the structure into training through equivariant architectures or symmetry-aware objectives [Thomas et al., 2018, Fuchs et al., 2020, Satorras et al., 2021, Hoogeboom et al., 2022, Tong et al., 2025]. This is principled, but it requires changing or retraining the generator. Alternatively, one can keep a pretrained sampler fixed and add plug-and-play guidance at inference time [Dhariwal and Nichol, 2021, Ho and Salimans, 2022, Chung et al., 2023, Bansal et al., 2023]. This second regime is attractive in structure-based drug design because strong pretrained backbones and benchmark code are already available, while retraining

Preprint.

Figure

Figure 1: Budgeted quotient-residual guidance. A frozen molecular sampler moves ambient coordinates, while many scientific objectives live on quotient features such as distances, contacts, and fixed anchors. Raw quotient directions can be dormant at sampler scale. QRG keeps the quotient-residual direction but delivers it through a sampler-relative trust budget. The right panel gives the deployed Budgeted QRG step: section and quotient-residual controls are budget-capped separately by the frozen sampler's own motion. Deployed variants use PredNext or local-radius quotient features; rollout residuals are teachers and diagnostics, not deployment requirements.

for every lead-optimization objective can be expensive or impractical [Guan et al., 2023a, Lin et al., 2025].

Inference-time quotient guidance, however, has a failure mode that is easy to miss. A quotient energy removes nuisance directions, but the frozen sampler still takes finite ambient denoising steps. Direct local gradients of an invariant energy can be directionally meaningful yet numerically dormant: their scale is set by the quotient feature map rather than by the sampler motion. Rollout lookahead can activate such signals by repeatedly querying the denoiser, but then guidance becomes an expensive oracle rather than a practical inference rule. The missing ingredient is not another absolute gradient scale; it is a way to deliver a quotient direction at the scale already chosen by the sampler.

We propose BUDGETED QUOTIENT-RESIDUAL GUIDANCE, a quotient-lifted trust-region formulation for frozen molecular diffusion samplers. The quotient differential first lifts a quotient covector into a metric-horizontal ambient direction, i.e., the ambient motion that changes quotient features most efficiently while ignoring vertical representative motion. The allowable correction length is then bounded by the frozen sampler's own update norm, which is also the local kinetic scale of the frozen reverse step. In one sentence, quotient geometry chooses direction; sampler motion bounds scale. This converts a dormant invariant signal into an active, bounded correction while keeping the method compatible with pretrained backbones. The goal is not to replace training-time molecular generators or claim best-in-class de novo generation; it is to make quotient-aware inference useful when retraining the backbone is not the experiment one wants to run. Expensive rollout is demoted to a teacher or diagnostic, while deployed instantiations reuse either the sampler's predicted next state or a cheap local quotient surrogate.

Our empirical focus is the frozen-backbone setting. We integrate QRG with TARGETDIFF [Guan et al., 2023a] and evaluate on CBGBENCH-style lead-optimization tasks [Lin et al., 2025]. This choice makes the runtime question explicit: a useful inference-time method should improve generation quality without hiding a many-rollout cost. We therefore report validity, novelty, diversity, control budget, wall-clock runtime, paired target-level statistics, and corrected docking diagnostics. The main ligand-generation/editing slice covers fragment growing, scaffold hopping, and linker design. Side-chain decoration is reported separately as a budget-transfer stress test because it changes the output family from ligand-coordinate generation to narrow protein-local packing.

Our contributions are:

  1. A quotient-lifted trust-region formulation. We derive a metric-horizontal lift of quotient covectors and a closed-form sampler-relative correction whose norm is capped by the frozen sampler's own motion. For Gaussian reverse kernels, the active-budget update is the optimizer of a local KL-budgeted quotient-descent problem; for deterministic samplers, it is the corresponding kinetic trust-region rule. Deployed variants only instantiate where the quotient direction is evaluated.

  2. Theory that matches the implementation questions. We prove the horizontal lift, sampler-budgeted descent update, KL/kinetic budget interpretation, equivariance of the correction under isometric group actions, and product-budget split that defines a different family of motions than one-branch scalarization.

  3. A practical quality–runtime evaluation. Controlled tasks expose the dormant-gradient failure mode. Frozen TARGETDIFF experiments show that deployed QRG variants improve fragment and scaffold validity at modest overhead while preserving novelty and diversity in the matched multi-seed molecular slice. Linker design is near-neutral for PREDNEXT-QRG but improves for LOCAL-QRG. Paired target-level analyses expose heterogeneity rather than hiding it, and a full side-chain sweep is included as a stress test showing task-dependent budget mismatch. Docking is reported as a corrected supporting diagnostic, not as an overclaimed headline.

References (67)

  • Cormorant: Covariant molecular neural networks
  • Benchmarking structure-based three-dimensional molecular generative models using GenBench3D: Ligand conformation quality matters (opens arXiv in a new tab)
  • Universal guidance for diffusion models (opens arXiv in a new tab)
  • E(3)-equivariant graph neural networks for data-efficient and accurate interatomic potentials
  • Quantifying the chemical beauty of drugs
  • SE(3)-stochastic flow matching for protein backbone generation
  • Geometric deep learning: Grids, groups, graphs, geodesics, and gauges (opens arXiv in a new tab)
  • GuacaMol: Benchmarking models for de novo molecular design
  • Diffusion posterior sampling for general noisy inverse problems
  • Group equivariant convolutional networks
  • DiffDock: Diffusion steps, twists, and turns for molecular docking
  • Diffusion schrödinger bridge with applications to score-based generative modeling
  • Diffusion models beat GANs on image synthesis
  • Autodock vina 1.2.0: New docking methods, expanded force field, and python bindings
  • Generalizing convolutional neural networks for equivariance to lie groups on arbitrary continuous data
  • Three-dimensional convolutional neural networks and a cross-docked data set for structure-based drug design
  • SE(3)-transformers: 3d roto-translation equivariant attention networks
  • Symmetry-adapted generation of 3d point sets for the targeted discovery of molecules
  • 3d equivariant diffusion for target-aware molecule generation and affinity prediction
  • DecompDiff: Diffusion models with decomposed priors for structure-based drug design
  • Classifier-Free Diffusion Guidance
  • Denoising diffusion probabilistic models
  • Equivariant diffusion for molecule generation in 3d
  • Equivariant 3d-conditional diffusion model for molecular linker design (opens the publisher in a new tab)
  • Deep generative models for 3d linker design
  • Torsional diffusion for molecular conformer generation
  • Elucidating the design space of diffusion-based generative models
  • Denoising diffusion restoration models
  • Variational diffusion models
  • Equivariant flow matching
  • Equivariant flows: Exact likelihood generative learning for symmetric densities
  • On the generalization of equivariance and convolution in neural networks to the action of compact groups
  • CBGBench: Fill in the blank of protein-molecule complex binding graph
  • RePaint: Inpainting using denoising diffusion probabilistic models
  • Improved denoising diffusion probabilistic models
  • Open babel: An open chemical toolbox
  • Pocket2Mol: Efficient molecular sampling based on 3d protein pockets
  • Molecular sets (MOSES): A benchmarking platform for molecular generation models
  • Generating 3d molecular structures conditional on a receptor binding site with deep generative models
  • E(n) equivariant graph neural networks
  • Structure-based drug design with equivariant diffusion models (opens the publisher in a new tab)
  • Deep unsupervised learning using nonequilibrium thermodynamics
  • Generative modeling by estimating gradients of the data distribution
  • Score-based generative modeling through stochastic differential equations
  • 3d Infomax improves GNNs for molecular property prediction
  • Tensor field networks: Rotation- and translation-equivariant neural networks for 3d point clouds
  • Rao-blackwell gradient estimators for equivariant denoising diffusion (opens arXiv in a new tab)
  • Autodock vina: Improving the speed and accuracy of docking with a new scoring function, efficient optimization, and multithreading
  • The PDBbind database: Methodologies and updates
  • 3d steerable CNNs: Learning rotationally equivariant features in volumetric data
  • GeoDiff: A geometric diffusion model for molecular conformation generation
  • SE(3) diffusion model with application to protein backbone generation
  • Equivariant normalizing flows and flow matching models learn densities or transports under known group actions [Köhler et al., 2020, Klein et al., 2023]
  • Orbit Diffusion interprets data augmentation as a Monte Carlo gradient estimator of a symmetrized loss and reduces variance by estimating an orbit-conditional expectation [Tong et al., 2025]
  • Structure-based generation has progressed from grid-based latent models [Ragoza et al., 2022] to pocket-conditioned graph samplers [Peng et al., 2022] and 3D diffusion models [Guan et al., 2023a, Schneuing et al., 2024, Guan et al., 2023b]
  • For any feasible $u$
  • The split family with independent branch budgets contains vectors
  • A one-branch scalarized delivery with fixed scalar $\lambda$ has direction
  • This proves that split delivery is not, in general, a scalar rescaling of a one-branch scalarized gradient
  • Using $M_{R_g x} = R_g M_x R_g^\top$
  • The official seed-0 sweeps provide the full aggregate validity, runtime, and control-budget rows
  • Each paired row compares a guided variant to the base sampler on the same target
  • The main text reports the metrics most relevant to the claim boundary: validity, runtime, novelty, and diversity
  • This makes the amount of target-level evidence visible without turning the appendix into a benchmark-ID dump
  • Potential negative impact comes from the general dual-use nature of molecular generation
  • The table separates deployed QRG variants from rollout-teacher diagnostics and explains why the reported runtime overhead is modest relative to a rollout-heavy inference scheme
  • The upstream TARGETDIFF repository identifies its code license as MIT. The upstream CBGBENCH repository identifies its code license as GPL-3.0, and the CBGBENCH OpenReview paper page identifies the paper license as CC BY 4.0