AI and the World's Hard Problems · Chemistry & materials · arXiv · 2026-11-17
Nahual: A Sequence Model for Language and Atoms

Generalist LLMs do not handle large sets of 3D coordinates effectively, while specialist 3D molecular generators lack the controllability of language. The authors propose Nahual, a decoder-only autoregressive diffusion model for any sequence of text and 3D molecules, using next-token diffusion in which a causal transformer denoises each token while attending to the clean tokens before it. A single set of end-to-end-trained weights performs twelve 3D chemistry tasks at once and surpasses state-of-the-art models specialized for crystal structure prediction and property-conditional molecule generation.