potentialpaper

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

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

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. By leveraging neighborhood guidance, NEAT enables autoregressive 3D molecular generation with a set transformer.

Abstract. Transformer-based autoregressive models offer an efficient alternative to diffusion- and flow-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, enables seamless completion of molecular prefixes, and offers a significant speed advantage over existing baselines.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
3 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

NEAT provides a clean and efficient way to remove atom-order dependence in transformer-based autoregressive models for 3D molecular generation. The prefix-completion results are strong; the unconditional generation results are competitive but not consistently better than existing methods.

Please address the following points in priority order:

  1. A regular practice would be random atom-order augmentation of a standard transformer, so why would this not be sufficient? Implementing a baseline to support this would be most convincing, but a clear technical argument supported by existing evidence can be sufficient.

  2. Training uses the true graph boundary as the set of valid next atoms, while bonds are inferred only after generation. Does this neighborhood assumption still stand during inference? Please provide evidence that generated next atoms generally become neighbors in the final molecular graph.

  3. Please clarify the prefix-completion evaluation: are the reported values averaged over prefixes or pooled across all 100,000 samples, and in practice, what use cases require completion from arbitrary prefixes?

  4. Please clarify the contribution/novelty compared to permutation-invariant autoregressive GNNs and other order-invariant graph-generation methods, generally and esp. in the context of molecular generation.


After rebuttal, my main points in the initial meta review have been clarified. Also, most of the reviewers are in favor of the paper, and find the main concerns addressed.

Final justification

See updated meta review.

Area Chair BTaE · Meta-reviewOpenReview ↗
Final justification
See updated meta review.
Read meta-review
Meta-review

NEAT provides a clean and efficient way to remove atom-order dependence in transformer-based autoregressive models for 3D molecular generation. The prefix-completion results are strong; the unconditional generation results are competitive but not consistently better than existing methods.

Please address the following points in priority order:

  1. A regular practice would be random atom-order augmentation of a standard transformer, so why would this not be sufficient? Implementing a baseline to support this would be most convincing, but a clear technical argument supported by existing evidence can be sufficient.

  2. Training uses the true graph boundary as the set of valid next atoms, while bonds are inferred only after generation. Does this neighborhood assumption still stand during inference? Please provide evidence that generated next atoms generally become neighbors in the final molecular graph.

  3. Please clarify the prefix-completion evaluation: are the reported values averaged over prefixes or pooled across all 100,000 samples, and in practice, what use cases require completion from arbitrary prefixes?

  4. Please clarify the contribution/novelty compared to permutation-invariant autoregressive GNNs and other order-invariant graph-generation methods, generally and esp. in the context of molecular generation.


After rebuttal, my main points in the initial meta review have been clarified. Also, most of the reviewers are in favor of the paper, and find the main concerns addressed.

1 comment
Authors · CommentOpenReview ↗

Dear AC and Reviewers,

Thank you for the discussion. We briefly summarize the main clarifications and additional results, focusing on the key concerns raised in the metareview.

1. Random atom-order augmentation.

Available evidence indicates that it is not sufficient to simply train a standard autoregressive transformer with random atom-order augmentation to achieve competitive results. In the related QUETZAL model, replacing canonical xyz-ordering with random atom-order augmentation substantially degraded performance. This supports our choice to build permutation invariance into the autoregressive formulation rather than relying on augmentation alone.

The reason is that autoregressive 3D molecular generation poses a different challenge than autoregressive modeling in text or images. In molecules, the model must predict both the next atom’s type and its 3D position. Unlike text or images, this prediction is not supported by left-to-right order or a grid that defines where the next element should be placed. NEAT addresses this challenge through neighborhood-guided training, which supervises next-atom continuations at the graph boundary. This provides a chemically meaningful inductive bias, encouraging the model to generate molecules in a connected and chemically plausible manner.

2. Neighborhood assumption at inference time.
We analyzed molecules in generation order and checked whether each new atom was connected to the previously generated subgraph in the final molecular graph. This holds for all molecules without exception, confirming that the neighborhood relationship used for training is reflected in NEAT’s inference-time behavior.

3. Prefix-completion protocol and motivation.

