Balancing Locality and Reconstruction in Protein Structure Tokenizer
Preprint
Abstract
The structure of a protein is crucial to its biological function. With the expansion of available protein structures, such as those in the AlphaFold Protein Structure Database (AFDB), there is an increasing need for efficient methods to index, search, and generate these structures. Additionally, there is a growing interest in integrating structural information with models from other modalities, such as protein sequence language models. We present a novel VQ-VAE-based protein structure tokenizer, AIDO.StructureTokenizer (AIDO.St), which is a pretrained module for protein structures in an AI-driven Digital Organism [1]. AIDO.StructureTokenizer is a 300M parameter model consisting of an equivariant encoder to discretize input structures into tokens, and an invariant decoder to reconstruct the inputs from these tokens. In addition to evaluating structure reconstruction ability, we also compared our model to Foldseek, ProToken, and ESM3 in terms of protein structure retrieval ability. Through our experiments, we discovered an intriguing trade-off between the encoder’s locality and retrieval ability and the decoder’s reconstruction ability. Our results also demonstrate that a better balance between retrieval and reconstruction enables a better alignment between the structure tokens and a protein sequence language model, resulting in better structure prediction accuracy. Models and code are available through ModelGenerator in https://github.com/genbio-ai/AIDO and on Hugging Face .Keywords
This publication has 9 references indexed in Scilit:
- Simulating 500 million years of evolution with a language modelScience, 2025
- Mixture of Experts Enable Efficient and Effective Protein Understanding and DesignbioRxiv, 2024
- Simulating 500 million years of evolution with a language modelbioRxiv, 2024
- ProSST: Protein Language Modeling with Quantized Structure and Disentangled Attention2024
- SaProt: Protein Language Modeling with Structure-aware VocabularybioRxiv, 2023
- Evolutionary-scale prediction of atomic-level protein structure with a language modelScience, 2023
- Fast and accurate protein structure search with FoldseekbioRxiv, 2022
- Highly accurate protein structure prediction with AlphaFoldNature, 2021
- MMseqs2 enables sensitive protein sequence searching for the analysis of massive data setsNature Biotechnology, 2017