Agentic AI
New transformer model generates 3D molecules without relying on atom ordering
Researchers introduce NEAT, a machine-learning system that treats molecules as unordered sets of atoms, achieving faster and more accurate 3D molecular generation.
A team of researchers has unveiled a new approach to generating three-dimensional molecular structures using transformer-based neural networks. The key innovation lies in abandoning the assumption that atoms must be processed in a specific sequence — a constraint that has limited prior methods.
The core problem with ordering atoms#
Traditional transformer models rely on converting input data into sequential token streams, an arrangement that works naturally for text but not for molecules. Previous efforts to generate 3D molecular structures have sidestepped this mismatch by assigning atoms to canonical orderings — predefined sequences that follow chemical conventions. While functional, these approaches carry a hidden cost: they inadvertently introduce bias into the model's predictions, causing it to favor certain atom orderings over others and violating the principle that molecular properties should remain unchanged regardless of how atoms are listed.
How NEAT breaks the constraint#
The new system, called NEAT (Neighborhood-Guided, Efficient, Autoregressive Set Transformer), treats molecular graphs as unordered collections of atoms instead. Rather than forcing atoms into a predetermined sequence, the model learns what token should come next based on the chemical neighborhood surrounding unfilled positions in the molecular structure. This training strategy ensures the model remains permutation invariant — meaning it generates the same distribution of molecules regardless of which atom it begins with or how it encounters atoms during generation.
Performance gains in practice#
Benchmarked against existing methods on standard datasets like QM9 and GEOM-Drugs, NEAT demonstrates state-of-the-art generation quality. The approach also enables a practical capability absent in many competitors: seamless completion of partial molecular structures, or "prefixes," making it useful for targeted molecular design. Beyond accuracy, the method delivers computational speed advantages, processing molecules substantially faster than comparable baselines.
Significance for drug discovery#
This work addresses a fundamental mismatch between how molecules naturally exist — as unordered collections of atoms — and how neural networks have been forced to represent them. By aligning the model architecture with molecular reality, NEAT opens pathways toward more efficient computational drug discovery and molecular design workflows.