We clarified the prefix-completion evaluation. For each of 100 prefixes, we generate 1,000 molecules, compute metrics for that prefix, and then report the mean and standard deviation across the 100 prefix-level results.

Prefix completion is motivated by lead optimization in drug discovery: one may want to retain a known 3D substructure of a promising molecule while redesigning other regions to improve pharmacodynamic or pharmacokinetic properties.

Previous canonical-order autoregressive models are poorly matched to this setting because the retained substructure would need to coincide with the first n atoms of the final canonicalized molecule, which is generally unknown before generation.

We also demonstrated that although a flow-based model such as FlowMol3 can be adapted to prefix completion via inference-time inpainting, it suffers a substantial degradation in generation quality. This suggests that prefix completion cannot be reliably achieved from an unconditional flow-based model through inference-time guidance alone. Instead, it requires task-specific modifications to the training objective, conditioning mechanism, and data construction. In contrast, NEAT supports prefix completion natively, without any architectural or procedural modifications.

4. Comparison to permutation-invariant GNNs.

While permutation-invariant GNNs are conceptually relevant, available baselines such as G-SchNet, G-SphereNet, and Symphony show limited chemical validity on QM9, with xyz2mol validity at or below 77%, and have not been demonstrated on the more challenging GEOM-Drugs dataset, partly due to prohibitively slow runtimes. This limits their suitability as direct GEOM-Drugs prefix-completion baselines and highlights the need for scalable order-agnostic autoregressive approaches.

5. Significance

Beyond the practical advantage of prefix completion, we show that NEAT achieves substantially faster sampling than current state-of-the-art baselines. In response to Reviewer P1WX, we further evaluated the quality–runtime trade-off for flow-based baselines by varying the number of integration steps to match NEAT’s runtime. These additional results further support our claim that NEAT offers a favorable sampling-efficiency advantage over flow-based models.

On a technical level, NEAT introduces a general neighborhood-guided training recipe for order-agnostic autoregressive 3D molecular generation. The approach is architecture-agnostic and could be applied beyond the set-transformer instantiation used in our paper.

Conceptually, NEAT broadens the design space for 3D molecular generators by demonstrating that strong performance can be achieved without relying on the currently dominant combination of diffusion or flow matching with SE(3)-equivariant encoders.

Taken together, NEAT provides an efficient, scalable, and directly prefix-compatible approach for 3D molecular generation. We will incorporate all discussion-stage clarifications in the final version of our paper. Thank you again for your time and feedback.

Reviewer JgMuOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces NEAT, a neighborhood-guided autoregressive set transformer for 3D molecular generation. Unlike sequence-based autoregressive models that rely on canonical atom orderings, NEAT treats molecules as unordered sets of atoms and trains the model to predict valid next atoms from the boundary of a sampled molecular subgraph. The model combines a permutation-invariant set transformer for atom-type prediction with a conditional flow matching head for generating continuous 3D coordinates. Experiments on QM9 and GEOM-Drugs show that NEAT achieves competitive or state-of-the-art generation quality while substantially improving sampling efficiency over several diffusion and flow-matching baselines, and its order-agnostic design enables effective prefix-based molecular completion.

Strengths and weaknesses

Strengths:

  1. The idea of introducing a Set Transformer into 3D molecular generation is novel, and the emphasis on permutation invariance is well motivated.
  2. The paper is well written, with clear presentation and well-organized code.

Weaknesses:

  1. Some existing methods that use autoregressive transformers for 3D molecular generation are not discussed [1–2]. Although these methods are designed for different tasks, their technical properties should be compared with NEAT:
    • These methods generate complete molecular SMILES strings before generating 3D coordinates, which may be more reasonable than NEAT because subsequently generated atoms can affect the coordinates of existing atoms.
    • By using SMILES, these models explicitly generate chemical bonds, rather than determining them only after generation.
  2. Prior work on permutation-invariant autoregressive models for molecular generation is also not discussed [3–4].
  3. Prefix selection appears to be necessary for NEAT initialization, which may limit the applicability of NEAT to goal-directed molecular generation, a setting that is of greater practical importance than unconditional generation. After fine-tuning NEAT, selecting appropriate prefixes may become an additional challenge.
  4. A recent benchmark [5] focuses on the same task as NEAT and evaluates models on the QM9 and GEOM-Drugs datasets. However, compared with this benchmark, NEAT omits several important evaluation metrics, including molecular diversity, QED for drug-likeness, SA for synthetic accessibility, and RMSD between generated molecules and energy-minimized conformations.

