arXiv:2610.38517cs.LGOct 2026

Manuscript Offprint

arXiv:2610.38517

AtomSteer: Test-Time Constraint Steering for Atomistic Generative Models

Pengfei Cai, Katharina S. C. Jäger, Utkarsh Utkarsh, Nofit Segal, Bowen Deng, Akshay Subramanian, Rafael Gomez-Bombarelli

ABSTRACT

Diffusion and flow matching models offer scalable approaches to generating crystalline materials, molecular conformers, and protein-ligand complexes. However, satisfying crystallographic symmetry, structural geometry, and accurate stereochemistry remains challenging. Satisfying these requirements calls for corrections that preserve the geometry already captured by the pretrained model. In this work, we propose AtomSteer, a test-time inference framework for steering pretrained atomistic generative models with structural constraints. During sampling, AtomSteer corrects intermediate structure predictions with bounded local projections, graph-rigid stereochemical transformations, and projections over periodic symmetries, accepting updates that improve constraint satisfaction while limiting changes to the rest of the structure. We demonstrate AtomSteer across three pretrained backbones, FlowMM, ET-Flow, and Boltz-2, spanning de novo crystal generation and crystal structure prediction, molecular conformer generation, and protein-ligand complex structure prediction. AtomSteer improves space-group distribution coverage in de novo crystal generation and improves target space-group recovery in crystal structure prediction. AtomSteer improves molecular validity and E/Z stereochemical accuracy while retaining conformer ensemble fidelity. For protein-ligand complexes, AtomSteer reduces ligand E/Z errors relative to experimental reference structures while achieving competitive docking success and PoseBusters validity. Our method provides a unified framework for adding chemical and crystallographic control to existing atomistic generative models without retraining or architectural changes.

1 INTRODUCTION

Atomistic generative models can sample periodic crystalline materials, molecular conformers, and protein–ligand complexes with broad distributional fidelity (Miller et al., 2024; Hassan et al., 2024; Passaro et al., 2025), yet samples often violate known structural requirements. Recent co-folding models generate wrong ligand chemistry or chirality for more than half of the tested ligands (Goddard & Croll, 2026; Ishitani & Moriwaki, 2025; Luthfi et al., 2026), and crystalline generative models over-sample low-symmetry structures such as P1 that are rare in nature (Levy et al., 2025). Each failure breaks a requirement: molecular graphs specify local geometry and stereochemistry, protein–ligand poses must be chemically valid, and space-group symmetries strongly influence the material properties (Levy et al., 2025; Kazeev et al., 2025).

Existing approaches incorporate structural requirements through specialized representations, architectures, conditioning, or training objectives, while inference-time methods use reward reweighting or differentiable potentials (Section 2). A common way to add heterogeneous structural requirements at test time to pre-trained atomistic generative models is missing. These requirements differ in what they measure and in how the structure should move to satisfy them: an E/Z error is measured on four atoms but corrected by rotating an entire substituent, a protein–ligand clash is measured between atom pairs but can be corrected by moving the ligand as a rigid body, and space-group symmetry is measured across symmetry-equivalent atoms but corrected by moving

*Equal contribution.

†Corresponding author: rafagb@mit.edu

Figure

Figure 1: AtomSteer applies structure-dependent projections during sampling. (1) At state xtx_t, the pre-trained model predicts the endpoint x^tend\hat{x}_t^{\text{end}} (the state at t=1t=1 for flows and at noise level σ=0\sigma=0 for EDM). (2) AtomSteer projects this prediction towards the structural constraint set Cc,a\mathcal{C}_{c,a} (Section 3.1), giving x~tend\tilde{x}_t^{\text{end}}. (3) The native sampler continues from x~tend\tilde{x}_t^{\text{end}} to xt′x_{t'} (green); the gray line shows the unsteered trajectory. Fragments show an E/Z double bond in the uncorrected and corrected conformers. Right: vanilla and AtomSteer samples for a molecular conformer, a crystal with a requested Archimedean lattice, and a protein-ligand complex; the gray overlay shows the ground truth.

each orbit with the lattice. Cartesian projection, for example, is suitable for bond lengths, angles, and small torsion refinements but cannot correct an E/Z configuration without displacing the four dihedral atoms and distorting the bonds around them. Therefore, each structural requirement calls for a residual on the atomistic graph paired with a suitable projection.

In this work, we introduce AtomSteer, an inference-time framework that pairs the structural residual of each requirement on an atomistic graph with structure-dependent projections (Figure 1). AtomSteer projects the model's endpoint prediction at scheduled sampling steps, accepts only a bounded correction, and returns the corrected prediction through the pre-trained model's native sampling update, without retraining or modifying the model. We developed three projection families in this work, spanning a wide range of constraints: Chemical Gauss–Newton (ChemGN) for local geometry and stereochemistry, rigid-fragment and rigid-body projections for substituents, and crystal symmetry and motif projections for periodic structures. To demonstrate the framework, we test AtomSteer on FlowMM, ET-Flow, and Boltz-2 spanning the generation of crystalline materials, molecular conformers, and protein-ligand complexes (Section 4).

Our contributions are:

  1. A test-time framework for atomistic constraints. We formulate constraints as residuals on atomistic graphs and pair them with projection families across local geometry, stereochemistry, component packing, periodic symmetry, and prescribed motifs. AtomSteer applies bounded, structure-dependent corrections to pre-trained diffusion and flow-based models without retraining or architectural changes.

  2. Crystallographic symmetry and motif control. AtomSteer infers compatible symmetry from FlowMM's structure predictions, broadens de novo space-group coverage (the number of distinct space groups generated), and raises joint success@1 (structure match and correct space group) from 45.18% to 52.54% in MP-20 crystal structure prediction. Separately, constrained on Archimedean lattice (AL) requirements, it also achieves a higher joint rate of satisfying the AL constraint and passing SCIGEN's prescreening (Okabe et al., 2026).

  3. Conformer validity and ensemble quality. Applied to ET-Flow, AtomSteer improves conformer precision and PoseBusters validity on GEOM-Drugs, reduces median E/Z distribution error by 75.9%, and lowers GFN2-xTB ensemble-property errors by 10–36% relative to the better ET-Flow vanilla sampler for each property.

  4. Protein-ligand validity and stereochemical accuracy. Applied to Boltz-2, AtomSteer achieves the highest PoseBusters validity on StereoBench and raises joint valid-docking-and-stereochemistry success from 36.5% to 45.2% relative to Boltz-steering.

References (100)

Couldn't load all references. Reload the page to try again.