NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MolGPAO: Molecular Generative Pre-trained Autoregressive Octree with Speculative Decoding and Sub-Millisecond Seam Healing for 3D Molecules

Shangqian Chen, Guojiang Zhao, Zheng Cheng, Jiankun Wang, Hongshuai Wang, Zhifeng GaoarXiv 2026

TL;DR

Generating large 3D molecules usually forces an uncomfortable choice: either evolve every pairwise atomic interaction slowly in dense $O(N^2)$ grids, or carve up 3D space quickly with sparse $O(N \log N)$ octrees that accidentally slice covalent bonds at grid boundaries. MolGPAO fixes the geometric and chemical blind spots of 3D octree autoregression—adding speculative tree pruning and a sub-millisecond "seam healer"—to generate valid, equilibrium-accurate drug and semiconductor molecules in a fraction of a GPU-hour, outpacing heavy diffusion and flow-matching models without relying on external physics relaxers or reward models.

What Problem Does This Paper Address?

Imagine building a 3D molecule inside a giant Rubik's cube that recursively subdivides only where atoms actually exist. That is octree autoregression (specifically, Uni-3DAR): a model starts with a big 3D box, splits non-empty octants into smaller cubes down to tiny $0.24\text{ \AA}$ voxels, and places atoms one by one. Because empty space is ignored, compute scales as $O(N \log N)$ rather than the $O(N^2)$ pair-matrix bottleneck of diffusion and flow-matching models.

In practice, however, vanilla octree models struggle with three nasty bugs:

  1. Voxel-Seam Tears: Because the 3D tree is flattened into a 1D sequence (a Z-curve or Morton order), two bonded atoms sitting across an octant boundary get decoded far apart in time. Tiny coordinate mismatches ($0.04\text{--}0.08\text{ \AA}$) cause massive atomic force spikes and trick bond-perception tools into inventing bizarre, unstable formal charges (zwitterions) up to 32% of the time.
  2. Wasted Compute & Quota Traps: Over 70% of compute goes into fine-grained leaf coordinates, meaning the GPU wastes time polishing broken coarse scaffolds. Meanwhile, rigid integer atom-count quotas per octant starve large molecules ($N \ge 45$).
  3. Critic Shortcut Collapse: If you train an internal "critic" to prune bad branches toward a target quantum property, it cheats—reading the target prompt hidden inside the Transformer's state rather than actually inspecting the 3D geometry.

Methods

Upgrading the pretrained Uni-3DAR backbone, MolGPAO introduces a self-contained pipeline that outputs strictly one molecule per prompt ($M_{\text{out}} \equiv 1$) with zero external surrogate models, zero reinforcement learning, and zero post-hoc force-field relaxation:

Overview of the five-stage MolGPAO speculative octree architecture and sub-millisecond seam-healing engine.
  • Scale-Free Budget & Packing Priors: Replaces rigid integer atom quotas with a continuous 6-D scale embedding and physics-informed occupancy priors across tree depths, smoothly guiding molecular volume without leaking molecule size into intensive electronic property prompts.
  • Speculative Pause-and-Gather Funnel: Instead of decoding every branch to completion, MolGPAO expands multiple coarse octree envelopes in parallel, pauses right before the expensive leaf level, prunes 75%–80% of branches, finishes the survivors, and picks the single best structure.
  • Sub-Millisecond Seam Refiner (PostTreeGraphRefiner): A lightweight 4-layer $SE(3)$-equivariant graph transformer trained purely on synthetic octant-boundary shifts. In $<0.5\text{ ms}$, it stitches cross-voxel bond tears back together and reconciles peripheral hydrogens without moving heavy atoms.
  • Anti-Shortcut Process Critic: To evaluate candidates honestly, the Stage-2 critic is completely detached from conditioned Transformer hidden states and trained on contrast groups of matched and mismatched prompts using 64 high-resolution radial basis functions (cleanly separating single, aromatic, double, and triple bonds) and $SO(3)$-invariant multipole norms.
  • Bubble-Free GPU Decoding: Masked scatter writes and stride-2 tensor slicing eliminate $>95\%$ of Python CPU–GPU synchronization stalls.

Datasets

MolGPAO is post-trained and evaluated across three standard 3D molecular benchmarks (introducing no new datasets, but enforcing strict zero-leakage splits):

  • GEOM-Drugs: Large, flexible drug-like conformers (14 chemical elements, tested on 10,000 unconditional samples and controlled scaling from $N=30$ to $100$ atoms).
  • QM9 (Disjoint 50k/50k split): Compact molecules evaluated on six-property conditional generation ($\alpha, \Delta\varepsilon, \varepsilon_{\text{HOMO}}, \varepsilon_{\text{LUMO}}, \mu, C_v$) with zero overlap against the held-out evaluator network.
  • OE62: Crystal-forming organic semiconductors (mean $\sim 30.4$ atoms, 14 elements) in a scaffold-disjoint split for frontier orbital ($\varepsilon_{\text{HOMO}}$) inverse design, verified with live GPU4PySCF quantum chemistry (DFT) calculations.

