nach0-pc: Multi-task Language Model with Molecular Point Cloud Encoder

Maksim Kuznetsov, Airat Valiev, Alex Aliper, Daniil Polykovskiy, Elena Tutubalina, Rim Shayakhmetov, Zulfat Miftahutdinov

Abstract

nach0-pc is a multi-task language model designed for 3D molecular design. By integrating a specialized molecular point cloud encoder with a T5-based Transformer architecture, the model effectively processes 3D spatial data alongside chemical text. This approach overcomes the limitations of 1D string representations and the inefficiency of text-based coordinate tokens. nach0-pc achieves state-of-the-art performance across six diverse tasks, including 3D molecule generation, conformation generation, and protein-pocket-conditioned design, often outperforming specialized diffusion models while maintaining the flexibility of a multi-task language model.

Introduction

Language Models (LMs) have significantly advanced computational chemistry by processing molecular strings like SMILES or SELFIES. However, these 1D representations lack the 3D spatial information—such as coordinates, bond angles, and distances—essential for drug discovery and understanding protein-ligand interactions. Previous attempts to represent 3D structures as raw text (e.g., XYZ coordinates as tokens) are memory-intensive and often fail to capture explicit connectivity, requiring external software for bond reconstruction. Furthermore, most high-performing 3D generative models are single-task diffusion models, lacking the general-purpose flexibility of LMs.

Methods

The authors introduce nach0-pc, an encoder-decoder architecture based on the T5 framework. The model utilizes a hybrid input system to bridge the gap between text and 3D space.

The nach0-pc architecture integrates a point cloud encoder with a standard text-to-text transformer to generate molecular structures.

Molecular Point Cloud Encoder

Instead of treating 3D coordinates as text tokens, nach0-pc uses a dedicated encoder to process molecules as point clouds. This representation is order-invariant and memory-efficient, allowing the model to handle complex structures like protein pockets that would otherwise exceed memory limits of standard LMs.

Scalar Sinusoidal Embeddings (SSE)

To process continuous 3D coordinates and distances, the model employs SSE. This technique maps continuous numerical values into high-dimensional vectors, enabling the Transformer to interpret physical distances more effectively than discrete tokens.

SMILES+XYZ Output Format

To ensure structural integrity, the model generates a SMILES string first to define the chemical graph, followed by XYZ coordinates. This sequence guarantees a valid, predefined molecular structure without relying on external bond-guessing software, a common failure point in 3D generation.

Fragment-Based Pre-training

The model underwent pre-training using a "dropout" strategy, where entire molecular fragments were masked or blurred. This forced the model to reconstruct missing pieces, effectively distilling 3D spatial knowledge from large datasets like ZINC, MOSES, and GEOM-Drugs.

Results

nach0-pc was evaluated across several cornerstone chemical and biological datasets, demonstrating strong performance in multi-task 3D molecular design.

Qualitative comparison of conformation generation across different models, showing nach0-pc's ability to produce plausible 3D shapes.

Spatial Distribution and Conformation

On the GEOM-Drugs benchmark, nach0-pc achieved a 99.0% validity and connectivity score, outperforming specialized diffusion models like MolDiff. In conformation generation, it showed significantly better recall and precision compared to text-only LMs like OpenLLaMA, validating the effectiveness of the point cloud encoder in capturing 3D shapes.

Linker Design and Efficiency

In linker design tasks, the model achieved a 99.55% filter pass rate, demonstrating high chemical reliability. Notably, because nach0-pc avoids the iterative denoising steps required by diffusion models, it offers reduced training and inference times while maintaining competitive performance.

Discussion and Conclusion

While nach0-pc is a powerful generalist, a performance gap remains in pocket-conditioned generation compared to specialized state-of-the-art models like TargetDiff. Although docking scores are comparable, binding affinity prediction remains a target for future improvement. Future work will explore expanding the model to broader NLP tasks in chemistry and investigating decoder-only architectures to further optimize 3D generation.

Summary updated

BibTeX
@inproceedings{kuznetsov2025nach,
  author = {Maksim Kuznetsov and Airat Valiev and Alex Aliper and Daniil Polykovskiy and Elena Tutubalina and Rim Shayakhmetov and Zulfat Miftahutdinov},
  title = {{nach0-pc: Multi-task Language Model with Molecular Point Cloud Encoder}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i23.34613},
}
Figure