English

NEAT: Neighborhood-Guided, Efficient, Autoregressive Set Transformer for 3D Molecular Generation

Machine Learning 2026-05-07 v3 Artificial Intelligence

Abstract

Transformer-based autoregressive models offer an efficient alternative to diffusion- and flow-matching-based approaches for generating 3D molecules. One challenge remains: standard transformer architectures require a sequential ordering of tokens, which is not inherently defined for the atoms in a molecule. Prior works have addressed this by using canonical atom orderings. However, these approaches are not permutation invariant w.r.t. atoms and bias next-token prediction towards ordering conventions. We overcome this limitation by introducing a novel neighborhood-guided training strategy. Our model, NEAT (Neighborhood-Guided, Efficient, Autoregressive Set Transformer) treats molecular graphs as sets of atoms and learns an order-agnostic distribution over admissible tokens at the graph boundary, thereby ensuring atom-level permutation invariance. NEAT achieves state-of-the-art generation quality on the QM9 and GEOM-Drugs datasets while offering a significant speed advantage over existing baselines.

Keywords

Cite

@article{arxiv.2512.05844,
  title  = {NEAT: Neighborhood-Guided, Efficient, Autoregressive Set Transformer for 3D Molecular Generation},
  author = {Daniel Rose and Roxane Axel Jacob and Johannes Kirchmair and Thierry Langer},
  journal= {arXiv preprint arXiv:2512.05844},
  year   = {2026}
}