Nahual: A Sequence Model for Language and Atoms

Austin H. Cheng, Marcel Müller, Andreas Burger, Yeonghun Kang, Tsz Wai Ko +8 more
11/14/2026
cs.LGcs.AIcs.CL

Official code: the-matter-lab/nahual (0 stars, Python, Apache-2.0, last commit 2026-11-14).

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.

Show full abstract

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 causal transformer denoises each token while attending to the clean tokens before it, without increasing context size. 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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Autoregressive diffusion over any sequence of text and 3D molecules

00Python, JavaScriptNov 7, 20262 weeks agoApache-2.0

Similar Papers

Cite this paper

@article{cheng2026nahual,
  title  = {Nahual: A Sequence Model for Language and Atoms},
  author = {Austin H. Cheng and Marcel Müller and Andreas Burger and Yeonghun Kang and Tsz Wai Ko and Marta Skreta and Luka Mucko and Ella Miray Rajaonson and Cher Tian Ser and Jérôme F. Gonthier and Alex Zook and Varinia Bernales and Alán Aspuru-Guzik},
  year   = {2026},
  eprint = {2611.19072},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.19072v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.19072.svg)](https://codeofpaper.com/paper/2611.19072)

Discussion