[1] BindGPT: A Scalable Framework for 3D Molecular Design via Language Modeling and Reinforcement Learning. AAAI 2025.

[2] 3DMolFormer: A Dual-channel Framework for Structure-based Drug Discovery. ICLR 2025.

[3] DiGress: Discrete Denoising diffusion for graph generation. ICLR 2023.

[4] PARD: Permutation-invariant Autoregressive Diffusion for Graph Generation. NeurIPS 2024.

[5] Comprehensive Benchmark Study of Diffusion-Based 3D Molecular Generation Models? ACS Omega 2025.

Questions
  1. Are the CE loss and the CFM loss on the same scale? If not, why is no weighting coefficient introduced between them in the total loss?
  2. “Neighborhood-guided” is a key term in the paper title. Is the neighborhood relationship during the generation process consistent with the neighborhood relationship in the final generated molecules? This point should be analyzed.
Limitations

yes

Final justification

I still recommend following the setup in [5] for the experiment, and thoroughly discussing the related preparatory work, although they are not directly comparable, they are highly relevant in terms of technology. Furthermore, I am confused by the statement that "prefix selection is unnecessary", because all the experiments in the original paper were based on prefix completion. I have decided to maintain my rating but reduce my confidence.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your valuable feedback and time. In the following, we address both of your questions:

Q1 Yes, the CE and CFM losses are on the same scale. In the early stages of model development, we explored using weighting coefficients, but this did not result in any improvement.

Q2 Thank you for your question. To address this, we conducted an experiment to analyze the consistency between the neighborhood relationship during the generation process and the final molecular graph. Specifically, we examined the final molecules and iterated through their atoms in the order they were generated. For each atom n, we checked whether it was connected by an edge to the graph formed by the first n-1 atoms.

Our analysis confirmed that this was true for all molecules, without exception. This provides strong evidence that the atoms generated next always become neighbors in the final molecular graph, fully aligning with our neighborhood-guidance strategy.

Regarding the weaknesses, we would like to clarify several points that appear to stem from misunderstandings of our paper and scope.

1. BindGPT / 3DMolFormer. We discuss text-based, unconditional 3D molecular generators of this type in the “Transformer models with discrete tokenization” paragraph of our Related Work section. BindGPT and 3DMolFormer both fall into this category. However, as you noted, their problem setting is different to the one we are addressing in this work, so a direct comparison with NEAT is not applicable.

2. Prior permutation-invariant autoregressive models. This prior work is discussed in our Related Work section under “GNN models with focus atoms.” DiGress and PARD generate 2D molecular graphs rather than 3D geometries, and are therefore outside the main scope of our work.

3. Prefix selection. Prefixes are not required for NEAT initialization. Our experiments explicitly show that NEAT can be run without prefixes. Moreover, NEAT was not fine-tuned in our experiments, so concerns about prefix selection after fine-tuning do not apply.

4. Evaluation metrics. Molecular diversity was not omitted; it is reported as uniqueness. Regarding QED and SA: these metrics are not used by any of our eight main baselines, nor by any but one of the additional works you mentioned. We selected metrics consistent with standard evaluation practice.

We hope that our answers address your concerns.

Reviewer P1WXOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes NEAT, an autoregressive set transformer for unconditional 3D molecular generation. The main goal is avoiding the atom-order dependence of the existing autoregressive transformer by representing the molecule as a set of atoms rather than a canonical sequence. NEAT uses neighborhood-guided supervision to predict the next atom type and to train a flow-matching head to generate the corresponding 3D coordinate. The paper evaluates NEAT on QM9 and GEOM and further studies prefix completion. The results suggest that NEAT achieves competitive unconditional generation performance, strong prefix-completion performance, and faster sampling than baselines.

Strengths and weaknesses

