TreeRef-BFN: Equivariance-Free De Novo Molecule Generation based on 2D Topology and Internal 3D Geometry
Organizations: College of Computer Science and Technology National University of Defense Technology Changsha 410073, China · Bioinformatics Center of AMMS Beijing 100080, China
Abstract
De novo 3D molecular generation jointly models molecular size, topology, and geometry. Most methods pre-sample molecular size and generate Cartesian coordinates, limiting variable-size conditional tasks such as fragment completion and scaffold decoration while often relying on equivariant architectures. Internal-coordinate methods avoid rigid-body redundancy but typically require a known molecular graph or autoregressive construction, which may accumulate errors. We propose TreeRef, a tree-based molecular representation that assigns molecular topology and topology-dependent local 3D geometry to a naturally variable-size tree. RingRef nodes encode ring closures while preserving the tree structure, while Null nodes allow molecular size to emerge directly from node occupancy. Based on TreeRef, we develop TreeRef-BFN, a Bayesian Flow Network with a standard Transformer backbone that globally couples these locally defined variables and jointly generates discrete molecular variables and continuous local geometry. A single pretrained TreeRef-BFN supports unconditional generation and variable-size structure-conditioned 3D generation through masking alone, without retraining. Empirical studies demonstrate strong chemical validity, molecular stability, and diversity, accurate local geometric distributions, fast sampling, and competitive property-conditioned generation, establishing TreeRef-BFN as an efficient and flexible framework for 3D molecular generation.
Figures & tables
| Validity ( ) | Unique ( ) | Stability ( ) | ( ) | ||||||
| Model | Steps | Time | RDKit | SMILES | Atom | Mol. | Bond | Angle | Dih. |
| EDM ( Hoogeboom et al., 2022 ) | 1000 | 104.2 | 84.08 | 98.44 | 98.34 | 81.53 | 0.0041 | 0.762 | 5.624 |
| GCDM ( Morehead and Cheng, 2024 ) | 1000 | 136 | 87.03 | 98.38 | 98.70 | 85.79 | 0.0042 | 0.843 | 4.247 |
| GeoLDM ( Xu et al., 2023 ) | 1000 | 101.5 | 91.36 | 97.90 | 98.91 | 89.90 | 0.0059 | 0.745 | 4.202 |
| ADiT ( Joshi et al., 2025 ) | 500 | 59.6 | 91.37 | 96.76 | 76.43 | 7.56 | 0.0438 | 1.599 | 5.535 |
| Zatom-1 ( Morehead et al., 2026 ) | 100 | 11.4 | 91.56 | 96.69 | 98.16 | 84.94 | 0.0066 | 0.822 | 3.590 |
| Validity ( ) | Unique ( ) | Stability ( ) | ( ) | |||||
| Model | Steps | RDKit | SMILES | Atom | Mol. | Bond | Angle | Dih. |
| EDM ( Hoogeboom et al., 2022 ) | 1000 | 41.15 | 100.00 | 81.09 | 0.22 | 0.0238 | 5.613 | 22.418 |
| GCDM ( Morehead and Cheng, 2024 ) | 1000 | 55.51 | 100.00 | 87.96 | 3.79 | 0.0227 | 1.479 | 21.504 |
| GeoLDM ( Xu et al., 2023 ) | 1000 | 45.50 | 100.00 | 84.29 | 0.60 | 0.0187 | 3.297 | 21.222 |
| ADiT ( Joshi et al., 2025 ) | 500 | 58.65 | 100.00 | 75.47 | 0.12 | 0.0512 | 2.048 | 19.374 |
| Zatom-1 ( Morehead et al., 2026 ) | 100 | 79.89 | 99.90 | 88.36 | 5.98 | 0.0256 | 1.271 | 20.227 |
| Method | Conditioning | Steps | Valid | RMSD | Bond | Angle | Dihedral |
|---|---|---|---|---|---|---|---|
| JODO ( Huang et al., 2023 ) | RePaint-style | 1000 | 88.50 | 1.223 | 0.026 | 0.953 | 7.823 |
| MiDi ( Vignac et al., 2023 ) | RePaint-style | 500 | 4.40 | 2.512 | 1.392 | 38.801 | 23.480 |
| SemlaFlow ( Irwin et al., 2025 ) | Frozen | 100 | 63.90 | 1.849 | 0.419 | 11.918 | 11.806 |
| TreeRef-BFN-S | Frozen | 100 | 93.00 | 0.902 | 0.014 | 0.719 | 2.966 |
| TreeRef-BFN-M | Frozen | 100 | 78.40 | 0.804 | 0.015 | 1.066 | 3.553 |
| TreeRef-BFN-M-inv2 | Frozen | 100 | 94.55 | 0.664 | 0.007 | 0.383 | 2.378 |
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Blocks | Hidden dimension | Attention heads | FFN dimension | Parameters (M) |
|---|---|---|---|---|---|
| QM9-S | 8 | 256 | 8 | 1024 | 10.50 |
| QM9-M | 12 | 512 | 8 | 2048 | 60.74 |
| QM9-L | 16 | 768 | 12 | 3072 | 179.04 |
| QM9-L (property-conditioned) | 16 | 768 | 12 | 3072 | 179.64 |
| GEOM-Drugs-XL | 16 | 1024 | 16 | 4096 | 319.83 |
| Model | Steps | Valid | MiDi stability | EDM stability | Unique | Novel | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Atom | Mol. | Atom | Mol. | Bond | Angle | Dih. | |||||
| S | 10 | 75.65 | 96.63 | 70.94 | 93.25 | 58.50 | 93.15 | 67.82 | 0.0234 | 3.797 | 6.998 |
| S | 20 | 81.12 | 97.71 | 78.25 | 94.62 | 64.33 | 96.18 | 58.79 | 0.0183 | 2.181 | 3.853 |
| S | 50 | 84.48 | 98.27 | 82.63 | 95.30 | 67.69 | 97.02 | 54.80 | 0.0154 | 1.215 | 2.286 |
| S | 100 | 85.98 | 98.48 | 84.60 | 95.59 | 69.25 | 96.78 | 53.19 | 0.0135 | 0.888 | 1.682 |
| S | 200 | 85.91 | 98.47 | 84.43 | 95.52 | 68.69 | 96.78 | 50.64 | 0.0138 | 0.846 | 1.764 |
| Property | EGNN | TreeRef |
|---|---|---|
| (Bohr 3 ) | 0.132 | 0.318 |
| (meV) | 99.8 | 137 |
| (meV) | 69.1 | 95.6 |
| (meV) | 53.0 | 93.5 |
| (D) | 0.057 | 0.434 |
| 0.055 | 0.101 |
| Property | EGNN | TreeRef | NExT-Mol |
|---|---|---|---|
| (Bohr 3 ) | 1.18 | 1.14 | 1.16 |
| (meV) | 225 | 174 | 297 |
| (meV) | 142 | 136 | 205 |
| (meV) | 169 | 136 | 235 |
| (D) | 0.531 | 0.495 | 0.507 |
| 0.513 | 0.445 | 0.512 |
3D Molecular Generation
3D molecular generation creates molecules by modeling their chemical structures and three-dimensional geometries.
See all 55 papers