Skip to content
AI.info

Research

EVA-Flow: Learning Shared Chemistry for Unified Environment-Aware Molecular Conformation Generation

Overview Research area: Machine learning for molecular structure generation — specifically generative modeling of 3D molecular conformations conditioned on their physical environment (vacuum, protein

arXiv
2610.36280
Published
2026-10-26
Authors
Bing Yan, Anuroop Sriram, Zachary Ward Ulissi, Kyunghyun Cho, Ricky T. Q. Chen, Benjamin Kurt Miller

AI summary

Overview

Research area: Machine learning for molecular structure generation — specifically generative modeling of 3D molecular conformations conditioned on their physical environment (vacuum, protein pockets, solvent, crystal lattices).

Technical level: Advanced. The paper assumes familiarity with flow matching, variational autoencoders, SE(3)-equivariant graph neural networks, and standard conformer-generation benchmarks (COV/AMR metrics on GEOM-DRUGS, PDBBind, Aquamarine, and COD).

Scope: One sentence — the paper proposes EVA-Flow, a single environment-conditioned flow-matching model that learns shared molecular chemistry across four environments and shows that pretraining plus cross-environment finetuning delivers its largest gains where target-environment data is scarce.

What This Paper Is About

A molecule's 3D shape is not fixed: the same drug molecule adopts different geometries in solution, in a crystal, and inside a protein binding pocket. Most existing generative models either ignore the environment entirely (generating "vacuum" conformations) or train a separate model for each setting, which implicitly assumes conformational distributions across environments are unrelated tasks. The authors argue the opposite — the underlying chemistry is shared, and only the physical constraints change — so they build one model that learns a common chemical representation and adapts it through an environment embedding.

Key Contributions

  1. A reformulation of conformer generation as learning shared chemistry under environment-specific constraints, rather than training isolated per-environment models. The target molecular graph keeps the same semantics in every setting; only the conditioning context changes.

  2. A unified environment-conditioned architecture combining an environment embedding network (three GCN layers plus a two-layer MLP), a variational latent encoder, a learned conditional Harmonic base distribution, and a stochastic flow-matching decoder. Both the molecular encoder and decoder are conditioned on the same environment vector.

  3. Empirical demonstration that pretraining and cross-environment finetuning help most in data-scarce environments — Docking, Solvation, and Packing — while Vacuum differences remain small relative to sampler variability, consistent with its much larger training set.

  4. Two forms of evidence that the model actually responds to context: a same-molecule analysis across all six environment pairs (comparing conditioned generations against each environment's own reference) and an ablation zeroing domain-specific context features, which degrades performance in Docking, Solvation, and Packing.

Main Findings

  • Largest gains land in data-scarce settings. Under the default 4-conformer protocol, Solvation Recall COV rises from 0.414 ± 0.021 (Individual) to 0.949 ± 0.019 (Pretrain+Unified), while the retrained ETFlow baseline reaches 0.605 ± 0.034. Docking Recall COV rises from 0.553 ± 0.013 to 0.684 ± 0.013 (ETFlow retrained: 0.391 ± 0.016). Packing rises from 0.512 ± 0.006 to 0.644 ± 0.004 (ETFlow retrained: 0.474 ± 0.003).

  • Vacuum is close to saturated. Vacuum Recall COV ranges from 0.728 ± 0.005 (Individual) to 0.747 ± 0.013 (Pretrain+Unified), with retrained ETFlow at 0.725 ± 0.012; the authors attribute the small spread to inference-sampler variability and the much larger training set.

  • Unified training beats per-environment models. Unified setups substantially surpass Individual finetuning in Docking, Solvation, and Packing, whereas differences within Vacuum are small. A data-volume control (Appendix K) indicates the gains persist beyond raw target-environment exposure.

  • Strong solvation ensemble coverage. Multi-reference Solvation evaluation supports broad coverage of solvation conformations, and the 2K-protocol Vacuum results (Table 3) are comparable to retrained ETFlow, with lower Recall COV but higher Precision COV than MCF-L (EVA-Flow Recall COV mean 0.721 versus MCF-L 0.847; Precision COV mean 0.707 versus 0.668).

  • Same-molecule generations track the environment. Across all six environment pairs, generated conformations are closer on average to their own environment's reference than to the other's. Examples: Packing–Solvation (n = 23) gives own-environment RMSDs of 0.06 Å and 0.09 Å versus cross values of 1.49 Å and 1.48 Å; Solvation–Vacuum (n = 142) gives 0.12 Å and 0.64 Å versus 3.41 Å and 3.31 Å. The gap is smallest for Packing–Docking (n = 64): 0.28 Å and 0.36 Å versus 0.45 Å and 0.38 Å.

  • Three components are essential. Ablations with the small model in the Unified setup show the flow-matching decoder, the Harmonic base, and SE(3)-equivariance are all necessary. Replacing the FM decoder with regression collapses Recall COV to 0.000/0.126/0.006/0.005 across Vacuum/Docking/Solvation/Packing.

  • The learned base and VAE latent aid transfer. Removing both lowers Recall COV in all twelve transfer comparisons, with the largest gaps in low-data Solvation (up to −0.255 Recall COV), while effects under Individual training vary by environment.

  • Baseline comparisons. EVA-Flow outperforms ETKDG+MMFF in all four environments and GFN2-xTB on Solvation, where both physical references collapse (Appendix E.5). UMA relaxation separately supports the physical validity of generated Vacuum conformers (Appendix F).

Methodology in Plain English

EVA-Flow separates two things that prior work conflated: the molecule and the world around it.

  • Two graphs, two roles. The target molecular graph describes the molecule whose coordinates are generated. A second "environment graph" is conditioning context only and is never generated. Its construction is hand-designed per setting: a random 30–70% atom-induced subgraph during pretraining; the molecule's Bemis–Murcko scaffold (with coordinates zeroed) for Vacuum; protein-pocket heavy atoms with same-residue edges for Docking; a water proxy carrying solvation descriptors (sCAV, vCAV, eSOLV, eNELEC) for Solvation; and a copy of the molecular graph with RDKit proxy geometry plus space-group number and lattice parameters (a, b, c, α, β, γ) for Packing.

  • An encoder that is used only in training. A VAE encoder takes the molecular graph, the true coordinates, and the environment vector, and outputs a per-atom Gaussian latent. This captures residual molecule–environment variability during training.

  • A learned starting distribution. Instead of always starting generation from a fixed graph-Laplacian Harmonic prior, a network predicts a mean and per-atom scaling for a conditional Harmonic distribution, regularized by KL divergence toward the graph-only prior. At inference the base network is bypassed and the simple graph-only prior is used.

  • A flow-matching decoder does the real work. It learns a time-dependent velocity field that transports samples from the base distribution to real conformations, trained with stochastic interpolants between base samples and data, noise schedule σ(t) = σ·sqrt(t(1−t)), and a target velocity of (x₁ − x₀) + σ̇(t)ε.

  • Four equally weighted losses — latent KL, base KL, a latent consistency term (so the same molecule–environment state looks the same at the true coordinates and at the base sample), and the flow-matching loss. The KL and consistency terms block training-time shortcuts; the FM term keeps geometric accuracy.

  • Sampling uses stochastic Euler steps from t = 0 to t = 1 with zero-center-of-mass Gaussian perturbations and sampler variance σ²_samp(t) = t².

The pretraining corpus contains 445,662 molecule entries and 9.8M conformations drawn from GEOM-QM9, GEOM-DRUGS, SPICE PubChem, CREST-relaxed SPICE, and OE62. The finetuning corpus contains 304,622 molecule entries. Notably, 272,641 GEOM-DRUGS entries are reused across pretraining and Vacuum finetuning.

Why This Matters

Research impact. The paper challenges the default practice of training one conformer model per context. If a single model can absorb vacuum, docking, solvation, and crystal-packing data, then small, expensive-to-generate datasets (binding poses, crystal structures) can borrow statistical strength from large vacuum corpora — a plausible route to better performance in exactly the regimes where data collection is hardest. Releasing code at huggingface.co/facebook/eva-flow lowers the barrier to testing that claim.

Real-world applications.

  • Drug discovery: generating ligand conformations that fit a known pocket rather than an isolated vacuum geometry, using datasets like PDBBind-v2020.
  • Formulation and solubility: predicting solution-phase conformers relevant to how a compound behaves in the body, using implicit-water data such as Aquamarine.
  • Materials and crystal engineering: predicting molecular geometry inside a crystal lattice from space-group and lattice metadata, relevant to polymorphism and crystallization.
  • Cheaper downstream simulation: more accurate starting geometries could reduce the cost of thermodynamic, kinetic, and nucleation simulations that currently require expensive force-field or molecular-dynamics runs.

Industry relevance. Pharmaceutical and materials companies already pay for conformer generation in virtual screening and property prediction pipelines. A model that transfers across environments promises fewer bespoke models to train and maintain, and better behavior on the proprietary, data-poor environments that matter commercially.

Future Directions

  • More expressive backbones and scaling — the authors state this could improve accuracy, with the ablation showing model capacity and equivariance matter.
  • Richer evaluation — multi-reference benchmarks and environment-specific physical validation, extending beyond the Solvation and Vacuum settings where multi-conformer references exist. Docking and Packing currently supply only one physical reference each.
  • Unseen environment types — the authors name surface adsorption and solid–liquid interfaces as natural extensions beyond the four training contexts.
  • Understanding the latent pathway — the reported checkpoint has a collapsed latent posterior even though the coupled base and latent aid low-data transfer, an optimization behavior the appendices probe but which remains an open question for principled design.
  • Full docking — EVA-Flow predicts only the pocket-conditioned internal conformation with the ligand centered; it does not predict global translation or orientation, unlike end-to-end docking systems.

Target Audience

Machine learning researchers working on generative models for 3D molecular structure; computational chemists and structural biologists interested in environment-dependent conformer generation; and practitioners in drug discovery or materials informatics who evaluate whether a single unified model can replace several task-specific ones. Readers without a background in flow matching, VAEs, or equivariant graph networks will find the architecture section demanding, though the problem framing and results tables are accessible.

Authors’ abstract

Molecular 3D structures underpin simulations of thermodynamics, kinetics, crystallization, and nucleation, making their accurate prediction central to drug discovery and materials design. However, molecular geometry can change dramatically across environments. Existing models either ignore environmental effects or train separate models for each environment. We hypothesize that transfer learning across contexts is possible for conformer generation and that a general model will perform better when training data are limited, as in ligand binding and crystallization. We introduce EVA-Flow, a unified framework for environment-aware molecular conformation generation that learns shared chemical structure and adapts it through environment-conditioned generative modeling. Across vacuum, protein-ligand docking, solvation, and crystal packing, pretraining and cross-environment finetuning provide their largest gains in the three data-scarce settings. Evaluation against multiple reference conformations shows that EVA-Flow covers a broad range of solvation conformations. Analyses of molecules shared across environments support its ability to generate different conformations for the same molecule in different environments.

Read the original paper