Strengths

  • NEAT provides a clean way to avoid sequence canonicalization in transformer-based autoregressive generation, proving a way to overcome a limitation of autoregressive 3D molecular generation.

  • NEAT is simple and easy to understand. It combines a set-transformer representation, boundary-atom supervision, and a flow-matching coordinate head, making the method relatively easy to implement and extend.

  • The prefix-completion experiment is a strong and relevant demonstration of the proposed order-agnostic formulation. NEAT also offers strong inference speed compared to baselines.

  • The paper includes important analyses of limitations and potential failure modes. For example, the authors discuss molecular size-dependent degradation, and the lack of architectural SE(3)-equivariance.


Weaknesses

The main weakness is that the contribution is somewhat limited. The method combines a set-transformer representation with neighborhood-guided supervision over boundary atoms, which is a clean formulation. However, the underlying motivation of avoiding arbitrary atom-order dependence in autoregressive molecular generation is already well recognized. Therefore, the paper reads more like an implementation (replacing GNN with a transformer-based trunk) of a known direction than a clearly new methodological insight.

(Main concern) However, the empirical results do not appear strong enough to fully compensate for this incremental novelty. The main unconditional generation results do not demonstrate a clearly dominant advantage over existing baselines. If NEAT is meant to be a foundation model for future conditional 3D molecular generation rather than proposing a non-trivial insight, broader evaluations, such as scaling model parameters, conditional generation, property-guided generation, or downstream drug-design tasks, would be needed (See Q1). An alternative direction would be to provide non-trivial insights from the results that could benefit follow-up research or other domains (See Q4).

The paper is useful and technically clean, but its overall contribution feels somewhat limited. Below are additional comments:

  • Since the paper argues that rotation augmentation can sufficiently handle the lack of architectural SE(3)-equivariance (Appendix E.4), can the authors discuss why atom-order augmentation would not be sufficient for handling permutation symmetry in ordered autoregressive transformers (See Q2)?

  • In Figure 3, can the authors report whether the generated molecule size statistics are comparable across models in the runtime analysis? Since inference speed depends on the number of atoms, a size-controlled runtime comparison would make the speed claims easier to interpret (See Q3).

I am very willing to increase my score if the authors address my comments.

Questions

Q1. Can the authors provide stronger evidence for the significance of NEAT? While the prefix-completion results are promising, the main unconditional generation results do not show a clearly dominant advantage over existing baselines. Broader evaluations, such as model scaling, conditional generation, property-guided generation, or downstream drug-design tasks, would make the contribution more convincing.

Q2. Since the paper argues that rotation augmentation can address the lack of architectural SE(3)-equivariance, can the authors discuss why random atom-order augmentation would not be sufficient for handling permutation symmetry in ordered autoregressive transformers?

Q3. In Figure 3, can the authors report molecule-size statistics in the runtime analysis, especially the maximum number of generated atoms per batch (since batched autoregressive inference speed can depend strongly on the longest generated molecule in the batch)?

Q4. What is the non-trivial insight of NEAT beyond the established idea that permutation-invariant set modeling removes the need for sequence canonicalization? The combination of a set-transformer representation and neighborhood-guided boundary supervision is clean, but it would be helpful if the authors could more explicitly state what new principle or observation the NEAT reveals.

Limitations

yes

Final justification

The rebuttal and discussion addressed my main concerns. NEAT broadens the design space beyond standard SE(3)-equivariant diffusion or flow-matching models. The QUETZAL shuffling, integration-step-controlled, and FlowMol3 inpainting results support the need for its formulation and strengthen its runtime and prefix-completion claims. Especially, comparison with diffusion-based inpainting strong highlights the advantage of NEAT.

Although NEAT is not uniformly better in generation quality, it substantially narrows the gap while providing faster inference and direct prefix completion. I therefore decide to enhance my score.

Formatting concerns

No formatting issues

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your valuable feedback and time. In the following, we address your questions:

Q1 We do outperform other autoregressive models on unconditional generation, and reach performance comparable to SOTA diffusion models, thereby closing the performance gap of these two paradigms. This is an important result, because diffusion models are currently regarded as the best solution for 3D molecular generation, and we show that autoregression can reach this performance as well. We regard diffusion and autoregressive models not as competitive, but complementary approaches. Our prefix completion experiment reveals a unique strength of autoregressive models that diffusion models could not perform out-of-the-box.

