VecMol: Vector-Field Representations for 3D Molecule Generation

Yuchen Hua, Xingang Peng, Jianzhu Ma, Muhan Zhang

TL;DR

VecMol reimagines 3D molecule generation by representing molecules as continuous vector fields rather than discrete sets of atoms. By performing diffusion in a latent "field space," the model decouples chemical identity from spatial coordinates, leading to more stable, scalable, and physically intuitive molecular modeling.

What Problem Does This Paper Address?

Generating 3D molecules is a balancing act between chemistry and geometry. Most current models treat molecules as point clouds (sets of atoms with x, y, z coordinates and a type). This approach faces three major hurdles:

  1. Modality Entanglement: The model must simultaneously learn discrete categories (atom types like Carbon or Oxygen) and continuous values (coordinates), which are difficult to keep synchronized under noise.
  2. Scaling Issues: Many Graph Neural Networks (GNNs) scale quadratically with the number of atoms, making large molecules computationally expensive.
  3. Cardinality Constraints: Point-cloud models often require a predefined maximum number of atoms, limiting their flexibility.

Alternative voxel-based methods (treating space like a 3D grid of pixels) solve some of these issues but suffer from "curse of dimensionality"—memory usage explodes as you try to increase spatial resolution.

Methods

VecMol introduces a Vector-Field Representation. Instead of asking "Where is the atom?", the model asks "If I am at this random point in space, which direction should I move to find the nearest Carbon atom?"

The framework operates in two stages:

  • Stage 1: Neural Field Autoencoder. An encoder maps a molecular graph into a compact, grid-based latent representation. A shared E(n)-equivariant decoder then takes this latent code and any 3D query point to predict a vector pointing toward the nearest atomic center.
  • Stage 2: Latent Diffusion. A Latent Diffusion Probabilistic Model (LDPM) is trained to generate these latent codes. Because the diffusion happens on a fixed-size latent grid rather than raw coordinates, the process is significantly more stable.

The "Aha!" of Reconstruction: To get a molecule back from a generated field, VecMol uses a "particle-based" approach. It drops random points into the predicted vector field and lets them follow the vectors (via gradient ascent) until they cluster at atomic centers. These clusters are then identified as atoms using a density-based clustering algorithm (DBSCAN).

Datasets

The authors evaluated VecMol on three standard benchmarks:

  • QM9: Small molecules (up to 9 heavy atoms).
  • GEOM-Drugs: Larger, drug-like molecules with more diverse chemistry.
  • CREMP: A dataset of cyclic peptides with up to 100+ atoms, used specifically to test how the model scales to very large systems.

Key Insights and Ideas

  • Decoupling Geometry from Indexing: By modeling a field, the model doesn't need to worry about the "order" of atoms (atom 1, atom 2, etc.). The geometry emerges implicitly from the field's topology.
  • The Gaussian-Clip Field: The authors found that standard Gaussian fields decay too quickly (vanishing gradients), while Tanh fields are too "blurry." They designed a "Gaussian-Clip" field that provides strong directional signals even far away from atoms, ensuring particles always know where to go.
  • Type Exclusivity: To prevent the model from "hallucinating" atoms (e.g., putting a Nitrogen atom where none exists), they introduced a repulsive field for atom types not present in a specific molecule. This forces query points for absent types to move away from the molecular center.
  • Resolution Independence: Because the neural field is continuous, you can query it at any level of detail. The "resolution" of the generated molecule isn't limited by the underlying latent grid.

Key Results

  • Competitive Performance: On QM9, VecMol matches state-of-the-art point-cloud diffusion models (like EDM and GeoLDM) across stability and validity metrics.
  • Superior Stability on Large Molecules: On the more complex GEOM-Drugs dataset, VecMol achieved 80.2% stable molecules, significantly outperforming EDM (40.3%) and GeoLDM (57.9%).
  • Scalability: VecMol successfully generated large cyclic peptides (CREMP) with high geometric fidelity, demonstrating that the vector-field approach handles high atom counts better than traditional coordinate-based diffusion.
  • Efficiency: Generating 10,000 molecules takes roughly 15 seconds for QM9 and 32 seconds for GEOM-Drugs on a single RTX 4090 GPU.

Limitations and Future Work

  • Reconstruction Bottleneck: While the diffusion process is fast, the "gradient ascent" step (moving particles to find atoms) becomes the primary computational bottleneck as molecules grow larger.
  • Fixed Latent Grid: Although the field is continuous, the latent representation still relies on a 3D grid. For extremely elongated molecules, a more flexible latent structure (like a sparse octree) might be necessary.
  • Downstream Tasks: The authors suggest that this continuous representation could be a game-changer for molecular dynamics and structure prediction, where the learned field could act as a "prior" to guide how molecules fold or interact.

Summary updated

BibTeX
@inproceedings{hua2026vecmol,
  author = {Yuchen Hua and Xingang Peng and Jianzhu Ma and Muhan Zhang},
  title = {{VecMol: Vector-Field Representations for 3D Molecule Generation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=4K87H0eSqu},
}
Figure