Nahual: A Sequence Model for Language and Atoms
Austin Henry Cheng, Marcel Müller, Andreas Burger, Yeonghun Kang, Tsz Wai Ko, Marta Skreta, Luka Mucko, Ella Miray Rajaonson, Cher Tian Ser, Jérôme Florian Gonthier, Alex Zook, Varinia Bernales, Alan Aspuru-Guzik
NeurIPS 2026
TL;DR. We propose Nahual, a decoder-only autoregressive diffusion model for any sequence of text and 3D molecules, and train it to solve twelve chemistry tasks, while surpassing some specialized models.
Abstract. Generative models play a rapidly growing role in the design and simulation of molecules. The most widely used applications of generative models are in large language models (LLMs), owing to the natural flexibility of language for specifying and answering queries. However, generalist LLMs do not effectively handle large sets of 3D coordinates, whereas specialist generative models of 3D molecules cannot reach the controllability afforded by language. To bridge these capabilities, we propose Nahual, a decoder-only autoregressive diffusion model for any sequence of text and 3D molecules. To enable expressive autoregression on continuous coordinates, we propose next-token diffusion, whereby a standard causal transformer backbone is grounded in the clean current sequence while denoising the next sequence. We train Nahual on a curated set of twelve 3D chemistry tasks ranging from microsolvation to molecular conformer search to adsorption on metal surfaces, with associated evaluation metrics and baselines. The result is a single set of end-to-end-trained weights that simultaneously performs all tasks and surpasses state-of-the-art models specialized for crystal structure prediction and property-conditional molecule generation. Our results demonstrate the viability of scaling generalist decoder-only models for native multimodal understanding and generation across language and chemistry. Code is available at https://github.com/the-matter-lab/nahual.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper attempts to combine generation of text and 3D structures. For this, tokens have discrete and continuos parts and the continuos parts are handled with a diffusion process. It clearly goes beyond prior work such as Quetzal with incorporation of text and a next-token diffusion.
The evaluation scope is - as the reviewers highlighted - very broad and the reviewers asked for clarifications that might partially stem from the breadth-over-depth tendency in the main text (called out by Reviewer Ka5j).
In the initial review, some of the concerns were about
- Invariance (permutation/rotation, see Reviewer sa9Q; also related to atom-ordering brought up by Reviewer 22Ce). Some of this might also lead to the better performance of baselines in property prediction tasks
- Baselines (Reviewer sa9Q; prompted LLM might be a quite weak baseline)
- OOD generalization (Reviewer Ka5j; it seems that most of the evals are in-distribution)
While not all the concerns have been fully addressed, the paper already presents in itself a methodological advance and a massive effort to test on different tasks.
Final justification
I agree with the assesment "the paper proposes an ambitious and timely direction" of one of the reviewers. Thus I recommend acceptance.
Read meta-review
Meta-review
This paper attempts to combine generation of text and 3D structures. For this, tokens have discrete and continuos parts and the continuos parts are handled with a diffusion process. It clearly goes beyond prior work such as Quetzal with incorporation of text and a next-token diffusion.
The evaluation scope is - as the reviewers highlighted - very broad and the reviewers asked for clarifications that might partially stem from the breadth-over-depth tendency in the main text (called out by Reviewer Ka5j).
In the initial review, some of the concerns were about
- Invariance (permutation/rotation, see Reviewer sa9Q; also related to atom-ordering brought up by Reviewer 22Ce). Some of this might also lead to the better performance of baselines in property prediction tasks
- Baselines (Reviewer sa9Q; prompted LLM might be a quite weak baseline)
- OOD generalization (Reviewer Ka5j; it seems that most of the evals are in-distribution)
While not all the concerns have been fully addressed, the paper already presents in itself a methodological advance and a massive effort to test on different tasks.
Final justification
I agree with the assesment "the paper proposes an ambitious and timely direction" of one of the reviewers. Thus I recommend acceptance.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- concept_feasibility
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes Nahual - a language model that handles chemical structure data together with its native text data. To generate such structure "tokens", Nahual uses a next-token diffusion model. The resulting model can solve tasks expressed in natural language.
Strengths and weaknesses
Strengths
-
The paper proposes an ambitious and timely direction: a single decoder-only model that can process both language and 3D atomic structures. Such an ability enables leveraging the strengths of pre-trained LLMs in materials modeling tasks.
-
The proposed model can natively handle the irregular size (number of atoms) of generated materials.
-
The method is simple and yet clearly very general. Scaling it can prove very fruitful.
-
Evaluation over a breadth of tasks is presented, with powerful results.
Weaknesses
-
The paper lacks a standard Background section that would rigorously state the problem scope.
-
The inference cost might be a serious limitation, as the authors themselves admitted. Why not generate all the atom-type tokens first and then run one complete diffusion? I imagine there are reasons for that but it is a concern.
-
For reverse generation tasks (e.g. property conditional generation), how are the queries chosen? That is, what is the distribution of SMILES strings in in Molecular Conformer Search at test time? What is the distribution of property values at test time? Do they come from the same distribution as during training (i.e., from a standard test set) or do you test for out-of-distribution generalization? It would be more rigorous if this information was provided because without it the scores are ambiguous.
-
The properties in the property-conditioned structures are evaluated with pre-trained oracles. Ideally, one would evaluate them more accurately, e.g. with DFT. Of course, that is not always possible and it is not crucial. However, for justice to other works, I think it should be mentioned in limitations.
-
The paper has broad evaluation. However, including all of them in the main body forces the authors to describe them quite scarcely. I would recommend discussing 3 tasks in the main, but more deeply, and move the rest of the results to the appendix.
Overall, this is an exciting and ambitious paper with a real architectural contribution and impressive breadth. I do think it should be accepted and, if my concerns are addressed, I will consider raising my score.
Questions
-
Eq (1). It is not an assumption. Given , the noisy version of (the ) is irrelevant since you already said the model is auto-regressive. You could save space by removing lines 118-120.
-
Line 136. The “)” is repeated.
-
How do you merge text and structure data? I imagine you need a mechanism that allows you to have structures connected with their text properties in your datasets. After all, this is the format of your tests.
-
I hereby appreciate the name of the proposed method.
Limitations
yes
Final justification
My concerns were addressed.
Formatting concerns
none
3 comments
Further discussion
W5
Are the authors intending to add more experimental results to the main? This was not my point. I was suggesting taking a few tasks out of the main and moving it to the appendix.
Q1
I understand the Equation 1. What I am saying is that it is not an extra assumption. It is just true.
Q3
I was not asking about Nahual's emerging ability to parse structures and text. I was asking about the dataset. How do you obtain a dataset of structures that are fused into descriptive text?
W5
Thank you for clarifying. We still want to highlight breadth as a centerpiece of the work by keeping some description of all tasks in the main text. However we agree that describing a few tasks in-depth would enhance the clarity of the work, and we are saying we would add more experimental results to the main text. We will also compress the description of some tasks, to be elaborated in the appendix.
Q1
Thank you for the clarification. We will change Eq. 1 to an equals sign.
Q3
Nahual's dataset is a combination of datasets sourced from each task, where each task traditionally only considers 3D structures as primary representation. For example, for transition state prediction, we take the Transition1x and RGD1 datasets consisting of (reactant, product, transition state) triples, and format them into interleaved text and structures. This yields a dataset of instruction-following examples. We are actively working on gathering a large number of diverse sequences of interleaved text and structures.
- Rating
- 5/6
- Confidence
- 4/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 proposes NAHUAL, a novel autoregressive diffusion model for 3D molecule and crystal material generation. NAHUAL adopts novel mixture-of-transformers architecture and next-token diffusion mechanism. Benchmark experiments show good performance of NAHUAL over baselines.
Strengths and weaknesses
Strengths:
- This paper makes good originality contribution by proposing a novel autoregressive diffusion based 3D atomic system generation framework.
- The quality and significance are grounded by comprehensive benchmark experiments and strong performance. Good empirical results demonstrate the advantages of NAHUAL.
- The clarity of this paper is good, writing is clear and well-organized.
Weaknesses:
The paper lacks in-depth discussion about atom ordering impact and generation time.
Questions
-
In 102-103, the paper describes that there are negative impacts for bad atom orderings, but the paper lacks necessary discussion or experiment validation about what is "bad" atom orderings and how large is the negative impact from "bad" atom orderings. Authors are recommended to elaborate this point more.
-
NAHUAL is generally an autoregressive methods, generating atom-by-atom. One concern is that the generation time could be much longer than one-shot generation methods. Authors are recommended to discuss more about time latency issue and whether the higher time latency is worthwhile for the good performance?
Limitations
Yes.
Final justification
I will keep my rate as authors have addressed my concerns.
Formatting concerns
No.
2 comments
We appreciate your thoughtful feedback and your recognition of Nahual’s originality and comprehensive experiments. We respond to each of your points:
(W1, Q1) Atom ordering
Atom ordering is important insofar as the ordering remains local, i.e. the next atoms are usually placed near previous atoms. Such orderings can be found by traversing minimum spanning trees of the distance matrix, or depth-first traversals of an inferred bond graph.
To make the model more robust, one can add more traversals of the same molecule into the training data as augmentations, but in practice we find that adding an excessive number can lead to worse performance. This is because extra orderings require additional model capacity to learn, while evaluations are agnostic to atom ordering. We arrived at these conclusions from initial results on benchmarking unconditional small-molecule generation, which are not in the paper. See response to sa9Q for more details on this ablation.
Dependence on atom ordering could be reduced in future work with chain-of-thought, where the LLM simply re-orders the input molecule into a more favorable ordering within the reasoning trace before making downstream predictions.
(W1, Q2) Generation time
We include generation time in Appendix Table 4, which shows that generation is indeed expensive. However, we believe that diffusion distillation methods such as Consistency Models, MeanFlow, and Flow Maps can dramatically reduce the inference cost so that each word or atom requires only a single forward pass. This will make the inference pipeline so similar to regular LLMs that Nahual could use batched inference servers like vLLM to further amortize cost, as well as benefit from fast LLM inference hardware.
Song, Y., Dhariwal, P., Chen, M., & Sutskever, I. (2023). Consistency models.
Geng, Z., Deng, M., Bai, X., Kolter, Z., & He, K. (2026). Mean flows for one-step generative modeling. Advances in Neural Information Processing Systems, 38, 75460-75482.
Boffi, N., Albergo, M., & Vanden-Eijnden, E. (2026). How to build a consistency model: Learning flow maps via self-distillation. Advances in Neural Information Processing Systems, 38, 33346-33382.
Follow-up Response
Thanks for the rebuttal. My questions have been addressed so I will keep my rate.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this work, the authors propose a new LLM-based generative model, NAHUAL, for chemistry by combining discrete tokens and 3D coordinates. Each token is combined with 3D coordinates. If a token is from natural language, zero vectors were assigned to the token. By using this representation, the coordinates of atoms were generated via diffusion by using the conditional vectors obtained from causal Transformer layers considering clean-past context, natural language and previous atom coordinates. The The architecture was tested on 12 broad chemical tasks. NAHUAL shows strong performance on several benchmarks, especially MP-20 crystal structure prediction and QM9 property-conditional molecule generation, However, it shows limited performance on long-sequence generation such as nudged elastic band path generation experiment.
Strengths and weaknesses
Strengths:
- The combination of nautral language description/prompt with atomic 3D geometric information by using mixed token concatenated with numerical cooridnate information appears to be novel and has potential to improve the use of LLMs for chemistry-related tasks.
- The combined tokens were generated via next-token diffusion based on clean-past context and it can be generated up to arbitrarily long molecules, which may lead to better prediction accuracy.
- The model trains an unified causal Transformer layer to handle broad chemistry related settings, including property prediction, NEB-based path generation, molecular generation, metal complexes, and microsolvation, which demonstrates its potential to be a general chemistry LLM model.
Weaknesses:
- The choice of baseline methods seems arbitrary and somewhat inconsistent. Some properties were compared with specialized models, such as MP-20, Transition state search, Conformer search. However, some other properties were compared with general language models such as GPT-5.4. The rational for the choice of baseline methods was not clearly stated.
- Some equations are not clear. For example, eq 1. is not clear and ambiguous. If the all past token is considered, the equation should be a general form with x_{i+1}, x_{i} and x_{i-1} etc.
- The details of input dataset generation was not clearly stated. It should be clarified that if all input data were prepared with a single template or variations?
- It is not clear how permutation invariance and 3D geometry equivariance were considered. The authors wrote that random rotation and translation were applied during training, but details are not given.
- Similar to pt. 5, if the model is really general and invariant under atom ordering and rotation, more tests should have been performed such as, ablation test or random atom-order shuffling test.
Questions
- How were the input data prepared? The paper should clarify whether prompts are single fixed templates, multiple paraphrases, or generated/augmented somehow. If only one template per task is used, the model may be learning task schemas rather than robust natural-language instruction following.
- Equation 1 is ambiguous. Does it consider all previous tokens to generate next tokens? The symbols are not general enough.
- For SMILES-conditioned conformer generation, is the generated atom sequence aligned to RDKit/SMILES atom order, dataset-native GEOM order, canonical atom order, or some custom traversal?
- How were alternative ordering algorithms used? “Raster-scan order” and “local traversals” need more detail for reproducibility. It would also help to see ablations comparing native order, random order, local order, and multi-order augmentation.
- How much rotation and translation were applied to input molecules? It is critical for reproducibility.
Limitations
Yes
Formatting concerns
No
4 comments
We appreciate your thoughtful feedback and your recognition of Nahual’s potential to be a general chemistry LLM. We respond to each of your points:
(W1) Choice of baselines
In general, we compare to specialized models or computational chemistry tools, but some baselines are provided as reference values. Please see the global response.
(W2, Q2) Eq. 1 is ambiguous
The general form of Eq. 1 is
Next-token diffusion conditions on all previous clean tokens , but also conditions on all previous noisy tokens because these are passed together for causal batching. Eq. 1 is stating that, given the clean past , the model will learn to ignore the irrelevant noisy past (the inside the ), and therefore can be approximated as a proper diffusion objective for the next-token distribution . The advantage of next-token diffusion over previous teacher-forcing methods is that this can be done within a dense causal batch, without masking out the attention matrix to hide previous noisy tokens.
(W3, Q1) Details of input dataset generation, prompt formatting
Within a given task, all prompts are prepared with the exact format seen in Figures 3 and 4, without variations.
This means that Nahual is learning task schemas, and we are actively working on robust instruction-following for future work. Prompt variations and paraphrasing alone can still lead to the model learning brittle task schemas, when what we really want is the model to generalize to new task domains.
The challenge is to accumulate: a diversity of interleaved text+XYZ data, since these have never been seen by the base LLM in pretraining as well as a diversity of tasks and corresponding agent traces.
However, we argue that Nahual’s flexible architecture is what makes this future work possible.
(W4, W5, Q5) Rotation and translation augmentations
Nahual is trained with random translations and rotations. Each structure is first zero-centered, then transformed using a uniformly sampled random rotation and a random translation drawn as randn(3)*3, applied consistently to the full sequence. These augmentations encourage approximate rotation and translation equivariance, which was shown to be sufficient for generating 3D molecules (Abramson et al., 2024).
Abramson, J., Adler, J., Dunger, J., Evans, R., Green, T., Pritzel, A., ... & Jumper, J. M. (2024). Accurate structure prediction of biomolecular interactions with AlphaFold 3. Nature, 630(8016), 493-500.
(W4, W5, Q4) Atom ordering
Raster scan order is the ordering obtained from order = np.lexsort((frac[:, 0], frac[:, 1], frac[:, 2])), where frac is the (N,3) fractional coordinates. This sorts by the c-axis, then the b-axis, then the a-axis.
Local traversals are constructed by recognizing bonds within a distance cutoff, and then applying a depth-first traversal to the bond graph.
In initial experiments, we did ablations on atom-orders for unconditional small-molecule generation on QM9, which are not reported in the paper. These ablations studied the following stochastic nearest-neighbor algorithm:
- Start from a uniformly random atom.
- For every unvisited atom, compute its minimum Euclidean distance to any visited atom.
- Sample the next atom with probability given by a softmax over the negative distances, with inverse temperature .
Here, yields a uniformly random permutation, while larger values of increasingly favor local traversals. We also varied , the number of independently sampled traversals precomputed for each molecule and used during training.
The takeaways were that:
- Random ordering () substantially degrades generation quality.
- Local ordering (, ) recovers most of the performance of the native ordering, confirming that preserving locality is the important inductive bias rather than an exact canonical order.
- Multi-order augmentation () provides additional robustness but slightly reduces generation quality, because learning multiple traversals costs additional model capacity, but does not necessarily improve evaluation metrics that are invariant to atom ordering.
- Native dataset ordering remains the best-performing option overall.
We therefore primarily rely on native dataset ordering, unless cursory examinations show that a dataset primarily consists of nonlocal atom orders.
(Q3) Atom ordering for conformer generation
For conformer search, the generated atom sequence is aligned exactly as how the atoms are ordered in the original native data format, which resembles depth-first search but sometimes has hydrogens interleaved. This does not exactly match the SMILES order, where all heavy atoms are placed first, followed by all hydrogens.
This difference in ordering between SMILES and XYZ shows that Nahual has learned to be robust to minor changes in atom ordering.
Dear Reviewer sa9Q,
did the authors address your concerns or do you still have open questions?
Many thanks, Your AC
Remaining open questions
Q4: Can authors quantify the amount of prediction quality decrease by atom orderings? Does native dataset ordering have a specific rule? Can authors provide a rationale for the best performance of native ordering?
Q5: I understand and agree that data augmentation by random rotation and translation may be sufficient to satisfy equivariance. Was it confirmed by experiment?
Comments on the paper
2 comments
Thank you to the meta-reviewer for the thoughtful feedback and for recognizing that Nahual goes beyond prior work by jointly modeling language and 3D structures.
We also appreciate that reviewers recognize the model’s generality, novelty, and strong performance across a broad set of chemistry tasks. Reviewers describe Nahual as a potentially general chemistry language model, a novel autoregressive diffusion framework, and an ambitious direction whose simplicity and scalability could make it broadly useful.
Since the thesis of the paper is that a single decoder-only architecture can handle multiple tasks across 3D chemistry, our evaluation is necessarily broad. But we agree that this limits the depth to which results can be analyzed in the main text. If the paper is accepted, we would move the following results from the appendix into the camera-ready main text:
- inference-time scaling property-conditional generation with self-reward
- molecular conformer generation
- microsolvation
We will also revise the paper to clarify the points raised in the meta-review.
(P1) Rotation, translation, and atom-ordering dependence
Nahual is trained with random translations and rotations. Each structure is first zero-centered, then transformed using a uniformly sampled random rotation and a random translation drawn as randn(3)*3, applied consistently to the full sequence. These augmentations encourage approximate rotation and translation equivariance.
Atom ordering is important insofar as the ordering remains local, i.e. the next atoms are usually placed near previous atoms. Such orderings can be found by traversing minimum spanning trees of the distance matrix, or depth-first traversals of an inferred bond graph.
To make the model more robust, one can add more traversals of the same molecule into the training data as augmentations, but in practice we find that adding an excessive number can lead to worse performance. This is because extra orderings require additional model capacity to learn, while evaluations are agnostic to atom ordering. We arrived at these conclusions from initial results on benchmarking unconditional small-molecule generation, which are not in the paper. See response to sa9Q for more details on this ablation.
Dependence on atom ordering could be reduced in future work with chain-of-thought, where the LLM simply re-orders the input molecule into a more favorable ordering within the reasoning trace before making downstream predictions.
(P2) Baselines
The prompted LLM baseline was chosen to match Nahual with a model subject to the same limitations of digit-level cross-entropy. This controls for the fact that digit-level cross-entropy is poorly aligned with numerical error. For example, if the true answer is 4.23, predictions of 4.22 and 1.23 could receive similar losses even though their numerical errors are very different. In contrast, specialized property-prediction models trained with mean-squared-error are directly optimized for numerical accuracy. We believe digit-level cross-entropy has a stronger effect on property prediction than invariances.
Moreover, the chosen baseline LLM has the advantage of being able to use chain-of-thought, which has allowed LLMs to achieve much lower numerical error on problems like high-school physics and chemistry, despite digit-level cross-entropy. Nahual has not yet been trained to do chain-of-thought.
| Task | Baseline | Rationale |
|---|---|---|
| Transition state search | TSDiff | Specialized but not state-of-the-art diffusion model for transition state search, comparable reference to Nahual |
| Noncovalent interactions | CREST GFN2-xTB | Standard computational chemistry tool |
| Metal complexes | Architector default pipeline | Standard computational chemistry tool |
| Microsolvation | Bulk water cutout | Standard computational chemistry workflow before Quantum Cluster Growth. Comparing to Quantum Cluster Growth is unfair because it provides our ground truth. |
| Crystal structure prediction | DiffCSP | Specialized, state-of-the-art diffusion model |
| Molecular conformer search | DMT-L | Specialized, state-of-the-art diffusion model |
| Adsorption on metal surfaces | UMA random-init | Reasonable workflow that controls for the number of samples generated. |
| Adsorption in porous materials | UMA random-init | Reasonable workflow that controls for the number of samples generated. |
| MOF property prediction | GPT-5.4-high | mentioned above |
| Molecular property prediction | GPT-5.4-high | mentioned above |
| Conditional molecule generation | PropMolFlow / JODO | Specialized, state-of-the-art diffusion model |
| Nudged elastic band trajectories | naive linear interpolation | Weak baseline as point of reference |
The weakest baselines in this table are for transition state search and nudged elastic band trajectories. Here, the baselines are presented as reference for comparison. We will make these limitations clear as directions for future improvement.
(P3) OOD generalization
We agree that most of the current evaluations are in-distribution, and we acknowledge this as a direction for future work. Many evaluations were adopted from previous work so that Nahual’s performance could be directly benchmarked against existing methods. For example, property-conditioned generation uses the established in-distribution QM9 train/test split from prior work.
However, for noncovalent interactions, we designed the split so that no molecules are overlapping between the train and test sets, so Nahual is showing OOD generalization on this task.
We do not claim strong OOD generalization, and we will state this more explicitly as a future direction. We expect such behavior to depend on diverse training data and supervision. Reinforcement learning of reasoning is particularly expected to improve OOD generalization (Fesser et al., 2026), and Nahual’s autoregressive structure makes this direction feasible.
Fesser, L., Zhang, H., Li, M. M., Wang, E., Perozzi, B., Azizi, S., ... & Zitnik, M. (2026). How Post-Training Shapes Biological Reasoning Models. arXiv preprint arXiv:2606.16517.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for the kind words and thoughtful feedback! We appreciate your recognition of Nahual’s ambition, generality, potential for scaling, and broad evaluation.
(W1) Lacks standard background section
We will add a background section to explain that Nahual’s problem scope is to autoregressively model a single stream of text and 3D structures, with equations for defining the autoregressive factorization and diffusion objective.
(W2) Inference cost
While inference cost is currently high, we believe that diffusion distillation methods such as Consistency Models, MeanFlow, and Flow Maps can dramatically reduce the inference cost so that each word or atom requires only a single forward pass. We avoid all-atom diffusion in order to maintain an autoregressive architecture as similar as possible to LLMs. This will allow Nahual to benefit from LLM techniques and infrastructure such as KV-caching, multi-turn conversations, chain-of-thought, batched LLM inference servers like vLLM, and fast LLM inference hardware.
Song, Y., Dhariwal, P., Chen, M., & Sutskever, I. (2023). Consistency models.
Geng, Z., Deng, M., Bai, X., Kolter, Z., & He, K. (2026). Mean flows for one-step generative modeling. Advances in Neural Information Processing Systems, 38, 75460-75482.
Boffi, N., Albergo, M., & Vanden-Eijnden, E. (2026). How to build a consistency model: Learning flow maps via self-distillation. Advances in Neural Information Processing Systems, 38, 33346-33382.
(W3) Evaluation of property-conditioned generation
The queries for property-conditional molecule generation are chosen from the test set of QM9, which has a random, in-distribution train-test split. Specifically, we take target property values from the test set of QM9, where each example contains (molecule, property). We use this same split so that Nahual’s results are comparable to previous work. Out-of-distribution generalization is an important direction for future work.
(W4) Limitation of using pretrained oracle instead of DFT
We acknowledge this limitation and will add it in the revised manuscript.
(W5) Broad evaluation and paper reorganization
It is a difficult decision. We originally chose to highlight the broad evaluation as a centerpiece of our work, since the advantage of interleaved language prompting is its large flexibility.
If the paper is accepted, we would move the following results from the appendix into the camera-ready main text:
(Q1) Next-token diffusion
We clarify that, during training, the model actually will see both the clean and noisy past, even though one might think that showing the noisy past could interfere with predictions. Eq. 1 is to assume that the model will learn to ignore the noisy past.
The general form of Eq. 1 is
pθ(xi+1∣x0:i,x~1:i+1t1:i+1,t1:i+1)≈p(xi+1∣x0:i,x~i+1ti+1,ti+1)
Next-token diffusion conditions on all previous clean tokens x0:i, but also conditions on all previous noisy tokens x~1:i+1t1:i+1 because these are passed together for causal batching. Eq. 1 is stating that, given the clean past x0:i, the model will learn to ignore the irrelevant noisy past (the x~1:it1:i inside the x~1:i+1t1:i+1), and therefore can be approximated as a proper diffusion objective for the next-token distribution p(xi+1∣x0:i,x~i+1ti+1,ti+1). The advantage of next-token diffusion over previous teacher-forcing methods is that this can be done within a dense causal batch, without masking out the attention matrix to hide previous noisy tokens.
(Q2) Thank you for the catch.
(Q3) Merging text and structure
Nahual learns to relate text and structure purely from the examples it sees in training. Currently, Nahual is training in the supervised finetuning regime: relatively small datasets with strong supervision, but brittle outputs. However, learning more robust connections between text and structure might be done by large-scale training on weakly-supervised data, mirroring how LLMs learn relationships between many diverse concepts in pretraining. The challenge for Nahual is the lack of large corpuses of interleaved text-structure sequences, and we are actively working on this direction. One source of this data is by generating the data as agent traces equipped with simulation tools. Another direction is to annotate text corpuses with associated molecular structures.
(Q4) Thank you!