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

*Daniel Rose, Roxane Axel Jacob, Johannes Kirchmair, Thierry Langer*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155357) · [OpenReview](https://openreview.net/forum?id=6DNN9s5hLZ) · [alphaXiv](https://www.alphaxiv.org/abs/2512.05844) · [Open on the map](../papers.html#p155357)

Category: [AI for Molecules, Materials & Genomics](../pcat/8.md) › [Materials Generative Modeling](../pgroup/639.md) · Type: new method · Keywords: 3D molecular generation, permutation invariance, neighborhood guidance, autoregressive set transformer, molecular graph modeling

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Neural and brain architectures › Equivariant and Invariant Neural Networks

## Summary
NEAT is a neighborhood-guided autoregressive set transformer that generates 3D molecules with permutation invariance and achieves state-of-the-art quality on QM9 and GEOM-Drugs while being faster than existing methods.

## Explained to a 5-year-old
We want to draw new tiny 3D shapes that look like molecules. Usually, the computer needs to know the order of the pieces, but molecules don't have a fixed order. So we teach the computer to look at the neighborhood of each piece and decide which piece to add next, no matter the order. This helps make better and faster drawings of molecules. It also works faster than the old ways, so we can try more ideas quickly.

## Explained to a 5-year-old, longer
Imagine you have a bunch of tiny building blocks that can stick together to make a molecule. A molecule is like a 3D puzzle where each piece is an atom. Usually, when a computer tries to build new puzzles, it needs to know which piece comes first. But atoms in a molecule don't have a natural first piece; they can be in any order. The old way of making puzzles picks a fixed order, which can make the puzzle look biased. The new idea is to look at the neighborhood of each piece and decide which piece to add next, no matter the order. This makes the puzzle fair and helps the computer draw better molecules. It also speeds up the drawing process, so we can try many different molecules quickly. The computer learns to see which pieces are close to each other and uses that information to guide the building. This way, the generated molecules are more realistic and varied. It also works well on different types of molecular datasets, improving the overall quality of the generated shapes.

## For a technical reader
The system models molecules as unordered sets of atoms, using a neighborhood-guided training signal to predict the next atom at the graph boundary without imposing a canonical ordering. This ensures permutation invariance and improves generation quality. The architecture leverages an autoregressive set transformer, which processes atoms in a dynamic order determined by their local context, leading to faster inference compared to traditional sequential transformers. Experimental results show state-of-the-art performance on QM9 and GEOM-Drugs, with both higher validity and reduced generation time.

## Problem
Transformer-based autoregressive models for generating 3D molecules require a sequential ordering of tokens, but atoms in a molecule lack a natural order, leading to non-permutation-invariant predictions and bias from arbitrary ordering conventions.

## Method
The approach treats molecular graphs as unordered sets of atoms and learns an order-agnostic distribution over admissible tokens at the graph boundary using a neighborhood-guided training strategy, ensuring permutation invariance during autoregressive generation.

## Results
The approach attains state-of-the-art generation quality on QM9 and GEOM-Drugs and runs significantly faster than existing baselines.

## Contributions
It introduces a neighborhood-guided training strategy that ensures atom-level permutation invariance for autoregressive molecular generation and demonstrates superior quality and speed on benchmark datasets.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155357)