We respectfully disagree with your statement that our results do not show a clear dominant advantage over existing baselines. While reaching comparable generation performance to modern baselines, we show that NEAT achieves much faster inference, positioning NEAT as the currently fastest generative model on GEOM-Drugs (5x times faster than SemlaFlow, the previously fastest baseline).

We also disagree that broader evaluations of our model are needed. We performed all commonly accepted benchmark comparisons needed for evaluating a novel unconditional generator (QM9/GEOM-drugs). While most studies report the lookup metrics only, we additionally included xyz2mol metrics. We broadened the scope of our study with a newly introduced prefix completion experiment, which can be regarded as conditional generation. Scaling studies of our model can be found in the Supporting Information Table 5 and 6, where we observe a clear trend of increasing xyz2mol validity when increasing the model parameters. We further provide experiments on temperature scaling (SI Section E.5). We argue that conditional generation is out of the scope for this paper, as additional results would exceed the page limit of a conference paper. We are actively working on an additional study investigating these questions, which will be released as a separate work.

Q2 Thank you for the question. We did not include this ablation study because it has already been conducted in prior work. Specifically, Chen et al., in the latest version of their paper “Scalable Autoregressive 3D Molecule Generation” (QUETZAL model), available on OpenReview, provide this study in Appendix B.3, Table 5. QUETZAL is related to NEAT, with the key difference being that QUETZAL relies on canonical atom orderings and uses a causal transformer, whereas NEAT respects the permutation invariance of atoms and employs a set transformer. Chen et al. showed that switching from canonical xyz-orderings to random atom-order augmentation (shuffling) during training significantly decreases performance: atom stability drops by 17.5%, molecular stability by 78%, lookup validity by 37.8%, and xyz2mol validity by 17.3%. These results demonstrate the limitations of random atom-order augmentation and support the need for our approach.

From a technical perspective, random atom-order augmentation is insufficient for handling permutation symmetry in autoregressive molecular generators, given the unique challenges of 3D molecular generation. In image and text generation, autoregressive models can rely on positional encodings to contextualize the next token prediction, even when the generation order is random (as demonstrated in [1]). However, in 3D molecular generation, the position of the next atom is part of the token prediction itself, making the task fundamentally more complex. This is more comparable to any-order autoregressive graph generation, which remains an unsolved problem, as discussed in our Related Works section. Our neighborhood-guidance strategy addresses this challenge by compensating for the lack of positional context. It introduces a chemical inductive bias by supervising the model with atoms that can form bonds with the prefix, ensuring connectedness during generation. This connectedness is a necessary prerequisite for chemical validity, making our approach both effective and essential for the task.

[1] T. Li, Y. Tian, H. Li, M. Deng, and K. He. Autoregressive image generation without vector quantization, NIPS 2024.

Q3 The average number (+/- std) of heavy atoms per molecule is 22 +/- 5 for FlowMol3, 21 +/- 6 for Megalodon, 21 +/- 5 for NEAT, 24 +/- 5 for QUETZAL, and 23 +/- 5 for SemlaFlow. The number of atoms (including hydrogen) in the largest molecule is 154 for FlowMol3, 54 for Megalodon, 94 for NEAT, 94 for QUETZAL, and 72 for SemlaFlow. While there is some variation in the maximum number of atoms, the average molecular sizes are comparable across models. We will include these numbers in our runtime comparison.

Q4 NEAT challenges the conventional belief that combining a diffusion or flow matching model with an SE(3)-equivariant encoder is the optimal solution for 3D molecular generation. NEAT achieves competitive results without relying on either of these paradigms, offering a fresh perspective on autoregressive modeling for molecular generation. NEAT’s training recipe is highly general and architecture-agnostic, meaning it could be applied to train permutation-invariant GNNs or other autoregressive models in the future. This flexibility and simplicity represent a non-trivial insight that sets NEAT apart from existing approaches.

Reviewer P1WX · CommentOpenReview ↗

