arXiv:2610.23265cs.LGOct 2026

Manuscript Offprint

arXiv:2610.23265

ADT: All-Atom Diffusion Tokenizer for 3D Molecular Structures

Xuantuo Huang, Encheng Su, Aoran Wang, Pan Tan, Shengyong Xu, Yizhou Wang, Chen Tang, Shixiang Tang, Mingxiao Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Discrete structural tokenization provides a promising route to autoregressive 3D molecular generation. Yet, existing tokenizers face a trade-off between compact representation and all-atom reconstruction: atom-level tokens preserve atomic details but produce long sequences, while compact residue-level protein tokens typically omit side-chain geometry. To overcome this limitation, we propose All-atom Diffusion Tokenizer (ADT), which decouples token granularity from reconstruction resolution. ADT uses one structural token per atom for small molecules and one token per protein residue that jointly represents backbone and side-chain geometry. To mitigate geometric distortion introduced by quantization, we leverage the generative capacity of diffusion models to recover fine-grained atomic geometry beyond deterministic decoding from discrete tokens. Extensive experiments across small molecules and proteins demonstrate that ADT achieves strong reconstruction from compact discrete representations while enabling high-quality autoregressive generation of both small molecules and all-atom protein structures. These results establish compact structural tokens as an effective discrete interface for all-atom molecular reconstruction and generation.

1 INTRODUCTION

Generating three-dimensional molecular structures is a central task in drug discovery and protein engineering (Su et al., 2026; Lin et al., 2025b; Luo et al., 2025; Huang et al., 2024). Molecular interactions depend critically on atomic geometry, from small-molecule conformations to protein backbones and side chains (Jin et al., 2018; Irwin et al., 2022). Many existing approaches directly model molecular structures in continuous coordinate space (Hoogeboom et al., 2022; Xu et al., 2023; Dunn & Koes, 2024; Morehead & Cheng, 2024). While effective, continuous coordinate representations do not naturally fit the autoregressive framework of large language models. Structural tokenization instead maps 3D geometry into discrete representations, enabling molecular structures to be generated autoregressively as token sequences and decoded into atomic coordinates. This formulation allows molecular structure generation to leverage scalable language-modeling paradigms demonstrated across language and biomolecular modeling (Kaplan et al., 2020; Hoffmann et al., 2022; Bhatnagar et al., 2026).

Recent molecular tokenizers encode geometry at different granularities, as shown in Fig. 1. Atom-level tokenizers (Liu et al., 2025; Geikyan & Khachatrian, 2026) assign structural codes to individual atoms, preserving all-atom coverage with sequence lengths that scale with atom count. For proteins, this yields substantially longer sequences than residue-level representations and requires more autoregressive prediction steps. Backbone-based protein tokenizers (Wang et al., 2025; Hayes et al., 2025; Gao et al., 2025) use compact residue-level codes but do not explicitly encode side-chain conformations, limiting faithful reconstruction of the original all-atom structure. Recent approaches further incorporate generative decoders to improve backbone reconstruction (Dilip et al., 2026b) and enable adaptive compression of Cα structures (Dilip et al., 2026a).

These limitations raise two challenges for compact all-atom tokenization. First, compact all-atom encoding: side-chain conformations are essential for describing molecular interactions, yet encoding every atom separately produces long token sequences for proteins. A useful representation must retain these atomic details while controlling sequence length.

Second, accurate reconstruction under quantization error: mapping continuous conformations to discrete codes loses geometric information, making it difficult to recover precise local geometry and overall molecular structure.

We address these challenges by introducing All-atom Diffusion Tokenizer (ADT), which decouples token granularity from reconstruction resolution. For proteins, we jointly encode backbone and side-chain geometry into one structural token per residue. To mitigate geometric distortion

Figure

Figure 1: Illustration of tokenizer granularity. (a) Atom-level tokenization assigns one token to each atom. (b) Backbone-only tokenization omits side-chain geometry. (c) ADT jointly encodes backbone and side-chain geometry into one token per residue and reconstructs the all-atom structure.

introduced by quantization, we formulate reconstruction as conditional generative modeling, exploiting the generative capacity of a diffusion decoder to recover fine-grained atomic geometry from discrete structural tokens and chemical identities.

Specifically, ADT encodes all-atom geometry into one structural token per chemical unit: an atom for small molecules and a residue for proteins. To make these tokens better suited for generative modeling, we introduce a bitwise mutual-information regularizer that promotes effective code utilization. Conditioned on these tokens and their chemical identities, a diffusion decoder reconstructs atomic geometry from the discrete bottleneck. For proteins, the decoder first models residue-level context and then lifts each residue representation to atom-level features, enabling all-atom reconstruction from a single token per residue. Beyond reconstruction, we use the learned tokens for autoregressive molecular generation, where the chemical identity sequence is generated first, followed by the corresponding structural tokens conditioned on the complete chemical sequence. Together, these designs enable compact molecular tokens to support all-atom reconstruction and generation without tying token granularity to atomic resolution.

We comprehensively evaluate our framework on reconstruction and generation across small molecules and proteins. Our experiments show that ADT achieves accurate reconstruction from compact discrete representations, including all-atom protein reconstruction from a single structural token per residue. Beyond reconstruction, our experiments demonstrate that the learned tokens enable high-quality autoregressive generation of both small molecules and all-atom protein structures. Our main contributions are summarized as follows: 1) We introduce a unified discrete representation for small molecules and proteins that decouples token granularity from reconstruction resolution, using one structural token per atom for small molecules and per residue for proteins. 2) We formulate reconstruction as conditional generation and introduce a coarse-to-fine diffusion decoder that recovers fine-grained atomic geometry from discrete structural tokens. 3) Our experiments demonstrate that compact structural tokens support reconstruction and autoregressive generation of both small molecules and all-atom protein structures.

References (51)