AtomSteer: Test-Time Constraint Steering for Atomistic Generative Models
Organizations: Massachusetts Institute of Technology
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.
Figures & tables
| Projection family | Structural constraint examples | Coordinates corrected | Projection |
| Chemical Gauss–Newton (ChemGN) | Local chemical geometry and sterics: bond and 1–3 geometry, designated planarity, intramolecular clashes, protein–ligand exclusion, and E / Z dihedral error | Selected molecular or ligand coordinates | Cartesian ChemGN |
| Local R / S handedness | Ligand coordinates with first-order bond protection | Bond-tangent ChemGN | |
| Rigid-fragment and rigid-body projections | E / Z configuration | Connected substituent around the double bond | E / Z fragment flips and refinement |
| Component packing | Ligand or eligible protein component | Rigid-body | |
| Crystal symmetry and motif projections | Space-group symmetry | Fractional coordinates and lattice | Hierarchy-aware symmetry selection, orbit projection, and lattice-metric projection |
| Lattice-metric relations | Lattice | Metric-template projection |
| As generated | After UMA relaxation | ||||||
| Method | Symmetry success rate (%) | Unique SGs | Valid (%) | Paired (eV/Å) | Symmetry success rate (%) | ||
| FlowMM | 71.47 | 0.5541 | 89 | 97.82 | – | 64.19 | 0.5363 |
| FlowMM + AtomSteer | 77.91 | 0.5083 | 105 | 97.79 | 71.50 | 0.5095 | |
| MR | SG | Joint | ||||
| Method | @1 | @20 | @1 | @20 | @1 | @20 |
| CDVAE † | 33.90 | 66.95 | – | – | – | – |
| DiffCSP | 52.21 | 77.77 | 47.56 | 75.41 | 41.50 | 65.49 |
| CrystalFlow | 62.15 | 78.27 | 3.06 | 15.03 | 1.64 | 12.77 |
| OMatG | 63.50 | 74.38 | 1.86 | 2.30 | 0.63 | 1.35 |
| MCFlow-L † | 64.08 | 76.08 | – | – | – | – |
| AL | Method | AL constraint satisfied (%) | Prescreening survival (%) | Joint (%) | AL detected after relaxation (%) |
| Kagome | SCIGEN | 98.3 | 8.0 | 8.0 | 10.3 |
| FlowMM (vanilla) | 0.1 | 45.2 | 0.1 | 0.3 | |
| AtomSteer | 98.8 | 11.4 | 10.9 | 10.5 | |
| Honeycomb | SCIGEN | 98.4 | 7.4 | 7.4 | 13.1 |
| FlowMM (vanilla) | 0.0 | 47.3 | 0.0 | 0.0 | |
| AtomSteer | 99.2 | 8.5 | 7.7 | 9.4 |
| a. Conformer generation | b. GFN2-xTB ensemble properties | |||||||||
| Method | COV-R | COV-P | AMR-R | AMR-P | PB-valid | E / Z ( ∘ ) | (kcal/mol) | (D) | (kcal/mol) | (kcal/mol) |
| ET-Flow | 79.92 | 73.40 | 0.458 | 0.562 | 93.13 | 9.04 | 0.1795 | 0.2245 | 0.3397 | 0.0217 |
| ET-Flow-SS | 79.93 | 73.52 | 0.456 | 0.559 | 93.17 | 8.94 | 0.1812 | 0.2193 | 0.3413 | 0.0197 |
| AtomSteer | 79.01 | 75.49 | 0.457 | 0.529 | 96.93 | 2.15 | 0.1610 | 0.1558 | 0.2354 | 0.0126 |
| PoseBusters benchmark | StereoBench | ||||||||
| Metric | Vanilla | Boltz- steering | AtomSteer | Vanilla | Guidance only | Boltz- steering | Ishitani & Moriwaki | Chen et al. | AtomSteer |
| PB-valid | 79.1 | 99.3 | 99.3 | 51.0 | 90.7 | 91.7 | 67.6 | 87.1 | 93.4 |
| RMSD Å | 83.7 | 84.1 | 84.7 | 63.2 | 64.0 | 64.5 | 62.2 | 64.2 | 64.7 |
| Success@1 | 66.1 | 83.4 | 84.1 | 35.7 | 59.1 | 59.7 | 45.7 | 56.8 | 60.7 |
| Success@5 | 78.3 | 87.3 | 88.7 | 46.9 | 66.0 | 65.8 | 57.9 | 63.3 | 67.5 |
| E / Z median error ( ∘ ) | 6.12 | 5.26 | 2.98 | 6.27 | 6.44 | 6.13 | 11.13 | 6.73 | 2.61 |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Endpoint prediction | Active projection families | Projection schedule | Continuation |
| FlowMM de novo | Velocity extrapolation | Crystal symmetry: inferred orbits and lattice metric | 80–100%: every 2.5% | Flow continuation ( 25 ) |
| FlowMM CSP | Velocity extrapolation | Crystal symmetry: lattice-metric template (inferred or supplied) and inferred orbits | Composition-only: Lattice and coordinates: 90%, 100% Lattice-informed: Lattice: every 1% Coordinates: 90%, 100% | Flow continuation ( 25 ) |
| FlowMM motif | Velocity extrapolation | Crystal motif: species, positions, and in-plane cell | Every step | Initial-noise interpolation (Appendix B.1.4 ) |
| ET-Flow conformers | Velocity extrapolation | ChemGN; rigid-fragment E / Z ; global parity selection | E / Z fragment flips: 16–80% E / Z fragment refinement: 32–100% Cartesian ChemGN: 16–100% Final: ChemGN, then parity selection | Initial noise interpolation ( 30 ) |
| Boltz-2 complexes | Denoised EDM estimate | ChemGN (Cartesian and bond-tangent R / S ); rigid-fragment E / Z ; rigid-body ligand and protein components | E / Z fragment flips: 15–80% E / Z fragment refinement: 32.5–100% Cartesian ChemGN: 15–100% Ligand : 67.5–100% Protein-component : 60–100% Bond-tangent ChemGN ( R / S ): every step Final: ligand, protein components, then R / S | EDM update ( 31 ) |
| Metric family | Entries of the constraint residual |
| Triclinic | No additional metric equalities |
| Monoclinic ( unique) | |
| Orthorhombic | |
| Tetragonal ( unique) | |
| Cubic | |
| Hexagonal ( unique) |
| Setting | Value |
| Symmetry detection | Distance tolerances Å; angle tolerance |
| Scales for comparing corrections | Atomic displacement scale Å; cell deformation scale (logarithmic strain) |
| Symmetry-candidate search | Maximum atomic displacement Å in CSP |
| Endpoint correction | Maximum atomic displacement Å in de novo generation and CSP |
| CSP next-state correction | Maximum atomic displacement Å; maximum absolute logarithmic stretch |
| Periodic contacts | Å, with the CSP acceptance rule above |
| Setting | Value |
| Relative distance padding | Bonds and 1–3 pairs: 0.125. Intramolecular clashes: 0.10 |
| Planarity | Allowed distance from the plane: 0.25 Å for ring and double bond groups. Cartesian residuals are excess distances divided by this tolerance |
| E / Z parameters | Angular scale , Cartesian residual , flip acceptance band |
| E / Z fragment refinement | Eight ADAM steps, learning rate 0.05, maximum applied fraction 0.75. Rotation and RMS displacement Å over moved fragment atoms. Acceptance: increase in each checked constraint type’s maximum absolute residual and residual norm, including R / S |
| ChemGN | One step and up to 64 largest absolute residuals per stage, damping . During sampling, bound Å, then apply 30% of the bounded correction |
| ChemGN (terminal) | Combined coordinate norm Å. Acceptance: increase in each checked constraint type’s maximum squared residual |
| COV-R (%) | AMR-R (Å) | COV-P (%) | AMR-P (Å) | |||||
| Method | Mean | Median | Mean | Median | Mean | Median | Mean | Median |
| ET-Flow | 79.92 | 84.52 | 0.458 | 0.436 | 73.40 | 80.31 | 0.562 | 0.500 |
| ET-Flow-SS | 79.93 | 84.57 | 0.456 | 0.435 | 73.52 | 80.19 | 0.559 | 0.497 |
| AtomSteer | 79.01 | 82.90 | 0.457 | 0.440 | 75.49 | 82.65 | 0.529 | 0.463 |
| Setting | Value |
| Relative distance padding | Bonds and 1–3 pairs: 0.125. Intramolecular clashes: 0.10. Protein–ligand exclusion: 0.225 |
| Planarity | Allowed distance from the plane: 0.25 Å for ring and double bond groups, 0.02 Å for terminal rings. Cartesian residuals are excess distances in Å |
| E / Z parameters | Angular scale , Cartesian residual , flip acceptance band |
| E / Z fragment refinement | Eight ADAM steps, learning rate 0.05, maximum applied fraction 0.75. Rotation and RMS displacement Å over moved fragment atoms. Acceptance: increase in each checked constraint type’s maximum absolute residual and residual norm, including R / S |
| Cartesian ChemGN | One step and up to 64 largest absolute residuals per stage, damping . During sampling, bound Å, then apply 30% of the bounded correction |
| Rigid ligand | Translation Å, rotation , RMS displacement Å |
| Metric | Vanilla | Boltz-steering | AtomSteer |
| lDDT-PLI | 0.73 | 0.74 | 0.73 |
| Complex lDDT | 0.95 | 0.95 | 0.95 |
| Backbone lDDT | 0.98 | 0.98 | 0.98 |
| TM-score | 0.98 | 0.98 | 0.98 |
| GDT-TS | 0.97 | 0.97 | 0.97 |
| C RMSD (Å) | 0.96 | 0.96 | 0.97 |
| All E / Z bonds (%) | Median E / Z error ( ∘ ) | ||||||
| Number of E / Z bonds | Vanilla | Boltz-steering | AtomSteer | Vanilla | Boltz-steering | AtomSteer | |
| One bond | 813 | 64.6 | 66.2 | 81.2 | 5.63 | 5.53 | 2.61 |
| Two bonds | 192 | 53.7 | 48.4 | 75.0 | 6.46 | 6.96 | 2.83 |
| Three or more | 98 | 29.6 | 25.5 | 70.4 | 11.78 | 8.06 | 2.19 |
| Threshold | Vanilla | Boltz-steering | AtomSteer |
| 21.7 | 21.8 | 47.1 | |
| 39.1 | 39.1 | 63.4 | |
| 59.6 | 59.5 | 79.1 | |
| 69.2 | 70.8 | 85.9 | |
| 73.3 | 78.6 | 89.8 | |
| 77.2 | 92.4 | 93.0 |
| Split | Metric | Vanilla | Boltz-steering | AtomSteer |
| Before 2023-06-01 (N=926) | PB-valid | 51.2 | 90.6 | 92.5 |
| RMSD Å | 67.9 | 69.7 | 69.9 | |
| Success@1 | 38.1 | 64.0 | 65.1 | |
| E / Z median error ( ∘ ) | 6.02 | 5.80 | 2.48 | |
| All E / Z bonds | 61.0 | 60.7 | 80.5 | |
| Success@1+stereo | 27.8 | 39.8 | 49.7 |
Constrained Generative Modeling
Constrained generative modeling develops methods that produce samples satisfying structural, physical, semantic, or user-defined requirements.
See all 191 papers