Thank you for the detailed response. I think my initial characterization of the contribution as largely incremental did not fully reflect its novelty. NEAT meaningfully broaden the design space beyond standard full-molecule diffusion or flow-matching approaches with SE(3)-equivariant backbones, while enabling order-agnostic generation. The QUETZAL shuffling results address my concern about random-order augmentation, and the added molecule-size statistics strengthen the runtime comparison. I also found the scaling experiments in the supplementary material. Although the gains saturate at larger scales, I do not view this as a concern in the small-molecule setting.

Thus, I am updating my score to be positive, 4.

I have two remaining questions. Although the reported settings follow the baseline authors’ recommendations, could the authors discuss the quality-runtime trade-off of the flow-based baselines? For example, how does FlowMol3 perform when its integration steps are reduced by over 10× to match NEAT’s runtime? Second, diffusion or flow-based models can be adapted to prefix completion through a kind of guidance, e.g., inpainting, during inference, and why was such a baseline not discussed?

Authors · CommentOpenReview ↗

We thank you for your response and for the update of your evaluation. We address your remaining concerns in the following:

Runtime: Below, we report the average runtime and performance metrics over 3 independent runs for both SemlaFlow and FlowMol3 with two additional choices for the number of integration steps: 60 (same as NEAT) and 15 (resulting in runtimes matching NEAT’s). In the latter setting, SemlaFlow and FlowMol3 achieve xyz2mol validities of 80.4% and 55.5%, respectively, compared to NEAT’s xyz2mol validity of 93.9%.

Model Integration steps Runtime xyz2mol valid xyz2mol valid × unique
SemlaFlow 100 1064 86.6 ± 0.5 86.5 ± 0.5
SemlaFlow 60 662 85.5 ± 0.1 85.5 ± 0.1
SemlaFlow 15 188 80.4 ± 0.4 80.4 ± 0.4
FlowMol3 250 3420 95.8 ± 0.7 95.7 ± 0.7
FlowMol3 60 855 92.2 ± 0.3 91.9 ± 0.3
FlowMol3 15 236 55.5 ± 0.2 55.5 ± 0.2
NEAT 60 208 93.9 ± 0.2 91.6 ± 0.2

Inpainting baseline: Thank you for your question. To the best of our knowledge, there are currently no published diffusion/flow-matching baselines evaluating prefix-conditioned inpainting in the context of unconditional 3D molecular generation. We therefore implemented this setting in our strongest baseline, FlowMol3, by modifying only its inference procedure, without retraining.

FlowMol3 represents a molecule as a graph g=(X,A,C,E)g=(X,A,C,E) with atom positions XX, atom type AA, charges CC, and edges EE. Given a fixed prefix g1prefixg^{\text{prefix}}_1 with nn atoms, we sample a corresponding prefix state g0prefixg^{\text{prefix}}_0 from the prior and construct the same straight interpolation path used during FlowMol3 training:

gtprefix=(1−t)g0prefix+tg1prefix.g^{\text{prefix}}_t = (1-t) g^{\text{prefix}}_0 + t g^{\text{prefix}}_1 .

At inference, we initialize the full molecule g0g_0 from the prior and define a binary mask MM, where M=1M=1 denotes the prefix atoms to be kept fixed and M=0M=0 denotes the remaining atoms to be generated (edges are handled analogously). During integration, after each model update to gtg_t, we overwrite the masked prefix coordinates/features with the corresponding point on the prefix interpolation path:

gt[M]←gtprefix.g_t[M] \leftarrow g^{\text{prefix}}_t .

Thus, the prefix follows the prescribed noised-to-clean path while the unmasked part is generated conditionally on it through the model. This provides a direct inference-time inpainting baseline for FlowMol3 under the same prefix constraints as our method, without requiring any additional training. For each of the 100 prefixes, we sample 1000 molecules. We updated Table 2 as follows:

Table: Prefix completion performance of NEAT, QUETZAL, and FlowMol3 trained on GEOM. Metrics are reported as percentages. Mean ± one std are reported for 1,000 molecules over 100 prefixes.