Key Insights and Ideas

  • Spatial boundaries create topological illusions: A tiny $0.05\text{ \AA}$ coordinate jitter across an octree plane isn't just geometric noise—it causes standard chemistry software to hallucinate exotic formal charges. Teaching a tiny $0.5\text{ ms}$ graph network to heal synthetic voxel seams cuts zero-step atomic forces nearly in half and drops exotic charge artifacts on OE62 from $32.4\%$ to $0.00\%$.
  • Internal critics don't need external oracles if you blindfold them to the prompt: Detaching the critic from conditioned hidden states and training on mismatched target contrast groups prevents shortcut cheating, achieving $r = 0.9867\text{--}0.9989$ blind correlation on QM9 properties from pure 3D geometry alone.
  • Don't guide coordinates like tokens: Applying Classifier-Free Guidance (CFG) to sub-voxel XYZ logits stretches and distorts covalent bond lengths. Applying CFG selectively to coarse tree splits and chemical elements—while keeping coordinate heads unguided—preserves crisp equilibrium geometry.

Key Results

Across all benchmarks, post-training MolGPAO from a public checkpoint takes under 0.56 GPU-hours on an NVIDIA A800:

Large-molecule wall-clock latency scaling from N=30 to 100 explicit atoms, showing MolGPAO's sparse octree advantage over dense O(N^2) flow matching.
  • Drug-Scale Unconditional Quality & Speed (GEOM-Drugs, 0.49 GPU-h): Lifts valid-and-connected yield $6.78\times$ over Vanilla Uni-3DAR ($12.7\% \to 86.2\%$) with $99.83\%$ explicit atom stability. At $N=100$ atoms, single-pass MolGPAO runs $7.3\times$ faster than 100-step FlowMol ($63.4\text{ s}$ vs. $463.1\text{ s}$ per 1k molecules), while speculative MolGPAO ($16 \to 4 \to 1$) is $1.65\times$ faster with $1.97\times$ higher valid-connected yield ($27.6\%$ vs. $14.0\%$).
  • Multi-Property Conditioning (QM9, 0.43 GPU-h): A single unified 6-property MolGPAO model beats six dedicated PropMolFlow models (trained for 156 GPU-h—$362\times$ more compute) on $\varepsilon_{\text{HOMO}}$ ($-12.7\%$ MAE) and dipole moment $\mu$ ($-21.0\%$ MAE).
  • Quantum Semiconductor Design (OE62, 0.56 GPU-h): Beats 52 GPU-h PropMolFlow ($92.8\times$ more compute) in blind clean hit rate ($34.4\%$ vs. $30.8\%$) and doubles the live DFT-verified (PBE0/def2-TZVP) hit rate ($33.3\%$ vs. $16.7\%$).

Limitations and Future Work

While the authors do not include a dedicated limitations section, two clear trade-offs emerge directly from their experiments:

  • Extensive Property Trade-off: Because MolGPAO intentionally withholds total atom count ($N_{\text{atoms}}$) from its property conditioner to avoid confounding intensive electronic features, it lags behind size-conditioned flow models on size-dependent (extensive) properties like polarizability ($\alpha$) and heat capacity ($C_v$) on QM9.
  • Training Distribution Tail Effects: On OE62 at larger atom budgets ($N=50$ and $60$), MolGPAO's orbital hit rate dips below PropMolFlow ($16.8\%/5.7\%$ vs. $18.9\%/9.3\%$), which the authors note stems from having fewer large gas-phase equilibrium conformers in their 22.9k DFT training subset compared to the full 48k OE62 corpus—and on unconditional GEOM-Drugs, top-end validity ($86.2\%$) still trails 100-step explicit-edge flow models like FlowMol ($95.3\%$) and SemlaFlow ($97.2\%$). Future directions are not explicitly discussed in the paper.

Summary updated

BibTeX
@misc{chen2026molgpao,
  author = {Shangqian Chen and Guojiang Zhao and Zheng Cheng and Jiankun Wang and Hongshuai Wang and Zhifeng Gao},
  title = {{MolGPAO: Molecular Generative Pre-trained Autoregressive Octree with Speculative Decoding and Sub-Millisecond Seam Healing for 3D Molecules}},
  year = {2026},
  eprint = {2611.33985},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33985},
}
Figure