In molecular design, a persistent rift has existed between two ways of representing a molecule: its topology (the 2D graph of atoms and bonds) and its geometry (the 3D spatial coordinates). Historically, generative models have treated these as sequential tasks—either generating a graph and then "embedding" it into 3D space, or generating a 3D point cloud and then "inferring" the bonds.
However, recent research suggests that this decoupling is the primary source of "chemical hallucinations"—structures that look plausible in one modality but are physically impossible in the other. A new direction in the field, often termed joint generation or co-design, proposes that topology and geometry should be modeled as a single, unified process.
The Problem of Modality Inconsistency
Traditional two-step pipelines suffer from a fundamental lack of feedback. When a model generates a 2D graph in isolation, it may produce a valid chemical structure that is too strained to exist in 3D space. Conversely, models that generate 3D coordinates first often produce "unbondable" point clouds where atoms are too far apart or too close together to satisfy valency rules.
Xingang Peng, Jiaqi Guan, and colleagues identify this as the atom-bond inconsistency problem. In their work on MolDiff, they argue that treating bonds as a post-processing step leads to artifacts like unrealistic rings or valency violations. By sampling atoms and bonds simultaneously within a unified probabilistic framework, they achieved a three-fold improvement in generating realistic, drug-like structures.
The Reciprocal Relationship
The core intuition behind joint generation is that topology and geometry are not just complementary; they are reciprocal. The bonding graph provides a structural skeleton that constrains where atoms can go, while the 3D coordinates provide the physical refinement that determines which bonds are stable.
Leilei Sun and Weifeng Lv explored this synergy in JODO, a joint 2D and 3D diffusion model. They found that modeling both descriptors simultaneously allows the 2D connectivity to act as a structural regularizer for the 3D space. This prevents the "drifting" common in 3D-only models, where atoms slowly move into physically impossible configurations during the generation process.
Similarly, Yinan Huang and Muhan Zhang demonstrated in 3DLinker that leveraging E(3) equivariant graph neural networks to jointly predict graphs and coordinates ensures that the generated structures are independent of the coordinate system and achieve sub-angstrom precision.
Unified Diffusion and Flow Matching
The shift toward joint generation has been accelerated by the adoption of Unified Diffusion and Flow Matching frameworks. Rather than diffusing only the continuous positions of atoms, models like MUDiff by Chenqing Hua and Zhitao Ying diffuse discrete bond types and continuous coordinates in a single process.
This approach is further refined in Pocket2Mol, where Shitong Luo and Jian Peng use a vector-attention mechanism to predict chemical elements and bond types simultaneously with 3D positions. By treating bonds as "first-class citizens" during generation, the model ensures that the resulting molecular graphs are inherently optimized for their physical environment—such as a protein pocket—rather than being generated in a vacuum.
Beyond Geometry: Synthesizability and Ensembles
The latest evolution of this idea extends the "jointness" to include laboratory reality and physical flexibility.
- Synthesizability: Researchers like Miruna Cretu and John Bradshaw have introduced models like SynLaD and SynCoGen. These frameworks jointly model 3D coordinates and chemical synthesis pathways. This acts as a final structural regularizer: if a 3D shape cannot be built using standard chemical reactions, the model learns to steer the latent space away from it.
- Conformational Ensembles: Real molecules are not static; they exist as an ensemble of shapes. FlexiFlow, developed by Riccardo Tedoldi and Ola Engkvist, moves beyond "one molecule, one shape" by jointly sampling molecular graphs and their entire range of 3D structural possibilities.
Why It Works
The success of joint generation stems from error reconciliation. In a sequential model, an error in the first step (e.g., a bad bond in a 2D graph) is fatal; the second step (3D embedding) cannot fix it. In a joint model, the 3D geometric objective can "push back" against the 2D topological objective during the denoising or generation process. As Rohan V. Koodli notes in the EdGr framework, explicitly coupling these modalities allows the model to reconcile noisy initial placements into a coherent, chemically valid whole.