Model atom stable mol stable lookup valid lookup unique xyz2mol valid xyz2mol unique xyz2mol novel
FlowMol3 (inpainted) 76.3 ± 6.5 0.4 ± 1.3 44.5 ± 16.3 36.3 ± 20.1 30.2 ± 7.8 29.4 ± 7.3 29.4 ± 7.3
QUETZAL 69.0 ± 1.8 0.1 ± 0.1 27.8 ± 6.8 13.6 ± 4.1 28.1 ± 4.7 17.7 ± 2.8 17.7 ± 2.8
NEAT (ours) 77.0 ± 1.5 0.5 ± 0.3 97.8 ± 1.8 82.2 ± 3.0 92.7 ± 2.3 77.9 ± 3.0 77.9 ± 3.0

Our results indicate that although inference-time inpainting with FlowMol3 is feasible, it leads to a substantial degradation in validity and related quality metrics. In contrast, NEAT preserves generation quality in the prefix-conditioned setting. A scaffold- or prefix-conditioned diffusion/flow model trained specifically for this task could potentially narrow this gap. However, this would require substantial changes to the training objective, conditioning mechanism, and data construction. By comparison, NEAT supports prefix completion directly, without retraining or modifying the model, highlighting the practical advantage of our method.

Reviewer gXZKOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper puts forth a model (NEAT) which is an unconditional autoregressive sampler for molecules using a set transformer in order to achieve permutation invariance with respect to the ordering of the atoms in the molecular representation. The motivation is a “flaw” in existing autoregressive methods—namely that the models as well as datasets rely on a specific ordering imposed in the data itself. The authors demonstrate that in cases where a molecular prefix is imposed and the prefix isn’t aligned with the first n atoms of the molecule, that the NEAT model vastly outperforms existing autoregressive methods.

Strengths and weaknesses

Overall, I think this is nice work which highlights a simple but nontrivial failure mode of existing models. The strength of this paper is in the clarity of the writing and the clear “problem” that the method solves. The weakness of the paper is in the specificity of the work’s impact and the fact that the model itself is comparable, but not superior to, existing models given standard evaluations, which begs the question of the model’s ultimate utility.

Quality: The claims of the paper are sound and the methods utilized are appropriate for the problem. The authors provide clear interpretation of their results as well as evaluation of results and specific benchmarks.

Clarity: The paper is well-written and clear in explaining and giving context to its contributions. The overview of existing work and its limitations is outlined nicely. The area it could be more clear are specifically regarding the setup of the second “prefix completion” benchmark (see "Questions").

Significance: Based on the results of Table 1, it is somewhat unclear how impactful the method will be, but I think that the benchmark shown in Table 2 lends credibility to the work and the motivation behind it. However, I think that the authors could provide better reasoning as for what real-world use cases might rely on something like prefix completion or order-agnostic molecule generation.

Originality: The work is original in that it solves a very specific problem by application of a set transformer, but this domain area is quite crowded and similar things (permutation-invariance) have been accomplished in non-autoregressive contexts.

Questions

I would raise my score if the authors can provide a more convincing significance and interpretation of their results, specifically for the prefix completion task which seems to be the main domain in which their model is significantly outperforming. My questions below outline the main thrusts of my concerns.

  1. The results in Table 1 are just okay (they show reasonably comparable performance for NEAT) but the primary contribution seems to be the results of Table 2, which underscore how much other models rely on arbitrary ordering imposed by data preparation. Some concerns I would like to see addressed are: Why are the results of NEAT worse across the board in Table 2 than in Table 1, given that the task itself seems “easier” (a portion of the answer is already provided via the prefix)? Also for clarification, when the authors note that there are 1,000 molecule generations for 100 different prefixes, are they just checking that any of the 1,000 meet the criteria (e.g., atom stable) or are the percentages computed out of 100,000 total molecules?

  2. It would be nice to see the authors give examples of other contexts where their method could be useful. For one, how relevant is the prefix completion task for more “realistic” applications compared to the tasks which rely on the canonical orderings? For another, it would be useful to note other scientific contexts and how this work could be significant there, e.g. crystalline materials.

  3. In Table 2, it would be useful to understand not only how the NEAT model compares to permutation-equivariant causal transformer-based models, but also permutation-invariant GNNs—which seem to be the more relevant to the “problem” that the paper lays out regarding the dependence on ordering within the data.

Limitations

yes

Final justification

The authors adequately addressed my concerns during the rebuttal period.

Formatting concerns

None

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your valuable feedback and time. In the following, we would like to address your main concerns:

Q1 Prefix completion performance (Table 2) is calculated as averages across all 100,000 generated molecules. Specifically, for each of the 100 prefixes, we first compute the average values over the 1,000 generated molecules. Then, we average and compute the standard deviation over these 100 values.

These are the performance differences we observed when moving from unconditional generation (Table 1) to prefix completion (Table 2): atom stability dropped by 4.5%, molecule stability by 0.1%, lookup validity by 1.9%, lookup uniqueness by 14.7%, xyz2mol validity by 1.2%, and xyz2mol uniqueness and novelty by 13.7%.

The atom and molecule stability metrics fail for aromatic compounds because the underlying pipeline does not respect the length of aromatic bonds (see our SI Section D for details). The fact that most of the benchmarked prefixes contain aromatic rings (SI Figures 18-20) can explain the decrease in atom and molecule stability.

The decrease in molecular uniqueness is expected because fixing part of the molecule via prefixes reduces degrees of freedom, limiting the diversity of completed molecules. Since novelty is calculated as the percentage of valid, unique, and novel molecules, it naturally decreases alongside the uniqueness metric. However, when considered independently, the absolute novelty remains at 100%.

The small drop in the two validity metrics (1.9% and 1.2%) may be due to the inclusion of rare prefixes, which are harder for the model to work with because it has seen fewer examples of these during training.

Q2 Thank you for your question. The primary practical application we envisioned for NEAT is lead optimization, a critical step in drug development. In this process, parts of a promising molecule are modified to improve its pharmacodynamic and pharmacokinetic properties. This is directly analogous to prefix completion: you remove sections of the molecule that negatively impact its properties and design variations around the remaining prefix. A model capable of performing this task in 3D space is highly valuable in the pharmaceutical industry. Models that rely on canonical orderings are not suitable for this task. For them to generate a valid molecule, the prefix must align with the first n atoms of the fully generated molecule after canonicalization. This constraint cannot be met without prior knowledge of the final molecule.

Q3 We agree that any permutation-invariant GNN should also be able to execute the prefix completion task without loss of chemical validity compared to their unconditional performance. However, as shown in Table 1, all available baselines that fall into this category (G-SchNet, G-SphereNet, and Symphony) already show low chemical validity of 77% xyz2mol validity or less on the QM9 benchmark. None of these methods has been trained on the more challenging GEOM-drugs dataset, another reason being the prohibitively slow runtimes of these models. Given the lack of baselines for permutation-invariant GNNs, we compared NEAT against the only available baseline, the QUETZAL model. The absence of available baselines in this setting underscores the novelty of our approach.

Besides these questions, you raised concerns about the specificity of our work, its broader impact and utility. You also raised concern that NEAT performs comparably to prior methods, but not superiorly. Please see our responses to questions Q1 & Q4 of reviewer P1WX, where we address these concerns in detail.

Reviewer gXZK · CommentOpenReview ↗

I appreciate the author's rebuttal and would be happy to raise my score as long as they put these clarifications into the final draft of the paper.

Authors · CommentOpenReview ↗

Thank you for the positive feedback. We will incorporate all clarifications outlined in our rebuttal, as well as the additional results requested by Reviewer P1WX, into the final version of our paper.

Authors · CommentOpenReview ↗

Thank you again for your statement indicating that you would increase your score, provided that we incorporate the clarifications from the rebuttal into the final version of our paper. As noted above, we fully commit to doing so upon acceptance. Please excuse the reminder from our side, but we just noticed that your score still appears to be your initial pre-discussion score (4: Borderline accept). Could you please update your evaluation accordingly or let us know if there are any remaining concerns that led you to decide otherwise? Thank you for your time and effort in reviewing our paper.

Comments on the paper

1 comment
Area Chair BTaE · CommentOpenReview ↗

Please review author rebuttal

Hi reviewers,

The scores of this paper are quite mixed.

As the discussion period is approaching its end, I would appreciate it if you could check the authors' rebuttal and indicate whether it changes your opinions.

Thanks,

AC

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…